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 Reference

#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
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 
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
 
OString GetHelpId () const
 
OString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 

Static Public Member Functions

static std::unique_ptr< SfxTabPageCreate (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
 
static const sal_uInt16 * 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::ToggleButton &, void)
 
 DECL_LINK (ContourHdl, weld::ToggleButton &, 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::RadioButtonm_xNoWrapRB
 
std::unique_ptr< weld::RadioButtonm_xWrapLeftRB
 
std::unique_ptr< weld::RadioButtonm_xWrapRightRB
 
std::unique_ptr< weld::RadioButtonm_xWrapParallelRB
 
std::unique_ptr< weld::RadioButtonm_xWrapThroughRB
 
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 sal_uInt16 m_aWrapPageRg []
 

Additional Inherited Members

- Protected Member Functions inherited from SfxTabPage
 SfxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet *rAttrSet)
 
sal_uInt16 GetWhich (sal_uInt16 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 37 of file wrap.hxx.

Constructor & Destructor Documentation

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

Definition at line 113 of file wrap.cxx.

Member Function Documentation

void SwWrapTabPage::ActivatePage ( const SfxItemSet rSet)
overrideprivatevirtual

Reimplemented from SfxTabPage.

Definition at line 374 of file wrap.cxx.

References ATT_MIN_SIZE, 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, 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, Size::setHeight(), Size::setWidth(), SwFormatFrameSize::SYNCED, SwFlyFrameAttrMgr::ValidateMetrics(), and Size::Width().

Referenced by Reset().

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

Reimplemented from SfxTabPage.

Definition at line 548 of file wrap.cxx.

References FillItemSet().

SwWrapTabPage::DECL_LINK ( RangeModifyHdl  ,
weld::MetricSpinButton ,
void   
)
private
SwWrapTabPage::DECL_LINK ( WrapTypeHdl  ,
weld::ToggleButton ,
void   
)
private
SwWrapTabPage::DECL_LINK ( ContourHdl  ,
weld::ToggleButton ,
void   
)
private
bool SwWrapTabPage::FillItemSet ( SfxItemSet rSet)
overridevirtual
static const sal_uInt16* SwWrapTabPage::GetRanges ( )
inlinestatic

Definition at line 89 of file wrap.hxx.

References m_aWrapPageRg.

Referenced by SwTemplateDlgController::SwTemplateDlgController().

void SwWrapTabPage::Reset ( const SfxItemSet rSet)
overridevirtual
void SwWrapTabPage::SetFormatUsed ( bool  bFormat,
bool  bDrawMode 
)
inline

Definition at line 91 of file wrap.hxx.

Referenced by SwWrapDlg::SwWrapDlg().

void SwWrapTabPage::SetImages ( )
private
void SwWrapTabPage::SetNewFrame ( bool  bNewFrame)
inline

Definition at line 90 of file wrap.hxx.

void SwWrapTabPage::SetShell ( SwWrtShell pSh)
inline

Definition at line 92 of file wrap.hxx.

Referenced by SwWrapDlg::SwWrapDlg().

Member Data Documentation

const sal_uInt16 SwWrapTabPage::m_aWrapPageRg
staticprivate
Initial value:

Definition at line 79 of file wrap.hxx.

Referenced by GetRanges().

bool SwWrapTabPage::m_bContourImage
private

Definition at line 48 of file wrap.hxx.

Referenced by Reset().

bool SwWrapTabPage::m_bDrawMode
private

Definition at line 47 of file wrap.hxx.

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

bool SwWrapTabPage::m_bFormat
private

Definition at line 44 of file wrap.hxx.

Referenced by ActivatePage(), and Reset().

bool SwWrapTabPage::m_bHtmlMode
private

Definition at line 46 of file wrap.hxx.

Referenced by ActivatePage(), and Reset().

bool SwWrapTabPage::m_bNew
private

Definition at line 45 of file wrap.hxx.

Referenced by ActivatePage().

RndStdIds SwWrapTabPage::m_nAnchorId
private

Definition at line 39 of file wrap.hxx.

Referenced by ActivatePage(), and Reset().

sal_uInt16 SwWrapTabPage::m_nHtmlMode
private

Definition at line 40 of file wrap.hxx.

Referenced by Reset().

SwWrtShell* SwWrapTabPage::m_pWrtSh
private

Definition at line 42 of file wrap.hxx.

Referenced by ActivatePage(), and Reset().

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

Definition at line 69 of file wrap.hxx.

Referenced by FillItemSet(), and Reset().

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

Definition at line 62 of file wrap.hxx.

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

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

Definition at line 56 of file wrap.hxx.

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

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

Definition at line 59 of file wrap.hxx.

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

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

Definition at line 51 of file wrap.hxx.

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

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

Definition at line 60 of file wrap.hxx.

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

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

Definition at line 61 of file wrap.hxx.

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

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

Definition at line 65 of file wrap.hxx.

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

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

Definition at line 52 of file wrap.hxx.

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

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

Definition at line 67 of file wrap.hxx.

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

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

Definition at line 68 of file wrap.hxx.

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

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

Definition at line 54 of file wrap.hxx.

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

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

Definition at line 53 of file wrap.hxx.

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

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

Definition at line 55 of file wrap.hxx.

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

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

Definition at line 66 of file wrap.hxx.

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


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