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  *************************************************************/
21*37fee4fdSAndre Fischer #ifndef _SVX_SIDEBAR_NUMBERING_CONTROL_HXX_
22*37fee4fdSAndre Fischer #define _SVX_SIDEBAR_NUMBERING_CONTROL_HXX_
23*37fee4fdSAndre 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>
30*37fee4fdSAndre Fischer #include "ParaPropertyPanel.hxx"
31*37fee4fdSAndre Fischer #include <vcl/fixed.hxx>
32*37fee4fdSAndre Fischer #include <svl/poolitem.hxx>
33*37fee4fdSAndre Fischer #include <editeng/lspcitem.hxx>
34*37fee4fdSAndre Fischer #include <sfx2/sidebar/EnumContext.hxx>
35*37fee4fdSAndre Fischer #include <vcl/button.hxx>
36*37fee4fdSAndre Fischer 
37*37fee4fdSAndre Fischer 
38*37fee4fdSAndre Fischer namespace svx { namespace sidebar {
39*37fee4fdSAndre Fischer 
40*37fee4fdSAndre Fischer 
41*37fee4fdSAndre Fischer class ParaNumberingControl:public svx::sidebar::PopupControl
42*37fee4fdSAndre Fischer {
43*37fee4fdSAndre Fischer private:
44*37fee4fdSAndre Fischer 	SvxNumValueSet2				maNumberVS;
45*37fee4fdSAndre Fischer 	FixedImage					maFISep;
46*37fee4fdSAndre Fischer 	PushButton maMoreButton;
47*37fee4fdSAndre Fischer 	ParaPropertyPanel&     mrParaPropertyPanel;
48*37fee4fdSAndre Fischer 	SfxBindings*		mpBindings;
49*37fee4fdSAndre Fischer 
50*37fee4fdSAndre Fischer 	DECL_LINK(NumSelectHdl_Impl, ValueSet*);
51*37fee4fdSAndre Fischer 	DECL_LINK(MoreButtonClickHdl_Impl, void*);
52*37fee4fdSAndre Fischer 
53*37fee4fdSAndre Fischer public:
54*37fee4fdSAndre Fischer 	ParaNumberingControl(Window* pParent, svx::sidebar::ParaPropertyPanel& rPanel);
55*37fee4fdSAndre Fischer 	~ParaNumberingControl();
56*37fee4fdSAndre Fischer 	void ToGetFocus();
57*37fee4fdSAndre Fischer 	void UpdateValueSet();
58*37fee4fdSAndre Fischer 
59*37fee4fdSAndre Fischer };
60766ce4d0SZheng Fan 
61766ce4d0SZheng Fan 
62766ce4d0SZheng Fan }}
63766ce4d0SZheng Fan 
64766ce4d0SZheng Fan #endif
65*37fee4fdSAndre Fischer 
66