1d4aefcaeSZheng Fan /************************************************************** 2*6469a737Smseidel * 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 10*6469a737Smseidel * 11d4aefcaeSZheng Fan * http://www.apache.org/licenses/LICENSE-2.0 12*6469a737Smseidel * 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. 19*6469a737Smseidel * 20d4aefcaeSZheng Fan *************************************************************/ 21d4aefcaeSZheng Fan 22*6469a737Smseidel 23*6469a737Smseidel 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 34*6469a737Smseidel : public Popup 35d4aefcaeSZheng Fan { 36d4aefcaeSZheng Fan public : 37*6469a737Smseidel TextUnderlinePopup ( 38*6469a737Smseidel Window* pParent, 39*6469a737Smseidel const ::boost::function<PopupControl*(PopupContainer*)>& rControlCreator); 40*6469a737Smseidel ~TextUnderlinePopup (void); 41d4aefcaeSZheng Fan 42*6469a737Smseidel void Rearrange (FontUnderline eLine); 43d4aefcaeSZheng Fan }; 44d4aefcaeSZheng Fan 45d4aefcaeSZheng Fan } } // end of namespace svx::sidebar 46d4aefcaeSZheng Fan 47d4aefcaeSZheng Fan #endif 48