1ff0525f2SOliver-Rainer Wittmann /************************************************************** 2*fb399032Smseidel * 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*fb399032Smseidel * 11ff0525f2SOliver-Rainer Wittmann * http://www.apache.org/licenses/LICENSE-2.0 12*fb399032Smseidel * 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*fb399032Smseidel * 20ff0525f2SOliver-Rainer Wittmann *************************************************************/ 21ff0525f2SOliver-Rainer Wittmann 22*fb399032Smseidel 23*fb399032Smseidel 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*fb399032Smseidel 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*fb399032Smseidel : public ::svx::sidebar::PopupControl 40ff0525f2SOliver-Rainer Wittmann { 41ff0525f2SOliver-Rainer Wittmann public: 42*fb399032Smseidel PageOrientationControl( 43*fb399032Smseidel Window* pParent, 44*fb399032Smseidel PagePropertyPanel& rPanel, 45*fb399032Smseidel const sal_Bool bLandscape ); 46*fb399032Smseidel ~PageOrientationControl(void); 47ff0525f2SOliver-Rainer Wittmann 48ff0525f2SOliver-Rainer Wittmann private: 49*fb399032Smseidel ::svx::sidebar::ValueSetWithTextControl* mpOrientationValueSet; 50ff0525f2SOliver-Rainer Wittmann 51*fb399032Smseidel sal_Bool mbLandscape; 52ff0525f2SOliver-Rainer Wittmann 53*fb399032Smseidel PagePropertyPanel& mrPagePropPanel; 54ff0525f2SOliver-Rainer Wittmann 55*fb399032Smseidel 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*fb399032Smseidel 62*fb399032Smseidel /* vim: set noet sw=4 ts=4: */ 63