1766ce4d0SZheng Fan /************************************************************** 2766ce4d0SZheng Fan * 3766ce4d0SZheng Fan * Licensed to the Apache Software Foundation (ASF) under one 4766ce4d0SZheng Fan * or more contributor license agreements. See the NOTICE file 5766ce4d0SZheng Fan * distributed with this work for additional information 6766ce4d0SZheng Fan * regarding copyright ownership. The ASF licenses this file 7766ce4d0SZheng Fan * to you under the Apache License, Version 2.0 (the 8766ce4d0SZheng Fan * "License"); you may not use this file except in compliance 9766ce4d0SZheng Fan * with the License. You may obtain a copy of the License at 10766ce4d0SZheng Fan * 11766ce4d0SZheng Fan * http://www.apache.org/licenses/LICENSE-2.0 12766ce4d0SZheng Fan * 13766ce4d0SZheng Fan * Unless required by applicable law or agreed to in writing, 14766ce4d0SZheng Fan * software distributed under the License is distributed on an 15766ce4d0SZheng Fan * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16766ce4d0SZheng Fan * KIND, either express or implied. See the License for the 17766ce4d0SZheng Fan * specific language governing permissions and limitations 18766ce4d0SZheng Fan * under the License. 19766ce4d0SZheng Fan * 20766ce4d0SZheng Fan *************************************************************/ 2137fee4fdSAndre Fischer #ifndef _SVX_SIDEBAR_NUMBERING_CONTROL_HXX_ 2237fee4fdSAndre Fischer #define _SVX_SIDEBAR_NUMBERING_CONTROL_HXX_ 2337fee4fdSAndre Fischer 24766ce4d0SZheng Fan 25766ce4d0SZheng Fan #include "svx/sidebar/PopupControl.hxx" 26766ce4d0SZheng Fan #include "svx/sidebar/ValueSetWithTextControl.hxx" 27766ce4d0SZheng Fan #include <sfx2/bindings.hxx> 28766ce4d0SZheng Fan #include <svtools/ctrlbox.hxx> 29766ce4d0SZheng Fan #include <svtools/ctrltool.hxx> 3037fee4fdSAndre Fischer #include "ParaPropertyPanel.hxx" 3137fee4fdSAndre Fischer #include <vcl/fixed.hxx> 3237fee4fdSAndre Fischer #include <svl/poolitem.hxx> 3337fee4fdSAndre Fischer #include <editeng/lspcitem.hxx> 3437fee4fdSAndre Fischer #include <sfx2/sidebar/EnumContext.hxx> 3537fee4fdSAndre Fischer #include <vcl/button.hxx> 3637fee4fdSAndre Fischer 3737fee4fdSAndre Fischer 3837fee4fdSAndre Fischer namespace svx { namespace sidebar { 3937fee4fdSAndre Fischer 4037fee4fdSAndre Fischer 4137fee4fdSAndre Fischer class ParaNumberingControl:public svx::sidebar::PopupControl 4237fee4fdSAndre Fischer { 4337fee4fdSAndre Fischer private: 44*7aed46aaSOliver-Rainer Wittmann SvxNumValueSet2 maNumberVS; 45*7aed46aaSOliver-Rainer Wittmann PushButton maMoreButton; 46*7aed46aaSOliver-Rainer Wittmann ParaPropertyPanel& mrParaPropertyPanel; 47*7aed46aaSOliver-Rainer Wittmann SfxBindings* mpBindings; 48*7aed46aaSOliver-Rainer Wittmann 49*7aed46aaSOliver-Rainer Wittmann DECL_LINK(NumSelectHdl_Impl, ValueSet*); 50*7aed46aaSOliver-Rainer Wittmann DECL_LINK(MoreButtonClickHdl_Impl, void*); 5137fee4fdSAndre Fischer 5237fee4fdSAndre Fischer public: 53*7aed46aaSOliver-Rainer Wittmann ParaNumberingControl( Window* pParent, 54*7aed46aaSOliver-Rainer Wittmann svx::sidebar::ParaPropertyPanel& rPanel); 55*7aed46aaSOliver-Rainer Wittmann ~ParaNumberingControl(); 56*7aed46aaSOliver-Rainer Wittmann void UpdateValueSet(); 57*7aed46aaSOliver-Rainer Wittmann 5837fee4fdSAndre Fischer }; 59766ce4d0SZheng Fan 60766ce4d0SZheng Fan 61766ce4d0SZheng Fan }} 62766ce4d0SZheng Fan 63766ce4d0SZheng Fan #endif 6437fee4fdSAndre Fischer 65