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 #include <sfx2/sidebar/propertypanel.hrc>
23 #include <sfx2/sidebar/Theme.hxx>
24 #include <sfx2/sidebar/ControlFactory.hxx>
25 #include <LinePropertyPanel.hxx>
26 #include <LinePropertyPanel.hrc>
27 #include <svx/dialogs.hrc>
28 #include <svx/dialmgr.hxx>
29 #include <sfx2/objsh.hxx>
30 #include <sfx2/bindings.hxx>
31 #include <sfx2/dispatch.hxx>
32 #include <svx/xlnclit.hxx>
33 #include <svx/xtable.hxx>
34 #include <svx/xdash.hxx>
35 #include <svx/drawitem.hxx>
36 #include <svx/svxitems.hrc>
37 #include <unotools/pathoptions.hxx>
38 #include <unotools/viewoptions.hxx>
39 #include <comphelper/processfactory.hxx>
40 #include <i18npool/mslangid.hxx>
41 #include <svx/xlineit0.hxx>
42 #include <svx/xlndsit.hxx>
43 #include <vcl/svapp.hxx>
44 #include <svx/xlnwtit.hxx>
45 #include <vcl/lstbox.hxx>
46 #include <svx/tbxcolorupdate.hxx>
47 #include <vcl/toolbox.hxx>
48 #include <svx/xlntrit.hxx>
49 #include <svx/xlnstit.hxx>
50 #include <svx/xlnedit.hxx>
51 #include <svx/xlncapit.hxx>
52 #include <svx/xlinjoit.hxx>
53 #include <svx/sidebar/PopupControl.hxx>
54 */
55 #include <svtools/valueset.hxx>
56 
57 namespace svx { namespace sidebar {
58 
59 class LineStyleValueSet
60     : public ValueSet
61 {
62 public:
63     LineStyleValueSet (Window* pParent, const ResId& rResId);
64     virtual ~LineStyleValueSet (void);
65 
66     void SetFirstSelect(bool bSel);
67     void SetFirstString(XubString str);
68 
69 	virtual void	UserDraw( const UserDrawEvent& rUDEvt );
70 
71 private:
72     VirtualDevice* 	pVDev;
73 	bool			mbSelectFirst;
74 	XubString		strNone;
75 };
76 
77 } } // end of namespace svx::sidebar
78