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  long nX, 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);
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 
178 
179  static const sal_uInt16 aPageRg[];
180 
181 public:
182  SwFramePage(TabPageParent pParent, const SfxItemSet &rSet);
183  virtual ~SwFramePage() override;
184 
185  static VclPtr<SfxTabPage> Create(TabPageParent pParent, const SfxItemSet *rSet);
186  static const sal_uInt16* GetRanges() { return aPageRg; }
187 
188  virtual bool FillItemSet(SfxItemSet *rSet) override;
189  virtual void Reset(const SfxItemSet *rSet) override;
190 
191  void SetNewFrame(bool bNewFrame) { m_bNew = bNewFrame; }
192  void SetFormatUsed(bool bFormat);
193  void SetFrameType(const OUString &rType) { m_sDlgType = rType; }
194  bool IsInGraficMode() { return m_sDlgType == "PictureDialog" || m_sDlgType == "ObjectDialog"; }
195  void EnableVerticalPositioning( bool bEnable );
196 };
197 
198 class SwGrfExtPage : public SfxTabPage
199 {
200  OUString aFilterName;
202 
203  std::unique_ptr<::sfx2::FileDialogHelper> m_xGrfDlg;
204 
206 
207  // mirror
210  std::unique_ptr<weld::Widget> m_xMirror;
211  std::unique_ptr<weld::CheckButton> m_xMirrorVertBox;
212  std::unique_ptr<weld::CheckButton> m_xMirrorHorzBox;
213  std::unique_ptr<weld::RadioButton> m_xAllPagesRB;
214  std::unique_ptr<weld::RadioButton> m_xLeftPagesRB;
215  std::unique_ptr<weld::RadioButton> m_xRightPagesRB;
216 
217  std::unique_ptr<weld::Entry> m_xConnectED;
218  std::unique_ptr<weld::Button> m_xBrowseBT;
219  std::unique_ptr<weld::Frame> m_xLinkFrame;
220 
221  // RotGrfFlyFrame: Need Angle and RotateControls now
222  std::unique_ptr<weld::Frame> m_xFlAngle;
223  std::unique_ptr<weld::SpinButton> m_xNfAngle;
224  std::unique_ptr<weld::CustomWeld> m_xCtlAngle;
225  std::unique_ptr<weld::CustomWeld> m_xBmpWin;
226 
227 
228  // handler for mirroring
229  DECL_LINK(MirrorHdl, weld::ToggleButton&, void);
230  DECL_LINK(BrowseHdl, weld::Button&, void);
231 
232  virtual void ActivatePage(const SfxItemSet& rSet) override;
233  virtual ~SwGrfExtPage() override;
234  virtual void dispose() override;
235 
238 
239 public:
240  SwGrfExtPage(TabPageParent pParent, const SfxItemSet &rSet);
241 
242  static VclPtr<SfxTabPage> Create(TabPageParent pParent, const SfxItemSet *rSet);
243 
244  virtual bool FillItemSet(SfxItemSet *rSet) override;
245  virtual void Reset(const SfxItemSet *rSet) override;
246  virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override;
247 };
248 
250 {
251  // hyperlink
252  std::unique_ptr<weld::Entry> m_xURLED;
253  std::unique_ptr<weld::Button> m_xSearchPB;
254  std::unique_ptr<weld::Entry> m_xNameED;
255  std::unique_ptr<weld::ComboBox> m_xFrameCB;
256 
257  // image map
258  std::unique_ptr<weld::CheckButton> m_xServerCB;
259  std::unique_ptr<weld::CheckButton> m_xClientCB;
260 
261  DECL_LINK(InsertFileHdl, weld::Button&, void);
262 
265 
266 public:
267  SwFrameURLPage(TabPageParent pParent, const SfxItemSet &rSet);
268  virtual ~SwFrameURLPage() override;
269 
270  static VclPtr<SfxTabPage> Create(TabPageParent pParent, const SfxItemSet *rSet);
271 
272  virtual bool FillItemSet(SfxItemSet *rSet) override;
273  virtual void Reset(const SfxItemSet *rSet) override;
274 };
275 
277 {
279 
280  OUString m_sDlgType;
282  bool m_bFormat;
283  bool m_bNew;
284 
285  std::unique_ptr<weld::Widget> m_xNameFrame;
286  std::unique_ptr<weld::Label> m_xNameFT;
287  std::unique_ptr<weld::Entry> m_xNameED;
288  std::unique_ptr<weld::Label> m_xAltNameFT;
289  std::unique_ptr<weld::Entry> m_xAltNameED;
290  std::unique_ptr<weld::Label> m_xDescriptionFT;
291  std::unique_ptr<weld::TextView> m_xDescriptionED;
292  std::unique_ptr<weld::Label> m_xPrevFT;
293  std::unique_ptr<weld::ComboBox> m_xPrevLB;
294  std::unique_ptr<weld::Label> m_xNextFT;
295  std::unique_ptr<weld::ComboBox> m_xNextLB;
296 
297  std::unique_ptr<weld::Widget> m_xProtectFrame;
298  std::unique_ptr<weld::CheckButton> m_xProtectContentCB;
299  std::unique_ptr<weld::CheckButton> m_xProtectFrameCB;
300  std::unique_ptr<weld::CheckButton> m_xProtectSizeCB;
301 
302  std::unique_ptr<weld::Widget> m_xContentAlignFrame;
303  std::unique_ptr<weld::ComboBox> m_xVertAlignLB;
304 
305  std::unique_ptr<weld::Widget> m_xPropertiesFrame;
306  std::unique_ptr<weld::CheckButton> m_xEditInReadonlyCB;
307  std::unique_ptr<weld::CheckButton> m_xPrintFrameCB;
308  std::unique_ptr<weld::Label> m_xTextFlowFT;
309  std::unique_ptr<svx::FrameDirectionListBox> m_xTextFlowLB;
310 
311  DECL_LINK(EditModifyHdl, weld::Entry&, void);
312  DECL_LINK(ChainModifyHdl, weld::ComboBox&, void);
313 
314  static const sal_uInt16 aAddPgRg[];
315 
316 public:
317  SwFrameAddPage(TabPageParent pParent, const SfxItemSet &rSet);
318  virtual ~SwFrameAddPage() override;
319  virtual void dispose() override;
320 
321  static VclPtr<SfxTabPage> Create(TabPageParent pParent, const SfxItemSet *rSet);
322  static const sal_uInt16* GetRanges() { return aAddPgRg; }
323 
324  virtual bool FillItemSet(SfxItemSet *rSet) override;
325  virtual void Reset(const SfxItemSet *rSet) override;
326 
327  void SetFormatUsed(bool bFormat);
328  void SetFrameType(const OUString &rType) { m_sDlgType = rType; }
329  void SetNewFrame(bool bNewFrame) { m_bNew = bNewFrame; }
330  void SetShell(SwWrtShell* pSh) { m_pWrtSh = pSh; }
331 
332 };
333 
334 #endif // INCLUDED_SW_SOURCE_UIBASE_INC_FRMPAGE_HXX
335 
336 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: frmpage.cxx:1687
std::unique_ptr< weld::Label > m_xAtVertPosFT
Definition: frmpage.hxx:113
std::unique_ptr< weld::CheckButton > m_xEditInReadonlyCB
Definition: frmpage.hxx:306
FrameMap const * m_pHMap
Definition: frmpage.hxx:69
std::unique_ptr< weld::Label > m_xVerticalFT
Definition: frmpage.hxx:111
SwFrameAddPage(TabPageParent pParent, const SfxItemSet &rSet)
Definition: frmpage.cxx:2782
std::unique_ptr< weld::RadioButton > m_xAnchorAsCharRB
Definition: frmpage.hxx:98
std::unique_ptr< weld::Widget > m_xContentAlignFrame
Definition: frmpage.hxx:302
Marks a position in the document model.
Definition: pam.hxx:35
std::unique_ptr< weld::RadioButton > m_xLeftPagesRB
Definition: frmpage.hxx:214
bool m_bAllowVertPositioning
Definition: frmpage.hxx:71
void SetFrameType(const OUString &rType)
Definition: frmpage.hxx:328
void EnableVerticalPositioning(bool bEnable)
Definition: frmpage.cxx:2281
OUString aFilterName
Definition: frmpage.hxx:200
OUString m_sDlgType
Definition: frmpage.hxx:280
std::unique_ptr< weld::Label > m_xAtHorzPosFT
Definition: frmpage.hxx:104
std::unique_ptr< weld::CheckButton > m_xProtectSizeCB
Definition: frmpage.hxx:300
static const sal_uInt16 aAddPgRg[]
Definition: frmpage.hxx:314
SwGrfExtPage(TabPageParent pParent, const SfxItemSet &rSet)
Definition: frmpage.cxx:2292
static VclPtr< SfxTabPage > Create(TabPageParent pParent, const SfxItemSet *rSet)
Definition: frmpage.cxx:2831
const SfxItemSet * pSet
void SetFormatUsed(bool bFormat)
Definition: frmpage.cxx:2274
void EnableGraficMode()
Definition: frmpage.cxx:829
bool m_bIsInRightToLeft
Definition: frmpage.hxx:49
std::unique_ptr< weld::CheckButton > m_xPrintFrameCB
Definition: frmpage.hxx:307
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:295
void SetShell(SwWrtShell *pSh)
Definition: frmpage.hxx:330
void InitPos(RndStdIds eId, sal_Int16 nH, sal_Int16 nHRel, sal_Int16 nV, sal_Int16 nVRel, long nX, long nY)
Definition: frmpage.cxx:1221
virtual void Reset(const SfxItemSet *rSet) override
Definition: frmpage.cxx:2685
bool IsInGraficMode()
Definition: frmpage.hxx:194
virtual void ActivatePage(const SfxItemSet &)
DECL_LINK(InsertFileHdl, weld::Button &, void)
virtual void Reset(const SfxItemSet *rSet) override
Definition: frmpage.cxx:851
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
long SwTwips
Definition: swtypes.hxx:49
std::unique_ptr< weld::Button > m_xRealSizeBT
Definition: frmpage.hxx:91
static sal_Int16 GetRelation(const weld::ComboBox &rRelationLB)
Definition: frmpage.cxx:1572
std::unique_ptr< weld::CheckButton > m_xProtectContentCB
Definition: frmpage.hxx:298
DECL_LINK(MirrorHdl, weld::ToggleButton &, void)
sal_uInt16 m_nHtmlMode
Definition: frmpage.hxx:51
std::unique_ptr< weld::Button > m_xBrowseBT
Definition: frmpage.hxx:218
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:254
virtual void dispose() override
Definition: frmpage.cxx:2825
std::unique_ptr< weld::Widget > m_xPropertiesFrame
Definition: frmpage.hxx:305
bool m_bHtmlMode
Definition: frmpage.hxx:50
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet)
std::unique_ptr< weld::Entry > m_xNameED
Definition: frmpage.hxx:287
Used by the UI to modify the document model.
Definition: wrtsh.hxx:88
std::unique_ptr< weld::ComboBox > m_xVertAlignLB
Definition: frmpage.hxx:303
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:281
std::unique_ptr< weld::CheckButton > m_xMirrorPagesCB
Definition: frmpage.hxx:109
bool m_bAtVertPosModified
Definition: frmpage.hxx:41
void RangeModifyHdl()
Definition: frmpage.cxx:1746
SwWrtShell * m_pWrtSh
Definition: frmpage.hxx:278
bool m_bFormat
Definition: frmpage.hxx:43
virtual void Reset(const SfxItemSet *rSet) override
Definition: frmpage.cxx:2836
std::unique_ptr< weld::Label > m_xVertRelationFT
Definition: frmpage.hxx:115
std::unique_ptr< weld::CheckButton > m_xClientCB
Definition: frmpage.hxx:259
RndStdIds GetAnchor()
Definition: frmpage.cxx:1650
std::unique_ptr< weld::Widget > m_xAnchorFrame
Definition: frmpage.hxx:94
void UpdateExample()
Definition: frmpage.cxx:2063
std::unique_ptr< weld::CheckButton > m_xRelHeightCB
Definition: frmpage.hxx:86
virtual ~SwGrfExtPage() override
Definition: frmpage.cxx:2320
std::unique_ptr< weld::Frame > m_xFlAngle
Definition: frmpage.hxx:222
std::unique_ptr< weld::MetricSpinButton > m_xAtVertPosED
Definition: frmpage.hxx:114
static const sal_uInt16 * GetRanges()
Definition: frmpage.hxx:322
std::unique_ptr< weld::Label > m_xNameFT
Definition: frmpage.hxx:286
SwFrameURLPage(TabPageParent pParent, const SfxItemSet &rSet)
Definition: frmpage.cxx:2668
void Init(const SfxItemSet &rSet)
Definition: frmpage.cxx:2090
virtual ~SwFramePage() override
Definition: frmpage.cxx:718
virtual void dispose() override
Definition: frmpage.cxx:2325
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: frmpage.cxx:2720
std::unique_ptr< weld::Button > m_xSearchPB
Definition: frmpage.hxx:253
void SetFormatUsed(bool bFormat)
Definition: frmpage.cxx:3105
virtual ~SwFrameAddPage() override
Definition: frmpage.cxx:2820
Size m_aGrfSize
Definition: frmpage.hxx:53
std::unique_ptr< weld::Label > m_xDescriptionFT
Definition: frmpage.hxx:290
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: frmpage.cxx:2365
virtual void Reset(const SfxItemSet *rSet) override
Definition: frmpage.cxx:2338
bool m_bHtmlMode
Definition: frmpage.hxx:205
std::unique_ptr< weld::CheckButton > m_xProtectFrameCB
Definition: frmpage.hxx:299
std::unique_ptr< weld::Label > m_xHorizontalFT
Definition: frmpage.hxx:102
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: frmpage.cxx:3026
static sal_Int16 GetAlignment(FrameMap const *pMap, sal_Int32 nMapPos, const weld::ComboBox &rRelationLB)
Definition: frmpage.cxx:1584
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:309
std::unique_ptr< weld::Entry > m_xURLED
Definition: frmpage.hxx:252
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:329
std::unique_ptr< weld::CheckButton > m_xFixedRatioCB
Definition: frmpage.hxx:90
std::unique_ptr< weld::Label > m_xAltNameFT
Definition: frmpage.hxx:288
std::unique_ptr< weld::CheckButton > m_xMirrorVertBox
Definition: frmpage.hxx:211
std::unique_ptr< weld::CheckButton > m_xAutoHeightCB
Definition: frmpage.hxx:88
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: frmpage.cxx:2502
std::unique_ptr< weld::CheckButton > m_xFollowTextFlowCB
Definition: frmpage.hxx:118
DECL_LINK(RangeModifyClickHdl, weld::ToggleButton &, void)
void setOptimalFrameWidth()
Definition: frmpage.cxx:732
std::unique_ptr< weld::Entry > m_xConnectED
Definition: frmpage.hxx:217
static VclPtr< SfxTabPage > Create(TabPageParent pParent, const SfxItemSet *rSet)
Definition: frmpage.cxx:2333
OUString aGrfName
Definition: frmpage.hxx:201
std::unique_ptr< weld::Entry > m_xAltNameED
Definition: frmpage.hxx:289
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
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:308
std::unique_ptr< weld::RadioButton > m_xAllPagesRB
Definition: frmpage.hxx:213
sal_Int32 FillPosLB(const FrameMap *_pMap, const sal_Int16 _nAlign, const sal_Int16 _nRel, weld::ComboBox &_rLB)
Definition: frmpage.cxx:1347
SwFramePage(TabPageParent pParent, const SfxItemSet &rSet)
Definition: frmpage.cxx:611
std::unique_ptr< weld::CheckButton > m_xAutoWidthCB
Definition: frmpage.hxx:82
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: frmpage.cxx:1673
static VclPtr< SfxTabPage > Create(TabPageParent pParent, const SfxItemSet *rSet)
Definition: frmpage.cxx:2758
std::unique_ptr< weld::Widget > m_xProtectFrame
Definition: frmpage.hxx:297
std::unique_ptr< weld::CheckButton > m_xServerCB
Definition: frmpage.hxx:258
static sal_Int32 GetMapPos(const FrameMap *pMap, const weld::ComboBox &rAlignLB)
Definition: frmpage.cxx:1617
std::unique_ptr< weld::Frame > m_xLinkFrame
Definition: frmpage.hxx:219
SwTwips m_nLowerBorder
Definition: frmpage.hxx:55
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: frmpage.cxx:1026
std::unique_ptr< weld::CustomWeld > m_xExampleWN
Definition: frmpage.hxx:121
std::unique_ptr< weld::RadioButton > m_xRightPagesRB
Definition: frmpage.hxx:215
std::unique_ptr<::sfx2::FileDialogHelper > m_xGrfDlg
Definition: frmpage.hxx:203
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:292
SwWrtShell * getFrameDlgParentShell()
Definition: frmpage.cxx:846
std::unique_ptr< weld::Label > m_xNextFT
Definition: frmpage.hxx:294
std::unique_ptr< weld::Widget > m_xMirror
Definition: frmpage.hxx:210
bool m_bIsVerticalFrame
Definition: frmpage.hxx:46
double m_fWidthHeightRatio
Definition: frmpage.hxx:56
OUString aNewGrfName
Definition: frmpage.hxx:201
void setOptimalRelWidth()
Definition: frmpage.cxx:791
svx::SvxDialControl m_aCtlAngle
Definition: frmpage.hxx:209
std::unique_ptr< weld::ComboBox > m_xFrameCB
Definition: frmpage.hxx:255
std::unique_ptr< weld::CustomWeld > m_xCtlAngle
Definition: frmpage.hxx:224
std::unique_ptr< weld::ComboBox > m_xHoriRelationLB
Definition: frmpage.hxx:107
std::unique_ptr< weld::Widget > m_xNameFrame
Definition: frmpage.hxx:285
std::unique_ptr< weld::ComboBox > m_xHorizontalDLB
Definition: frmpage.hxx:103
void SetFrameType(const OUString &rType)
Definition: frmpage.hxx:193
DeactivateRC
std::unique_ptr< weld::ComboBox > m_xPrevLB
Definition: frmpage.hxx:293
RndStdIds
OUString m_sDlgType
Definition: frmpage.hxx:52
virtual ~SwFrameURLPage() override
Definition: frmpage.cxx:2680
void SetNewFrame(bool bNewFrame)
Definition: frmpage.hxx:191
std::unique_ptr< weld::CustomWeld > m_xBmpWin
Definition: frmpage.hxx:225
sal_Int16 m_nOldH
Definition: frmpage.hxx:63
static VclPtr< SfxTabPage > Create(TabPageParent pParent, const SfxItemSet *rSet)
Definition: frmpage.cxx:824
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: frmpage.cxx:2455
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:1401
BmpWindow m_aBmpWin
Definition: frmpage.hxx:208
std::unique_ptr< weld::CheckButton > m_xMirrorHorzBox
Definition: frmpage.hxx:212
static const sal_uInt16 aPageRg[]
Definition: frmpage.hxx:179
std::unique_ptr< weld::MetricSpinButton > m_xAtHorzPosED
Definition: frmpage.hxx:105
FrameMap const * m_pVMap
Definition: frmpage.hxx:68
std::unique_ptr< weld::SpinButton > m_xNfAngle
Definition: frmpage.hxx:223
bool m_bAtHorzPosModified
Definition: frmpage.hxx:40
std::unique_ptr< weld::TextView > m_xDescriptionED
Definition: frmpage.hxx:291
static const sal_uInt16 * GetRanges()
Definition: frmpage.hxx:186
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