1*d4aefcaeSZheng Fan /**************************************************************
2*d4aefcaeSZheng Fan  *
3*d4aefcaeSZheng Fan  * Licensed to the Apache Software Foundation (ASF) under one
4*d4aefcaeSZheng Fan  * or more contributor license agreements.  See the NOTICE file
5*d4aefcaeSZheng Fan  * distributed with this work for additional information
6*d4aefcaeSZheng Fan  * regarding copyright ownership.  The ASF licenses this file
7*d4aefcaeSZheng Fan  * to you under the Apache License, Version 2.0 (the
8*d4aefcaeSZheng Fan  * "License"); you may not use this file except in compliance
9*d4aefcaeSZheng Fan  * with the License.  You may obtain a copy of the License at
10*d4aefcaeSZheng Fan  *
11*d4aefcaeSZheng Fan  *   http://www.apache.org/licenses/LICENSE-2.0
12*d4aefcaeSZheng Fan  *
13*d4aefcaeSZheng Fan  * Unless required by applicable law or agreed to in writing,
14*d4aefcaeSZheng Fan  * software distributed under the License is distributed on an
15*d4aefcaeSZheng Fan  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*d4aefcaeSZheng Fan  * KIND, either express or implied.  See the License for the
17*d4aefcaeSZheng Fan  * specific language governing permissions and limitations
18*d4aefcaeSZheng Fan  * under the License.
19*d4aefcaeSZheng Fan  *
20*d4aefcaeSZheng Fan  *************************************************************/
21*d4aefcaeSZheng Fan 
22*d4aefcaeSZheng Fan #ifndef _SVX_SIDEBAR_CHARACTER_SPACING_POPUP_HXX_
23*d4aefcaeSZheng Fan #define _SVX_SIDEBAR_CHARACTER_SPACING_POPUP_HXX_
24*d4aefcaeSZheng Fan 
25*d4aefcaeSZheng Fan #include "svx/sidebar/Popup.hxx"
26*d4aefcaeSZheng Fan 
27*d4aefcaeSZheng Fan #include <boost/function.hpp>
28*d4aefcaeSZheng Fan 
29*d4aefcaeSZheng Fan namespace svx { namespace sidebar {
30*d4aefcaeSZheng Fan 
31*d4aefcaeSZheng Fan class TextCharacterSpacingPopup
32*d4aefcaeSZheng Fan     : public Popup
33*d4aefcaeSZheng Fan {
34*d4aefcaeSZheng Fan public :
35*d4aefcaeSZheng Fan     TextCharacterSpacingPopup (
36*d4aefcaeSZheng Fan         Window* pParent,
37*d4aefcaeSZheng Fan         const ::boost::function<PopupControl*(PopupContainer*)>& rControlCreator);
38*d4aefcaeSZheng Fan     ~TextCharacterSpacingPopup (void);
39*d4aefcaeSZheng Fan 
40*d4aefcaeSZheng Fan     void Rearrange (bool bLBAvailable,bool bAvailable, long nKerning);
41*d4aefcaeSZheng Fan private:
42*d4aefcaeSZheng Fan     void PopupModeEndCallback (void);
43*d4aefcaeSZheng Fan };
44*d4aefcaeSZheng Fan 
45*d4aefcaeSZheng Fan } } // end of namespace svx::sidebar
46*d4aefcaeSZheng Fan 
47*d4aefcaeSZheng Fan #endif
48*d4aefcaeSZheng Fan 
49