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);
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
207  std::unique_ptr<weld::Widget> m_xMirror;
208  std::unique_ptr<weld::CheckButton> m_xMirrorVertBox;
209  std::unique_ptr<weld::CheckButton> m_xMirrorHorzBox;
210  std::unique_ptr<weld::RadioButton> m_xAllPagesRB;
211  std::unique_ptr<weld::RadioButton> m_xLeftPagesRB;
212  std::unique_ptr<weld::RadioButton> m_xRightPagesRB;
213 
214  std::unique_ptr<weld::Entry> m_xConnectED;
215  std::unique_ptr<weld::Button> m_xBrowseBT;
216  std::unique_ptr<weld::Frame> m_xLinkFrame;
217 
218  // RotGrfFlyFrame: Need Angle and RotateControls now
219  std::unique_ptr<weld::Frame> m_xFlAngle;
220  std::unique_ptr<weld::SpinButton> m_xNfAngle;
221  std::unique_ptr<weld::CustomWeld> m_xCtlAngle;
222  std::unique_ptr<weld::CustomWeld> m_xBmpWin;
223 
224 
225  // handler for mirroring
226  DECL_LINK(MirrorHdl, weld::ToggleButton&, void);
227  DECL_LINK(BrowseHdl, weld::Button&, void);
228 
229  virtual void ActivatePage(const SfxItemSet& rSet) override;
230 
231 public:
232  SwGrfExtPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet &rSet);
233  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet *rSet);
234  virtual ~SwGrfExtPage() override;
235 
236  virtual bool FillItemSet(SfxItemSet *rSet) override;
237  virtual void Reset(const SfxItemSet *rSet) override;
238  virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override;
239 };
240 
242 {
243  // hyperlink
244  std::unique_ptr<weld::Entry> m_xURLED;
245  std::unique_ptr<weld::Button> m_xSearchPB;
246  std::unique_ptr<weld::Entry> m_xNameED;
247  std::unique_ptr<weld::ComboBox> m_xFrameCB;
248 
249  // image map
250  std::unique_ptr<weld::CheckButton> m_xServerCB;
251  std::unique_ptr<weld::CheckButton> m_xClientCB;
252 
253  DECL_LINK(InsertFileHdl, weld::Button&, void);
254 
255 public:
256  SwFrameURLPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet &rSet);
257  virtual ~SwFrameURLPage() override;
258 
259  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet *rSet);
260 
261  virtual bool FillItemSet(SfxItemSet *rSet) override;
262  virtual void Reset(const SfxItemSet *rSet) override;
263 };
264 
266 {
268 
269  OUString m_sDlgType;
271  bool m_bFormat;
272  bool m_bNew;
273 
274  std::unique_ptr<weld::Widget> m_xNameFrame;
275  std::unique_ptr<weld::Label> m_xNameFT;
276  std::unique_ptr<weld::Entry> m_xNameED;
277  std::unique_ptr<weld::Label> m_xAltNameFT;
278  std::unique_ptr<weld::Entry> m_xAltNameED;
279  std::unique_ptr<weld::Label> m_xDescriptionFT;
280  std::unique_ptr<weld::TextView> m_xDescriptionED;
281  std::unique_ptr<weld::Label> m_xPrevFT;
282  std::unique_ptr<weld::ComboBox> m_xPrevLB;
283  std::unique_ptr<weld::Label> m_xNextFT;
284  std::unique_ptr<weld::ComboBox> m_xNextLB;
285 
286  std::unique_ptr<weld::Widget> m_xProtectFrame;
287  std::unique_ptr<weld::CheckButton> m_xProtectContentCB;
288  std::unique_ptr<weld::CheckButton> m_xProtectFrameCB;
289  std::unique_ptr<weld::CheckButton> m_xProtectSizeCB;
290 
291  std::unique_ptr<weld::Widget> m_xContentAlignFrame;
292  std::unique_ptr<weld::ComboBox> m_xVertAlignLB;
293 
294  std::unique_ptr<weld::Widget> m_xPropertiesFrame;
295  std::unique_ptr<weld::CheckButton> m_xEditInReadonlyCB;
296  std::unique_ptr<weld::CheckButton> m_xPrintFrameCB;
297  std::unique_ptr<weld::Label> m_xTextFlowFT;
298  std::unique_ptr<svx::FrameDirectionListBox> m_xTextFlowLB;
299 
300  DECL_LINK(EditModifyHdl, weld::Entry&, void);
301  DECL_LINK(ChainModifyHdl, weld::ComboBox&, void);
302 
303  static const sal_uInt16 aAddPgRg[];
304 
305 public:
306  SwFrameAddPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet &rSet);
307  virtual ~SwFrameAddPage() override;
308 
309  static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet *rSet);
310  static const sal_uInt16* GetRanges() { return aAddPgRg; }
311 
312  virtual bool FillItemSet(SfxItemSet *rSet) override;
313  virtual void Reset(const SfxItemSet *rSet) override;
314 
315  void SetFormatUsed(bool bFormat);
316  void SetFrameType(const OUString &rType) { m_sDlgType = rType; }
317  void SetNewFrame(bool bNewFrame) { m_bNew = bNewFrame; }
318  void SetShell(SwWrtShell* pSh) { m_pWrtSh = pSh; }
319 
320 };
321 
322 #endif // INCLUDED_SW_SOURCE_UIBASE_INC_FRMPAGE_HXX
323 
324 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: frmpage.cxx:1699
std::unique_ptr< weld::Label > m_xAtVertPosFT
Definition: frmpage.hxx:113
std::unique_ptr< weld::CheckButton > m_xEditInReadonlyCB
Definition: frmpage.hxx:295
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:2339
std::unique_ptr< weld::RadioButton > m_xAnchorAsCharRB
Definition: frmpage.hxx:98
std::unique_ptr< weld::Widget > m_xContentAlignFrame
Definition: frmpage.hxx:291
Marks a position in the document model.
Definition: pam.hxx:35
std::unique_ptr< weld::RadioButton > m_xLeftPagesRB
Definition: frmpage.hxx:211
bool m_bAllowVertPositioning
Definition: frmpage.hxx:71
void SetFrameType(const OUString &rType)
Definition: frmpage.hxx:316
void EnableVerticalPositioning(bool bEnable)
Definition: frmpage.cxx:2293
OUString aFilterName
Definition: frmpage.hxx:197
OUString m_sDlgType
Definition: frmpage.hxx:269
std::unique_ptr< weld::Label > m_xAtHorzPosFT
Definition: frmpage.hxx:104
std::unique_ptr< weld::CheckButton > m_xProtectSizeCB
Definition: frmpage.hxx:289
static const sal_uInt16 aAddPgRg[]
Definition: frmpage.hxx:303
const SfxItemSet * pSet
void SetFormatUsed(bool bFormat)
Definition: frmpage.cxx:2286
void EnableGraficMode()
Definition: frmpage.cxx:841
bool m_bIsInRightToLeft
Definition: frmpage.hxx:49
std::unique_ptr< weld::CheckButton > m_xPrintFrameCB
Definition: frmpage.hxx:296
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:284
void SetShell(SwWrtShell *pSh)
Definition: frmpage.hxx:318
void InitPos(RndStdIds eId, sal_Int16 nH, sal_Int16 nHRel, sal_Int16 nV, sal_Int16 nVRel, long nX, long nY)
Definition: frmpage.cxx:1233
virtual void Reset(const SfxItemSet *rSet) override
Definition: frmpage.cxx:2690
DECL_LINK(InsertFileHdl, weld::Button &, void)
virtual void Reset(const SfxItemSet *rSet) override
Definition: frmpage.cxx:863
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
SwFrameAddPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: frmpage.cxx:2787
std::unique_ptr< weld::Button > m_xRealSizeBT
Definition: frmpage.hxx:91
static sal_Int16 GetRelation(const weld::ComboBox &rRelationLB)
Definition: frmpage.cxx:1584
SwFramePage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: frmpage.cxx:624
std::unique_ptr< weld::CheckButton > m_xProtectContentCB
Definition: frmpage.hxx:287
DECL_LINK(MirrorHdl, weld::ToggleButton &, void)
sal_uInt16 m_nHtmlMode
Definition: frmpage.hxx:51
std::unique_ptr< weld::Button > m_xBrowseBT
Definition: frmpage.hxx:215
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:246
std::unique_ptr< weld::Widget > m_xPropertiesFrame
Definition: frmpage.hxx:294
bool m_bHtmlMode
Definition: frmpage.hxx:50
std::unique_ptr< weld::Entry > m_xNameED
Definition: frmpage.hxx:276
Used by the UI to modify the document model.
Definition: wrtsh.hxx:90
std::unique_ptr< weld::ComboBox > m_xVertAlignLB
Definition: frmpage.hxx:292
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:270
std::unique_ptr< weld::CheckButton > m_xMirrorPagesCB
Definition: frmpage.hxx:109
bool m_bAtVertPosModified
Definition: frmpage.hxx:41
void RangeModifyHdl()
Definition: frmpage.cxx:1758
SwWrtShell * m_pWrtSh
Definition: frmpage.hxx:267
bool m_bFormat
Definition: frmpage.hxx:43
virtual void Reset(const SfxItemSet *rSet) override
Definition: frmpage.cxx:2835
std::unique_ptr< weld::Label > m_xVertRelationFT
Definition: frmpage.hxx:115
std::unique_ptr< weld::CheckButton > m_xClientCB
Definition: frmpage.hxx:251
RndStdIds GetAnchor() const
Definition: frmpage.cxx:1662
std::unique_ptr< weld::Widget > m_xAnchorFrame
Definition: frmpage.hxx:94
void UpdateExample()
Definition: frmpage.cxx:2075
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:219
std::unique_ptr< weld::MetricSpinButton > m_xAtVertPosED
Definition: frmpage.hxx:114
static const sal_uInt16 * GetRanges()
Definition: frmpage.hxx:310
std::unique_ptr< weld::Label > m_xNameFT
Definition: frmpage.hxx:275
void Init(const SfxItemSet &rSet)
Definition: frmpage.cxx:2102
virtual ~SwFramePage() override
Definition: frmpage.cxx:731
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: frmpage.cxx:2725
std::unique_ptr< weld::Button > m_xSearchPB
Definition: frmpage.hxx:245
void SetFormatUsed(bool bFormat)
Definition: frmpage.cxx:3104
virtual ~SwFrameAddPage() override
Definition: frmpage.cxx:2825
Size m_aGrfSize
Definition: frmpage.hxx:53
std::unique_ptr< weld::Label > m_xDescriptionFT
Definition: frmpage.hxx:279
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: frmpage.cxx:2371
virtual void Reset(const SfxItemSet *rSet) override
Definition: frmpage.cxx:2344
bool m_bHtmlMode
Definition: frmpage.hxx:202
bool IsInGraficMode() const
Definition: frmpage.hxx:191
std::unique_ptr< weld::CheckButton > m_xProtectFrameCB
Definition: frmpage.hxx:288
std::unique_ptr< weld::Label > m_xHorizontalFT
Definition: frmpage.hxx:102
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: frmpage.cxx:3025
static sal_Int16 GetAlignment(FrameMap const *pMap, sal_Int32 nMapPos, const weld::ComboBox &rRelationLB)
Definition: frmpage.cxx:1596
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:298
std::unique_ptr< weld::Entry > m_xURLED
Definition: frmpage.hxx:244
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:317
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:836
std::unique_ptr< weld::Label > m_xAltNameFT
Definition: frmpage.hxx:277
std::unique_ptr< weld::CheckButton > m_xMirrorVertBox
Definition: frmpage.hxx:208
std::unique_ptr< weld::CheckButton > m_xAutoHeightCB
Definition: frmpage.hxx:88
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: frmpage.cxx:2508
std::unique_ptr< weld::CheckButton > m_xFollowTextFlowCB
Definition: frmpage.hxx:118
DECL_LINK(RangeModifyClickHdl, weld::ToggleButton &, void)
void setOptimalFrameWidth()
Definition: frmpage.cxx:744
SwFrameURLPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: frmpage.cxx:2674
std::unique_ptr< weld::Entry > m_xConnectED
Definition: frmpage.hxx:214
OUString aGrfName
Definition: frmpage.hxx:198
std::unique_ptr< weld::Entry > m_xAltNameED
Definition: frmpage.hxx:278
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:297
std::unique_ptr< weld::RadioButton > m_xAllPagesRB
Definition: frmpage.hxx:210
sal_Int32 FillPosLB(const FrameMap *_pMap, const sal_Int16 _nAlign, const sal_Int16 _nRel, weld::ComboBox &_rLB)
Definition: frmpage.cxx:1359
std::unique_ptr< weld::CheckButton > m_xAutoWidthCB
Definition: frmpage.hxx:82
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: frmpage.cxx:1685
std::unique_ptr< weld::Widget > m_xProtectFrame
Definition: frmpage.hxx:286
SwGrfExtPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: frmpage.cxx:2304
std::unique_ptr< weld::CheckButton > m_xServerCB
Definition: frmpage.hxx:250
static sal_Int32 GetMapPos(const FrameMap *pMap, const weld::ComboBox &rAlignLB)
Definition: frmpage.cxx:1629
std::unique_ptr< weld::Frame > m_xLinkFrame
Definition: frmpage.hxx:216
SwTwips m_nLowerBorder
Definition: frmpage.hxx:55
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: frmpage.cxx:1038
std::unique_ptr< weld::CustomWeld > m_xExampleWN
Definition: frmpage.hxx:121
std::unique_ptr< weld::RadioButton > m_xRightPagesRB
Definition: frmpage.hxx:212
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:281
SwWrtShell * getFrameDlgParentShell()
Definition: frmpage.cxx:858
std::unique_ptr< weld::Label > m_xNextFT
Definition: frmpage.hxx:283
std::unique_ptr< weld::Widget > m_xMirror
Definition: frmpage.hxx:207
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:803
svx::SvxDialControl m_aCtlAngle
Definition: frmpage.hxx:206
std::unique_ptr< weld::ComboBox > m_xFrameCB
Definition: frmpage.hxx:247
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: frmpage.cxx:2763
std::unique_ptr< weld::CustomWeld > m_xCtlAngle
Definition: frmpage.hxx:221
std::unique_ptr< weld::ComboBox > m_xHoriRelationLB
Definition: frmpage.hxx:107
std::unique_ptr< weld::Widget > m_xNameFrame
Definition: frmpage.hxx:274
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:282
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: frmpage.cxx:2830
RndStdIds
OUString m_sDlgType
Definition: frmpage.hxx:52
virtual ~SwFrameURLPage() override
Definition: frmpage.cxx:2686
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
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: frmpage.cxx:2461
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:1413
BmpWindow m_aBmpWin
Definition: frmpage.hxx:205
std::unique_ptr< weld::CheckButton > m_xMirrorHorzBox
Definition: frmpage.hxx:209
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
std::unique_ptr< weld::SpinButton > m_xNfAngle
Definition: frmpage.hxx:220
bool m_bAtHorzPosModified
Definition: frmpage.hxx:40
std::unique_ptr< weld::TextView > m_xDescriptionED
Definition: frmpage.hxx:280
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