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