1ff0525f2SOliver-Rainer Wittmann /**************************************************************
2*344957f7Smseidel  *
3ff0525f2SOliver-Rainer Wittmann  * Licensed to the Apache Software Foundation (ASF) under one
4ff0525f2SOliver-Rainer Wittmann  * or more contributor license agreements.  See the NOTICE file
5ff0525f2SOliver-Rainer Wittmann  * distributed with this work for additional information
6ff0525f2SOliver-Rainer Wittmann  * regarding copyright ownership.  The ASF licenses this file
7ff0525f2SOliver-Rainer Wittmann  * to you under the Apache License, Version 2.0 (the
8ff0525f2SOliver-Rainer Wittmann  * "License"); you may not use this file except in compliance
9ff0525f2SOliver-Rainer Wittmann  * with the License.  You may obtain a copy of the License at
10*344957f7Smseidel  *
11ff0525f2SOliver-Rainer Wittmann  *   http://www.apache.org/licenses/LICENSE-2.0
12*344957f7Smseidel  *
13ff0525f2SOliver-Rainer Wittmann  * Unless required by applicable law or agreed to in writing,
14ff0525f2SOliver-Rainer Wittmann  * software distributed under the License is distributed on an
15ff0525f2SOliver-Rainer Wittmann  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16ff0525f2SOliver-Rainer Wittmann  * KIND, either express or implied.  See the License for the
17ff0525f2SOliver-Rainer Wittmann  * specific language governing permissions and limitations
18ff0525f2SOliver-Rainer Wittmann  * under the License.
19*344957f7Smseidel  *
20ff0525f2SOliver-Rainer Wittmann  *************************************************************/
21ff0525f2SOliver-Rainer Wittmann 
22*344957f7Smseidel 
23*344957f7Smseidel 
24ff0525f2SOliver-Rainer Wittmann #ifndef _SW_SIDEBAR_PAGE_ORIENTATION_CONTROL_HXX_
25ff0525f2SOliver-Rainer Wittmann #define _SW_SIDEBAR_PAGE_ORIENTATION_CONTROL_HXX_
26ff0525f2SOliver-Rainer Wittmann 
27ff0525f2SOliver-Rainer Wittmann #include <svx/sidebar/PopupControl.hxx>
28ff0525f2SOliver-Rainer Wittmann 
29ff0525f2SOliver-Rainer Wittmann namespace svx { namespace sidebar {
30*344957f7Smseidel 	class ValueSetWithTextControl;
31ff0525f2SOliver-Rainer Wittmann } }
32ff0525f2SOliver-Rainer Wittmann 
33ff0525f2SOliver-Rainer Wittmann namespace sw { namespace sidebar {
34ff0525f2SOliver-Rainer Wittmann 
35ff0525f2SOliver-Rainer Wittmann class PagePropertyPanel;
36ff0525f2SOliver-Rainer Wittmann 
37ff0525f2SOliver-Rainer Wittmann 
38ff0525f2SOliver-Rainer Wittmann class PageOrientationControl
39*344957f7Smseidel 	: public ::svx::sidebar::PopupControl
40ff0525f2SOliver-Rainer Wittmann {
41ff0525f2SOliver-Rainer Wittmann public:
42*344957f7Smseidel 	PageOrientationControl(
43*344957f7Smseidel 		Window* pParent,
44*344957f7Smseidel 		PagePropertyPanel& rPanel,
45*344957f7Smseidel 		const sal_Bool bLandscape );
46*344957f7Smseidel 	~PageOrientationControl(void);
47ff0525f2SOliver-Rainer Wittmann 
48ff0525f2SOliver-Rainer Wittmann private:
49*344957f7Smseidel 	::svx::sidebar::ValueSetWithTextControl* mpOrientationValueSet;
50ff0525f2SOliver-Rainer Wittmann 
51*344957f7Smseidel 	sal_Bool mbLandscape;
52ff0525f2SOliver-Rainer Wittmann 
53*344957f7Smseidel 	PagePropertyPanel& mrPagePropPanel;
54ff0525f2SOliver-Rainer Wittmann 
55*344957f7Smseidel 	DECL_LINK(ImplOrientationHdl, void*);
56ff0525f2SOliver-Rainer Wittmann };
57ff0525f2SOliver-Rainer Wittmann 
58ff0525f2SOliver-Rainer Wittmann } } // end of namespace sw::sidebar
59ff0525f2SOliver-Rainer Wittmann 
60ff0525f2SOliver-Rainer Wittmann #endif
61*344957f7Smseidel 
62*344957f7Smseidel /* vim: set noet sw=4 ts=4: */
63