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 <memory>
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
33enum class PageType;
34class ColorListBox;
35
37{
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
63public:
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
89{
91private:
92 //#58425# symbols on a line (e. g. StarChart) ->
99 sal_Int32 m_nSymbolType;
101 std::unique_ptr<SfxItemSet> m_xSymbolAttr;
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
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::Toggleable&, void);
176 DECL_LINK(RatioHdl_Impl, weld::Toggleable&, void);
177
180 DECL_LINK(ChangeStartClickHdl_Impl, weld::Toggleable&, 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::Toggleable&, 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();
199public:
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* );
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
231
232 virtual void PageCreated(const SfxAllItemSet& aSet) override;
233};
234
235/*************************************************************************/
236
238{
239private:
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);
290
291 void CheckChanges_Impl();
292
293public:
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{
319private:
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
351 void CheckChanges_Impl();
352
353public:
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
374};
375
376/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
const SfxItemSet * pSet
std::unique_ptr< weld::CheckButton > m_xCbxSynchronize
Definition: cuitabline.hxx:265
DECL_LINK(ClickSaveHdl_Impl, weld::Button &, void)
SvxXLinePreview m_aCtlPreview
Definition: cuitabline.hxx:256
DECL_LINK(ChangeNumber2Hdl_Impl, weld::SpinButton &, void)
DECL_LINK(SelectLinestyleListBoxHdl_Impl, weld::ComboBox &, void)
DECL_LINK(ChangeMetricHdl_Impl, weld::Toggleable &, void)
DECL_LINK(ClickLoadHdl_Impl, weld::Button &, void)
XDashListRef pDashList
Definition: cuitabline.hxx:246
void SetPageType(PageType *pInType)
Definition: cuitabline.hxx:308
DECL_LINK(ClickDeleteHdl_Impl, weld::Button &, void)
std::unique_ptr< weld::ComboBox > m_xLbType2
Definition: cuitabline.hxx:259
std::unique_ptr< weld::Button > m_xBtnAdd
Definition: cuitabline.hxx:266
void SetPosDashLb(sal_Int32 *pInPos)
Definition: cuitabline.hxx:310
sal_uInt16 nDlgType
Definition: cuitabline.hxx:250
void SetDashList(XDashListRef const &pDshLst)
Definition: cuitabline.hxx:306
void SelectLinestyleHdl_Impl(const weld::ComboBox *)
Definition: tplnedef.cxx:309
DECL_LINK(SelectTypeListBoxHdl_Impl, weld::ComboBox &, void)
DECL_LINK(ChangePreviewHdl_Impl, weld::MetricSpinButton &, void)
std::unique_ptr< weld::Button > m_xBtnModify
Definition: cuitabline.hxx:267
void ChangeMetricHdl_Impl(const weld::Toggleable *)
Definition: tplnedef.cxx:377
void SelectTypeHdl_Impl(const weld::ComboBox *)
Definition: tplnedef.cxx:457
std::unique_ptr< weld::SpinButton > m_xNumFldNumber2
Definition: cuitabline.hxx:261
PageType * pPageType
Definition: cuitabline.hxx:249
const SfxItemSet & rOutAttrs
Definition: cuitabline.hxx:240
std::unique_ptr< weld::Button > m_xBtnDelete
Definition: cuitabline.hxx:268
std::unique_ptr< weld::Button > m_xBtnLoad
Definition: cuitabline.hxx:269
std::unique_ptr< weld::MetricSpinButton > m_xMtrDistance
Definition: cuitabline.hxx:264
ChangeType * pnDashListState
Definition: cuitabline.hxx:248
std::unique_ptr< weld::SpinButton > m_xNumFldNumber1
Definition: cuitabline.hxx:260
std::unique_ptr< weld::CustomWeld > m_xCtlPreview
Definition: cuitabline.hxx:271
DECL_LINK(ClickAddHdl_Impl, weld::Button &, void)
virtual bool FillItemSet(SfxItemSet *) override
Definition: tplnedef.cxx:240
sal_Int32 * pPosDashLb
Definition: cuitabline.hxx:251
DECL_LINK(ClickModifyHdl_Impl, weld::Button &, void)
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: tplnedef.cxx:181
virtual void Reset(const SfxItemSet *) override
Definition: tplnedef.cxx:257
std::unique_ptr< weld::ComboBox > m_xLbType1
Definition: cuitabline.hxx:258
void SetDlgType(sal_uInt16 nInType)
Definition: cuitabline.hxx:309
void CheckChanges_Impl()
Definition: tplnedef.cxx:191
void SetDashChgd(ChangeType *pIn)
Definition: cuitabline.hxx:312
std::unique_ptr< weld::MetricSpinButton > m_xMtrLength2
Definition: cuitabline.hxx:263
DECL_LINK(ChangeNumber1Hdl_Impl, weld::SpinButton &, void)
XLineAttrSetItem aXLineAttr
Definition: cuitabline.hxx:243
void FillDialog_Impl()
Definition: tplnedef.cxx:812
std::unique_ptr< weld::MetricSpinButton > m_xMtrLength1
Definition: cuitabline.hxx:262
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: tplnedef.cxx:150
std::unique_ptr< SvxLineLB > m_xLbLineStyles
Definition: cuitabline.hxx:257
std::unique_ptr< weld::Button > m_xBtnSave
Definition: cuitabline.hxx:270
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *)
Definition: tplnedef.cxx:299
SvxLineDefTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs)
Definition: tplnedef.cxx:53
SfxItemSet & rXLSet
Definition: cuitabline.hxx:244
virtual ~SvxLineDefTabPage() override
Definition: tplnedef.cxx:138
void FillDash_Impl()
Definition: tplnedef.cxx:790
void SetLineEndChgd(ChangeType *pIn)
Definition: cuitabline.hxx:373
void SetPageType(PageType *pInType)
Definition: cuitabline.hxx:369
SfxItemSet & rXLSet
Definition: cuitabline.hxx:324
DECL_LINK(ClickLoadHdl_Impl, weld::Button &, void)
DECL_LINK(SelectLineEndHdl_Impl, weld::ComboBox &, void)
virtual ~SvxLineEndDefTabPage() override
Definition: tplneend.cxx:92
std::unique_ptr< weld::Entry > m_xEdtName
Definition: cuitabline.hxx:334
XLineAttrSetItem aXLineAttr
Definition: cuitabline.hxx:323
std::unique_ptr< weld::Button > m_xBtnAdd
Definition: cuitabline.hxx:336
SvxLineEndDefTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs)
Definition: tplneend.cxx:52
DECL_LINK(ClickAddHdl_Impl, weld::Button &, void)
std::unique_ptr< SvxLineEndLB > m_xLbLineEnds
Definition: cuitabline.hxx:335
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: tplneend.cxx:146
void SetPolyObj(const SdrObject *pObj)
Definition: cuitabline.hxx:367
std::unique_ptr< weld::CustomWeld > m_xCtlPreview
Definition: cuitabline.hxx:341
XLineEndListRef pLineEndList
Definition: cuitabline.hxx:326
void SelectLineEndHdl_Impl()
Definition: tplneend.cxx:239
std::unique_ptr< weld::Button > m_xBtnLoad
Definition: cuitabline.hxx:339
std::unique_ptr< weld::Button > m_xBtnModify
Definition: cuitabline.hxx:337
void SetPosLineEndLb(sal_Int32 *pInPos)
Definition: cuitabline.hxx:371
SvxXLinePreview m_aCtlPreview
Definition: cuitabline.hxx:333
sal_Int32 * pPosLineEndLb
Definition: cuitabline.hxx:331
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *)
Definition: tplneend.cxx:234
const SdrObject * pPolyObj
Definition: cuitabline.hxx:321
const SfxItemSet & rOutAttrs
Definition: cuitabline.hxx:320
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: tplneend.cxx:123
ChangeType * pnLineEndListState
Definition: cuitabline.hxx:328
void SetDlgType(sal_uInt16 nInType)
Definition: cuitabline.hxx:370
DECL_LINK(ClickModifyHdl_Impl, weld::Button &, void)
DECL_LINK(ClickDeleteHdl_Impl, weld::Button &, void)
std::unique_ptr< weld::Button > m_xBtnSave
Definition: cuitabline.hxx:340
virtual bool FillItemSet(SfxItemSet *) override
Definition: tplneend.cxx:180
void SetLineEndList(XLineEndListRef const &pInList)
Definition: cuitabline.hxx:366
DECL_LINK(ClickSaveHdl_Impl, weld::Button &, void)
std::unique_ptr< weld::Button > m_xBtnDelete
Definition: cuitabline.hxx:338
virtual void Reset(const SfxItemSet *) override
Definition: tplneend.cxx:198
virtual short Ok() override
Definition: tabline.cxx:147
XLineEndListRef pNewLineEndList
Definition: cuitabline.hxx:46
const SdrObject * pObj
Definition: cuitabline.hxx:39
const XDashListRef & GetNewDashList() const
Definition: cuitabline.hxx:70
SdrModel * pDrawModel
Definition: cuitabline.hxx:38
XColorListRef mpNewColorList
Definition: cuitabline.hxx:42
XDashListRef pNewDashList
Definition: cuitabline.hxx:44
sal_Int32 nPosLineEndLb
Definition: cuitabline.hxx:55
DECL_LINK(CancelHdlImpl, weld::Button &, void)
const XLineEndListRef & GetNewLineEndList() const
Definition: cuitabline.hxx:74
void SetNewDashList(XDashListRef const &pInLst)
Definition: cuitabline.hxx:68
void SavePalettes()
Definition: tabline.cxx:81
const XColorListRef & GetNewColorList() const
Definition: cuitabline.hxx:77
void SetNewColorList(XColorListRef const &pColTab)
Definition: cuitabline.hxx:76
ChangeType nLineEndListState
Definition: cuitabline.hxx:49
void SetNewLineEndList(XLineEndListRef const &pInLst)
Definition: cuitabline.hxx:72
ChangeType mnColorListState
Definition: cuitabline.hxx:51
XLineEndListRef pLineEndList
Definition: cuitabline.hxx:45
SvxLineTabDialog(weld::Window *pParent, const SfxItemSet *pAttr, SdrModel *pModel, const SdrObject *pObj, bool bHasObj)
Definition: tabline.cxx:29
XDashListRef pDashList
Definition: cuitabline.hxx:43
XColorListRef pColorList
Definition: cuitabline.hxx:41
virtual void PageCreated(const OString &rId, SfxTabPage &rPage) override
Definition: tabline.cxx:163
sal_Int32 nPosDashLb
Definition: cuitabline.hxx:54
ChangeType nDashListState
Definition: cuitabline.hxx:50
PageType nPageType
Definition: cuitabline.hxx:53
std::unique_ptr< weld::MenuButton > m_xSymbolMB
Definition: cuitabline.hxx:165
std::unique_ptr< weld::Widget > m_xFlLineEnds
Definition: cuitabline.hxx:143
std::unique_ptr< weld::Widget > m_xBoxColor
Definition: cuitabline.hxx:136
std::unique_ptr< weld::MetricSpinButton > m_xMtrTransparent
Definition: cuitabline.hxx:142
virtual ~SvxLineTabPage() override
Definition: tpline.cxx:204
std::unique_ptr< SvxLineEndLB > m_xLbStartStyle
Definition: cuitabline.hxx:145
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *)
Definition: tpline.cxx:1177
DECL_LINK(ChangeTransparentHdl_Impl, weld::MetricSpinButton &, void)
Size m_aSymbolLastSize
Definition: cuitabline.hxx:109
void SetPosLineEndLb(sal_Int32 *pInPos)
Definition: cuitabline.hxx:226
std::unique_ptr< weld::MetricSpinButton > m_xMtrLineWidth
Definition: cuitabline.hxx:140
SvxXLinePreview m_aCtlPreview
Definition: cuitabline.hxx:135
bool m_bLastWidthModified
Definition: cuitabline.hxx:108
std::unique_ptr< weld::MetricSpinButton > m_xMtrStartWidth
Definition: cuitabline.hxx:147
DECL_LINK(ChangeEndListBoxHdl_Impl, weld::ComboBox &, void)
Graphic m_aSymbolGraphic
Definition: cuitabline.hxx:110
XLineEndListRef m_pLineEndList
Definition: cuitabline.hxx:121
std::unique_ptr< weld::MetricSpinButton > m_xSymbolWidthMF
Definition: cuitabline.hxx:168
XDashListRef m_pDashList
Definition: cuitabline.hxx:120
DECL_LINK(ChangeStartModifyHdl_Impl, weld::MetricSpinButton &, void)
std::unique_ptr< weld::ComboBox > m_xLBCapStyle
Definition: cuitabline.hxx:161
std::unique_ptr< weld::Widget > m_xFLEdgeStyle
Definition: cuitabline.hxx:156
void ChangePreviewHdl_Impl(const weld::MetricSpinButton *)
Definition: tpline.cxx:1193
void FillXLSet_Impl()
Definition: tpline.cxx:662
void SetPosDashLb(sal_Int32 *pInPos)
Definition: cuitabline.hxx:225
static WhichRangesContainer GetRanges()
Definition: cuitabline.hxx:209
virtual void Reset(const SfxItemSet *) override
Definition: tpline.cxx:783
sal_Int32 m_nSymbolType
Definition: cuitabline.hxx:99
void SetLineEndChgd(ChangeType *pIn)
Definition: cuitabline.hxx:228
std::unique_ptr< weld::Widget > m_xGridEdgeCaps
Definition: cuitabline.hxx:157
SfxItemSet & m_rXLSet
Definition: cuitabline.hxx:118
DECL_LINK(ChangeCapStyleHdl_Impl, weld::ComboBox &, void)
std::unique_ptr< weld::Widget > m_xBoxEnd
Definition: cuitabline.hxx:149
std::unique_ptr< weld::Widget > m_xBoxTransparency
Definition: cuitabline.hxx:141
std::unique_ptr< ColorListBox > m_xLbColor
Definition: cuitabline.hxx:138
std::unique_ptr< weld::CheckButton > m_xTsbCenterEnd
Definition: cuitabline.hxx:152
XLineAttrSetItem m_aXLineAttr
Definition: cuitabline.hxx:117
void Construct()
Definition: tpline.cxx:215
PageType m_nPageType
Definition: cuitabline.hxx:126
std::unique_ptr< weld::ComboBox > m_xLBEdgeStyle
Definition: cuitabline.hxx:158
std::unique_ptr< SvxLineLB > m_xLbLineStyle
Definition: cuitabline.hxx:137
sal_Int32 * m_pPosDashLb
Definition: cuitabline.hxx:128
virtual void FillUserData() override
Definition: tpline.cxx:1368
void ShowSymbolControls(bool bOn)
Definition: tpline.cxx:195
void SetDashChgd(ChangeType *pIn)
Definition: cuitabline.hxx:229
std::unique_ptr< weld::MetricSpinButton > m_xMtrEndWidth
Definition: cuitabline.hxx:151
std::unique_ptr< SfxItemSet > m_xSymbolAttr
attributes for the shown symbols; only necessary if not equal to line properties
Definition: cuitabline.hxx:101
DECL_LINK(SizeHdl_Impl, weld::MetricSpinButton &, void)
std::vector< OUString > m_aGrfNames
Definition: cuitabline.hxx:103
std::unique_ptr< weld::Widget > m_xBoxArrowStyles
Definition: cuitabline.hxx:144
std::unique_ptr< weld::Widget > m_xGridIconSize
Definition: cuitabline.hxx:164
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: tpline.cxx:243
std::unique_ptr< weld::Widget > m_xFlSymbol
Definition: cuitabline.hxx:163
std::unique_ptr< weld::MetricSpinButton > m_xSymbolHeightMF
Definition: cuitabline.hxx:169
DECL_LINK(RatioHdl_Impl, weld::Toggleable &, void)
ChangeType * m_pnColorListState
Definition: cuitabline.hxx:125
std::unique_ptr< weld::Widget > m_xBoxStart
Definition: cuitabline.hxx:146
void SetPageType(PageType nInType)
Definition: cuitabline.hxx:223
virtual bool FillItemSet(SfxItemSet *) override
Definition: tpline.cxx:377
SdrObjList * m_pSymbolList
a list of symbols to be shown in menu.
Definition: cuitabline.hxx:95
std::unique_ptr< weld::CheckButton > m_xTsbCenterStart
Definition: cuitabline.hxx:148
void SetDlgType(sal_uInt16 nInType)
Definition: cuitabline.hxx:224
DECL_LINK(ChangeStartClickHdl_Impl, weld::Toggleable &, void)
void FillListboxes()
Definition: tpline.cxx:220
sal_Int32 m_nActLineWidth
Definition: cuitabline.hxx:133
void ClickInvisibleHdl_Impl()
Definition: tpline.cxx:1291
DECL_LINK(ChangeEndModifyHdl_Impl, weld::MetricSpinButton &, void)
DECL_LINK(GraphicHdl_Impl, const OString &, void)
SvxLineTabPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs)
Definition: tpline.cxx:79
std::unique_ptr< weld::CheckButton > m_xSymbolRatioCB
Definition: cuitabline.hxx:170
void SetObjSelected(bool bHasObj)
Definition: cuitabline.hxx:221
Graphic m_aAutoSymbolGraphic
a graphic to be displayed in the preview in case that an automatic symbol is chosen
Definition: cuitabline.hxx:98
std::vector< std::unique_ptr< SvxBmpItemInfo > > m_aGalleryBrushItems
Definition: cuitabline.hxx:105
DECL_LINK(ChangePreviewListBoxHdl_Impl, ColorListBox &, void)
void SetLineEndList(XLineEndListRef const &pLneEndLst)
Definition: cuitabline.hxx:220
sal_uInt16 m_nDlgType
Definition: cuitabline.hxx:127
DECL_LINK(ClickInvisibleHdl_Impl, weld::ComboBox &, void)
DECL_LINK(ChangeEdgeStyleHdl_Impl, weld::ComboBox &, void)
std::unique_ptr< SvxLineEndLB > m_xLbEndStyle
Definition: cuitabline.hxx:150
MapUnit m_ePoolUnit
Definition: cuitabline.hxx:131
DECL_LINK(ChangePreviewModifyHdl_Impl, weld::MetricSpinButton &, void)
std::vector< std::unique_ptr< SvxBmpItemInfo > > m_aSymbolBrushItems
Definition: cuitabline.hxx:107
virtual void PageCreated(const SfxAllItemSet &aSet) override
Definition: tpline.cxx:1664
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: tpline.cxx:358
DECL_LINK(ChangeEndClickHdl_Impl, weld::Toggleable &, void)
ChangeType * m_pnDashListState
Definition: cuitabline.hxx:124
void SetDashList(XDashListRef const &pDshLst)
Definition: cuitabline.hxx:219
DECL_LINK(MenuCreateHdl_Impl, weld::Toggleable &, void)
const SfxItemSet & m_rOutAttrs
Definition: cuitabline.hxx:114
DECL_LINK(ChangeStartListBoxHdl_Impl, weld::ComboBox &, void)
ChangeType * m_pnLineEndListState
Definition: cuitabline.hxx:123
std::unique_ptr< weld::CustomWeld > m_xCtlPreview
Definition: cuitabline.hxx:154
sal_Int32 * m_pPosLineEndLb
Definition: cuitabline.hxx:129
std::unique_ptr< weld::Menu > m_xGalleryMenu
Definition: cuitabline.hxx:167
std::unique_ptr< weld::Widget > m_xBoxWidth
Definition: cuitabline.hxx:139
std::unique_ptr< weld::CheckButton > m_xCbxSynchronize
Definition: cuitabline.hxx:153
std::unique_ptr< weld::Menu > m_xSymbolsMenu
Definition: cuitabline.hxx:166
void SetColorChgd(ChangeType *pIn)
Definition: cuitabline.hxx:230
static const WhichRangesContainer pLineRanges
Definition: cuitabline.hxx:90
PageType
Definition: cuitabarea.hxx:81
PageType
FieldUnit
MapUnit
std::unique_ptr< SvxBrushItem > pBrushItem
Definition: cuitabline.hxx:84
OUString sItemId
Definition: cuitabline.hxx:85
ChangeType
DeactivateRC