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
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::Toggleable&, void);
130 void RangeModifyHdl();
131 DECL_LINK(AnchorTypeHdl, weld::Toggleable&, 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::Toggleable&, void);
140 DECL_LINK(MirrorHdl, weld::Toggleable&, void);
141
142 DECL_LINK(AutoWidthClickHdl, weld::Toggleable&, void);
143 DECL_LINK(AutoHeightClickHdl, weld::Toggleable&, void);
144
145 // update example
146 void UpdateExample();
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
170 void setOptimalRelWidth();
171
172 void EnableGraficMode(); // hides auto check boxes and re-org controls for "Real Size" button
173
175
177
178public:
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);
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
197class SwGrfExtPage final : public SfxTabPage
198{
201
202 std::unique_ptr<::sfx2::FileDialogHelper> m_xGrfDlg;
203
205
206 // mirror
208 std::unique_ptr<weld::Widget> m_xMirror;
209 std::unique_ptr<weld::CheckButton> m_xMirrorVertBox;
210 std::unique_ptr<weld::CheckButton> m_xMirrorHorzBox;
211 std::unique_ptr<weld::RadioButton> m_xAllPagesRB;
212 std::unique_ptr<weld::RadioButton> m_xLeftPagesRB;
213 std::unique_ptr<weld::RadioButton> m_xRightPagesRB;
214
215 std::unique_ptr<weld::Entry> m_xConnectED;
216 std::unique_ptr<weld::Button> m_xBrowseBT;
217 std::unique_ptr<weld::Frame> m_xLinkFrame;
218
219 // RotGrfFlyFrame: Need Angle and RotateControls now
220 std::unique_ptr<weld::Frame> m_xFlAngle;
221 std::unique_ptr<weld::MetricSpinButton> m_xNfAngle;
222 std::unique_ptr<svx::DialControl> m_xCtlAngle;
223 std::unique_ptr<weld::CustomWeld> m_xCtlAngleWin;
224 std::unique_ptr<weld::CustomWeld> m_xBmpWin;
225
226 // tdf#138843 add place holder for the graphic type
227 std::unique_ptr<weld::Label> m_xLabelGraphicType;
228
229 // handler for mirroring
230 DECL_LINK(MirrorHdl, weld::Toggleable&, void);
231 DECL_LINK(BrowseHdl, weld::Button&, void);
232
233 virtual void ActivatePage(const SfxItemSet& rSet) override;
234
235public:
236 SwGrfExtPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet &rSet);
237 static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet *rSet);
238 virtual ~SwGrfExtPage() override;
239
240 virtual bool FillItemSet(SfxItemSet *rSet) override;
241 virtual void Reset(const SfxItemSet *rSet) override;
242 virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override;
243};
244
245class SwFrameURLPage final : public SfxTabPage
246{
247 // hyperlink
248 std::unique_ptr<weld::Entry> m_xURLED;
249 std::unique_ptr<weld::Button> m_xSearchPB;
250 std::unique_ptr<weld::Entry> m_xNameED;
251 std::unique_ptr<weld::ComboBox> m_xFrameCB;
252
253 // image map
254 std::unique_ptr<weld::CheckButton> m_xServerCB;
255 std::unique_ptr<weld::CheckButton> m_xClientCB;
256
257 DECL_LINK(InsertFileHdl, weld::Button&, void);
258
259public:
260 SwFrameURLPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet &rSet);
261 virtual ~SwFrameURLPage() override;
262
263 static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet *rSet);
264
265 virtual bool FillItemSet(SfxItemSet *rSet) override;
266 virtual void Reset(const SfxItemSet *rSet) override;
267};
268
269class SwFrameAddPage final : public SfxTabPage
270{
272
273 OUString m_sDlgType;
276 bool m_bNew;
277
278 std::unique_ptr<weld::Widget> m_xNameFrame;
279 std::unique_ptr<weld::Label> m_xNameFT;
280 std::unique_ptr<weld::Entry> m_xNameED;
281 std::unique_ptr<weld::Label> m_xAltNameFT;
282 std::unique_ptr<weld::Entry> m_xAltNameED;
283 std::unique_ptr<weld::TextView> m_xDescriptionED;
284 std::unique_ptr<weld::CheckButton> m_xDecorativeCB;
285 std::unique_ptr<weld::Widget> m_xSequenceFrame;
286 std::unique_ptr<weld::ComboBox> m_xPrevLB;
287 std::unique_ptr<weld::ComboBox> m_xNextLB;
288
289 std::unique_ptr<weld::Widget> m_xProtectFrame;
290 std::unique_ptr<weld::CheckButton> m_xProtectContentCB;
291 std::unique_ptr<weld::CheckButton> m_xProtectFrameCB;
292 std::unique_ptr<weld::CheckButton> m_xProtectSizeCB;
293
294 std::unique_ptr<weld::Widget> m_xContentAlignFrame;
295 std::unique_ptr<weld::ComboBox> m_xVertAlignLB;
296
297 std::unique_ptr<weld::Widget> m_xPropertiesFrame;
298 std::unique_ptr<weld::CheckButton> m_xEditInReadonlyCB;
299 std::unique_ptr<weld::CheckButton> m_xPrintFrameCB;
300 std::unique_ptr<weld::Label> m_xTextFlowFT;
301 std::unique_ptr<svx::FrameDirectionListBox> m_xTextFlowLB;
302
303 DECL_LINK(EditModifyHdl, weld::Entry&, void);
304 DECL_LINK(ChainModifyHdl, weld::ComboBox&, void);
305
307
308public:
309 SwFrameAddPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet &rSet);
310 virtual ~SwFrameAddPage() override;
311
312 static std::unique_ptr<SfxTabPage> Create(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet *rSet);
314
315 virtual bool FillItemSet(SfxItemSet *rSet) override;
316 virtual void Reset(const SfxItemSet *rSet) override;
317
318 void SetFormatUsed(bool bFormat);
319 void SetFrameType(const OUString &rType) { m_sDlgType = rType; }
320 void SetNewFrame(bool bNewFrame) { m_bNew = bNewFrame; }
321 void SetShell(SwWrtShell* pSh) { m_pWrtSh = pSh; }
322
323};
324
325#endif // INCLUDED_SW_SOURCE_UIBASE_INC_FRMPAGE_HXX
326
327/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
const SfxItemSet * pSet
FlyAnchors.
Definition: fmtanchr.hxx:37
std::unique_ptr< weld::CheckButton > m_xProtectSizeCB
Definition: frmpage.hxx:292
std::unique_ptr< svx::FrameDirectionListBox > m_xTextFlowLB
Definition: frmpage.hxx:301
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: frmpage.cxx:2825
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: frmpage.cxx:3026
std::unique_ptr< weld::ComboBox > m_xNextLB
Definition: frmpage.hxx:287
std::unique_ptr< weld::Entry > m_xNameED
Definition: frmpage.hxx:280
bool m_bHtmlMode
Definition: frmpage.hxx:274
std::unique_ptr< weld::Widget > m_xContentAlignFrame
Definition: frmpage.hxx:294
std::unique_ptr< weld::CheckButton > m_xProtectFrameCB
Definition: frmpage.hxx:291
static WhichRangesContainer GetRanges()
Definition: frmpage.hxx:313
SwWrtShell * m_pWrtSh
Definition: frmpage.hxx:271
virtual void Reset(const SfxItemSet *rSet) override
Definition: frmpage.cxx:2830
void SetFrameType(const OUString &rType)
Definition: frmpage.hxx:319
std::unique_ptr< weld::Label > m_xAltNameFT
Definition: frmpage.hxx:281
void SetNewFrame(bool bNewFrame)
Definition: frmpage.hxx:320
OUString m_sDlgType
Definition: frmpage.hxx:273
DECL_LINK(EditModifyHdl, weld::Entry &, void)
std::unique_ptr< weld::CheckButton > m_xEditInReadonlyCB
Definition: frmpage.hxx:298
std::unique_ptr< weld::ComboBox > m_xPrevLB
Definition: frmpage.hxx:286
static const WhichRangesContainer s_aAddPgRg
Definition: frmpage.hxx:306
std::unique_ptr< weld::Label > m_xTextFlowFT
Definition: frmpage.hxx:300
std::unique_ptr< weld::ComboBox > m_xVertAlignLB
Definition: frmpage.hxx:295
std::unique_ptr< weld::TextView > m_xDescriptionED
Definition: frmpage.hxx:283
virtual ~SwFrameAddPage() override
Definition: frmpage.cxx:2820
std::unique_ptr< weld::CheckButton > m_xProtectContentCB
Definition: frmpage.hxx:290
std::unique_ptr< weld::Widget > m_xPropertiesFrame
Definition: frmpage.hxx:297
std::unique_ptr< weld::Widget > m_xProtectFrame
Definition: frmpage.hxx:289
std::unique_ptr< weld::CheckButton > m_xPrintFrameCB
Definition: frmpage.hxx:299
std::unique_ptr< weld::Label > m_xNameFT
Definition: frmpage.hxx:279
DECL_LINK(ChainModifyHdl, weld::ComboBox &, void)
std::unique_ptr< weld::Widget > m_xNameFrame
Definition: frmpage.hxx:278
SwFrameAddPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: frmpage.cxx:2783
void SetShell(SwWrtShell *pSh)
Definition: frmpage.hxx:321
void SetFormatUsed(bool bFormat)
Definition: frmpage.cxx:3112
std::unique_ptr< weld::CheckButton > m_xDecorativeCB
Definition: frmpage.hxx:284
std::unique_ptr< weld::Widget > m_xSequenceFrame
Definition: frmpage.hxx:285
std::unique_ptr< weld::Entry > m_xAltNameED
Definition: frmpage.hxx:282
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:121
RndStdIds GetAnchor() const
Definition: frmpage.cxx:1657
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:1591
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:190
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: frmpage.cxx:1680
bool m_bIsMathBaselineAlignment
Definition: frmpage.hxx:73
DECL_LINK(AnchorTypeHdl, weld::Toggleable &, void)
sal_uInt16 m_nHtmlMode
Definition: frmpage.hxx:51
virtual void Reset(const SfxItemSet *rSet) override
Definition: frmpage.cxx:858
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:1354
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:1579
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:2285
std::unique_ptr< SwPercentField > m_xWidthED
Definition: frmpage.hxx:123
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: frmpage.cxx:831
static WhichRangesContainer GetRanges()
Definition: frmpage.hxx:183
void EnableGraficMode()
Definition: frmpage.cxx:836
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:188
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:1624
virtual ~SwFramePage() override
Definition: frmpage.cxx:726
void setOptimalFrameWidth()
Definition: frmpage.cxx:739
DECL_LINK(RangeModifyClickHdl, weld::Toggleable &, void)
sal_Int16 m_nOldV
Definition: frmpage.hxx:65
std::unique_ptr< SwPercentField > m_xHeightED
Definition: frmpage.hxx:124
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:1408
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:176
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:619
bool m_bAllowVertPositioning
Definition: frmpage.hxx:71
sal_Int16 m_nOldVRel
Definition: frmpage.hxx:66
void SetFormatUsed(bool bFormat)
Definition: frmpage.cxx:2278
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:1031
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:1694
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:853
void UpdateExample()
Definition: frmpage.cxx:2069
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:1228
void RangeModifyHdl()
Definition: frmpage.cxx:1753
void Init(const SfxItemSet &rSet)
Definition: frmpage.cxx:2096
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:191
void setOptimalRelWidth()
Definition: frmpage.cxx:798
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:250
virtual ~SwFrameURLPage() override
Definition: frmpage.cxx:2684
std::unique_ptr< weld::CheckButton > m_xServerCB
Definition: frmpage.hxx:254
std::unique_ptr< weld::Button > m_xSearchPB
Definition: frmpage.hxx:249
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: frmpage.cxx:2721
std::unique_ptr< weld::Entry > m_xURLED
Definition: frmpage.hxx:248
DECL_LINK(InsertFileHdl, weld::Button &, void)
std::unique_ptr< weld::CheckButton > m_xClientCB
Definition: frmpage.hxx:255
SwFrameURLPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: frmpage.cxx:2672
std::unique_ptr< weld::ComboBox > m_xFrameCB
Definition: frmpage.hxx:251
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: frmpage.cxx:2759
virtual void Reset(const SfxItemSet *rSet) override
Definition: frmpage.cxx:2688
Tabpage providing the functionality behind Format -> Image -> Properties and then the Rotation tabpag...
Definition: frmpage.hxx:198
std::unique_ptr< weld::CustomWeld > m_xBmpWin
Definition: frmpage.hxx:224
std::unique_ptr< weld::RadioButton > m_xLeftPagesRB
Definition: frmpage.hxx:212
virtual ~SwGrfExtPage() override
Definition: frmpage.cxx:2327
DECL_LINK(BrowseHdl, weld::Button &, void)
OUString m_aFilterName
Definition: frmpage.hxx:199
SwGrfExtPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
Definition: frmpage.cxx:2296
std::unique_ptr< weld::RadioButton > m_xRightPagesRB
Definition: frmpage.hxx:213
std::unique_ptr< weld::MetricSpinButton > m_xNfAngle
Definition: frmpage.hxx:221
std::unique_ptr< weld::CustomWeld > m_xCtlAngleWin
Definition: frmpage.hxx:223
BmpWindow m_aBmpWin
Definition: frmpage.hxx:207
std::unique_ptr< weld::Frame > m_xLinkFrame
Definition: frmpage.hxx:217
virtual void Reset(const SfxItemSet *rSet) override
Definition: frmpage.cxx:2340
bool m_bHtmlMode
Definition: frmpage.hxx:204
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
Definition: frmpage.cxx:2335
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
Definition: frmpage.cxx:2505
std::unique_ptr< weld::Entry > m_xConnectED
Definition: frmpage.hxx:215
std::unique_ptr< weld::Label > m_xLabelGraphicType
Definition: frmpage.hxx:227
std::unique_ptr< weld::Widget > m_xMirror
Definition: frmpage.hxx:208
std::unique_ptr< weld::RadioButton > m_xAllPagesRB
Definition: frmpage.hxx:211
virtual void ActivatePage(const SfxItemSet &rSet) override
Definition: frmpage.cxx:2366
std::unique_ptr< weld::Button > m_xBrowseBT
Definition: frmpage.hxx:216
std::unique_ptr< weld::Frame > m_xFlAngle
Definition: frmpage.hxx:220
std::unique_ptr<::sfx2::FileDialogHelper > m_xGrfDlg
Definition: frmpage.hxx:202
std::unique_ptr< svx::DialControl > m_xCtlAngle
Definition: frmpage.hxx:222
std::unique_ptr< weld::CheckButton > m_xMirrorHorzBox
Definition: frmpage.hxx:210
OUString m_aNewGrfName
Definition: frmpage.hxx:200
virtual bool FillItemSet(SfxItemSet *rSet) override
Definition: frmpage.cxx:2458
DECL_LINK(MirrorHdl, weld::Toggleable &, void)
std::unique_ptr< weld::CheckButton > m_xMirrorVertBox
Definition: frmpage.hxx:209
OUString m_aGrfName
Definition: frmpage.hxx:200
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:37
RndStdIds
tools::Long SwTwips
Definition: swtypes.hxx:51
DeactivateRC