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 Reference

#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, bool bNew)
 
- 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 ()
 
virtual void ActivatePage (const SfxItemSet &)
 
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

virtual DeactivateRC DeactivatePage (SfxItemSet *pSet) override
 
 DECL_LINK (OnOffHdl, weld::ToggleButton &, void)
 
 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
 
SwWrtShellm_rSh
 
const CommandStructm_pCmds
 
SwFormatm_pFormat
 
bool m_bNewTemplate
 
std::unique_ptr< weld::CheckButtonm_xConditionCB
 
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 sal_uInt16 m_aPageRg []
 

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 29 of file swuiccoll.hxx.

Constructor & Destructor Documentation

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

Definition at line 102 of file swuiccoll.cxx.

Member Function Documentation

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

Definition at line 197 of file swuiccoll.cxx.

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

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

Definition at line 114 of file swuiccoll.cxx.

Referenced by SwTemplateDlgController::SwTemplateDlgController().

DeactivateRC SwCondCollPage::DeactivatePage ( SfxItemSet pSet)
overrideprivatevirtual

Reimplemented from SfxTabPage.

Definition at line 106 of file swuiccoll.cxx.

References FillItemSet().

SwCondCollPage::DECL_LINK ( OnOffHdl  ,
weld::ToggleButton ,
void   
)
private
SwCondCollPage::DECL_LINK ( AssignRemoveTreeListBoxHdl  ,
weld::TreeView ,
bool   
)
private
SwCondCollPage::DECL_LINK ( AssignRemoveClickHdl  ,
weld::Button ,
void   
)
private
SwCondCollPage::DECL_LINK ( SelectTreeListBoxHdl  ,
weld::TreeView ,
void   
)
private
SwCondCollPage::DECL_LINK ( SelectListBoxHdl  ,
weld::ComboBox ,
void   
)
private
bool SwCondCollPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 119 of file swuiccoll.cxx.

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

Referenced by DeactivatePage().

static const sal_uInt16* SwCondCollPage::GetRanges ( )
inlinestatic

Definition at line 63 of file swuiccoll.hxx.

References m_aPageRg.

Referenced by SwTemplateDlgController::SwTemplateDlgController().

void SwCondCollPage::Reset ( const SfxItemSet rSet)
overridevirtual
void SwCondCollPage::SelectHdl ( const weld::Widget pBox)
private
void SwCondCollPage::SetCollection ( SwFormat pFormat,
bool  bNew 
)

Definition at line 263 of file swuiccoll.cxx.

References m_bNewTemplate, and m_pFormat.

Member Data Documentation

const sal_uInt16 SwCondCollPage::m_aPageRg
staticprivate
Initial value:

Definition at line 56 of file swuiccoll.hxx.

Referenced by GetRanges().

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

Definition at line 31 of file swuiccoll.hxx.

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

bool SwCondCollPage::m_bNewTemplate
private

Definition at line 37 of file swuiccoll.hxx.

Referenced by Reset(), and SetCollection().

const CommandStruct* SwCondCollPage::m_pCmds
private

Definition at line 34 of file swuiccoll.hxx.

Referenced by Reset().

SwFormat* SwCondCollPage::m_pFormat
private

Definition at line 35 of file swuiccoll.hxx.

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

SwWrtShell& SwCondCollPage::m_rSh
private

Definition at line 33 of file swuiccoll.hxx.

Referenced by Reset(), and SelectHdl().

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

Definition at line 44 of file swuiccoll.hxx.

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

std::unique_ptr<weld::CheckButton> SwCondCollPage::m_xConditionCB
private

Definition at line 39 of file swuiccoll.hxx.

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

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

Definition at line 42 of file swuiccoll.hxx.

Referenced by SelectHdl(), and SwCondCollPage().

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

Definition at line 43 of file swuiccoll.hxx.

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

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

Definition at line 41 of file swuiccoll.hxx.

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

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

Definition at line 40 of file swuiccoll.hxx.

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


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