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_BULLETS_CONTROL_HXX_
22*766ce4d0SZheng Fan #define _SVX_SIDEBAR_BULLETS_CONTROL_HXX_
23*766ce4d0SZheng Fan 
24*766ce4d0SZheng Fan #include "svx/sidebar/PopupControl.hxx"
25*766ce4d0SZheng Fan #include "svx/sidebar/ValueSetWithTextControl.hxx"
26*766ce4d0SZheng Fan #include <sfx2/bindings.hxx>
27*766ce4d0SZheng Fan #include <svtools/ctrlbox.hxx>
28*766ce4d0SZheng Fan #include <svtools/ctrltool.hxx>
29*766ce4d0SZheng Fan #include "ParaPropertyPanel.hxx"
30*766ce4d0SZheng Fan #include <vcl/fixed.hxx>
31*766ce4d0SZheng Fan #include <svl/poolitem.hxx>
32*766ce4d0SZheng Fan #include <editeng/lspcitem.hxx>
33*766ce4d0SZheng Fan #include <sfx2/sidebar/EnumContext.hxx>
34*766ce4d0SZheng Fan #include <vcl/button.hxx>
35*766ce4d0SZheng Fan 
36*766ce4d0SZheng Fan 
37*766ce4d0SZheng Fan namespace svx { namespace sidebar {
38*766ce4d0SZheng Fan 
39*766ce4d0SZheng Fan class ParaBulletsControl:public svx::sidebar::PopupControl
40*766ce4d0SZheng Fan {
41*766ce4d0SZheng Fan private:
42*766ce4d0SZheng Fan 	SvxNumValueSet3				maBulletsVS;
43*766ce4d0SZheng Fan 	FixedImage					maFISep;
44*766ce4d0SZheng Fan 	PushButton maMoreButton;
45*766ce4d0SZheng Fan 	ParaPropertyPanel&     mrParaPropertyPanel;
46*766ce4d0SZheng Fan 	SfxBindings*		mpBindings;
47*766ce4d0SZheng Fan 
48*766ce4d0SZheng Fan 	DECL_LINK(BulletSelectHdl_Impl, ValueSet*);
49*766ce4d0SZheng Fan 	DECL_LINK(MoreButtonClickHdl_Impl, void*);
50*766ce4d0SZheng Fan 
51*766ce4d0SZheng Fan public:
52*766ce4d0SZheng Fan 	ParaBulletsControl(Window* pParent, svx::sidebar::ParaPropertyPanel& rPanel);
53*766ce4d0SZheng Fan 	~ParaBulletsControl();
54*766ce4d0SZheng Fan 	void ToGetFocus();
55*766ce4d0SZheng Fan 	void UpdateValueSet();
56*766ce4d0SZheng Fan };
57*766ce4d0SZheng Fan 
58*766ce4d0SZheng Fan }}
59*766ce4d0SZheng Fan 
60*766ce4d0SZheng Fan #endif
61*766ce4d0SZheng Fan 
62