xref: /AOO41X/main/dbaccess/source/ui/inc/WExtendPages.hxx (revision 2e2212a7c22e96cf6f6fab0dd042c34a45a64bd6)
1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 #ifndef DBAUI_WIZ_EXTENDPAGES_HXX
24 #define DBAUI_WIZ_EXTENDPAGES_HXX
25 
26 #ifndef DBAUI_WIZ_TYPESELECT_HXX
27 #include "WTypeSelect.hxx"
28 #endif
29 
30 class SvStream;
31 namespace dbaui
32 {
33     // ========================================================
34     // Wizard Page: OWizHTMLExtend
35     // ========================================================
36     class OWizHTMLExtend : public OWizTypeSelect
37     {
38     protected:
39         virtual SvParser*   createReader(sal_Int32 _nRows);
40     public:
OWizHTMLExtend(Window * pParent,SvStream & _rStream)41         OWizHTMLExtend(Window* pParent, SvStream& _rStream)
42             : OWizTypeSelect( pParent, &_rStream )
43         {
44         }
45 
Create(Window * _pParent,SvStream & _rInput)46         static OWizTypeSelect* Create( Window* _pParent, SvStream& _rInput ) { return new OWizHTMLExtend( _pParent, _rInput ); }
47 
~OWizHTMLExtend()48         virtual ~OWizHTMLExtend(){}
49     };
50     // ========================================================
51     // Wizard Page: OWizRTFExtend
52     // ========================================================
53     class OWizRTFExtend : public OWizTypeSelect
54     {
55     protected:
56         virtual SvParser* createReader(sal_Int32 _nRows);
57     public:
OWizRTFExtend(Window * pParent,SvStream & _rStream)58         OWizRTFExtend(Window* pParent,SvStream& _rStream)
59             : OWizTypeSelect( pParent, &_rStream )
60         {
61         }
62 
Create(Window * _pParent,SvStream & _rInput)63         static OWizTypeSelect* Create( Window* _pParent, SvStream& _rInput ) { return new OWizRTFExtend( _pParent, _rInput ); }
64 
~OWizRTFExtend()65         virtual ~OWizRTFExtend(){}
66     };
67 
68     // ========================================================
69     // Wizard Page: OWizNormalExtend
70     // ========================================================
71     class OWizNormalExtend : public OWizTypeSelect
72     {
73     protected:
74         virtual SvParser* createReader(sal_Int32 _nRows);
75     public:
76         OWizNormalExtend(Window* pParent);
77     };
78 }
79 #endif // DBAUI_WIZ_EXTENDPAGES_HXX
80 
81 
82 
83