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>
27#include <swtypes.hxx>
28#include "bmpwin.hxx"
29#include "prcntfld.hxx"
30
31namespace sfx2{class FileDialogHelper;}
32class SwWrtShell;
33struct FrameMap;
34// OD 12.11.2003 #i22341#
35struct SwPosition;
36
38class SwFramePage final : public SfxTabPage
39{
42
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
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 std::unique_ptr<weld::CheckButton> m_xFlySplitCB;
120
121 // example
122 std::unique_ptr<weld::CustomWeld> m_xExampleWN;
123
124 std::unique_ptr<SwPercentField> m_xWidthED;
125 std::unique_ptr<SwPercentField> m_xHeightED;
126
127 virtual void ActivatePage(const SfxItemSet& rSet) override;
128 virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override;
129
130 DECL_LINK(RangeModifyClickHdl, weld::Toggleable&, void);
131 void RangeModifyHdl();
132 DECL_LINK(AnchorTypeHdl, weld::Toggleable&, void);
133 DECL_LINK(PosHdl, weld::ComboBox&, void);
134 DECL_LINK(RelHdl, weld::ComboBox&, void);
135 void InitPos(RndStdIds eId, sal_Int16 nH, sal_Int16 nHRel,
136 sal_Int16 nV, sal_Int16 nVRel,
137 tools::Long nX, tools::Long nY);
138
139 DECL_LINK(RealSizeHdl, weld::Button&, void);
140 DECL_LINK(RelSizeClickHdl, weld::Toggleable&, void);
141 DECL_LINK(MirrorHdl, weld::Toggleable&, void);
142
143 DECL_LINK(AutoWidthClickHdl, weld::Toggleable&, void);
144 DECL_LINK(AutoHeightClickHdl, weld::Toggleable&, void);
145
146 // update example
147 void UpdateExample();
149
150 void Init(const SfxItemSet& rSet);
151 // OD 12.11.2003 #i22341# - adjustment to handle maps, that are ambiguous
152 // in the alignment.
153 sal_Int32 FillPosLB( const FrameMap* _pMap,
154 const sal_Int16 _nAlign,
155 const sal_Int16 _nRel,
156 weld::ComboBox& _rLB );
157 // OD 14.11.2003 #i22341# - adjustment to handle maps, that are ambiguous
158 // in their string entries.
159 void FillRelLB( const FrameMap* _pMap,
160 const sal_uInt16 _nLBSelPos,
161 const sal_Int16 _nAlign,
162 const sal_Int16 _nRel,
163 weld::ComboBox& _rLB,
164 weld::Label& _rFT );
165 static sal_Int32 GetMapPos(const FrameMap *pMap, const weld::ComboBox& rAlignLB);
166 static sal_Int16 GetAlignment(FrameMap const *pMap, sal_Int32 nMapPos, const weld::ComboBox& rRelationLB);
167 static sal_Int16 GetRelation(const weld::ComboBox& rRelationLB);
168 RndStdIds GetAnchor() const;
169
171 void setOptimalRelWidth();
172
173 void EnableGraficMode(); // hides auto check boxes and re-org controls for "Real Size" button
174
176
178
179public:
180 SwFramePage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet &rSet);
181 virtual ~SwFramePage() override;
182
183 static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet *rSet);
185
186 virtual bool FillItemSet(SfxItemSet *rSet) override;
187 virtual void Reset(const SfxItemSet *rSet) override;
188
189 void SetNewFrame(bool bNewFrame) { m_bNew = bNewFrame; }
190 void SetFormatUsed(bool bFormat);
191 void SetFrameType(const OUString &rType) { m_sDlgType = rType; }
192 bool IsInGraficMode() const { return m_sDlgType == "PictureDialog" || m_sDlgType == "ObjectDialog"; }
193 void EnableVerticalPositioning( bool bEnable );
194};
195
198class SwGrfExtPage final : public SfxTabPage
199{
202
203 std::unique_ptr<::sfx2::FileDialogHelper> m_xGrfDlg;
204
206
207 // mirror
209 std::unique_ptr<weld::Widget> m_xMirror;
210 std::unique_ptr<weld::CheckButton> m_xMirrorVertBox;
211 std::unique_ptr<weld::CheckButton> m_xMirrorHorzBox;
212 std::unique_ptr<weld::RadioButton> m_xAllPagesRB;
213 std::unique_ptr<weld::RadioButton> m_xLeftPagesRB;
214 std::unique_ptr<weld::RadioButton> m_xRightPagesRB;
215
216 std::unique_ptr<weld::Entry> m_xConnectED;
217 std::unique_ptr<weld::Button> m_xBrowseBT;
218 std::unique_ptr<weld::Frame> m_xLinkFrame;
219
220 // RotGrfFlyFrame: Need Angle and RotateControls now
221 std::unique_ptr<weld::Frame> m_xFlAngle;
222 std::unique_ptr<weld::MetricSpinButton> m_xNfAngle;
223 std::unique_ptr<svx::DialControl> m_xCtlAngle;
224 std::unique_ptr<weld::CustomWeld> m_xCtlAngleWin;
225 std::unique_ptr<weld::CustomWeld> m_xBmpWin;
226
227 // tdf#138843 add place holder for the graphic type
228 std::unique_ptr<weld::Label> m_xLabelGraphicType;
229
230 // handler for mirroring
231 DECL_LINK(MirrorHdl, weld::Toggleable&, void);
232 DECL_LINK(BrowseHdl, weld::Button&, void);
233
234 virtual void ActivatePage(const SfxItemSet& rSet) override;
235
236public:
237 SwGrfExtPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet &rSet);
238 static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet *rSet);
239 virtual ~SwGrfExtPage() override;
240
241 virtual bool FillItemSet(SfxItemSet *rSet) override;
242 virtual void Reset(const SfxItemSet *rSet) override;
243 virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override;
244};
245
246class SwFrameURLPage final : public SfxTabPage
247{
248 // hyperlink
249 std::unique_ptr<weld::Entry> m_xURLED;
250 std::unique_ptr<weld::Button> m_xSearchPB;
251 std::unique_ptr<weld::Entry> m_xNameED;
252 std::unique_ptr<weld::ComboBox> m_xFrameCB;
253
254 // image map
255 std::unique_ptr<weld::CheckButton> m_xServerCB;
256 std::unique_ptr<weld::CheckButton> m_xClientCB;
257
258 DECL_LINK(InsertFileHdl, weld::Button&, void);
259
260public:
261 SwFrameURLPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet &rSet);
262 virtual ~SwFrameURLPage() override;
263
264 static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet *rSet);
265
266 virtual bool FillItemSet(SfxItemSet *rSet) override;
267 virtual void Reset(const SfxItemSet *rSet) override;
268};
269
270class SwFrameAddPage final : public SfxTabPage
271{
273
274 OUString m_sDlgType;
277 bool m_bNew;
278
279 std::unique_ptr<weld::Widget> m_xNameFrame;
280 std::unique_ptr<weld::Label> m_xNameFT;
281 std::unique_ptr<weld::Entry> m_xNameED;
282 std::unique_ptr<weld::Label> m_xAltNameFT;
283 std::unique_ptr<weld::Entry> m_xAltNameED;
284 std::unique_ptr<weld::Label> m_xDescriptionFT;
285 std::unique_ptr<weld::TextView> m_xDescriptionED;
286 std::unique_ptr<weld::CheckButton> m_xDecorativeCB;
287 std::unique_ptr<weld::Widget> m_xSequenceFrame;
288 std::unique_ptr<weld::ComboBox> m_xPrevLB;
289 std::unique_ptr<weld::ComboBox> m_xNextLB;
290
291 std::unique_ptr<weld::Widget> m_xProtectFrame;
292 std::unique_ptr<weld::CheckButton> m_xProtectContentCB;
293 std::unique_ptr<weld::CheckButton> m_xProtectFrameCB;
294 std::unique_ptr<weld::CheckButton> m_xProtectSizeCB;
295
296 std::unique_ptr<weld::Widget> m_xContentAlignFrame;
297 std::unique_ptr<weld::ComboBox> m_xVertAlignLB;
298
299 std::unique_ptr<weld::Widget> m_xPropertiesFrame;
300 std::unique_ptr<weld::CheckButton> m_xEditInReadonlyCB;
301 std::unique_ptr<weld::CheckButton> m_xPrintFrameCB;
302 std::unique_ptr<weld::Label> m_xTextFlowFT;
303 std::unique_ptr<svx::FrameDirectionListBox> m_xTextFlowLB;
304
305 DECL_LINK(EditModifyHdl, weld::Entry&, void);
306 DECL_LINK(DecorativeHdl, weld::Toggleable&, void);
307 DECL_LINK(ChainModifyHdl, weld::ComboBox&, void);
308
310
311public:
312 SwFrameAddPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet &rSet);
313 virtual ~SwFrameAddPage() override;
314
315 static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet *rSet);
317
318 virtual bool FillItemSet(SfxItemSet *rSet) override;
319 virtual void Reset(const SfxItemSet *rSet) override;
320
321 void SetFormatUsed(bool bFormat);
322 void SetFrameType(const OUString &rType) { m_sDlgType = rType; }
323 void SetNewFrame(bool bNewFrame) { m_bNew = bNewFrame; }
324 void SetShell(SwWrtShell* pSh) { m_pWrtSh = pSh; }
325
326};
327
328#endif // INCLUDED_SW_SOURCE_UIBASE_INC_FRMPAGE_HXX
329
330/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
FlyAnchors.
Definition: fmtanchr.hxx:37
std::unique_ptr< weld::CheckButton > m_xProtectSizeCB
Definition: frmpage.hxx:294
std::unique_ptr< svx::FrameDirectionListBox > m_xTextFlowLB
Definition: frmpage.hxx:303
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: frmpage.cxx:2897
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: frmpage.cxx:3100
std::unique_ptr< weld::ComboBox > m_xNextLB
Definition: frmpage.hxx:289
std::unique_ptr< weld::Entry > m_xNameED
Definition: frmpage.hxx:281
bool m_bHtmlMode
Definition: frmpage.hxx:275
std::unique_ptr< weld::Widget > m_xContentAlignFrame
Definition: frmpage.hxx:296
std::unique_ptr< weld::CheckButton > m_xProtectFrameCB
Definition: frmpage.hxx:293
static WhichRangesContainer GetRanges()
Definition: frmpage.hxx:316
SwWrtShell * m_pWrtSh
Definition: frmpage.hxx:272
virtual void Reset(const SfxItemSet *rSet) override
Definition: frmpage.cxx:2902
void SetFrameType(const OUString &rType)
Definition: frmpage.hxx:322
std::unique_ptr< weld::Label > m_xDescriptionFT
Definition: frmpage.hxx:284
std::unique_ptr< weld::Label > m_xAltNameFT
Definition: frmpage.hxx:282
void SetNewFrame(bool bNewFrame)
Definition: frmpage.hxx:323
OUString m_sDlgType
Definition: frmpage.hxx:274
DECL_LINK(EditModifyHdl, weld::Entry &, void)
std::unique_ptr< weld::CheckButton > m_xEditInReadonlyCB
Definition: frmpage.hxx:300
std::unique_ptr< weld::ComboBox > m_xPrevLB
Definition: frmpage.hxx:288
DECL_LINK(DecorativeHdl, weld::Toggleable &, void)
static const WhichRangesContainer s_aAddPgRg
Definition: frmpage.hxx:309
std::unique_ptr< weld::Label > m_xTextFlowFT
Definition: frmpage.hxx:302
std::unique_ptr< weld::ComboBox > m_xVertAlignLB
Definition: frmpage.hxx:297
std::unique_ptr< weld::TextView > m_xDescriptionED
Definition: frmpage.hxx:285
virtual ~SwFrameAddPage() override
Definition: frmpage.cxx:2892
std::unique_ptr< weld::CheckButton > m_xProtectContentCB
Definition: frmpage.hxx:292
std::unique_ptr< weld::Widget > m_xPropertiesFrame
Definition: frmpage.hxx:299
std::unique_ptr< weld::Widget > m_xProtectFrame
Definition: frmpage.hxx:291
std::unique_ptr< weld::CheckButton > m_xPrintFrameCB
Definition: frmpage.hxx:301
std::unique_ptr< weld::Label > m_xNameFT
Definition: frmpage.hxx:280
DECL_LINK(ChainModifyHdl, weld::ComboBox &, void)
std::unique_ptr< weld::Widget > m_xNameFrame
Definition: frmpage.hxx:279
SwFrameAddPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: frmpage.cxx:2852
void SetShell(SwWrtShell *pSh)
Definition: frmpage.hxx:324
void SetFormatUsed(bool bFormat)
Definition: frmpage.cxx:3195
std::unique_ptr< weld::CheckButton > m_xDecorativeCB
Definition: frmpage.hxx:286
std::unique_ptr< weld::Widget > m_xSequenceFrame
Definition: frmpage.hxx:287
std::unique_ptr< weld::Entry > m_xAltNameED
Definition: frmpage.hxx:283
This is the Position & Size tab page of the Insert -> Frame -> Frame dialog.
Definition: frmpage.hxx:39
std::unique_ptr< weld::Label > m_xHorizontalFT
Definition: frmpage.hxx:102
std::unique_ptr< weld::CheckButton > m_xMirrorPagesCB
Definition: frmpage.hxx:109
std::unique_ptr< weld::CheckButton > m_xRelHeightCB
Definition: frmpage.hxx:86
std::unique_ptr< weld::CustomWeld > m_xExampleWN
Definition: frmpage.hxx:122
RndStdIds GetAnchor() const
Definition: frmpage.cxx:1718
std::unique_ptr< weld::CheckButton > m_xFixedRatioCB
Definition: frmpage.hxx:90
std::unique_ptr< weld::CheckButton > m_xFollowTextFlowCB
Definition: frmpage.hxx:118
bool m_bAtHorzPosModified
Definition: frmpage.hxx:40
std::unique_ptr< weld::Widget > m_xAnchorFrame
Definition: frmpage.hxx:94
std::unique_ptr< weld::Label > m_xHeightFT
Definition: frmpage.hxx:84
static sal_Int16 GetAlignment(FrameMap const *pMap, sal_Int32 nMapPos, const weld::ComboBox &rRelationLB)
Definition: frmpage.cxx:1652
std::unique_ptr< weld::ComboBox > m_xHoriRelationLB
Definition: frmpage.hxx:107
DECL_LINK(RelSizeClickHdl, weld::Toggleable &, void)
bool m_bAtVertPosModified
Definition: frmpage.hxx:41
bool m_bNew
Definition: frmpage.hxx:44
std::unique_ptr< weld::Label > m_xAtHorzPosFT
Definition: frmpage.hxx:104
void SetFrameType(const OUString &rType)
Definition: frmpage.hxx:191
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: frmpage.cxx:1741
bool m_bIsMathBaselineAlignment
Definition: frmpage.hxx:73
DECL_LINK(AnchorTypeHdl, weld::Toggleable &, void)
std::unique_ptr< weld::CheckButton > m_xFlySplitCB
Definition: frmpage.hxx:119
sal_uInt16 m_nHtmlMode
Definition: frmpage.hxx:51
virtual void Reset(const SfxItemSet *rSet) override
Definition: frmpage.cxx:895
DECL_LINK(RealSizeHdl, weld::Button &, void)
sal_Int32 FillPosLB(const FrameMap *_pMap, const sal_Int16 _nAlign, const sal_Int16 _nRel, weld::ComboBox &_rLB)
Definition: frmpage.cxx:1415
bool m_bHtmlMode
Definition: frmpage.hxx:50
DECL_LINK(MirrorHdl, weld::Toggleable &, void)
std::unique_ptr< weld::MetricSpinButton > m_xAtVertPosED
Definition: frmpage.hxx:114
std::unique_ptr< weld::ComboBox > m_xRelWidthRelationLB
Definition: frmpage.hxx:81
bool m_bIsVerticalFrame
Definition: frmpage.hxx:46
DECL_LINK(ModifyHdl, weld::MetricSpinButton &, void)
sal_Int16 m_nOldH
Definition: frmpage.hxx:63
SwTwips m_nUpperBorder
Definition: frmpage.hxx:54
std::unique_ptr< weld::Label > m_xVertRelationFT
Definition: frmpage.hxx:115
sal_Int16 m_nOldHRel
Definition: frmpage.hxx:64
bool m_bFormat
Definition: frmpage.hxx:43
OUString m_sDlgType
Definition: frmpage.hxx:52
static sal_Int16 GetRelation(const weld::ComboBox &rRelationLB)
Definition: frmpage.cxx:1640
std::unique_ptr< weld::Label > m_xWidthFT
Definition: frmpage.hxx:78
std::unique_ptr< weld::RadioButton > m_xAnchorAsCharRB
Definition: frmpage.hxx:98
void EnableVerticalPositioning(bool bEnable)
Definition: frmpage.cxx:2354
std::unique_ptr< SwPercentField > m_xWidthED
Definition: frmpage.hxx:124
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: frmpage.cxx:868
static WhichRangesContainer GetRanges()
Definition: frmpage.hxx:184
void EnableGraficMode()
Definition: frmpage.cxx:873
std::unique_ptr< weld::RadioButton > m_xAnchorAtPageRB
Definition: frmpage.hxx:95
std::unique_ptr< weld::Label > m_xVerticalFT
Definition: frmpage.hxx:111
std::unique_ptr< weld::Label > m_xWidthAutoFT
Definition: frmpage.hxx:79
bool m_bIsVerticalL2R
Definition: frmpage.hxx:48
DECL_LINK(AutoWidthClickHdl, weld::Toggleable &, void)
DECL_LINK(PosHdl, weld::ComboBox &, void)
void SetNewFrame(bool bNewFrame)
Definition: frmpage.hxx:189
std::unique_ptr< weld::ComboBox > m_xRelHeightRelationLB
Definition: frmpage.hxx:87
static sal_Int32 GetMapPos(const FrameMap *pMap, const weld::ComboBox &rAlignLB)
Definition: frmpage.cxx:1685
virtual ~SwFramePage() override
Definition: frmpage.cxx:729
void setOptimalFrameWidth()
Definition: frmpage.cxx:742
DECL_LINK(RangeModifyClickHdl, weld::Toggleable &, void)
sal_Int16 m_nOldV
Definition: frmpage.hxx:65
std::unique_ptr< SwPercentField > m_xHeightED
Definition: frmpage.hxx:125
std::unique_ptr< weld::ComboBox > m_xHorizontalDLB
Definition: frmpage.hxx:103
std::unique_ptr< weld::Label > m_xHeightAutoFT
Definition: frmpage.hxx:85
FrameMap const * m_pHMap
Definition: frmpage.hxx:69
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:1469
std::unique_ptr< weld::CheckButton > m_xAutoHeightCB
Definition: frmpage.hxx:88
bool m_bIsInRightToLeft
Definition: frmpage.hxx:49
FrameMap const * m_pVMap
Definition: frmpage.hxx:68
std::unique_ptr< weld::Button > m_xRealSizeBT
Definition: frmpage.hxx:91
DECL_LINK(AutoHeightClickHdl, weld::Toggleable &, void)
static const WhichRangesContainer s_aPageRg
Definition: frmpage.hxx:177
std::unique_ptr< weld::ComboBox > m_xVerticalDLB
Definition: frmpage.hxx:112
std::unique_ptr< weld::CheckButton > m_xRelWidthCB
Definition: frmpage.hxx:80
SwTwips m_nLowerBorder
Definition: frmpage.hxx:55
SwFramePage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: frmpage.cxx:621
bool m_bAllowVertPositioning
Definition: frmpage.hxx:71
sal_Int16 m_nOldVRel
Definition: frmpage.hxx:66
void SetFormatUsed(bool bFormat)
Definition: frmpage.cxx:2347
double m_fWidthHeightRatio
Definition: frmpage.hxx:56
std::unique_ptr< weld::MetricSpinButton > m_xAtHorzPosED
Definition: frmpage.hxx:105
std::unique_ptr< weld::Label > m_xHoriRelationFT
Definition: frmpage.hxx:106
std::unique_ptr< weld::RadioButton > m_xAnchorAtParaRB
Definition: frmpage.hxx:96
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: frmpage.cxx:1084
std::unique_ptr< weld::Label > m_xAtVertPosFT
Definition: frmpage.hxx:113
bool m_bNoModifyHdl
Definition: frmpage.hxx:45
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: frmpage.cxx:1756
std::unique_ptr< weld::RadioButton > m_xAnchorAtFrameRB
Definition: frmpage.hxx:99
std::unique_ptr< weld::CheckButton > m_xAutoWidthCB
Definition: frmpage.hxx:82
DECL_LINK(RelHdl, weld::ComboBox &, void)
SwWrtShell * getFrameDlgParentShell()
Definition: frmpage.cxx:890
void UpdateExample()
Definition: frmpage.cxx:2138
bool m_bIsMathOLE
Definition: frmpage.hxx:72
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:1289
void RangeModifyHdl()
Definition: frmpage.cxx:1818
void Init(const SfxItemSet &rSet)
Definition: frmpage.cxx:2165
const SwFormatAnchor * mpToCharContentPos
Definition: frmpage.hxx:60
SwFrameExample m_aExampleWN
Definition: frmpage.hxx:75
std::unique_ptr< weld::ComboBox > m_xVertRelationLB
Definition: frmpage.hxx:116
bool IsInGraficMode() const
Definition: frmpage.hxx:192
void setOptimalRelWidth()
Definition: frmpage.cxx:835
Size m_aGrfSize
Definition: frmpage.hxx:53
std::unique_ptr< weld::RadioButton > m_xAnchorAtCharRB
Definition: frmpage.hxx:97
std::unique_ptr< weld::Entry > m_xNameED
Definition: frmpage.hxx:251
virtual ~SwFrameURLPage() override
Definition: frmpage.cxx:2753
std::unique_ptr< weld::CheckButton > m_xServerCB
Definition: frmpage.hxx:255
std::unique_ptr< weld::Button > m_xSearchPB
Definition: frmpage.hxx:250
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: frmpage.cxx:2790
std::unique_ptr< weld::Entry > m_xURLED
Definition: frmpage.hxx:249
DECL_LINK(InsertFileHdl, weld::Button &, void)
std::unique_ptr< weld::CheckButton > m_xClientCB
Definition: frmpage.hxx:256
SwFrameURLPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: frmpage.cxx:2741
std::unique_ptr< weld::ComboBox > m_xFrameCB
Definition: frmpage.hxx:252
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: frmpage.cxx:2828
virtual void Reset(const SfxItemSet *rSet) override
Definition: frmpage.cxx:2757
Tabpage providing the functionality behind Format -> Image -> Properties and then the Rotation tabpag...
Definition: frmpage.hxx:199
std::unique_ptr< weld::CustomWeld > m_xBmpWin
Definition: frmpage.hxx:225
std::unique_ptr< weld::RadioButton > m_xLeftPagesRB
Definition: frmpage.hxx:213
virtual ~SwGrfExtPage() override
Definition: frmpage.cxx:2396
DECL_LINK(BrowseHdl, weld::Button &, void)
OUString m_aFilterName
Definition: frmpage.hxx:200
SwGrfExtPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: frmpage.cxx:2365
std::unique_ptr< weld::RadioButton > m_xRightPagesRB
Definition: frmpage.hxx:214
std::unique_ptr< weld::MetricSpinButton > m_xNfAngle
Definition: frmpage.hxx:222
std::unique_ptr< weld::CustomWeld > m_xCtlAngleWin
Definition: frmpage.hxx:224
BmpWindow m_aBmpWin
Definition: frmpage.hxx:208
std::unique_ptr< weld::Frame > m_xLinkFrame
Definition: frmpage.hxx:218
virtual void Reset(const SfxItemSet *rSet) override
Definition: frmpage.cxx:2409
bool m_bHtmlMode
Definition: frmpage.hxx:205
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: frmpage.cxx:2404
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: frmpage.cxx:2573
std::unique_ptr< weld::Entry > m_xConnectED
Definition: frmpage.hxx:216
std::unique_ptr< weld::Label > m_xLabelGraphicType
Definition: frmpage.hxx:228
std::unique_ptr< weld::Widget > m_xMirror
Definition: frmpage.hxx:209
std::unique_ptr< weld::RadioButton > m_xAllPagesRB
Definition: frmpage.hxx:212
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: frmpage.cxx:2435
std::unique_ptr< weld::Button > m_xBrowseBT
Definition: frmpage.hxx:217
std::unique_ptr< weld::Frame > m_xFlAngle
Definition: frmpage.hxx:221
std::unique_ptr<::sfx2::FileDialogHelper > m_xGrfDlg
Definition: frmpage.hxx:203
std::unique_ptr< svx::DialControl > m_xCtlAngle
Definition: frmpage.hxx:223
std::unique_ptr< weld::CheckButton > m_xMirrorHorzBox
Definition: frmpage.hxx:211
OUString m_aNewGrfName
Definition: frmpage.hxx:201
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: frmpage.cxx:2526
DECL_LINK(MirrorHdl, weld::Toggleable &, void)
std::unique_ptr< weld::CheckButton > m_xMirrorVertBox
Definition: frmpage.hxx:210
OUString m_aGrfName
Definition: frmpage.hxx:201
Used by the UI to modify the document model.
Definition: wrtsh.hxx:97
long Long
Marks a position in the document model.
Definition: pam.hxx:38
RndStdIds
tools::Long SwTwips
Definition: swtypes.hxx:51
DeactivateRC