1 /************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 #ifndef SVX_SIDEBAR_LINE_STYLE_VALUE_SET_HXX 23 #define SVX_SIDEBAR_LINE_STYLE_VALUE_SET_HXX 24 25 /* 26 #include <sfx2/sidebar/propertypanel.hrc> 27 #include <sfx2/sidebar/Theme.hxx> 28 #include <sfx2/sidebar/ControlFactory.hxx> 29 #include <LinePropertyPanel.hxx> 30 #include <LinePropertyPanel.hrc> 31 #include <svx/dialogs.hrc> 32 #include <svx/dialmgr.hxx> 33 #include <sfx2/objsh.hxx> 34 #include <sfx2/bindings.hxx> 35 #include <sfx2/dispatch.hxx> 36 #include <svx/xlnclit.hxx> 37 #include <svx/xtable.hxx> 38 #include <svx/xdash.hxx> 39 #include <svx/drawitem.hxx> 40 #include <svx/svxitems.hrc> 41 #include <unotools/pathoptions.hxx> 42 #include <unotools/viewoptions.hxx> 43 #include <comphelper/processfactory.hxx> 44 #include <i18npool/mslangid.hxx> 45 #include <svx/xlineit0.hxx> 46 #include <svx/xlndsit.hxx> 47 #include <vcl/svapp.hxx> 48 #include <svx/xlnwtit.hxx> 49 #include <vcl/lstbox.hxx> 50 #include <svx/tbxcolorupdate.hxx> 51 #include <vcl/toolbox.hxx> 52 #include <svx/xlntrit.hxx> 53 #include <svx/xlnstit.hxx> 54 #include <svx/xlnedit.hxx> 55 #include <svx/xlncapit.hxx> 56 #include <svx/xlinjoit.hxx> 57 #include <svx/sidebar/PopupControl.hxx> 58 */ 59 #include <svtools/valueset.hxx> 60 61 namespace svx { namespace sidebar { 62 63 class LineStyleValueSet 64 : public ValueSet 65 { 66 public: 67 LineStyleValueSet (Window* pParent, const ResId& rResId); 68 virtual ~LineStyleValueSet (void); 69 70 void SetFirstSelect(bool bSel); 71 void SetFirstString(XubString str); 72 73 virtual void UserDraw( const UserDrawEvent& rUDEvt ); 74 75 private: 76 VirtualDevice* pVDev; 77 bool mbSelectFirst; 78 XubString strNone; 79 }; 80 81 } } // end of namespace svx::sidebar 82 83 #endif 84 85 // eof 86