LibreOffice Module cui (master)  1
cuitabline.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 
20 #ifndef INCLUDED_CUI_SOURCE_INC_CUITABLINE_HXX
21 #define INCLUDED_CUI_SOURCE_INC_CUITABLINE_HXX
22 
23 #include <vector>
24 #include <editeng/brushitem.hxx>
25 #include <sfx2/tabdlg.hxx>
26 #include <svx/svdpage.hxx>
27 #include <svx/tabarea.hxx>
28 #include <svx/xlnasit.hxx>
29 #include <svx/xtable.hxx>
30 #include <svx/dlgctrl.hxx>
31 #include <vcl/customweld.hxx>
32 
33 enum class PageType;
34 class ColorListBox;
35 
37 {
39  const SdrObject* pObj;
40 
48 
52 
54  sal_Int32 nPosDashLb;
55  sal_Int32 nPosLineEndLb;
56 
57  virtual void PageCreated(const OString& rId, SfxTabPage &rPage) override;
58 
59  virtual short Ok() override;
60  DECL_LINK(CancelHdlImpl, weld::Button&, void);
61  void SavePalettes();
62 
63 public:
64  SvxLineTabDialog(weld::Window* pParent, const SfxItemSet* pAttr,
65  SdrModel* pModel, const SdrObject* pObj,
66  bool bHasObj);
67 
68  void SetNewDashList( XDashListRef const & pInLst)
69  { pNewDashList = pInLst; }
70  const XDashListRef& GetNewDashList() const { return pNewDashList; }
71 
72  void SetNewLineEndList( XLineEndListRef const & pInLst)
73  { pNewLineEndList = pInLst; }
75 
76  void SetNewColorList( XColorListRef const & pColTab ) { mpNewColorList = pColTab; }
77  const XColorListRef& GetNewColorList() const { return mpNewColorList; }
78 };
79 
80 /*************************************************************************/
81 
83 {
84  std::unique_ptr<SvxBrushItem> pBrushItem;
85  OUString sItemId;
86 };
87 
88 class SvxLineTabPage : public SfxTabPage
89 {
92  static const sal_uInt16 pLineRanges[];
93 private:
94  //#58425# symbols on a line (e. g. StarChart) ->
98  bool m_bNewSize;
104 
105  std::vector<OUString> m_aGrfNames;
106  std::vector< std::unique_ptr<SvxBmpItemInfo> >
108  std::vector< std::unique_ptr<SvxBmpItemInfo> >
115 
118 
121 
124 
129  sal_uInt16 m_nDlgType;
130  sal_Int32* m_pPosDashLb;
131  sal_Int32* m_pPosLineEndLb;
132 
134 
135  sal_Int32 m_nActLineWidth;
136 
138  std::unique_ptr<weld::Widget> m_xBoxColor;
139  std::unique_ptr<SvxLineLB> m_xLbLineStyle;
140  std::unique_ptr<ColorListBox> m_xLbColor;
141  std::unique_ptr<weld::Widget> m_xBoxWidth;
142  std::unique_ptr<weld::MetricSpinButton> m_xMtrLineWidth;
143  std::unique_ptr<weld::Widget> m_xBoxTransparency;
144  std::unique_ptr<weld::MetricSpinButton> m_xMtrTransparent;
145  std::unique_ptr<weld::Widget> m_xFlLineEnds;
146  std::unique_ptr<weld::Widget> m_xBoxArrowStyles;
147  std::unique_ptr<SvxLineEndLB> m_xLbStartStyle;
148  std::unique_ptr<weld::Widget> m_xBoxStart;
149  std::unique_ptr<weld::MetricSpinButton> m_xMtrStartWidth;
150  std::unique_ptr<weld::CheckButton> m_xTsbCenterStart;
151  std::unique_ptr<weld::Widget> m_xBoxEnd;
152  std::unique_ptr<SvxLineEndLB> m_xLbEndStyle;
153  std::unique_ptr<weld::MetricSpinButton> m_xMtrEndWidth;
154  std::unique_ptr<weld::CheckButton> m_xTsbCenterEnd;
155  std::unique_ptr<weld::CheckButton> m_xCbxSynchronize;
156  std::unique_ptr<weld::CustomWeld> m_xCtlPreview;
157 
158  std::unique_ptr<weld::Widget> m_xFLEdgeStyle;
159  std::unique_ptr<weld::Widget> m_xGridEdgeCaps;
160  std::unique_ptr<weld::ComboBox> m_xLBEdgeStyle;
161 
162  // LineCaps
163  std::unique_ptr<weld::ComboBox> m_xLBCapStyle;
164 
165  std::unique_ptr<weld::Widget> m_xFlSymbol;
166  std::unique_ptr<weld::Widget> m_xGridIconSize;
167  std::unique_ptr<weld::MenuButton> m_xSymbolMB;
168  std::unique_ptr<weld::Menu> m_xSymbolsMenu;
169  std::unique_ptr<weld::Menu> m_xGalleryMenu;
170  std::unique_ptr<weld::MetricSpinButton> m_xSymbolWidthMF;
171  std::unique_ptr<weld::MetricSpinButton> m_xSymbolHeightMF;
172  std::unique_ptr<weld::CheckButton> m_xSymbolRatioCB;
173 
174  // handler for gallery popup menu button + size
175  DECL_LINK(GraphicHdl_Impl, const OString&, void);
176  DECL_LINK(SizeHdl_Impl, weld::MetricSpinButton&, void);
177  DECL_LINK(MenuCreateHdl_Impl, weld::ToggleButton&, void);
178  DECL_LINK(RatioHdl_Impl, weld::ToggleButton&, void);
179 
181  void ClickInvisibleHdl_Impl();
182  DECL_LINK(ChangeStartClickHdl_Impl, weld::Button&, void);
183  DECL_LINK(ChangeStartListBoxHdl_Impl, weld::ComboBox&, void);
184  DECL_LINK(ChangeStartModifyHdl_Impl, weld::MetricSpinButton&, void);
185  DECL_LINK(ChangeEndListBoxHdl_Impl, weld::ComboBox&, void);
186  DECL_LINK(ChangeEndModifyHdl_Impl, weld::MetricSpinButton&, void);
187  DECL_LINK(ChangeEndClickHdl_Impl, weld::Button&, void);
188  DECL_LINK(ChangePreviewListBoxHdl_Impl, ColorListBox&, void);
189  DECL_LINK(ChangePreviewModifyHdl_Impl, weld::MetricSpinButton&, void);
191  DECL_LINK(ChangeTransparentHdl_Impl, weld::MetricSpinButton&, void);
192 
193  DECL_LINK(ChangeEdgeStyleHdl_Impl, weld::ComboBox&, void);
194 
195  // LineCaps
196  DECL_LINK(ChangeCapStyleHdl_Impl, weld::ComboBox&, void);
197 
198  void FillXLSet_Impl();
199 
200  void FillListboxes();
201 public:
202 
203  void ShowSymbolControls(bool bOn);
204 
205  SvxLineTabPage(TabPageParent pParent, const SfxItemSet& rInAttrs);
206  virtual ~SvxLineTabPage() override;
207  virtual void dispose() override;
208 
209  void Construct();
210 
212  static const sal_uInt16* GetRanges() { return pLineRanges; }
213 
214  virtual bool FillItemSet( SfxItemSet* ) override;
215  virtual void Reset( const SfxItemSet* ) override;
216 
217  virtual void ActivatePage( const SfxItemSet& rSet ) override;
218  virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
219 
220  virtual void FillUserData() override;
221 
222  void SetDashList( XDashListRef const & pDshLst ) { m_pDashList = pDshLst; }
223  void SetLineEndList( XLineEndListRef const & pLneEndLst) { m_pLineEndList = pLneEndLst; }
224  void SetObjSelected( bool bHasObj ) { m_bObjSelected = bHasObj; }
225 
226  void SetPageType( PageType nInType ) { m_nPageType = nInType; }
227  void SetDlgType( sal_uInt16 nInType ) { m_nDlgType = nInType; }
228  void SetPosDashLb( sal_Int32* pInPos ) { m_pPosDashLb = pInPos; }
229  void SetPosLineEndLb( sal_Int32* pInPos ) { m_pPosLineEndLb = pInPos; }
230 
231  void SetLineEndChgd( ChangeType* pIn ) { m_pnLineEndListState = pIn; }
232  void SetDashChgd( ChangeType* pIn ) { m_pnDashListState = pIn; }
233  void SetColorChgd( ChangeType* pIn ) { m_pnColorListState = pIn; }
234 
235  virtual void PageCreated(const SfxAllItemSet& aSet) override;
236  virtual void DataChanged( const DataChangedEvent& rDCEvt ) override;
237 };
238 
239 /*************************************************************************/
240 
242 {
243  using TabPage::ActivatePage;
245 private:
248 
251 
253 
256  sal_uInt16 nDlgType;
257  sal_Int32* pPosDashLb;
258 
261 
263  std::unique_ptr<SvxLineLB> m_xLbLineStyles;
264  std::unique_ptr<weld::ComboBox> m_xLbType1;
265  std::unique_ptr<weld::ComboBox> m_xLbType2;
266  std::unique_ptr<weld::SpinButton> m_xNumFldNumber1;
267  std::unique_ptr<weld::SpinButton> m_xNumFldNumber2;
268  std::unique_ptr<weld::MetricSpinButton> m_xMtrLength1;
269  std::unique_ptr<weld::MetricSpinButton> m_xMtrLength2;
270  std::unique_ptr<weld::MetricSpinButton> m_xMtrDistance;
271  std::unique_ptr<weld::CheckButton> m_xCbxSynchronize;
272  std::unique_ptr<weld::Button> m_xBtnAdd;
273  std::unique_ptr<weld::Button> m_xBtnModify;
274  std::unique_ptr<weld::Button> m_xBtnDelete;
275  std::unique_ptr<weld::Button> m_xBtnLoad;
276  std::unique_ptr<weld::Button> m_xBtnSave;
277  std::unique_ptr<weld::CustomWeld> m_xCtlPreview;
278 
279  void FillDash_Impl();
280  void FillDialog_Impl();
281 
282  DECL_LINK(ClickAddHdl_Impl, weld::Button&, void);
283  DECL_LINK(ClickModifyHdl_Impl, weld::Button&, void);
284  DECL_LINK(ClickDeleteHdl_Impl, weld::Button&, void);
285  DECL_LINK(SelectLinestyleListBoxHdl_Impl, weld::ComboBox&, void);
287  DECL_LINK(ChangePreviewHdl_Impl, weld::MetricSpinButton&, void);
288  DECL_LINK(ChangeNumber1Hdl_Impl, weld::SpinButton&, void);
289  DECL_LINK(ChangeNumber2Hdl_Impl, weld::SpinButton&, void);
290  DECL_LINK(ClickLoadHdl_Impl, weld::Button&, void);
291  DECL_LINK(ClickSaveHdl_Impl, weld::Button&, void);
293  DECL_LINK(SelectTypeListBoxHdl_Impl, weld::ComboBox&, void);
294  void SelectTypeHdl_Impl(const weld::ComboBox*);
296 
297  void CheckChanges_Impl();
298 
299 public:
300  SvxLineDefTabPage(TabPageParent pParent, const SfxItemSet& rInAttrs);
301  virtual ~SvxLineDefTabPage() override;
302  virtual void dispose() override;
303 
304  void Construct();
305 
307  virtual bool FillItemSet( SfxItemSet* ) override;
308  virtual void Reset( const SfxItemSet * ) override;
309 
310  virtual void ActivatePage( const SfxItemSet& rSet ) override;
311  virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
312 
313  void SetDashList( XDashListRef const & pDshLst ) { pDashList = pDshLst; }
314 
315  void SetPageType( PageType* pInType ) { pPageType = pInType; }
316  void SetDlgType( sal_uInt16 nInType ) { nDlgType = nInType; }
317  void SetPosDashLb( sal_Int32* pInPos ) { pPosDashLb = pInPos; }
318 
319  void SetDashChgd( ChangeType* pIn ) { pnDashListState = pIn; }
320 
321  virtual void DataChanged( const DataChangedEvent& rDCEvt ) override;
322 };
323 
324 /*************************************************************************/
325 
327 {
328  using TabPage::ActivatePage;
330 
331 private:
334 
337 
339 
342  sal_uInt16 nDlgType;
343  sal_Int32* pPosLineEndLb;
344 
346  std::unique_ptr<weld::Entry> m_xEdtName;
347  std::unique_ptr<SvxLineEndLB> m_xLbLineEnds;
348  std::unique_ptr<weld::Button> m_xBtnAdd;
349  std::unique_ptr<weld::Button> m_xBtnModify;
350  std::unique_ptr<weld::Button> m_xBtnDelete;
351  std::unique_ptr<weld::Button> m_xBtnLoad;
352  std::unique_ptr<weld::Button> m_xBtnSave;
353  std::unique_ptr<weld::CustomWeld> m_xCtlPreview;
354 
355  DECL_LINK(ClickAddHdl_Impl, weld::Button&, void);
356  DECL_LINK(ClickModifyHdl_Impl, weld::Button&, void);
357  DECL_LINK(ClickDeleteHdl_Impl, weld::Button&, void);
358  DECL_LINK(ClickLoadHdl_Impl, weld::Button&, void);
359  DECL_LINK(ClickSaveHdl_Impl, weld::Button&, void);
361 
362  void SelectLineEndHdl_Impl();
363  void CheckChanges_Impl();
364 
365 public:
366  SvxLineEndDefTabPage(TabPageParent pParent, const SfxItemSet& rInAttrs);
367  virtual ~SvxLineEndDefTabPage() override;
368  virtual void dispose() override;
369 
370  void Construct();
371 
373  virtual bool FillItemSet( SfxItemSet* ) override;
374  virtual void Reset( const SfxItemSet * ) override;
375 
376  virtual void ActivatePage( const SfxItemSet& rSet ) override;
377  virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
378 
379  void SetLineEndList( XLineEndListRef const & pInList ) { pLineEndList = pInList; }
380  void SetPolyObj( const SdrObject* pObj ) { pPolyObj = pObj; }
381 
382  void SetPageType( PageType* pInType ) { pPageType = pInType; }
383  void SetDlgType( sal_uInt16 nInType ) { nDlgType = nInType; }
384  void SetPosLineEndLb( sal_Int32* pInPos ) { pPosLineEndLb = pInPos; }
385 
386  void SetLineEndChgd( ChangeType* pIn ) { pnLineEndListState = pIn; }
387 
388  virtual void DataChanged( const DataChangedEvent& rDCEvt ) override;
389  virtual void Resize() override;
390 };
391 
392 #endif // INCLUDED_CUI_SOURCE_INC_CUITABLINE_HXX
393 
394 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
void SetDashList(XDashListRef const &pDshLst)
Definition: cuitabline.hxx:313
sal_Int32 * pPosDashLb
Definition: cuitabline.hxx:257
void ChangeMetricHdl_Impl(const weld::ToggleButton *)
Definition: tplnedef.cxx:389
SdrObjList * m_pSymbolList
a list of symbols to be shown in menu.
Definition: cuitabline.hxx:97
SfxItemSet & rXLSet
Definition: cuitabline.hxx:250
std::unique_ptr< SvxBrushItem > pBrushItem
Definition: cuitabline.hxx:84
virtual short Ok() override
Definition: tabline.cxx:150
std::unique_ptr< weld::Entry > m_xEdtName
Definition: cuitabline.hxx:346
sal_Int32 m_nActLineWidth
Definition: cuitabline.hxx:135
void SavePalettes()
Definition: tabline.cxx:84
sal_Int32 nPosDashLb
Definition: cuitabline.hxx:54
FieldUnit
std::unique_ptr< weld::Button > m_xBtnModify
Definition: cuitabline.hxx:273
std::unique_ptr< weld::Button > m_xBtnDelete
Definition: cuitabline.hxx:350
sal_uInt16 m_nDlgType
Definition: cuitabline.hxx:129
virtual void Reset(const SfxItemSet *) override
Definition: tplneend.cxx:220
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: tplnedef.cxx:162
sal_Int32 * m_pPosDashLb
Definition: cuitabline.hxx:130
void SetNewLineEndList(XLineEndListRef const &pInLst)
Definition: cuitabline.hxx:72
static VclPtr< SfxTabPage > Create(TabPageParent, const SfxItemSet *)
Definition: tplnedef.cxx:311
std::unique_ptr< weld::Widget > m_xFlLineEnds
Definition: cuitabline.hxx:145
const SfxItemSet * pSet
SvxXLinePreview m_aCtlPreview
Definition: cuitabline.hxx:137
const SdrObject * pPolyObj
Definition: cuitabline.hxx:333
std::unique_ptr< weld::Widget > m_xBoxWidth
Definition: cuitabline.hxx:141
const SdrObject * pObj
Definition: cuitabline.hxx:39
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: tpline.cxx:1682
std::unique_ptr< weld::Widget > m_xFlSymbol
Definition: cuitabline.hxx:165
std::unique_ptr< weld::MenuButton > m_xSymbolMB
Definition: cuitabline.hxx:167
XLineEndListRef pLineEndList
Definition: cuitabline.hxx:45
XDashListRef pDashList
Definition: cuitabline.hxx:252
SvxLineDefTabPage(TabPageParent pParent, const SfxItemSet &rInAttrs)
Definition: tplnedef.cxx:59
virtual void FillUserData() override
Definition: tpline.cxx:1375
std::unique_ptr< weld::Widget > m_xBoxEnd
Definition: cuitabline.hxx:151
std::unique_ptr< SvxLineLB > m_xLbLineStyle
Definition: cuitabline.hxx:139
const SfxItemSet & rOutAttrs
Definition: cuitabline.hxx:332
sal_Int32 nPosLineEndLb
Definition: cuitabline.hxx:55
bool m_bLastWidthModified
Definition: cuitabline.hxx:110
std::unique_ptr< weld::MetricSpinButton > m_xMtrLineWidth
Definition: cuitabline.hxx:142
std::unique_ptr< weld::SpinButton > m_xNumFldNumber2
Definition: cuitabline.hxx:267
void SetPolyObj(const SdrObject *pObj)
Definition: cuitabline.hxx:380
virtual void Reset(const SfxItemSet *) override
Definition: tpline.cxx:800
std::unique_ptr< weld::Button > m_xBtnLoad
Definition: cuitabline.hxx:351
Graphic m_aSymbolGraphic
Definition: cuitabline.hxx:112
std::unique_ptr< weld::MetricSpinButton > m_xMtrEndWidth
Definition: cuitabline.hxx:153
void SetObjSelected(bool bHasObj)
Definition: cuitabline.hxx:224
void CheckChanges_Impl()
Definition: tplnedef.cxx:203
std::unique_ptr< weld::MetricSpinButton > m_xMtrTransparent
Definition: cuitabline.hxx:144
sal_uInt16 nDlgType
Definition: cuitabline.hxx:256
SfxItemSet & rXLSet
Definition: cuitabline.hxx:336
MapUnit m_ePoolUnit
Definition: cuitabline.hxx:133
PageType
void SetPageType(PageType nInType)
Definition: cuitabline.hxx:226
std::unique_ptr< weld::MetricSpinButton > m_xMtrDistance
Definition: cuitabline.hxx:270
std::unique_ptr< weld::Widget > m_xBoxArrowStyles
Definition: cuitabline.hxx:146
void SetPageType(PageType *pInType)
Definition: cuitabline.hxx:315
XDashListRef m_pDashList
Definition: cuitabline.hxx:122
std::unique_ptr< weld::Button > m_xBtnLoad
Definition: cuitabline.hxx:275
virtual bool FillItemSet(SfxItemSet *) override
Definition: tplneend.cxx:202
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: tplneend.cxx:168
XLineEndListRef pLineEndList
Definition: cuitabline.hxx:338
SvxLineTabDialog(weld::Window *pParent, const SfxItemSet *pAttr, SdrModel *pModel, const SdrObject *pObj, bool bHasObj)
Definition: tabline.cxx:32
virtual void DataChanged(const DataChangedEvent &rDCEvt) override
Definition: tplnedef.cxx:852
void SetPosLineEndLb(sal_Int32 *pInPos)
Definition: cuitabline.hxx:229
std::vector< OUString > m_aGrfNames
Definition: cuitabline.hxx:105
void SetLineEndChgd(ChangeType *pIn)
Definition: cuitabline.hxx:386
XDashListRef pNewDashList
Definition: cuitabline.hxx:44
std::unique_ptr< weld::CheckButton > m_xTsbCenterEnd
Definition: cuitabline.hxx:154
std::unique_ptr< ColorListBox > m_xLbColor
Definition: cuitabline.hxx:140
std::unique_ptr< weld::ComboBox > m_xLbType2
Definition: cuitabline.hxx:265
virtual void dispose() override
Definition: tpline.cxx:223
Graphic m_aAutoSymbolGraphic
a graphic to be displayed in the preview in case that an automatic symbol is chosen ...
Definition: cuitabline.hxx:100
virtual bool FillItemSet(SfxItemSet *) override
Definition: tpline.cxx:395
void SelectTypeHdl_Impl(const weld::ComboBox *)
Definition: tplnedef.cxx:469
std::unique_ptr< weld::Widget > m_xBoxTransparency
Definition: cuitabline.hxx:143
void SetLineEndList(XLineEndListRef const &pInList)
Definition: cuitabline.hxx:379
virtual void DataChanged(const DataChangedEvent &rDCEvt) override
Definition: tpline.cxx:1672
std::unique_ptr< weld::Menu > m_xSymbolsMenu
Definition: cuitabline.hxx:168
std::unique_ptr< weld::ComboBox > m_xLbType1
Definition: cuitabline.hxx:264
std::unique_ptr< weld::Widget > m_xGridEdgeCaps
Definition: cuitabline.hxx:159
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: tpline.cxx:376
std::unique_ptr< weld::Widget > m_xBoxStart
Definition: cuitabline.hxx:148
std::unique_ptr< weld::Widget > m_xFLEdgeStyle
Definition: cuitabline.hxx:158
virtual void ActivatePage()
std::unique_ptr< SvxLineEndLB > m_xLbStartStyle
Definition: cuitabline.hxx:147
std::unique_ptr< weld::MetricSpinButton > m_xSymbolHeightMF
Definition: cuitabline.hxx:171
PageType nPageType
Definition: cuitabline.hxx:53
ChangeType * m_pnLineEndListState
Definition: cuitabline.hxx:125
void ShowSymbolControls(bool bOn)
Definition: tpline.cxx:209
void SetNewColorList(XColorListRef const &pColTab)
Definition: cuitabline.hxx:76
void SetColorChgd(ChangeType *pIn)
Definition: cuitabline.hxx:233
void SelectLineEndHdl_Impl()
Definition: tplneend.cxx:261
ChangeType
SfxItemSet * m_pSymbolAttr
attributes for the shown symbols; only necessary if not equal to line properties
Definition: cuitabline.hxx:103
DECL_LINK(ClickAddHdl_Impl, weld::Button &, void)
XLineEndListRef m_pLineEndList
Definition: cuitabline.hxx:123
void SetDlgType(sal_uInt16 nInType)
Definition: cuitabline.hxx:316
XDashListRef pDashList
Definition: cuitabline.hxx:43
SfxItemSet & m_rXLSet
Definition: cuitabline.hxx:120
std::unique_ptr< weld::Button > m_xBtnAdd
Definition: cuitabline.hxx:348
void Construct()
Definition: tpline.cxx:236
ChangeType nDashListState
Definition: cuitabline.hxx:50
XLineEndListRef pNewLineEndList
Definition: cuitabline.hxx:46
const XLineEndListRef & GetNewLineEndList() const
Definition: cuitabline.hxx:74
std::unique_ptr< SvxLineLB > m_xLbLineStyles
Definition: cuitabline.hxx:263
void SetDashChgd(ChangeType *pIn)
Definition: cuitabline.hxx:232
SvxLineEndDefTabPage(TabPageParent pParent, const SfxItemSet &rInAttrs)
Definition: tplneend.cxx:60
const SfxItemSet & rOutAttrs
Definition: cuitabline.hxx:246
ChangeType * m_pnColorListState
Definition: cuitabline.hxx:127
virtual void Reset(const SfxItemSet *) override
Definition: tplnedef.cxx:269
void SetDlgType(sal_uInt16 nInType)
Definition: cuitabline.hxx:227
virtual ~SvxLineEndDefTabPage() override
Definition: tplneend.cxx:100
XLineAttrSetItem m_aXLineAttr
Definition: cuitabline.hxx:119
void ChangePreviewHdl_Impl(const weld::MetricSpinButton *)
Definition: tpline.cxx:1212
DECL_LINK(GraphicHdl_Impl, const OString &, void)
static VclPtr< SfxTabPage > Create(TabPageParent, const SfxItemSet *)
Definition: tpline.cxx:1196
void FillXLSet_Impl()
Definition: tpline.cxx:679
std::unique_ptr< weld::MetricSpinButton > m_xSymbolWidthMF
Definition: cuitabline.hxx:170
void SetDashList(XDashListRef const &pDshLst)
Definition: cuitabline.hxx:222
std::vector< std::unique_ptr< SvxBmpItemInfo > > m_aSymbolBrushItems
Definition: cuitabline.hxx:109
SdrModel * pDrawModel
Definition: cuitabline.hxx:38
virtual bool FillItemSet(SfxItemSet *) override
Definition: tplnedef.cxx:252
DECL_LINK(ClickAddHdl_Impl, weld::Button &, void)
SvxXLinePreview m_aCtlPreview
Definition: cuitabline.hxx:345
DECL_LINK(CancelHdlImpl, weld::Button &, void)
std::unique_ptr< weld::Button > m_xBtnSave
Definition: cuitabline.hxx:352
void ClickInvisibleHdl_Impl()
Definition: tpline.cxx:1310
virtual ~SvxLineTabPage() override
Definition: tpline.cxx:218
void FillDialog_Impl()
Definition: tplnedef.cxx:824
void SetLineEndChgd(ChangeType *pIn)
Definition: cuitabline.hxx:231
std::unique_ptr< weld::ComboBox > m_xLBEdgeStyle
Definition: cuitabline.hxx:160
SvxXLinePreview m_aCtlPreview
Definition: cuitabline.hxx:262
void SetLineEndList(XLineEndListRef const &pLneEndLst)
Definition: cuitabline.hxx:223
std::unique_ptr< weld::CheckButton > m_xSymbolRatioCB
Definition: cuitabline.hxx:172
const SfxItemSet & m_rOutAttrs
Definition: cuitabline.hxx:116
static const sal_uInt16 pLineRanges[]
Definition: cuitabline.hxx:92
virtual void PageCreated(const OString &rId, SfxTabPage &rPage) override
Definition: tabline.cxx:166
std::unique_ptr< weld::CustomWeld > m_xCtlPreview
Definition: cuitabline.hxx:353
virtual ~SvxLineDefTabPage() override
Definition: tplnedef.cxx:144
void SetDlgType(sal_uInt16 nInType)
Definition: cuitabline.hxx:383
std::unique_ptr< weld::MetricSpinButton > m_xMtrLength1
Definition: cuitabline.hxx:268
std::unique_ptr< weld::Button > m_xBtnAdd
Definition: cuitabline.hxx:272
SvxLineTabPage(TabPageParent pParent, const SfxItemSet &rInAttrs)
Definition: tpline.cxx:93
std::unique_ptr< weld::MetricSpinButton > m_xMtrStartWidth
Definition: cuitabline.hxx:149
virtual void DataChanged(const DataChangedEvent &rDCEvt) override
Definition: tplneend.cxx:631
std::unique_ptr< weld::CustomWeld > m_xCtlPreview
Definition: cuitabline.hxx:277
std::unique_ptr< weld::Button > m_xBtnModify
Definition: cuitabline.hxx:349
ChangeType mnColorListState
Definition: cuitabline.hxx:51
void FillListboxes()
Definition: tpline.cxx:241
XColorListRef mpNewColorList
Definition: cuitabline.hxx:42
XLineAttrSetItem aXLineAttr
Definition: cuitabline.hxx:249
ChangeType nLineEndListState
Definition: cuitabline.hxx:49
std::unique_ptr< weld::MetricSpinButton > m_xMtrLength2
Definition: cuitabline.hxx:269
void SetPosLineEndLb(sal_Int32 *pInPos)
Definition: cuitabline.hxx:384
std::unique_ptr< weld::Menu > m_xGalleryMenu
Definition: cuitabline.hxx:169
std::unique_ptr< weld::Widget > m_xGridIconSize
Definition: cuitabline.hxx:166
std::unique_ptr< weld::ComboBox > m_xLBCapStyle
Definition: cuitabline.hxx:163
void SetPosDashLb(sal_Int32 *pInPos)
Definition: cuitabline.hxx:228
ChangeType * m_pnDashListState
Definition: cuitabline.hxx:126
std::unique_ptr< weld::Button > m_xBtnSave
Definition: cuitabline.hxx:276
XLineAttrSetItem aXLineAttr
Definition: cuitabline.hxx:335
void SetPosDashLb(sal_Int32 *pInPos)
Definition: cuitabline.hxx:317
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: tpline.cxx:263
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: tplneend.cxx:145
std::unique_ptr< weld::CustomWeld > m_xCtlPreview
Definition: cuitabline.hxx:156
ChangeType * pnLineEndListState
Definition: cuitabline.hxx:340
std::unique_ptr< weld::Widget > m_xBoxColor
Definition: cuitabline.hxx:138
const XDashListRef & GetNewDashList() const
Definition: cuitabline.hxx:70
static VclPtr< SfxTabPage > Create(TabPageParent, const SfxItemSet *)
Definition: tplneend.cxx:256
sal_Int32 * pPosLineEndLb
Definition: cuitabline.hxx:343
virtual void dispose() override
Definition: tplneend.cxx:105
DeactivateRC
void SelectLinestyleHdl_Impl(const weld::ComboBox *)
Definition: tplnedef.cxx:321
static const sal_uInt16 * GetRanges()
Definition: cuitabline.hxx:212
virtual void dispose() override
Definition: tplnedef.cxx:149
MapUnit
PageType m_nPageType
Definition: cuitabline.hxx:128
std::unique_ptr< weld::Button > m_xBtnDelete
Definition: cuitabline.hxx:274
void FillDash_Impl()
Definition: tplnedef.cxx:802
Size m_aSymbolLastSize
Definition: cuitabline.hxx:111
std::unique_ptr< weld::CheckButton > m_xCbxSynchronize
Definition: cuitabline.hxx:155
virtual void DeactivatePage()
PageType * pPageType
Definition: cuitabline.hxx:255
void SetDashChgd(ChangeType *pIn)
Definition: cuitabline.hxx:319
void SetPageType(PageType *pInType)
Definition: cuitabline.hxx:382
std::vector< std::unique_ptr< SvxBmpItemInfo > > m_aGalleryBrushItems
Definition: cuitabline.hxx:107
virtual void Resize() override
Definition: tplneend.cxx:112
XColorListRef pColorList
Definition: cuitabline.hxx:41
const XColorListRef & GetNewColorList() const
Definition: cuitabline.hxx:77
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: tplnedef.cxx:193
std::unique_ptr< SvxLineEndLB > m_xLbEndStyle
Definition: cuitabline.hxx:152
OUString sItemId
Definition: cuitabline.hxx:85
sal_Int32 * m_pPosLineEndLb
Definition: cuitabline.hxx:131
void SetNewDashList(XDashListRef const &pInLst)
Definition: cuitabline.hxx:68
ChangeType * pnDashListState
Definition: cuitabline.hxx:254
std::unique_ptr< SvxLineEndLB > m_xLbLineEnds
Definition: cuitabline.hxx:347
std::unique_ptr< weld::CheckButton > m_xCbxSynchronize
Definition: cuitabline.hxx:271
std::unique_ptr< weld::SpinButton > m_xNumFldNumber1
Definition: cuitabline.hxx:266
std::unique_ptr< weld::CheckButton > m_xTsbCenterStart
Definition: cuitabline.hxx:150