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 {
90  static const sal_uInt16 pLineRanges[];
91 private:
92  //#58425# symbols on a line (e. g. StarChart) ->
96  bool m_bNewSize;
102 
103  std::vector<OUString> m_aGrfNames;
104  std::vector< std::unique_ptr<SvxBmpItemInfo> >
106  std::vector< std::unique_ptr<SvxBmpItemInfo> >
113 
116 
119 
122 
127  sal_uInt16 m_nDlgType;
128  sal_Int32* m_pPosDashLb;
129  sal_Int32* m_pPosLineEndLb;
130 
132 
133  sal_Int32 m_nActLineWidth;
134 
136  std::unique_ptr<weld::Widget> m_xBoxColor;
137  std::unique_ptr<SvxLineLB> m_xLbLineStyle;
138  std::unique_ptr<ColorListBox> m_xLbColor;
139  std::unique_ptr<weld::Widget> m_xBoxWidth;
140  std::unique_ptr<weld::MetricSpinButton> m_xMtrLineWidth;
141  std::unique_ptr<weld::Widget> m_xBoxTransparency;
142  std::unique_ptr<weld::MetricSpinButton> m_xMtrTransparent;
143  std::unique_ptr<weld::Widget> m_xFlLineEnds;
144  std::unique_ptr<weld::Widget> m_xBoxArrowStyles;
145  std::unique_ptr<SvxLineEndLB> m_xLbStartStyle;
146  std::unique_ptr<weld::Widget> m_xBoxStart;
147  std::unique_ptr<weld::MetricSpinButton> m_xMtrStartWidth;
148  std::unique_ptr<weld::CheckButton> m_xTsbCenterStart;
149  std::unique_ptr<weld::Widget> m_xBoxEnd;
150  std::unique_ptr<SvxLineEndLB> m_xLbEndStyle;
151  std::unique_ptr<weld::MetricSpinButton> m_xMtrEndWidth;
152  std::unique_ptr<weld::CheckButton> m_xTsbCenterEnd;
153  std::unique_ptr<weld::CheckButton> m_xCbxSynchronize;
154  std::unique_ptr<weld::CustomWeld> m_xCtlPreview;
155 
156  std::unique_ptr<weld::Widget> m_xFLEdgeStyle;
157  std::unique_ptr<weld::Widget> m_xGridEdgeCaps;
158  std::unique_ptr<weld::ComboBox> m_xLBEdgeStyle;
159 
160  // LineCaps
161  std::unique_ptr<weld::ComboBox> m_xLBCapStyle;
162 
163  std::unique_ptr<weld::Widget> m_xFlSymbol;
164  std::unique_ptr<weld::Widget> m_xGridIconSize;
165  std::unique_ptr<weld::MenuButton> m_xSymbolMB;
166  std::unique_ptr<weld::Menu> m_xSymbolsMenu;
167  std::unique_ptr<weld::Menu> m_xGalleryMenu;
168  std::unique_ptr<weld::MetricSpinButton> m_xSymbolWidthMF;
169  std::unique_ptr<weld::MetricSpinButton> m_xSymbolHeightMF;
170  std::unique_ptr<weld::CheckButton> m_xSymbolRatioCB;
171 
172  // handler for gallery popup menu button + size
173  DECL_LINK(GraphicHdl_Impl, const OString&, void);
174  DECL_LINK(SizeHdl_Impl, weld::MetricSpinButton&, void);
175  DECL_LINK(MenuCreateHdl_Impl, weld::ToggleButton&, void);
176  DECL_LINK(RatioHdl_Impl, weld::ToggleButton&, void);
177 
179  void ClickInvisibleHdl_Impl();
180  DECL_LINK(ChangeStartClickHdl_Impl, weld::Button&, void);
181  DECL_LINK(ChangeStartListBoxHdl_Impl, weld::ComboBox&, void);
182  DECL_LINK(ChangeStartModifyHdl_Impl, weld::MetricSpinButton&, void);
183  DECL_LINK(ChangeEndListBoxHdl_Impl, weld::ComboBox&, void);
184  DECL_LINK(ChangeEndModifyHdl_Impl, weld::MetricSpinButton&, void);
185  DECL_LINK(ChangeEndClickHdl_Impl, weld::Button&, void);
186  DECL_LINK(ChangePreviewListBoxHdl_Impl, ColorListBox&, void);
187  DECL_LINK(ChangePreviewModifyHdl_Impl, weld::MetricSpinButton&, void);
189  DECL_LINK(ChangeTransparentHdl_Impl, weld::MetricSpinButton&, void);
190 
191  DECL_LINK(ChangeEdgeStyleHdl_Impl, weld::ComboBox&, void);
192 
193  // LineCaps
194  DECL_LINK(ChangeCapStyleHdl_Impl, weld::ComboBox&, void);
195 
196  void FillXLSet_Impl();
197 
198  void FillListboxes();
199 public:
200 
201  void ShowSymbolControls(bool bOn);
202 
203  SvxLineTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rInAttrs);
204  virtual ~SvxLineTabPage() override;
205 
206  void Construct();
207 
208  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* );
209  static const sal_uInt16* GetRanges() { return pLineRanges; }
210 
211  virtual bool FillItemSet( SfxItemSet* ) override;
212  virtual void Reset( const SfxItemSet* ) override;
213 
214  virtual void ActivatePage( const SfxItemSet& rSet ) override;
215  virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
216 
217  virtual void FillUserData() override;
218 
219  void SetDashList( XDashListRef const & pDshLst ) { m_pDashList = pDshLst; }
220  void SetLineEndList( XLineEndListRef const & pLneEndLst) { m_pLineEndList = pLneEndLst; }
221  void SetObjSelected( bool bHasObj ) { m_bObjSelected = bHasObj; }
222 
223  void SetPageType( PageType nInType ) { m_nPageType = nInType; }
224  void SetDlgType( sal_uInt16 nInType ) { m_nDlgType = nInType; }
225  void SetPosDashLb( sal_Int32* pInPos ) { m_pPosDashLb = pInPos; }
226  void SetPosLineEndLb( sal_Int32* pInPos ) { m_pPosLineEndLb = pInPos; }
227 
228  void SetLineEndChgd( ChangeType* pIn ) { m_pnLineEndListState = pIn; }
229  void SetDashChgd( ChangeType* pIn ) { m_pnDashListState = pIn; }
230  void SetColorChgd( ChangeType* pIn ) { m_pnColorListState = pIn; }
231 
232  virtual void PageCreated(const SfxAllItemSet& aSet) override;
233 };
234 
235 /*************************************************************************/
236 
238 {
239 private:
242 
245 
247 
250  sal_uInt16 nDlgType;
251  sal_Int32* pPosDashLb;
252 
255 
257  std::unique_ptr<SvxLineLB> m_xLbLineStyles;
258  std::unique_ptr<weld::ComboBox> m_xLbType1;
259  std::unique_ptr<weld::ComboBox> m_xLbType2;
260  std::unique_ptr<weld::SpinButton> m_xNumFldNumber1;
261  std::unique_ptr<weld::SpinButton> m_xNumFldNumber2;
262  std::unique_ptr<weld::MetricSpinButton> m_xMtrLength1;
263  std::unique_ptr<weld::MetricSpinButton> m_xMtrLength2;
264  std::unique_ptr<weld::MetricSpinButton> m_xMtrDistance;
265  std::unique_ptr<weld::CheckButton> m_xCbxSynchronize;
266  std::unique_ptr<weld::Button> m_xBtnAdd;
267  std::unique_ptr<weld::Button> m_xBtnModify;
268  std::unique_ptr<weld::Button> m_xBtnDelete;
269  std::unique_ptr<weld::Button> m_xBtnLoad;
270  std::unique_ptr<weld::Button> m_xBtnSave;
271  std::unique_ptr<weld::CustomWeld> m_xCtlPreview;
272 
273  void FillDash_Impl();
274  void FillDialog_Impl();
275 
276  DECL_LINK(ClickAddHdl_Impl, weld::Button&, void);
277  DECL_LINK(ClickModifyHdl_Impl, weld::Button&, void);
278  DECL_LINK(ClickDeleteHdl_Impl, weld::Button&, void);
279  DECL_LINK(SelectLinestyleListBoxHdl_Impl, weld::ComboBox&, void);
281  DECL_LINK(ChangePreviewHdl_Impl, weld::MetricSpinButton&, void);
282  DECL_LINK(ChangeNumber1Hdl_Impl, weld::SpinButton&, void);
283  DECL_LINK(ChangeNumber2Hdl_Impl, weld::SpinButton&, void);
284  DECL_LINK(ClickLoadHdl_Impl, weld::Button&, void);
285  DECL_LINK(ClickSaveHdl_Impl, weld::Button&, void);
287  DECL_LINK(SelectTypeListBoxHdl_Impl, weld::ComboBox&, void);
288  void SelectTypeHdl_Impl(const weld::ComboBox*);
290 
291  void CheckChanges_Impl();
292 
293 public:
294  SvxLineDefTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rInAttrs);
295  virtual ~SvxLineDefTabPage() override;
296 
297  void Construct();
298 
299  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* );
300  virtual bool FillItemSet( SfxItemSet* ) override;
301  virtual void Reset( const SfxItemSet * ) override;
302 
303  virtual void ActivatePage( const SfxItemSet& rSet ) override;
304  virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
305 
306  void SetDashList( XDashListRef const & pDshLst ) { pDashList = pDshLst; }
307 
308  void SetPageType( PageType* pInType ) { pPageType = pInType; }
309  void SetDlgType( sal_uInt16 nInType ) { nDlgType = nInType; }
310  void SetPosDashLb( sal_Int32* pInPos ) { pPosDashLb = pInPos; }
311 
312  void SetDashChgd( ChangeType* pIn ) { pnDashListState = pIn; }
313 };
314 
315 /*************************************************************************/
316 
318 {
319 private:
322 
325 
327 
330  sal_uInt16 nDlgType;
331  sal_Int32* pPosLineEndLb;
332 
334  std::unique_ptr<weld::Entry> m_xEdtName;
335  std::unique_ptr<SvxLineEndLB> m_xLbLineEnds;
336  std::unique_ptr<weld::Button> m_xBtnAdd;
337  std::unique_ptr<weld::Button> m_xBtnModify;
338  std::unique_ptr<weld::Button> m_xBtnDelete;
339  std::unique_ptr<weld::Button> m_xBtnLoad;
340  std::unique_ptr<weld::Button> m_xBtnSave;
341  std::unique_ptr<weld::CustomWeld> m_xCtlPreview;
342 
343  DECL_LINK(ClickAddHdl_Impl, weld::Button&, void);
344  DECL_LINK(ClickModifyHdl_Impl, weld::Button&, void);
345  DECL_LINK(ClickDeleteHdl_Impl, weld::Button&, void);
346  DECL_LINK(ClickLoadHdl_Impl, weld::Button&, void);
347  DECL_LINK(ClickSaveHdl_Impl, weld::Button&, void);
349 
350  void SelectLineEndHdl_Impl();
351  void CheckChanges_Impl();
352 
353 public:
354  SvxLineEndDefTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rInAttrs);
355  virtual ~SvxLineEndDefTabPage() override;
356 
357  void Construct();
358 
359  static std::unique_ptr<SfxTabPage> Create( weld::Container* pPage, weld::DialogController* pController, const SfxItemSet* );
360  virtual bool FillItemSet( SfxItemSet* ) override;
361  virtual void Reset( const SfxItemSet * ) override;
362 
363  virtual void ActivatePage( const SfxItemSet& rSet ) override;
364  virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
365 
366  void SetLineEndList( XLineEndListRef const & pInList ) { pLineEndList = pInList; }
367  void SetPolyObj( const SdrObject* pObj ) { pPolyObj = pObj; }
368 
369  void SetPageType( PageType* pInType ) { pPageType = pInType; }
370  void SetDlgType( sal_uInt16 nInType ) { nDlgType = nInType; }
371  void SetPosLineEndLb( sal_Int32* pInPos ) { pPosLineEndLb = pInPos; }
372 
373  void SetLineEndChgd( ChangeType* pIn ) { pnLineEndListState = pIn; }
374 };
375 
376 #endif // INCLUDED_CUI_SOURCE_INC_CUITABLINE_HXX
377 
378 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
void SetDashList(XDashListRef const &pDshLst)
Definition: cuitabline.hxx:306
sal_Int32 * pPosDashLb
Definition: cuitabline.hxx:251
void ChangeMetricHdl_Impl(const weld::ToggleButton *)
Definition: tplnedef.cxx:377
SdrObjList * m_pSymbolList
a list of symbols to be shown in menu.
Definition: cuitabline.hxx:95
SfxItemSet & rXLSet
Definition: cuitabline.hxx:244
std::unique_ptr< SvxBrushItem > pBrushItem
Definition: cuitabline.hxx:84
virtual short Ok() override
Definition: tabline.cxx:147
std::unique_ptr< weld::Entry > m_xEdtName
Definition: cuitabline.hxx:334
SvxLineDefTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs)
Definition: tplnedef.cxx:53
sal_Int32 m_nActLineWidth
Definition: cuitabline.hxx:133
void SavePalettes()
Definition: tabline.cxx:81
sal_Int32 nPosDashLb
Definition: cuitabline.hxx:54
FieldUnit
std::unique_ptr< weld::Button > m_xBtnModify
Definition: cuitabline.hxx:267
SvxLineTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs)
Definition: tpline.cxx:83
std::unique_ptr< weld::Button > m_xBtnDelete
Definition: cuitabline.hxx:338
sal_uInt16 m_nDlgType
Definition: cuitabline.hxx:127
virtual void Reset(const SfxItemSet *) override
Definition: tplneend.cxx:198
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: tplnedef.cxx:150
sal_Int32 * m_pPosDashLb
Definition: cuitabline.hxx:128
void SetNewLineEndList(XLineEndListRef const &pInLst)
Definition: cuitabline.hxx:72
std::unique_ptr< weld::Widget > m_xFlLineEnds
Definition: cuitabline.hxx:143
const SfxItemSet * pSet
SvxXLinePreview m_aCtlPreview
Definition: cuitabline.hxx:135
const SdrObject * pPolyObj
Definition: cuitabline.hxx:321
std::unique_ptr< weld::Widget > m_xBoxWidth
Definition: cuitabline.hxx:139
const SdrObject * pObj
Definition: cuitabline.hxx:39
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: tpline.cxx:1656
std::unique_ptr< weld::Widget > m_xFlSymbol
Definition: cuitabline.hxx:163
std::unique_ptr< weld::MenuButton > m_xSymbolMB
Definition: cuitabline.hxx:165
XLineEndListRef pLineEndList
Definition: cuitabline.hxx:45
XDashListRef pDashList
Definition: cuitabline.hxx:246
virtual void FillUserData() override
Definition: tpline.cxx:1359
std::unique_ptr< weld::Widget > m_xBoxEnd
Definition: cuitabline.hxx:149
std::unique_ptr< SvxLineLB > m_xLbLineStyle
Definition: cuitabline.hxx:137
const SfxItemSet & rOutAttrs
Definition: cuitabline.hxx:320
sal_Int32 nPosLineEndLb
Definition: cuitabline.hxx:55
bool m_bLastWidthModified
Definition: cuitabline.hxx:108
std::unique_ptr< weld::MetricSpinButton > m_xMtrLineWidth
Definition: cuitabline.hxx:140
std::unique_ptr< weld::SpinButton > m_xNumFldNumber2
Definition: cuitabline.hxx:261
void SetPolyObj(const SdrObject *pObj)
Definition: cuitabline.hxx:367
virtual void Reset(const SfxItemSet *) override
Definition: tpline.cxx:784
std::unique_ptr< weld::Button > m_xBtnLoad
Definition: cuitabline.hxx:339
Graphic m_aSymbolGraphic
Definition: cuitabline.hxx:110
std::unique_ptr< weld::MetricSpinButton > m_xMtrEndWidth
Definition: cuitabline.hxx:151
void SetObjSelected(bool bHasObj)
Definition: cuitabline.hxx:221
void CheckChanges_Impl()
Definition: tplnedef.cxx:191
std::unique_ptr< weld::MetricSpinButton > m_xMtrTransparent
Definition: cuitabline.hxx:142
sal_uInt16 nDlgType
Definition: cuitabline.hxx:250
SfxItemSet & rXLSet
Definition: cuitabline.hxx:324
MapUnit m_ePoolUnit
Definition: cuitabline.hxx:131
PageType
void SetPageType(PageType nInType)
Definition: cuitabline.hxx:223
std::unique_ptr< weld::MetricSpinButton > m_xMtrDistance
Definition: cuitabline.hxx:264
std::unique_ptr< weld::Widget > m_xBoxArrowStyles
Definition: cuitabline.hxx:144
void SetPageType(PageType *pInType)
Definition: cuitabline.hxx:308
XDashListRef m_pDashList
Definition: cuitabline.hxx:120
std::unique_ptr< weld::Button > m_xBtnLoad
Definition: cuitabline.hxx:269
virtual bool FillItemSet(SfxItemSet *) override
Definition: tplneend.cxx:180
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: tplneend.cxx:146
XLineEndListRef pLineEndList
Definition: cuitabline.hxx:326
SvxLineTabDialog(weld::Window *pParent, const SfxItemSet *pAttr, SdrModel *pModel, const SdrObject *pObj, bool bHasObj)
Definition: tabline.cxx:29
void SetPosLineEndLb(sal_Int32 *pInPos)
Definition: cuitabline.hxx:226
std::vector< OUString > m_aGrfNames
Definition: cuitabline.hxx:103
void SetLineEndChgd(ChangeType *pIn)
Definition: cuitabline.hxx:373
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *)
Definition: tplneend.cxx:234
XDashListRef pNewDashList
Definition: cuitabline.hxx:44
std::unique_ptr< weld::CheckButton > m_xTsbCenterEnd
Definition: cuitabline.hxx:152
std::unique_ptr< ColorListBox > m_xLbColor
Definition: cuitabline.hxx:138
std::unique_ptr< weld::ComboBox > m_xLbType2
Definition: cuitabline.hxx:259
Graphic m_aAutoSymbolGraphic
a graphic to be displayed in the preview in case that an automatic symbol is chosen ...
Definition: cuitabline.hxx:98
virtual bool FillItemSet(SfxItemSet *) override
Definition: tpline.cxx:378
void SelectTypeHdl_Impl(const weld::ComboBox *)
Definition: tplnedef.cxx:457
std::unique_ptr< weld::Widget > m_xBoxTransparency
Definition: cuitabline.hxx:141
void SetLineEndList(XLineEndListRef const &pInList)
Definition: cuitabline.hxx:366
std::unique_ptr< weld::Menu > m_xSymbolsMenu
Definition: cuitabline.hxx:166
std::unique_ptr< weld::ComboBox > m_xLbType1
Definition: cuitabline.hxx:258
SvxLineEndDefTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs)
Definition: tplneend.cxx:52
std::unique_ptr< weld::Widget > m_xGridEdgeCaps
Definition: cuitabline.hxx:157
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: tpline.cxx:359
std::unique_ptr< weld::Widget > m_xBoxStart
Definition: cuitabline.hxx:146
std::unique_ptr< weld::Widget > m_xFLEdgeStyle
Definition: cuitabline.hxx:156
std::unique_ptr< SvxLineEndLB > m_xLbStartStyle
Definition: cuitabline.hxx:145
std::unique_ptr< weld::MetricSpinButton > m_xSymbolHeightMF
Definition: cuitabline.hxx:169
PageType nPageType
Definition: cuitabline.hxx:53
ChangeType * m_pnLineEndListState
Definition: cuitabline.hxx:123
void ShowSymbolControls(bool bOn)
Definition: tpline.cxx:199
void SetNewColorList(XColorListRef const &pColTab)
Definition: cuitabline.hxx:76
void SetColorChgd(ChangeType *pIn)
Definition: cuitabline.hxx:230
void SelectLineEndHdl_Impl()
Definition: tplneend.cxx:239
ChangeType
SfxItemSet * m_pSymbolAttr
attributes for the shown symbols; only necessary if not equal to line properties
Definition: cuitabline.hxx:101
DECL_LINK(ClickAddHdl_Impl, weld::Button &, void)
XLineEndListRef m_pLineEndList
Definition: cuitabline.hxx:121
void SetDlgType(sal_uInt16 nInType)
Definition: cuitabline.hxx:309
XDashListRef pDashList
Definition: cuitabline.hxx:43
SfxItemSet & m_rXLSet
Definition: cuitabline.hxx:118
std::unique_ptr< weld::Button > m_xBtnAdd
Definition: cuitabline.hxx:336
void Construct()
Definition: tpline.cxx:219
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:257
void SetDashChgd(ChangeType *pIn)
Definition: cuitabline.hxx:229
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *)
Definition: tplnedef.cxx:299
const SfxItemSet & rOutAttrs
Definition: cuitabline.hxx:240
ChangeType * m_pnColorListState
Definition: cuitabline.hxx:125
virtual void Reset(const SfxItemSet *) override
Definition: tplnedef.cxx:257
void SetDlgType(sal_uInt16 nInType)
Definition: cuitabline.hxx:224
virtual ~SvxLineEndDefTabPage() override
Definition: tplneend.cxx:92
XLineAttrSetItem m_aXLineAttr
Definition: cuitabline.hxx:117
void ChangePreviewHdl_Impl(const weld::MetricSpinButton *)
Definition: tpline.cxx:1196
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *)
Definition: tpline.cxx:1180
DECL_LINK(GraphicHdl_Impl, const OString &, void)
void FillXLSet_Impl()
Definition: tpline.cxx:663
std::unique_ptr< weld::MetricSpinButton > m_xSymbolWidthMF
Definition: cuitabline.hxx:168
void SetDashList(XDashListRef const &pDshLst)
Definition: cuitabline.hxx:219
std::vector< std::unique_ptr< SvxBmpItemInfo > > m_aSymbolBrushItems
Definition: cuitabline.hxx:107
SdrModel * pDrawModel
Definition: cuitabline.hxx:38
virtual bool FillItemSet(SfxItemSet *) override
Definition: tplnedef.cxx:240
DECL_LINK(ClickAddHdl_Impl, weld::Button &, void)
SvxXLinePreview m_aCtlPreview
Definition: cuitabline.hxx:333
DECL_LINK(CancelHdlImpl, weld::Button &, void)
std::unique_ptr< weld::Button > m_xBtnSave
Definition: cuitabline.hxx:340
void ClickInvisibleHdl_Impl()
Definition: tpline.cxx:1294
virtual ~SvxLineTabPage() override
Definition: tpline.cxx:208
void FillDialog_Impl()
Definition: tplnedef.cxx:812
void SetLineEndChgd(ChangeType *pIn)
Definition: cuitabline.hxx:228
std::unique_ptr< weld::ComboBox > m_xLBEdgeStyle
Definition: cuitabline.hxx:158
SvxXLinePreview m_aCtlPreview
Definition: cuitabline.hxx:256
void SetLineEndList(XLineEndListRef const &pLneEndLst)
Definition: cuitabline.hxx:220
std::unique_ptr< weld::CheckButton > m_xSymbolRatioCB
Definition: cuitabline.hxx:170
const SfxItemSet & m_rOutAttrs
Definition: cuitabline.hxx:114
static const sal_uInt16 pLineRanges[]
Definition: cuitabline.hxx:90
virtual void PageCreated(const OString &rId, SfxTabPage &rPage) override
Definition: tabline.cxx:163
std::unique_ptr< weld::CustomWeld > m_xCtlPreview
Definition: cuitabline.hxx:341
virtual ~SvxLineDefTabPage() override
Definition: tplnedef.cxx:138
void SetDlgType(sal_uInt16 nInType)
Definition: cuitabline.hxx:370
std::unique_ptr< weld::MetricSpinButton > m_xMtrLength1
Definition: cuitabline.hxx:262
std::unique_ptr< weld::Button > m_xBtnAdd
Definition: cuitabline.hxx:266
std::unique_ptr< weld::MetricSpinButton > m_xMtrStartWidth
Definition: cuitabline.hxx:147
std::unique_ptr< weld::CustomWeld > m_xCtlPreview
Definition: cuitabline.hxx:271
std::unique_ptr< weld::Button > m_xBtnModify
Definition: cuitabline.hxx:337
ChangeType mnColorListState
Definition: cuitabline.hxx:51
void FillListboxes()
Definition: tpline.cxx:224
XColorListRef mpNewColorList
Definition: cuitabline.hxx:42
XLineAttrSetItem aXLineAttr
Definition: cuitabline.hxx:243
ChangeType nLineEndListState
Definition: cuitabline.hxx:49
std::unique_ptr< weld::MetricSpinButton > m_xMtrLength2
Definition: cuitabline.hxx:263
void SetPosLineEndLb(sal_Int32 *pInPos)
Definition: cuitabline.hxx:371
std::unique_ptr< weld::Menu > m_xGalleryMenu
Definition: cuitabline.hxx:167
std::unique_ptr< weld::Widget > m_xGridIconSize
Definition: cuitabline.hxx:164
std::unique_ptr< weld::ComboBox > m_xLBCapStyle
Definition: cuitabline.hxx:161
void SetPosDashLb(sal_Int32 *pInPos)
Definition: cuitabline.hxx:225
ChangeType * m_pnDashListState
Definition: cuitabline.hxx:124
std::unique_ptr< weld::Button > m_xBtnSave
Definition: cuitabline.hxx:270
XLineAttrSetItem aXLineAttr
Definition: cuitabline.hxx:323
void SetPosDashLb(sal_Int32 *pInPos)
Definition: cuitabline.hxx:310
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: tpline.cxx:246
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: tplneend.cxx:123
std::unique_ptr< weld::CustomWeld > m_xCtlPreview
Definition: cuitabline.hxx:154
ChangeType * pnLineEndListState
Definition: cuitabline.hxx:328
std::unique_ptr< weld::Widget > m_xBoxColor
Definition: cuitabline.hxx:136
const XDashListRef & GetNewDashList() const
Definition: cuitabline.hxx:70
sal_Int32 * pPosLineEndLb
Definition: cuitabline.hxx:331
DeactivateRC
void SelectLinestyleHdl_Impl(const weld::ComboBox *)
Definition: tplnedef.cxx:309
static const sal_uInt16 * GetRanges()
Definition: cuitabline.hxx:209
MapUnit
PageType m_nPageType
Definition: cuitabline.hxx:126
std::unique_ptr< weld::Button > m_xBtnDelete
Definition: cuitabline.hxx:268
void FillDash_Impl()
Definition: tplnedef.cxx:790
Size m_aSymbolLastSize
Definition: cuitabline.hxx:109
std::unique_ptr< weld::CheckButton > m_xCbxSynchronize
Definition: cuitabline.hxx:153
PageType * pPageType
Definition: cuitabline.hxx:249
void SetDashChgd(ChangeType *pIn)
Definition: cuitabline.hxx:312
void SetPageType(PageType *pInType)
Definition: cuitabline.hxx:369
std::vector< std::unique_ptr< SvxBmpItemInfo > > m_aGalleryBrushItems
Definition: cuitabline.hxx:105
XColorListRef pColorList
Definition: cuitabline.hxx:41
const XColorListRef & GetNewColorList() const
Definition: cuitabline.hxx:77
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: tplnedef.cxx:181
std::unique_ptr< SvxLineEndLB > m_xLbEndStyle
Definition: cuitabline.hxx:150
OUString sItemId
Definition: cuitabline.hxx:85
sal_Int32 * m_pPosLineEndLb
Definition: cuitabline.hxx:129
void SetNewDashList(XDashListRef const &pInLst)
Definition: cuitabline.hxx:68
ChangeType * pnDashListState
Definition: cuitabline.hxx:248
std::unique_ptr< SvxLineEndLB > m_xLbLineEnds
Definition: cuitabline.hxx:335
std::unique_ptr< weld::CheckButton > m_xCbxSynchronize
Definition: cuitabline.hxx:265
std::unique_ptr< weld::SpinButton > m_xNumFldNumber1
Definition: cuitabline.hxx:260
std::unique_ptr< weld::CheckButton > m_xTsbCenterStart
Definition: cuitabline.hxx:148