LibreOffice Module sw (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
SwWrapTabPage Class Referencefinal

#include <wrap.hxx>

Inheritance diagram for SwWrapTabPage:
[legend]
Collaboration diagram for SwWrapTabPage:
[legend]

Public Member Functions

 SwWrapTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
 
virtual ~SwWrapTabPage () override
 
virtual bool FillItemSet (SfxItemSet *rSet) override
 
virtual void Reset (const SfxItemSet *rSet) override
 
void SetNewFrame (bool bNewFrame)
 
void SetFormatUsed (bool bFormat, bool bDrawMode)
 
void SetShell (SwWrtShell *pSh)
 
- Public Member Functions inherited from SfxTabPage
void SetDialogController (SfxOkDialogController *pDialog)
 
virtual ~SfxTabPage () override
 
void set_visible (bool bVisible)
 
const SfxItemSetGetItemSet () const
 
virtual bool FillItemSet (SfxItemSet *)
 
virtual void Reset (const SfxItemSet *)
 
virtual bool DeferResetToFirstActivation ()
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 
virtual void ActivatePage (const SfxItemSet &)
 
virtual DeactivateRC DeactivatePage (SfxItemSet *pSet)
 
void SetUserData (const OUString &rString)
 
const OUString & GetUserData () const
 
virtual void FillUserData ()
 
virtual bool IsReadOnly () const
 
virtual void PageCreated (const SfxAllItemSet &aSet)
 
virtual void ChangesApplied ()
 
void SetFrame (const css::uno::Reference< css::frame::XFrame > &xFrame)
 
css::uno::Reference< css::frame::XFrame > GetFrame () const
 
const SfxItemSetGetDialogExampleSet () const
 
OUString GetHelpId () const
 
OUString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 
std::unordered_map< OUString, css::uno::Any > & getAdditionalProperties ()
 

Static Public Member Functions

static std::unique_ptr< SfxTabPageCreate (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
 
static WhichRangesContainer GetRanges ()
 
- Static Public Member Functions inherited from SfxTabPage
static const SfxPoolItemGetItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
static const T * GetItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 

Private Member Functions

void SetImages ()
 
virtual void ActivatePage (const SfxItemSet &rSet) override
 
virtual DeactivateRC DeactivatePage (SfxItemSet *pSet) override
 
 DECL_LINK (RangeModifyHdl, weld::MetricSpinButton &, void)
 
 DECL_LINK (WrapTypeHdl, weld::Toggleable &, void)
 
 DECL_LINK (ContourHdl, weld::Toggleable &, void)
 

Private Attributes

RndStdIds m_nAnchorId
 
sal_uInt16 m_nHtmlMode
 
SwWrtShellm_pWrtSh
 
bool m_bFormat
 
bool m_bNew
 
bool m_bHtmlMode
 
bool m_bDrawMode
 
bool m_bContourImage
 
std::unique_ptr< weld::Imagem_xNoWrapImg
 
std::unique_ptr< weld::RadioButtonm_xNoWrapRB
 
std::unique_ptr< weld::Imagem_xWrapLeftImg
 
std::unique_ptr< weld::RadioButtonm_xWrapLeftRB
 
std::unique_ptr< weld::Imagem_xWrapRightImg
 
std::unique_ptr< weld::RadioButtonm_xWrapRightRB
 
std::unique_ptr< weld::Imagem_xWrapParallelImg
 
std::unique_ptr< weld::RadioButtonm_xWrapParallelRB
 
std::unique_ptr< weld::Imagem_xWrapThroughImg
 
std::unique_ptr< weld::RadioButtonm_xWrapThroughRB
 
std::unique_ptr< weld::Imagem_xIdealWrapImg
 
std::unique_ptr< weld::RadioButtonm_xIdealWrapRB
 
std::unique_ptr< weld::MetricSpinButtonm_xLeftMarginED
 
std::unique_ptr< weld::MetricSpinButtonm_xRightMarginED
 
std::unique_ptr< weld::MetricSpinButtonm_xTopMarginED
 
std::unique_ptr< weld::MetricSpinButtonm_xBottomMarginED
 
std::unique_ptr< weld::CheckButtonm_xWrapAnchorOnlyCB
 
std::unique_ptr< weld::CheckButtonm_xWrapTransparentCB
 
std::unique_ptr< weld::CheckButtonm_xWrapOutlineCB
 
std::unique_ptr< weld::CheckButtonm_xWrapOutsideCB
 
std::unique_ptr< weld::CheckButtonm_xAllowOverlapCB
 

Static Private Attributes

static const WhichRangesContainer s_aWrapPageRg
 

Additional Inherited Members

- Protected Member Functions inherited from SfxTabPage
 SfxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *rAttrSet)
 
sal_uInt16 GetWhich (sal_uInt16 nSlot, bool bDeep=true) const
 
TypedWhichId< T > GetWhich (TypedWhichId< T > nSlot, bool bDeep=true) const
 
const SfxPoolItemGetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
const T * GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 
SfxOkDialogControllerGetDialogController () const
 

Detailed Description

Definition at line 36 of file wrap.hxx.

Constructor & Destructor Documentation

◆ SwWrapTabPage()

SwWrapTabPage::SwWrapTabPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rSet 
)

◆ ~SwWrapTabPage()

SwWrapTabPage::~SwWrapTabPage ( )
overridevirtual

Definition at line 115 of file wrap.cxx.

Member Function Documentation

◆ ActivatePage()

void SwWrapTabPage::ActivatePage ( const SfxItemSet rSet)
overrideprivatevirtual

Reimplemented from SfxTabPage.

Definition at line 375 of file wrap.cxx.

References SvxSwFrameValidation::bAutoHeight, SvxSwFrameValidation::bFollowTextFlow, SvxSwFrameValidation::bMirror, SfxItemSet::Get(), GetActiveWrtShell(), SwFormatAnchor::GetAnchorId(), SwFormatFrameSize::GetHeightPercent(), SwFormatFrameSize::GetHeightSizeType(), SwFormatHoriOrient::GetHoriOrient(), SfxTabPage::GetItemSet(), SwFormatVertOrient::GetPos(), SwFormatHoriOrient::GetPos(), SwFormatVertOrient::GetRelationOrient(), SwFormatHoriOrient::GetRelationOrient(), SvxSizeItem::GetSize(), SwFormatSurround::GetSurround(), SwFormatVertOrient::GetVertOrient(), SwFormatFrameSize::GetWidthPercent(), Size::Height(), SwFormatHoriOrient::IsPosToggle(), m_bDrawMode, m_bFormat, m_bHtmlMode, m_bNew, m_nAnchorId, m_pWrtSh, m_xBottomMarginED, m_xIdealWrapRB, m_xLeftMarginED, m_xNoWrapRB, m_xRightMarginED, m_xTopMarginED, m_xWrapAnchorOnlyCB, m_xWrapLeftRB, m_xWrapOutlineCB, m_xWrapOutsideCB, m_xWrapParallelRB, m_xWrapRightRB, m_xWrapThroughRB, m_xWrapTransparentCB, Minimum, SvxSwFrameValidation::nAnchorType, SvxSwFrameValidation::nHeight, SvxSwFrameValidation::nHoriOrient, SvxSwFrameValidation::nHPos, SvxSwFrameValidation::nHRelOrient, SvxSwFrameValidation::nMaxHeight, SvxSwFrameValidation::nMaxVPos, SvxSwFrameValidation::nMaxWidth, SvxSwFrameValidation::nMinHPos, SvxSwFrameValidation::nMinVPos, SvxSwFrameValidation::nVertOrient, SvxSwFrameValidation::nVPos, SvxSwFrameValidation::nVRelOrient, SvxSwFrameValidation::nWidth, RES_ANCHOR(), RES_FOLLOW_TEXT_FLOW(), RES_FRM_SIZE(), RES_HORI_ORIENT(), RES_SURROUND(), RES_VERT_ORIENT(), rSet, Size::setHeight(), Size::setWidth(), SwFormatFrameSize::SYNCED, SwFlyFrameAttrMgr::ValidateMetrics(), and Size::Width().

Referenced by Reset().

◆ Create()

std::unique_ptr< SfxTabPage > SwWrapTabPage::Create ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rSet 
)
static

◆ DeactivatePage()

DeactivateRC SwWrapTabPage::DeactivatePage ( SfxItemSet pSet)
overrideprivatevirtual

Reimplemented from SfxTabPage.

Definition at line 549 of file wrap.cxx.

References FillItemSet().

◆ DECL_LINK() [1/3]

SwWrapTabPage::DECL_LINK ( ContourHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [2/3]

SwWrapTabPage::DECL_LINK ( RangeModifyHdl  ,
weld::MetricSpinButton ,
void   
)
private

◆ DECL_LINK() [3/3]

SwWrapTabPage::DECL_LINK ( WrapTypeHdl  ,
weld::Toggleable ,
void   
)
private

◆ FillItemSet()

bool SwWrapTabPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

◆ GetRanges()

static WhichRangesContainer SwWrapTabPage::GetRanges ( )
inlinestatic

Definition at line 94 of file wrap.hxx.

References s_aWrapPageRg.

Referenced by SwTemplateDlgController::SwTemplateDlgController().

◆ Reset()

void SwWrapTabPage::Reset ( const SfxItemSet rSet)
overridevirtual

◆ SetFormatUsed()

void SwWrapTabPage::SetFormatUsed ( bool  bFormat,
bool  bDrawMode 
)
inline

Definition at line 96 of file wrap.hxx.

References m_bDrawMode, and m_bFormat.

Referenced by SwWrapDlg::SwWrapDlg().

◆ SetImages()

void SwWrapTabPage::SetImages ( )
private

◆ SetNewFrame()

void SwWrapTabPage::SetNewFrame ( bool  bNewFrame)
inline

Definition at line 95 of file wrap.hxx.

References m_bNew.

◆ SetShell()

void SwWrapTabPage::SetShell ( SwWrtShell pSh)
inline

Definition at line 97 of file wrap.hxx.

References m_pWrtSh.

Referenced by SwWrapDlg::SwWrapDlg().

Member Data Documentation

◆ m_bContourImage

bool SwWrapTabPage::m_bContourImage
private

Definition at line 47 of file wrap.hxx.

Referenced by Reset().

◆ m_bDrawMode

bool SwWrapTabPage::m_bDrawMode
private

Definition at line 46 of file wrap.hxx.

Referenced by ActivatePage(), FillItemSet(), Reset(), and SetFormatUsed().

◆ m_bFormat

bool SwWrapTabPage::m_bFormat
private

Definition at line 43 of file wrap.hxx.

Referenced by ActivatePage(), Reset(), and SetFormatUsed().

◆ m_bHtmlMode

bool SwWrapTabPage::m_bHtmlMode
private

Definition at line 45 of file wrap.hxx.

Referenced by ActivatePage(), and Reset().

◆ m_bNew

bool SwWrapTabPage::m_bNew
private

Definition at line 44 of file wrap.hxx.

Referenced by ActivatePage(), and SetNewFrame().

◆ m_nAnchorId

RndStdIds SwWrapTabPage::m_nAnchorId
private

Definition at line 38 of file wrap.hxx.

Referenced by ActivatePage(), and Reset().

◆ m_nHtmlMode

sal_uInt16 SwWrapTabPage::m_nHtmlMode
private

Definition at line 39 of file wrap.hxx.

Referenced by Reset().

◆ m_pWrtSh

SwWrtShell* SwWrapTabPage::m_pWrtSh
private

Definition at line 41 of file wrap.hxx.

Referenced by ActivatePage(), Reset(), and SetShell().

◆ m_xAllowOverlapCB

std::unique_ptr<weld::CheckButton> SwWrapTabPage::m_xAllowOverlapCB
private

Definition at line 74 of file wrap.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_xBottomMarginED

std::unique_ptr<weld::MetricSpinButton> SwWrapTabPage::m_xBottomMarginED
private

Definition at line 67 of file wrap.hxx.

Referenced by ActivatePage(), FillItemSet(), Reset(), and SwWrapTabPage().

◆ m_xIdealWrapImg

std::unique_ptr<weld::Image> SwWrapTabPage::m_xIdealWrapImg
private

Definition at line 60 of file wrap.hxx.

Referenced by SetImages().

◆ m_xIdealWrapRB

std::unique_ptr<weld::RadioButton> SwWrapTabPage::m_xIdealWrapRB
private

Definition at line 61 of file wrap.hxx.

Referenced by ActivatePage(), FillItemSet(), Reset(), and SwWrapTabPage().

◆ m_xLeftMarginED

std::unique_ptr<weld::MetricSpinButton> SwWrapTabPage::m_xLeftMarginED
private

Definition at line 64 of file wrap.hxx.

Referenced by ActivatePage(), FillItemSet(), Reset(), and SwWrapTabPage().

◆ m_xNoWrapImg

std::unique_ptr<weld::Image> SwWrapTabPage::m_xNoWrapImg
private

Definition at line 50 of file wrap.hxx.

Referenced by SetImages().

◆ m_xNoWrapRB

std::unique_ptr<weld::RadioButton> SwWrapTabPage::m_xNoWrapRB
private

Definition at line 51 of file wrap.hxx.

Referenced by ActivatePage(), FillItemSet(), Reset(), and SwWrapTabPage().

◆ m_xRightMarginED

std::unique_ptr<weld::MetricSpinButton> SwWrapTabPage::m_xRightMarginED
private

Definition at line 65 of file wrap.hxx.

Referenced by ActivatePage(), FillItemSet(), Reset(), and SwWrapTabPage().

◆ m_xTopMarginED

std::unique_ptr<weld::MetricSpinButton> SwWrapTabPage::m_xTopMarginED
private

Definition at line 66 of file wrap.hxx.

Referenced by ActivatePage(), FillItemSet(), Reset(), and SwWrapTabPage().

◆ m_xWrapAnchorOnlyCB

std::unique_ptr<weld::CheckButton> SwWrapTabPage::m_xWrapAnchorOnlyCB
private

Definition at line 70 of file wrap.hxx.

Referenced by ActivatePage(), FillItemSet(), and Reset().

◆ m_xWrapLeftImg

std::unique_ptr<weld::Image> SwWrapTabPage::m_xWrapLeftImg
private

Definition at line 52 of file wrap.hxx.

Referenced by SetImages().

◆ m_xWrapLeftRB

std::unique_ptr<weld::RadioButton> SwWrapTabPage::m_xWrapLeftRB
private

Definition at line 53 of file wrap.hxx.

Referenced by ActivatePage(), FillItemSet(), Reset(), and SwWrapTabPage().

◆ m_xWrapOutlineCB

std::unique_ptr<weld::CheckButton> SwWrapTabPage::m_xWrapOutlineCB
private

Definition at line 72 of file wrap.hxx.

Referenced by ActivatePage(), FillItemSet(), Reset(), SetImages(), and SwWrapTabPage().

◆ m_xWrapOutsideCB

std::unique_ptr<weld::CheckButton> SwWrapTabPage::m_xWrapOutsideCB
private

Definition at line 73 of file wrap.hxx.

Referenced by ActivatePage(), FillItemSet(), and Reset().

◆ m_xWrapParallelImg

std::unique_ptr<weld::Image> SwWrapTabPage::m_xWrapParallelImg
private

Definition at line 56 of file wrap.hxx.

Referenced by SetImages().

◆ m_xWrapParallelRB

std::unique_ptr<weld::RadioButton> SwWrapTabPage::m_xWrapParallelRB
private

Definition at line 57 of file wrap.hxx.

Referenced by ActivatePage(), FillItemSet(), Reset(), and SwWrapTabPage().

◆ m_xWrapRightImg

std::unique_ptr<weld::Image> SwWrapTabPage::m_xWrapRightImg
private

Definition at line 54 of file wrap.hxx.

Referenced by SetImages().

◆ m_xWrapRightRB

std::unique_ptr<weld::RadioButton> SwWrapTabPage::m_xWrapRightRB
private

Definition at line 55 of file wrap.hxx.

Referenced by ActivatePage(), FillItemSet(), Reset(), and SwWrapTabPage().

◆ m_xWrapThroughImg

std::unique_ptr<weld::Image> SwWrapTabPage::m_xWrapThroughImg
private

Definition at line 58 of file wrap.hxx.

Referenced by SetImages().

◆ m_xWrapThroughRB

std::unique_ptr<weld::RadioButton> SwWrapTabPage::m_xWrapThroughRB
private

Definition at line 59 of file wrap.hxx.

Referenced by ActivatePage(), FillItemSet(), Reset(), and SwWrapTabPage().

◆ m_xWrapTransparentCB

std::unique_ptr<weld::CheckButton> SwWrapTabPage::m_xWrapTransparentCB
private

Definition at line 71 of file wrap.hxx.

Referenced by ActivatePage(), FillItemSet(), and Reset().

◆ s_aWrapPageRg

const WhichRangesContainer SwWrapTabPage::s_aWrapPageRg
staticprivate

Definition at line 84 of file wrap.hxx.

Referenced by GetRanges().


The documentation for this class was generated from the following files: