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

The Condition tab on the paragraph style dialog for conditional styles, e.g. Text Body. More...

#include <swuiccoll.hxx>

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

Public Member Functions

 SwCondCollPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
 
virtual ~SwCondCollPage () override
 
virtual bool FillItemSet (SfxItemSet *rSet) override
 
virtual void Reset (const SfxItemSet *rSet) override
 
void SetCollection (SwFormat *pFormat)
 
- 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
 
 DECL_LINK (AssignRemoveTreeListBoxHdl, weld::TreeView &, bool)
 
 DECL_LINK (AssignRemoveClickHdl, weld::Button &, void)
 
 DECL_LINK (SelectTreeListBoxHdl, weld::TreeView &, void)
 
 DECL_LINK (SelectListBoxHdl, weld::ComboBox &, void)
 
void AssignRemove (const weld::Widget *)
 
void SelectHdl (const weld::Widget *)
 

Private Attributes

std::vector< OUString > m_aStrArr
 
const CommandStructm_pCmds
 
SwFormatm_pFormat
 
std::unique_ptr< weld::TreeViewm_xTbLinks
 
std::unique_ptr< weld::TreeViewm_xStyleLB
 
std::unique_ptr< weld::ComboBoxm_xFilterLB
 
std::unique_ptr< weld::Buttonm_xRemovePB
 
std::unique_ptr< weld::Buttonm_xAssignPB
 

Static Private Attributes

static const WhichRangesContainer s_aPageRg
 

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

The Condition tab on the paragraph style dialog for conditional styles, e.g. Text Body.

Definition at line 30 of file swuiccoll.hxx.

Constructor & Destructor Documentation

◆ SwCondCollPage()

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

◆ ~SwCondCollPage()

SwCondCollPage::~SwCondCollPage ( )
overridevirtual

Definition at line 92 of file swuiccoll.cxx.

Member Function Documentation

◆ AssignRemove()

void SwCondCollPage::AssignRemove ( const weld::Widget pBtn)
private

Definition at line 172 of file swuiccoll.cxx.

References m_xAssignPB, m_xRemovePB, m_xStyleLB, m_xTbLinks, and nPos.

◆ Create()

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

Definition at line 104 of file swuiccoll.cxx.

References rSet.

Referenced by SwTemplateDlgController::SwTemplateDlgController().

◆ DeactivatePage()

DeactivateRC SwCondCollPage::DeactivatePage ( SfxItemSet pSet)
overrideprivatevirtual

Reimplemented from SfxTabPage.

Definition at line 96 of file swuiccoll.cxx.

References FillItemSet().

◆ DECL_LINK() [1/4]

SwCondCollPage::DECL_LINK ( AssignRemoveClickHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/4]

SwCondCollPage::DECL_LINK ( AssignRemoveTreeListBoxHdl  ,
weld::TreeView ,
bool   
)
private

◆ DECL_LINK() [3/4]

SwCondCollPage::DECL_LINK ( SelectListBoxHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [4/4]

SwCondCollPage::DECL_LINK ( SelectTreeListBoxHdl  ,
weld::TreeView ,
void   
)
private

◆ FillItemSet()

bool SwCondCollPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 109 of file swuiccoll.cxx.

References i, m_aStrArr, m_xTbLinks, SfxItemSet::Put(), rSet, and SwCondCollItem::SetStyle().

Referenced by DeactivatePage().

◆ GetRanges()

static WhichRangesContainer SwCondCollPage::GetRanges ( )
inlinestatic

Definition at line 59 of file swuiccoll.hxx.

References s_aPageRg.

Referenced by SwTemplateDlgController::SwTemplateDlgController().

◆ Reset()

void SwCondCollPage::Reset ( const SfxItemSet rSet)
overridevirtual

◆ SelectHdl()

void SwCondCollPage::SelectHdl ( const weld::Widget pBox)
private

◆ SetCollection()

void SwCondCollPage::SetCollection ( SwFormat pFormat)

Definition at line 242 of file swuiccoll.cxx.

References m_pFormat.

Member Data Documentation

◆ m_aStrArr

std::vector<OUString> SwCondCollPage::m_aStrArr
private

Definition at line 32 of file swuiccoll.hxx.

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

◆ m_pCmds

const CommandStruct* SwCondCollPage::m_pCmds
private

Definition at line 34 of file swuiccoll.hxx.

Referenced by Reset().

◆ m_pFormat

SwFormat* SwCondCollPage::m_pFormat
private

Definition at line 35 of file swuiccoll.hxx.

Referenced by Reset(), SelectHdl(), and SetCollection().

◆ m_xAssignPB

std::unique_ptr<weld::Button> SwCondCollPage::m_xAssignPB
private

Definition at line 41 of file swuiccoll.hxx.

Referenced by AssignRemove(), SelectHdl(), and SwCondCollPage().

◆ m_xFilterLB

std::unique_ptr<weld::ComboBox> SwCondCollPage::m_xFilterLB
private

Definition at line 39 of file swuiccoll.hxx.

Referenced by SelectHdl(), and SwCondCollPage().

◆ m_xRemovePB

std::unique_ptr<weld::Button> SwCondCollPage::m_xRemovePB
private

Definition at line 40 of file swuiccoll.hxx.

Referenced by AssignRemove(), SelectHdl(), and SwCondCollPage().

◆ m_xStyleLB

std::unique_ptr<weld::TreeView> SwCondCollPage::m_xStyleLB
private

Definition at line 38 of file swuiccoll.hxx.

Referenced by AssignRemove(), Reset(), SelectHdl(), and SwCondCollPage().

◆ m_xTbLinks

std::unique_ptr<weld::TreeView> SwCondCollPage::m_xTbLinks
private

Definition at line 37 of file swuiccoll.hxx.

Referenced by AssignRemove(), FillItemSet(), Reset(), SelectHdl(), and SwCondCollPage().

◆ s_aPageRg

const WhichRangesContainer SwCondCollPage::s_aPageRg
staticprivate

Definition at line 52 of file swuiccoll.hxx.

Referenced by GetRanges().


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