xref: /aoo41x/main/vcl/inc/vcl/tabpage.hxx (revision e1beba7d)
10d63794cSAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
30d63794cSAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
40d63794cSAndrew Rist  * or more contributor license agreements.  See the NOTICE file
50d63794cSAndrew Rist  * distributed with this work for additional information
60d63794cSAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
70d63794cSAndrew Rist  * to you under the Apache License, Version 2.0 (the
80d63794cSAndrew Rist  * "License"); you may not use this file except in compliance
90d63794cSAndrew Rist  * with the License.  You may obtain a copy of the License at
100d63794cSAndrew Rist  *
110d63794cSAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
120d63794cSAndrew Rist  *
130d63794cSAndrew Rist  * Unless required by applicable law or agreed to in writing,
140d63794cSAndrew Rist  * software distributed under the License is distributed on an
150d63794cSAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
160d63794cSAndrew Rist  * KIND, either express or implied.  See the License for the
170d63794cSAndrew Rist  * specific language governing permissions and limitations
180d63794cSAndrew Rist  * under the License.
190d63794cSAndrew Rist  *
200d63794cSAndrew Rist  *************************************************************/
210d63794cSAndrew Rist 
220d63794cSAndrew Rist 
23cdf0e10cSrcweir 
24cdf0e10cSrcweir #ifndef _SV_TABPAGE_HXX
25cdf0e10cSrcweir #define _SV_TABPAGE_HXX
26cdf0e10cSrcweir 
27cdf0e10cSrcweir #include <vcl/sv.h>
28cdf0e10cSrcweir #include <vcl/dllapi.h>
29cdf0e10cSrcweir #include <vcl/window.hxx>
30cdf0e10cSrcweir 
31cdf0e10cSrcweir // -----------
32cdf0e10cSrcweir // - TabPage -
33cdf0e10cSrcweir // -----------
34cdf0e10cSrcweir 
35cdf0e10cSrcweir class VCL_DLLPUBLIC TabPage : public Window
36cdf0e10cSrcweir {
37cdf0e10cSrcweir private:
38cdf0e10cSrcweir     using Window::ImplInit;
39cdf0e10cSrcweir 	SAL_DLLPRIVATE void	ImplInit( Window* pParent, WinBits nStyle );
40cdf0e10cSrcweir 	SAL_DLLPRIVATE void	ImplInitSettings();
41cdf0e10cSrcweir 
42cdf0e10cSrcweir public:
43*e1beba7dSHerbert Dürr 	explicit		TabPage( Window* pParent, WinBits nStyle = 0 );
44*e1beba7dSHerbert Dürr 	explicit		TabPage( Window* pParent, const ResId& );
45cdf0e10cSrcweir 
46cdf0e10cSrcweir     virtual void    Paint( const Rectangle& rRect );
47cdf0e10cSrcweir     virtual void    Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, sal_uLong nFlags );
48cdf0e10cSrcweir 
49cdf0e10cSrcweir 	virtual void	StateChanged( StateChangedType nStateChange );
50cdf0e10cSrcweir 	virtual void	DataChanged( const DataChangedEvent& rDCEvt );
51cdf0e10cSrcweir 
52cdf0e10cSrcweir 	virtual void	ActivatePage();
53cdf0e10cSrcweir 	virtual void	DeactivatePage();
54cdf0e10cSrcweir 
55cdf0e10cSrcweir     virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > CreateAccessible();
56cdf0e10cSrcweir };
57cdf0e10cSrcweir 
58cdf0e10cSrcweir #endif	// _SV_TABPAGE_HXX
59*e1beba7dSHerbert Dürr 
60