LibreOffice Module sw (master)  1
frmpage.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_SW_SOURCE_UIBASE_INC_FRMPAGE_HXX
21 #define INCLUDED_SW_SOURCE_UIBASE_INC_FRMPAGE_HXX
22 
23 #include <sfx2/tabdlg.hxx>
24 #include <svx/dialcontrol.hxx>
25 #include <svx/frmdirlbox.hxx>
26 #include <svx/swframeexample.hxx>
27 #include <swtypes.hxx>
28 #include "bmpwin.hxx"
29 #include "prcntfld.hxx"
30 
31 namespace sfx2{class FileDialogHelper;}
32 class SwWrtShell;
33 struct FrameMap;
34 // OD 12.11.2003 #i22341#
35 struct SwPosition;
36 
37 // frame dialog
38 class SwFramePage: public SfxTabPage
39 {
42 
43  bool m_bFormat;
44  bool m_bNew;
46  bool m_bIsVerticalFrame; //current frame is in vertical environment - strings are exchanged
47  // #mongolianlayout#
49  bool m_bIsInRightToLeft; // current frame is in right-to-left environment - strings are exchanged
51  sal_uInt16 m_nHtmlMode;
52  OUString m_sDlgType;
56  double m_fWidthHeightRatio; //width-to-height ratio to support the KeepRatio button
57 
58  // OD 12.11.2003 #i22341# - keep content position of character for
59  // to character anchored objects.
61 
62  // old alignment
63  sal_Int16 m_nOldH;
64  sal_Int16 m_nOldHRel;
65  sal_Int16 m_nOldV;
66  sal_Int16 m_nOldVRel;
67 
68  FrameMap const * m_pVMap;
69  FrameMap const * m_pHMap;
70 
74 
76 
77  // size
78  std::unique_ptr<weld::Label> m_xWidthFT;
79  std::unique_ptr<weld::Label> m_xWidthAutoFT;
80  std::unique_ptr<weld::CheckButton> m_xRelWidthCB;
81  std::unique_ptr<weld::ComboBox> m_xRelWidthRelationLB;
82  std::unique_ptr<weld::CheckButton> m_xAutoWidthCB;
83 
84  std::unique_ptr<weld::Label> m_xHeightFT;
85  std::unique_ptr<weld::Label> m_xHeightAutoFT;
86  std::unique_ptr<weld::CheckButton> m_xRelHeightCB;
87  std::unique_ptr<weld::ComboBox> m_xRelHeightRelationLB;
88  std::unique_ptr<weld::CheckButton> m_xAutoHeightCB;
89 
90  std::unique_ptr<weld::CheckButton> m_xFixedRatioCB;
91  std::unique_ptr<weld::Button> m_xRealSizeBT;
92 
93  // anchor
94  std::unique_ptr<weld::Widget> m_xAnchorFrame;
95  std::unique_ptr<weld::RadioButton> m_xAnchorAtPageRB;
96  std::unique_ptr<weld::RadioButton> m_xAnchorAtParaRB;
97  std::unique_ptr<weld::RadioButton> m_xAnchorAtCharRB;
98  std::unique_ptr<weld::RadioButton> m_xAnchorAsCharRB;
99  std::unique_ptr<weld::RadioButton> m_xAnchorAtFrameRB;
100 
101  // position
102  std::unique_ptr<weld::Label> m_xHorizontalFT;
103  std::unique_ptr<weld::ComboBox> m_xHorizontalDLB;
104  std::unique_ptr<weld::Label> m_xAtHorzPosFT;
105  std::unique_ptr<weld::MetricSpinButton> m_xAtHorzPosED;
106  std::unique_ptr<weld::Label> m_xHoriRelationFT;
107  std::unique_ptr<weld::ComboBox> m_xHoriRelationLB;
108 
109  std::unique_ptr<weld::CheckButton> m_xMirrorPagesCB;
110 
111  std::unique_ptr<weld::Label> m_xVerticalFT;
112  std::unique_ptr<weld::ComboBox> m_xVerticalDLB;
113  std::unique_ptr<weld::Label> m_xAtVertPosFT;
114  std::unique_ptr<weld::MetricSpinButton> m_xAtVertPosED;
115  std::unique_ptr<weld::Label> m_xVertRelationFT;
116  std::unique_ptr<weld::ComboBox> m_xVertRelationLB;
117  // #i18732# - check box for new option 'FollowTextFlow'
118  std::unique_ptr<weld::CheckButton> m_xFollowTextFlowCB;
119 
120  // example
121  std::unique_ptr<weld::CustomWeld> m_xExampleWN;
122 
123  std::unique_ptr<SwPercentField> m_xWidthED;
124  std::unique_ptr<SwPercentField> m_xHeightED;
125 
126  virtual void ActivatePage(const SfxItemSet& rSet) override;
127  virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override;
128 
129  DECL_LINK(RangeModifyClickHdl, weld::ToggleButton&, void);
130  void RangeModifyHdl();
131  DECL_LINK(AnchorTypeHdl, weld::ToggleButton&, void);
132  DECL_LINK(PosHdl, weld::ComboBox&, void);
133  DECL_LINK(RelHdl, weld::ComboBox&, void);
134  void InitPos(RndStdIds eId, sal_Int16 nH, sal_Int16 nHRel,
135  sal_Int16 nV, sal_Int16 nVRel,
136  tools::Long nX, tools::Long nY);
137 
138  DECL_LINK(RealSizeHdl, weld::Button&, void);
139  DECL_LINK(RelSizeClickHdl, weld::ToggleButton&, void);
140  DECL_LINK(MirrorHdl, weld::ToggleButton&, void);
141 
142  DECL_LINK(AutoWidthClickHdl, weld::ToggleButton&, void);
143  DECL_LINK(AutoHeightClickHdl, weld::ToggleButton&, void);
144 
145  // update example
146  void UpdateExample();
147  DECL_LINK(ModifyHdl, weld::MetricSpinButton&, void);
148 
149  void Init(const SfxItemSet& rSet);
150  // OD 12.11.2003 #i22341# - adjustment to handle maps, that are ambiguous
151  // in the alignment.
152  sal_Int32 FillPosLB( const FrameMap* _pMap,
153  const sal_Int16 _nAlign,
154  const sal_Int16 _nRel,
155  weld::ComboBox& _rLB );
156  // OD 14.11.2003 #i22341# - adjustment to handle maps, that are ambiguous
157  // in their string entries.
158  void FillRelLB( const FrameMap* _pMap,
159  const sal_uInt16 _nLBSelPos,
160  const sal_Int16 _nAlign,
161  const sal_Int16 _nRel,
162  weld::ComboBox& _rLB,
163  weld::Label& _rFT );
164  static sal_Int32 GetMapPos(const FrameMap *pMap, const weld::ComboBox& rAlignLB);
165  static sal_Int16 GetAlignment(FrameMap const *pMap, sal_Int32 nMapPos, const weld::ComboBox& rRelationLB);
166  static sal_Int16 GetRelation(const weld::ComboBox& rRelationLB);
167  RndStdIds GetAnchor() const;
168 
169  void setOptimalFrameWidth();
170  void setOptimalRelWidth();
171 
172  void EnableGraficMode(); // hides auto check boxes and re-org controls for "Real Size" button
173 
175 
176  static const sal_uInt16 aPageRg[];
177 
178 public:
179  SwFramePage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet &rSet);
180  virtual ~SwFramePage() override;
181 
182  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet *rSet);
183  static const sal_uInt16* GetRanges() { return aPageRg; }
184 
185  virtual bool FillItemSet(SfxItemSet *rSet) override;
186  virtual void Reset(const SfxItemSet *rSet) override;
187 
188  void SetNewFrame(bool bNewFrame) { m_bNew = bNewFrame; }
189  void SetFormatUsed(bool bFormat);
190  void SetFrameType(const OUString &rType) { m_sDlgType = rType; }
191  bool IsInGraficMode() const { return m_sDlgType == "PictureDialog" || m_sDlgType == "ObjectDialog"; }
192  void EnableVerticalPositioning( bool bEnable );
193 };
194 
195 class SwGrfExtPage : public SfxTabPage
196 {
197  OUString aFilterName;
199 
200  std::unique_ptr<::sfx2::FileDialogHelper> m_xGrfDlg;
201 
203 
204  // mirror
206  std::unique_ptr<weld::Widget> m_xMirror;
207  std::unique_ptr<weld::CheckButton> m_xMirrorVertBox;
208  std::unique_ptr<weld::CheckButton> m_xMirrorHorzBox;
209  std::unique_ptr<weld::RadioButton> m_xAllPagesRB;
210  std::unique_ptr<weld::RadioButton> m_xLeftPagesRB;
211  std::unique_ptr<weld::RadioButton> m_xRightPagesRB;
212 
213  std::unique_ptr<weld::Entry> m_xConnectED;
214  std::unique_ptr<weld::Button> m_xBrowseBT;
215  std::unique_ptr<weld::Frame> m_xLinkFrame;
216 
217  // RotGrfFlyFrame: Need Angle and RotateControls now
218  std::unique_ptr<weld::Frame> m_xFlAngle;
219  std::unique_ptr<weld::MetricSpinButton> m_xNfAngle;
220  std::unique_ptr<svx::DialControl> m_xCtlAngle;
221  std::unique_ptr<weld::CustomWeld> m_xCtlAngleWin;
222  std::unique_ptr<weld::CustomWeld> m_xBmpWin;
223 
224  // tdf#138843 add place holder for the graphic type
225  std::unique_ptr<weld::Label> m_xLabelGraphicType;
226 
227  // handler for mirroring
228  DECL_LINK(MirrorHdl, weld::ToggleButton&, void);
229  DECL_LINK(BrowseHdl, weld::Button&, void);
230 
231  virtual void ActivatePage(const SfxItemSet& rSet) override;
232 
233 public:
234  SwGrfExtPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet &rSet);
235  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet *rSet);
236  virtual ~SwGrfExtPage() override;
237 
238  virtual bool FillItemSet(SfxItemSet *rSet) override;
239  virtual void Reset(const SfxItemSet *rSet) override;
240  virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override;
241 };
242 
244 {
245  // hyperlink
246  std::unique_ptr<weld::Entry> m_xURLED;
247  std::unique_ptr<weld::Button> m_xSearchPB;
248  std::unique_ptr<weld::Entry> m_xNameED;
249  std::unique_ptr<weld::ComboBox> m_xFrameCB;
250 
251  // image map
252  std::unique_ptr<weld::CheckButton> m_xServerCB;
253  std::unique_ptr<weld::CheckButton> m_xClientCB;
254 
255  DECL_LINK(InsertFileHdl, weld::Button&, void);
256 
257 public:
258  SwFrameURLPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet &rSet);
259  virtual ~SwFrameURLPage() override;
260 
261  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet *rSet);
262 
263  virtual bool FillItemSet(SfxItemSet *rSet) override;
264  virtual void Reset(const SfxItemSet *rSet) override;
265 };
266 
268 {
270 
271  OUString m_sDlgType;
273  bool m_bFormat;
274  bool m_bNew;
275 
276  std::unique_ptr<weld::Widget> m_xNameFrame;
277  std::unique_ptr<weld::Label> m_xNameFT;
278  std::unique_ptr<weld::Entry> m_xNameED;
279  std::unique_ptr<weld::Label> m_xAltNameFT;
280  std::unique_ptr<weld::Entry> m_xAltNameED;
281  std::unique_ptr<weld::Label> m_xDescriptionFT;
282  std::unique_ptr<weld::TextView> m_xDescriptionED;
283  std::unique_ptr<weld::Label> m_xPrevFT;
284  std::unique_ptr<weld::ComboBox> m_xPrevLB;
285  std::unique_ptr<weld::Label> m_xNextFT;
286  std::unique_ptr<weld::ComboBox> m_xNextLB;
287 
288  std::unique_ptr<weld::Widget> m_xProtectFrame;
289  std::unique_ptr<weld::CheckButton> m_xProtectContentCB;
290  std::unique_ptr<weld::CheckButton> m_xProtectFrameCB;
291  std::unique_ptr<weld::CheckButton> m_xProtectSizeCB;
292 
293  std::unique_ptr<weld::Widget> m_xContentAlignFrame;
294  std::unique_ptr<weld::ComboBox> m_xVertAlignLB;
295 
296  std::unique_ptr<weld::Widget> m_xPropertiesFrame;
297  std::unique_ptr<weld::CheckButton> m_xEditInReadonlyCB;
298  std::unique_ptr<weld::CheckButton> m_xPrintFrameCB;
299  std::unique_ptr<weld::Label> m_xTextFlowFT;
300  std::unique_ptr<svx::FrameDirectionListBox> m_xTextFlowLB;
301 
302  DECL_LINK(EditModifyHdl, weld::Entry&, void);
303  DECL_LINK(ChainModifyHdl, weld::ComboBox&, void);
304 
305  static const sal_uInt16 aAddPgRg[];
306 
307 public:
308  SwFrameAddPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet &rSet);
309  virtual ~SwFrameAddPage() override;
310 
311  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet *rSet);
312  static const sal_uInt16* GetRanges() { return aAddPgRg; }
313 
314  virtual bool FillItemSet(SfxItemSet *rSet) override;
315  virtual void Reset(const SfxItemSet *rSet) override;
316 
317  void SetFormatUsed(bool bFormat);
318  void SetFrameType(const OUString &rType) { m_sDlgType = rType; }
319  void SetNewFrame(bool bNewFrame) { m_bNew = bNewFrame; }
320  void SetShell(SwWrtShell* pSh) { m_pWrtSh = pSh; }
321 
322 };
323 
324 #endif // INCLUDED_SW_SOURCE_UIBASE_INC_FRMPAGE_HXX
325 
326 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: frmpage.cxx:1697
std::unique_ptr< weld::Label > m_xAtVertPosFT
Definition: frmpage.hxx:113
std::unique_ptr< weld::CheckButton > m_xEditInReadonlyCB
Definition: frmpage.hxx:297
FrameMap const * m_pHMap
Definition: frmpage.hxx:69
std::unique_ptr< weld::Label > m_xVerticalFT
Definition: frmpage.hxx:111
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: frmpage.cxx:2340
std::unique_ptr< weld::CustomWeld > m_xCtlAngleWin
Definition: frmpage.hxx:221
std::unique_ptr< svx::DialControl > m_xCtlAngle
Definition: frmpage.hxx:220
std::unique_ptr< weld::RadioButton > m_xAnchorAsCharRB
Definition: frmpage.hxx:98
std::unique_ptr< weld::Widget > m_xContentAlignFrame
Definition: frmpage.hxx:293
Marks a position in the document model.
Definition: pam.hxx:35
std::unique_ptr< weld::RadioButton > m_xLeftPagesRB
Definition: frmpage.hxx:210
bool m_bAllowVertPositioning
Definition: frmpage.hxx:71
void SetFrameType(const OUString &rType)
Definition: frmpage.hxx:318
void EnableVerticalPositioning(bool bEnable)
Definition: frmpage.cxx:2290
OUString aFilterName
Definition: frmpage.hxx:197
OUString m_sDlgType
Definition: frmpage.hxx:271
std::unique_ptr< weld::Label > m_xAtHorzPosFT
Definition: frmpage.hxx:104
std::unique_ptr< weld::CheckButton > m_xProtectSizeCB
Definition: frmpage.hxx:291
static const sal_uInt16 aAddPgRg[]
Definition: frmpage.hxx:305
const SfxItemSet * pSet
std::unique_ptr< weld::Label > m_xLabelGraphicType
Definition: frmpage.hxx:225
void SetFormatUsed(bool bFormat)
Definition: frmpage.cxx:2283
void EnableGraficMode()
Definition: frmpage.cxx:839
bool m_bIsInRightToLeft
Definition: frmpage.hxx:49
std::unique_ptr< weld::CheckButton > m_xPrintFrameCB
Definition: frmpage.hxx:298
std::unique_ptr< weld::ComboBox > m_xRelWidthRelationLB
Definition: frmpage.hxx:81
sal_Int16 m_nOldVRel
Definition: frmpage.hxx:66
std::unique_ptr< weld::ComboBox > m_xNextLB
Definition: frmpage.hxx:286
void SetShell(SwWrtShell *pSh)
Definition: frmpage.hxx:320
long Long
virtual void Reset(const SfxItemSet *rSet) override
Definition: frmpage.cxx:2695
DECL_LINK(InsertFileHdl, weld::Button &, void)
virtual void Reset(const SfxItemSet *rSet) override
Definition: frmpage.cxx:861
sal_Int16 m_nOldHRel
Definition: frmpage.hxx:64
std::unique_ptr< weld::Label > m_xHoriRelationFT
Definition: frmpage.hxx:106
const SwPosition * mpToCharContentPos
Definition: frmpage.hxx:60
SwFrameAddPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: frmpage.cxx:2792
std::unique_ptr< weld::Button > m_xRealSizeBT
Definition: frmpage.hxx:91
static sal_Int16 GetRelation(const weld::ComboBox &rRelationLB)
Definition: frmpage.cxx:1582
SwFramePage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: frmpage.cxx:622
std::unique_ptr< weld::CheckButton > m_xProtectContentCB
Definition: frmpage.hxx:289
DECL_LINK(MirrorHdl, weld::ToggleButton &, void)
sal_uInt16 m_nHtmlMode
Definition: frmpage.hxx:51
std::unique_ptr< weld::Button > m_xBrowseBT
Definition: frmpage.hxx:214
std::unique_ptr< weld::Label > m_xHeightFT
Definition: frmpage.hxx:84
SwFrameExample m_aExampleWN
Definition: frmpage.hxx:75
std::unique_ptr< weld::Label > m_xHeightAutoFT
Definition: frmpage.hxx:85
std::unique_ptr< weld::Entry > m_xNameED
Definition: frmpage.hxx:248
std::unique_ptr< weld::Widget > m_xPropertiesFrame
Definition: frmpage.hxx:296
bool m_bHtmlMode
Definition: frmpage.hxx:50
std::unique_ptr< weld::Entry > m_xNameED
Definition: frmpage.hxx:278
Used by the UI to modify the document model.
Definition: wrtsh.hxx:91
std::unique_ptr< weld::ComboBox > m_xVertAlignLB
Definition: frmpage.hxx:294
std::unique_ptr< SwPercentField > m_xHeightED
Definition: frmpage.hxx:124
std::unique_ptr< SwPercentField > m_xWidthED
Definition: frmpage.hxx:123
bool m_bHtmlMode
Definition: frmpage.hxx:272
std::unique_ptr< weld::MetricSpinButton > m_xNfAngle
Definition: frmpage.hxx:219
std::unique_ptr< weld::CheckButton > m_xMirrorPagesCB
Definition: frmpage.hxx:109
bool m_bAtVertPosModified
Definition: frmpage.hxx:41
void RangeModifyHdl()
Definition: frmpage.cxx:1756
SwWrtShell * m_pWrtSh
Definition: frmpage.hxx:269
bool m_bFormat
Definition: frmpage.hxx:43
virtual void Reset(const SfxItemSet *rSet) override
Definition: frmpage.cxx:2840
std::unique_ptr< weld::Label > m_xVertRelationFT
Definition: frmpage.hxx:115
std::unique_ptr< weld::CheckButton > m_xClientCB
Definition: frmpage.hxx:253
RndStdIds GetAnchor() const
Definition: frmpage.cxx:1660
std::unique_ptr< weld::Widget > m_xAnchorFrame
Definition: frmpage.hxx:94
void UpdateExample()
Definition: frmpage.cxx:2072
std::unique_ptr< weld::CheckButton > m_xRelHeightCB
Definition: frmpage.hxx:86
virtual ~SwGrfExtPage() override
Definition: frmpage.cxx:2332
std::unique_ptr< weld::Frame > m_xFlAngle
Definition: frmpage.hxx:218
std::unique_ptr< weld::MetricSpinButton > m_xAtVertPosED
Definition: frmpage.hxx:114
static const sal_uInt16 * GetRanges()
Definition: frmpage.hxx:312
std::unique_ptr< weld::Label > m_xNameFT
Definition: frmpage.hxx:277
void Init(const SfxItemSet &rSet)
Definition: frmpage.cxx:2099
virtual ~SwFramePage() override
Definition: frmpage.cxx:729
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: frmpage.cxx:2730
std::unique_ptr< weld::Button > m_xSearchPB
Definition: frmpage.hxx:247
void SetFormatUsed(bool bFormat)
Definition: frmpage.cxx:3113
virtual ~SwFrameAddPage() override
Definition: frmpage.cxx:2830
Size m_aGrfSize
Definition: frmpage.hxx:53
std::unique_ptr< weld::Label > m_xDescriptionFT
Definition: frmpage.hxx:281
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: frmpage.cxx:2372
virtual void Reset(const SfxItemSet *rSet) override
Definition: frmpage.cxx:2345
bool m_bHtmlMode
Definition: frmpage.hxx:202
bool IsInGraficMode() const
Definition: frmpage.hxx:191
std::unique_ptr< weld::CheckButton > m_xProtectFrameCB
Definition: frmpage.hxx:290
std::unique_ptr< weld::Label > m_xHorizontalFT
Definition: frmpage.hxx:102
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: frmpage.cxx:3032
static sal_Int16 GetAlignment(FrameMap const *pMap, sal_Int32 nMapPos, const weld::ComboBox &rRelationLB)
Definition: frmpage.cxx:1594
bool m_bNew
Definition: frmpage.hxx:44
std::unique_ptr< weld::Label > m_xWidthAutoFT
Definition: frmpage.hxx:79
std::unique_ptr< svx::FrameDirectionListBox > m_xTextFlowLB
Definition: frmpage.hxx:300
std::unique_ptr< weld::Entry > m_xURLED
Definition: frmpage.hxx:246
bool m_bIsMathBaselineAlignment
Definition: frmpage.hxx:73
std::unique_ptr< weld::Label > m_xWidthFT
Definition: frmpage.hxx:78
void SetNewFrame(bool bNewFrame)
Definition: frmpage.hxx:319
std::unique_ptr< weld::CheckButton > m_xFixedRatioCB
Definition: frmpage.hxx:90
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: frmpage.cxx:834
std::unique_ptr< weld::Label > m_xAltNameFT
Definition: frmpage.hxx:279
std::unique_ptr< weld::CheckButton > m_xMirrorVertBox
Definition: frmpage.hxx:207
std::unique_ptr< weld::CheckButton > m_xAutoHeightCB
Definition: frmpage.hxx:88
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: frmpage.cxx:2512
std::unique_ptr< weld::CheckButton > m_xFollowTextFlowCB
Definition: frmpage.hxx:118
DECL_LINK(RangeModifyClickHdl, weld::ToggleButton &, void)
void setOptimalFrameWidth()
Definition: frmpage.cxx:742
SwFrameURLPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: frmpage.cxx:2679
std::unique_ptr< weld::Entry > m_xConnectED
Definition: frmpage.hxx:213
OUString aGrfName
Definition: frmpage.hxx:198
std::unique_ptr< weld::Entry > m_xAltNameED
Definition: frmpage.hxx:280
sal_Int16 m_nOldV
Definition: frmpage.hxx:65
std::unique_ptr< weld::CheckButton > m_xRelWidthCB
Definition: frmpage.hxx:80
std::unique_ptr< weld::ComboBox > m_xVerticalDLB
Definition: frmpage.hxx:112
tools::Long SwTwips
Definition: swtypes.hxx:49
std::unique_ptr< weld::ComboBox > m_xRelHeightRelationLB
Definition: frmpage.hxx:87
DECL_LINK(EditModifyHdl, weld::Entry &, void)
std::unique_ptr< weld::ComboBox > m_xVertRelationLB
Definition: frmpage.hxx:116
std::unique_ptr< weld::Label > m_xTextFlowFT
Definition: frmpage.hxx:299
std::unique_ptr< weld::RadioButton > m_xAllPagesRB
Definition: frmpage.hxx:209
sal_Int32 FillPosLB(const FrameMap *_pMap, const sal_Int16 _nAlign, const sal_Int16 _nRel, weld::ComboBox &_rLB)
Definition: frmpage.cxx:1357
std::unique_ptr< weld::CheckButton > m_xAutoWidthCB
Definition: frmpage.hxx:82
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: frmpage.cxx:1683
std::unique_ptr< weld::Widget > m_xProtectFrame
Definition: frmpage.hxx:288
SwGrfExtPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: frmpage.cxx:2301
std::unique_ptr< weld::CheckButton > m_xServerCB
Definition: frmpage.hxx:252
static sal_Int32 GetMapPos(const FrameMap *pMap, const weld::ComboBox &rAlignLB)
Definition: frmpage.cxx:1627
std::unique_ptr< weld::Frame > m_xLinkFrame
Definition: frmpage.hxx:215
SwTwips m_nLowerBorder
Definition: frmpage.hxx:55
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: frmpage.cxx:1036
std::unique_ptr< weld::CustomWeld > m_xExampleWN
Definition: frmpage.hxx:121
std::unique_ptr< weld::RadioButton > m_xRightPagesRB
Definition: frmpage.hxx:211
std::unique_ptr<::sfx2::FileDialogHelper > m_xGrfDlg
Definition: frmpage.hxx:200
std::unique_ptr< weld::RadioButton > m_xAnchorAtCharRB
Definition: frmpage.hxx:97
std::unique_ptr< weld::RadioButton > m_xAnchorAtPageRB
Definition: frmpage.hxx:95
SwTwips m_nUpperBorder
Definition: frmpage.hxx:54
bool m_bIsVerticalL2R
Definition: frmpage.hxx:48
std::unique_ptr< weld::Label > m_xPrevFT
Definition: frmpage.hxx:283
SwWrtShell * getFrameDlgParentShell()
Definition: frmpage.cxx:856
std::unique_ptr< weld::Label > m_xNextFT
Definition: frmpage.hxx:285
std::unique_ptr< weld::Widget > m_xMirror
Definition: frmpage.hxx:206
bool m_bIsVerticalFrame
Definition: frmpage.hxx:46
double m_fWidthHeightRatio
Definition: frmpage.hxx:56
OUString aNewGrfName
Definition: frmpage.hxx:198
void setOptimalRelWidth()
Definition: frmpage.cxx:801
std::unique_ptr< weld::ComboBox > m_xFrameCB
Definition: frmpage.hxx:249
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: frmpage.cxx:2768
std::unique_ptr< weld::ComboBox > m_xHoriRelationLB
Definition: frmpage.hxx:107
std::unique_ptr< weld::Widget > m_xNameFrame
Definition: frmpage.hxx:276
std::unique_ptr< weld::ComboBox > m_xHorizontalDLB
Definition: frmpage.hxx:103
void SetFrameType(const OUString &rType)
Definition: frmpage.hxx:190
DeactivateRC
std::unique_ptr< weld::ComboBox > m_xPrevLB
Definition: frmpage.hxx:284
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: frmpage.cxx:2835
RndStdIds
OUString m_sDlgType
Definition: frmpage.hxx:52
virtual ~SwFrameURLPage() override
Definition: frmpage.cxx:2691
void SetNewFrame(bool bNewFrame)
Definition: frmpage.hxx:188
std::unique_ptr< weld::CustomWeld > m_xBmpWin
Definition: frmpage.hxx:222
sal_Int16 m_nOldH
Definition: frmpage.hxx:63
void InitPos(RndStdIds eId, sal_Int16 nH, sal_Int16 nHRel, sal_Int16 nV, sal_Int16 nVRel, tools::Long nX, tools::Long nY)
Definition: frmpage.cxx:1231
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: frmpage.cxx:2465
void FillRelLB(const FrameMap *_pMap, const sal_uInt16 _nLBSelPos, const sal_Int16 _nAlign, const sal_Int16 _nRel, weld::ComboBox &_rLB, weld::Label &_rFT)
Definition: frmpage.cxx:1411
BmpWindow m_aBmpWin
Definition: frmpage.hxx:205
std::unique_ptr< weld::CheckButton > m_xMirrorHorzBox
Definition: frmpage.hxx:208
static const sal_uInt16 aPageRg[]
Definition: frmpage.hxx:176
std::unique_ptr< weld::MetricSpinButton > m_xAtHorzPosED
Definition: frmpage.hxx:105
FrameMap const * m_pVMap
Definition: frmpage.hxx:68
bool m_bAtHorzPosModified
Definition: frmpage.hxx:40
std::unique_ptr< weld::TextView > m_xDescriptionED
Definition: frmpage.hxx:282
static const sal_uInt16 * GetRanges()
Definition: frmpage.hxx:183
std::unique_ptr< weld::RadioButton > m_xAnchorAtFrameRB
Definition: frmpage.hxx:99
bool m_bIsMathOLE
Definition: frmpage.hxx:72
bool m_bNoModifyHdl
Definition: frmpage.hxx:45
std::unique_ptr< weld::RadioButton > m_xAnchorAtParaRB
Definition: frmpage.hxx:96