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