1*766ce4d0SZheng Fan /**************************************************************
2*766ce4d0SZheng Fan  *
3*766ce4d0SZheng Fan  * Licensed to the Apache Software Foundation (ASF) under one
4*766ce4d0SZheng Fan  * or more contributor license agreements.  See the NOTICE file
5*766ce4d0SZheng Fan  * distributed with this work for additional information
6*766ce4d0SZheng Fan  * regarding copyright ownership.  The ASF licenses this file
7*766ce4d0SZheng Fan  * to you under the Apache License, Version 2.0 (the
8*766ce4d0SZheng Fan  * "License"); you may not use this file except in compliance
9*766ce4d0SZheng Fan  * with the License.  You may obtain a copy of the License at
10*766ce4d0SZheng Fan  *
11*766ce4d0SZheng Fan  *   http://www.apache.org/licenses/LICENSE-2.0
12*766ce4d0SZheng Fan  *
13*766ce4d0SZheng Fan  * Unless required by applicable law or agreed to in writing,
14*766ce4d0SZheng Fan  * software distributed under the License is distributed on an
15*766ce4d0SZheng Fan  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*766ce4d0SZheng Fan  * KIND, either express or implied.  See the License for the
17*766ce4d0SZheng Fan  * specific language governing permissions and limitations
18*766ce4d0SZheng Fan  * under the License.
19*766ce4d0SZheng Fan  *
20*766ce4d0SZheng Fan  *************************************************************/
21*766ce4d0SZheng Fan #ifndef _SVX_SIDEBAR_NUMBERING_CONTROL_HXX_
22*766ce4d0SZheng Fan #define _SVX_SIDEBAR_NUMBERING_CONTROL_HXX_
23*766ce4d0SZheng Fan 
24*766ce4d0SZheng Fan 
25*766ce4d0SZheng Fan #include "svx/sidebar/PopupControl.hxx"
26*766ce4d0SZheng Fan #include "svx/sidebar/ValueSetWithTextControl.hxx"
27*766ce4d0SZheng Fan #include <sfx2/bindings.hxx>
28*766ce4d0SZheng Fan #include <svtools/ctrlbox.hxx>
29*766ce4d0SZheng Fan #include <svtools/ctrltool.hxx>
30*766ce4d0SZheng Fan #include "ParaPropertyPanel.hxx"
31*766ce4d0SZheng Fan #include <vcl/fixed.hxx>
32*766ce4d0SZheng Fan #include <svl/poolitem.hxx>
33*766ce4d0SZheng Fan #include <editeng/lspcitem.hxx>
34*766ce4d0SZheng Fan #include <sfx2/sidebar/EnumContext.hxx>
35*766ce4d0SZheng Fan #include <vcl/button.hxx>
36*766ce4d0SZheng Fan 
37*766ce4d0SZheng Fan 
38*766ce4d0SZheng Fan namespace svx { namespace sidebar {
39*766ce4d0SZheng Fan 
40*766ce4d0SZheng Fan 
41*766ce4d0SZheng Fan class ParaNumberingControl:public svx::sidebar::PopupControl
42*766ce4d0SZheng Fan {
43*766ce4d0SZheng Fan private:
44*766ce4d0SZheng Fan 	SvxNumValueSet2				maNumberVS;
45*766ce4d0SZheng Fan 	FixedImage					maFISep;
46*766ce4d0SZheng Fan 	PushButton maMoreButton;
47*766ce4d0SZheng Fan 	ParaPropertyPanel&     mrParaPropertyPanel;
48*766ce4d0SZheng Fan 	SfxBindings*		mpBindings;
49*766ce4d0SZheng Fan 
50*766ce4d0SZheng Fan 	DECL_LINK(NumSelectHdl_Impl, ValueSet*);
51*766ce4d0SZheng Fan 	DECL_LINK(MoreButtonClickHdl_Impl, void*);
52*766ce4d0SZheng Fan 
53*766ce4d0SZheng Fan public:
54*766ce4d0SZheng Fan 	ParaNumberingControl(Window* pParent, svx::sidebar::ParaPropertyPanel& rPanel);
55*766ce4d0SZheng Fan 	~ParaNumberingControl();
56*766ce4d0SZheng Fan 	void ToGetFocus();
57*766ce4d0SZheng Fan 	void UpdateValueSet();
58*766ce4d0SZheng Fan 
59*766ce4d0SZheng Fan };
60*766ce4d0SZheng Fan 
61*766ce4d0SZheng Fan 
62*766ce4d0SZheng Fan }}
63*766ce4d0SZheng Fan 
64*766ce4d0SZheng Fan #endif
65*766ce4d0SZheng Fan 
66