xref: /AOO41X/main/svx/source/sidebar/paragraph/ParaNumberingControl.hxx (revision cbe4a5e32dd06077057875dd5ecd4d8f1991662a)
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  *************************************************************/
21766ce4d0SZheng Fan #ifndef _SVX_SIDEBAR_NUMBERING_CONTROL_HXX_
22766ce4d0SZheng Fan #define _SVX_SIDEBAR_NUMBERING_CONTROL_HXX_
23766ce4d0SZheng Fan 
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>
30766ce4d0SZheng Fan #include "ParaPropertyPanel.hxx"
31766ce4d0SZheng Fan #include <vcl/fixed.hxx>
32766ce4d0SZheng Fan #include <svl/poolitem.hxx>
33766ce4d0SZheng Fan #include <editeng/lspcitem.hxx>
34766ce4d0SZheng Fan #include <sfx2/sidebar/EnumContext.hxx>
35766ce4d0SZheng Fan #include <vcl/button.hxx>
36766ce4d0SZheng Fan 
37766ce4d0SZheng Fan 
38766ce4d0SZheng Fan namespace svx { namespace sidebar {
39766ce4d0SZheng Fan 
40766ce4d0SZheng Fan 
41766ce4d0SZheng Fan class ParaNumberingControl:public svx::sidebar::PopupControl
42766ce4d0SZheng Fan {
43766ce4d0SZheng Fan private:
44766ce4d0SZheng Fan     SvxNumValueSet2 maNumberVS;
45766ce4d0SZheng Fan     PushButton      maMoreButton;
46766ce4d0SZheng Fan     ParaPropertyPanel&     mrParaPropertyPanel;
47766ce4d0SZheng Fan     SfxBindings*    mpBindings;
48766ce4d0SZheng Fan 
49766ce4d0SZheng Fan     DECL_LINK(NumSelectHdl_Impl, ValueSet*);
50766ce4d0SZheng Fan     DECL_LINK(MoreButtonClickHdl_Impl, void*);
51766ce4d0SZheng Fan 
52766ce4d0SZheng Fan public:
53*7aed46aaSOliver-Rainer Wittmann     ParaNumberingControl( Window* pParent,
54*7aed46aaSOliver-Rainer Wittmann                           svx::sidebar::ParaPropertyPanel& rPanel);
55766ce4d0SZheng Fan     ~ParaNumberingControl();
56766ce4d0SZheng Fan     void UpdateValueSet();
57766ce4d0SZheng Fan 
58766ce4d0SZheng Fan };
59766ce4d0SZheng Fan 
60766ce4d0SZheng Fan 
61766ce4d0SZheng Fan }}
62766ce4d0SZheng Fan 
63766ce4d0SZheng Fan #endif
64766ce4d0SZheng Fan 
65