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

#include <drpcps.hxx>

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

Public Member Functions

 SwDropCapsPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
 
virtual ~SwDropCapsPage () override
 
virtual bool FillItemSet (SfxItemSet *rSet) override
 
virtual void Reset (const SfxItemSet *rSet) override
 
void SetFormat (bool bSet)
 
- 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

virtual DeactivateRC DeactivatePage (SfxItemSet *pSet) override
 
void FillSet (SfxItemSet &rSet)
 
void ModifyEntry (const weld::Entry &rEdit)
 
 DECL_LINK (ClickHdl, weld::Toggleable &, void)
 
 DECL_LINK (MetricValueChangedHdl, weld::MetricSpinButton &, void)
 
 DECL_LINK (ValueChangedHdl, weld::SpinButton &, void)
 
 DECL_LINK (ModifyHdl, weld::Entry &, void)
 
 DECL_LINK (SelectHdl, weld::ComboBox &, void)
 
 DECL_LINK (WholeWordHdl, weld::Toggleable &, void)
 

Private Attributes

SwDropCapsPict m_aPict
 
bool m_bModified
 
bool m_bFormat
 
bool m_bHtmlMode
 
std::unique_ptr< weld::CheckButtonm_xDropCapsBox
 
std::unique_ptr< weld::CheckButtonm_xWholeWordCB
 
std::unique_ptr< weld::Labelm_xSwitchText
 
std::unique_ptr< weld::SpinButtonm_xDropCapsField
 
std::unique_ptr< weld::Labelm_xLinesText
 
std::unique_ptr< weld::SpinButtonm_xLinesField
 
std::unique_ptr< weld::Labelm_xDistanceText
 
std::unique_ptr< weld::MetricSpinButtonm_xDistanceField
 
std::unique_ptr< weld::Labelm_xTextText
 
std::unique_ptr< weld::Entrym_xTextEdit
 
std::unique_ptr< weld::Labelm_xTemplateText
 
std::unique_ptr< weld::ComboBoxm_xTemplateBox
 
std::unique_ptr< weld::CustomWeldm_xPict
 

Static Private Attributes

static const WhichRangesContainer s_aPageRg
 

Friends

class SwDropCapsPict
 

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 112 of file drpcps.hxx.

Constructor & Destructor Documentation

◆ SwDropCapsPage()

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

◆ ~SwDropCapsPage()

SwDropCapsPage::~SwDropCapsPage ( )
overridevirtual

Definition at line 520 of file drpcps.cxx.

Member Function Documentation

◆ Create()

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

◆ DeactivatePage()

DeactivateRC SwDropCapsPage::DeactivatePage ( SfxItemSet pSet)
overrideprivatevirtual

Reimplemented from SfxTabPage.

Definition at line 524 of file drpcps.cxx.

References FillSet().

◆ DECL_LINK() [1/6]

SwDropCapsPage::DECL_LINK ( ClickHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [2/6]

SwDropCapsPage::DECL_LINK ( MetricValueChangedHdl  ,
weld::MetricSpinButton ,
void   
)
private

◆ DECL_LINK() [3/6]

SwDropCapsPage::DECL_LINK ( ModifyHdl  ,
weld::Entry ,
void   
)
private

◆ DECL_LINK() [4/6]

SwDropCapsPage::DECL_LINK ( SelectHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [5/6]

SwDropCapsPage::DECL_LINK ( ValueChangedHdl  ,
weld::SpinButton ,
void   
)
private

◆ DECL_LINK() [6/6]

SwDropCapsPage::DECL_LINK ( WholeWordHdl  ,
weld::Toggleable ,
void   
)
private

◆ FillItemSet()

bool SwDropCapsPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 537 of file drpcps.cxx.

References FillSet(), m_bModified, and rSet.

◆ FillSet()

void SwDropCapsPage::FillSet ( SfxItemSet rSet)
private

◆ GetRanges()

static WhichRangesContainer SwDropCapsPage::GetRanges ( )
inlinestatic

Definition at line 154 of file drpcps.hxx.

References s_aPageRg.

Referenced by SwParaDlg::SwParaDlg(), and SwTemplateDlgController::SwTemplateDlgController().

◆ ModifyEntry()

void SwDropCapsPage::ModifyEntry ( const weld::Entry rEdit)
private

◆ Reset()

void SwDropCapsPage::Reset ( const SfxItemSet rSet)
overridevirtual

◆ SetFormat()

void SwDropCapsPage::SetFormat ( bool  bSet)
inline

Definition at line 160 of file drpcps.hxx.

References m_bFormat.

Friends And Related Function Documentation

◆ SwDropCapsPict

friend class SwDropCapsPict
friend

Definition at line 114 of file drpcps.hxx.

Member Data Documentation

◆ m_aPict

SwDropCapsPict SwDropCapsPage::m_aPict
private

Definition at line 115 of file drpcps.hxx.

Referenced by ModifyEntry(), Reset(), and SwDropCapsPage().

◆ m_bFormat

bool SwDropCapsPage::m_bFormat
private

Definition at line 118 of file drpcps.hxx.

Referenced by FillSet(), ModifyEntry(), Reset(), SetFormat(), and SwDropCapsPage().

◆ m_bHtmlMode

bool SwDropCapsPage::m_bHtmlMode
private

Definition at line 119 of file drpcps.hxx.

Referenced by SwDropCapsPage().

◆ m_bModified

bool SwDropCapsPage::m_bModified
private

Definition at line 117 of file drpcps.hxx.

Referenced by FillItemSet(), FillSet(), ModifyEntry(), and Reset().

◆ m_xDistanceField

std::unique_ptr<weld::MetricSpinButton> SwDropCapsPage::m_xDistanceField
private

Definition at line 128 of file drpcps.hxx.

Referenced by FillSet(), ModifyEntry(), Reset(), and SwDropCapsPage().

◆ m_xDistanceText

std::unique_ptr<weld::Label> SwDropCapsPage::m_xDistanceText
private

Definition at line 127 of file drpcps.hxx.

◆ m_xDropCapsBox

std::unique_ptr<weld::CheckButton> SwDropCapsPage::m_xDropCapsBox
private

Definition at line 121 of file drpcps.hxx.

Referenced by FillSet(), SwDropCapsPict::Paint(), Reset(), and SwDropCapsPage().

◆ m_xDropCapsField

std::unique_ptr<weld::SpinButton> SwDropCapsPage::m_xDropCapsField
private

Definition at line 124 of file drpcps.hxx.

Referenced by FillSet(), ModifyEntry(), Reset(), and SwDropCapsPage().

◆ m_xLinesField

std::unique_ptr<weld::SpinButton> SwDropCapsPage::m_xLinesField
private

Definition at line 126 of file drpcps.hxx.

Referenced by FillSet(), ModifyEntry(), Reset(), and SwDropCapsPage().

◆ m_xLinesText

std::unique_ptr<weld::Label> SwDropCapsPage::m_xLinesText
private

Definition at line 125 of file drpcps.hxx.

◆ m_xPict

std::unique_ptr<weld::CustomWeld> SwDropCapsPage::m_xPict
private

Definition at line 133 of file drpcps.hxx.

◆ m_xSwitchText

std::unique_ptr<weld::Label> SwDropCapsPage::m_xSwitchText
private

Definition at line 123 of file drpcps.hxx.

◆ m_xTemplateBox

std::unique_ptr<weld::ComboBox> SwDropCapsPage::m_xTemplateBox
private

Definition at line 132 of file drpcps.hxx.

Referenced by FillSet(), Reset(), SwDropCapsPage(), and SwDropCapsPict::UpdatePaintSettings().

◆ m_xTemplateText

std::unique_ptr<weld::Label> SwDropCapsPage::m_xTemplateText
private

Definition at line 131 of file drpcps.hxx.

◆ m_xTextEdit

std::unique_ptr<weld::Entry> SwDropCapsPage::m_xTextEdit
private

Definition at line 130 of file drpcps.hxx.

Referenced by FillSet(), ModifyEntry(), Reset(), and SwDropCapsPage().

◆ m_xTextText

std::unique_ptr<weld::Label> SwDropCapsPage::m_xTextText
private

Definition at line 129 of file drpcps.hxx.

Referenced by Reset(), and SwDropCapsPage().

◆ m_xWholeWordCB

std::unique_ptr<weld::CheckButton> SwDropCapsPage::m_xWholeWordCB
private

Definition at line 122 of file drpcps.hxx.

Referenced by FillSet(), ModifyEntry(), Reset(), and SwDropCapsPage().

◆ s_aPageRg

const WhichRangesContainer SwDropCapsPage::s_aPageRg
staticprivate

Definition at line 147 of file drpcps.hxx.

Referenced by GetRanges().


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