LibreOffice Module sw (master) 1
|
The Condition tab on the paragraph style dialog for conditional styles, e.g. Text Body. More...
#include <swuiccoll.hxx>
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 SfxItemSet & | GetItemSet () 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 SfxItemSet * | GetDialogExampleSet () const |
OUString | GetHelpId () const |
OUString | GetConfigId () const |
bool | IsVisible () const |
weld::Window * | GetFrameWeld () const |
std::unordered_map< OUString, css::uno::Any > & | getAdditionalProperties () |
Static Public Member Functions | |
static std::unique_ptr< SfxTabPage > | Create (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet) |
static WhichRangesContainer | GetRanges () |
Static Public Member Functions inherited from SfxTabPage | |
static const SfxPoolItem * | GetItem (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 CommandStruct * | m_pCmds |
SwFormat * | m_pFormat |
std::unique_ptr< weld::TreeView > | m_xTbLinks |
std::unique_ptr< weld::TreeView > | m_xStyleLB |
std::unique_ptr< weld::ComboBox > | m_xFilterLB |
std::unique_ptr< weld::Button > | m_xRemovePB |
std::unique_ptr< weld::Button > | m_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 SfxPoolItem * | GetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
const T * | GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
SfxOkDialogController * | GetDialogController () const |
The Condition tab on the paragraph style dialog for conditional styles, e.g. Text Body.
Definition at line 30 of file swuiccoll.hxx.
SwCondCollPage::SwCondCollPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rSet | ||
) |
Definition at line 38 of file swuiccoll.cxx.
References SfxStyleFamilyItem::GetFamily(), SfxStyleFamilyItem::GetFilterList(), i, LINK, m_aStrArr, m_xAssignPB, m_xFilterLB, m_xRemovePB, m_xStyleLB, m_xTbLinks, nCount, rSet, SfxTabPage::SetExchangeSupport(), and SW_MOD.
|
overridevirtual |
Definition at line 92 of file swuiccoll.cxx.
|
private |
Definition at line 172 of file swuiccoll.cxx.
References m_xAssignPB, m_xRemovePB, m_xStyleLB, m_xTbLinks, and nPos.
|
static |
Definition at line 104 of file swuiccoll.cxx.
References rSet.
Referenced by SwTemplateDlgController::SwTemplateDlgController().
|
overrideprivatevirtual |
Reimplemented from SfxTabPage.
Definition at line 96 of file swuiccoll.cxx.
References FillItemSet().
|
private |
|
private |
|
private |
|
private |
|
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().
|
inlinestatic |
Definition at line 59 of file swuiccoll.hxx.
References s_aPageRg.
Referenced by SwTemplateDlgController::SwTemplateDlgController().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 121 of file swuiccoll.cxx.
References SfxStyleSheetBasePool::First(), GetActiveView(), SwView::GetDocShell(), SfxStyleSheetBase::GetName(), SwFormat::GetName(), SwDocShell::GetStyleSheetPool(), SwCollCondition::GetTextFormatColl(), SwWrtShell::GetView(), SwView::GetWrtShell(), m_aStrArr, m_pCmds, m_pFormat, m_xStyleLB, m_xTbLinks, n, SfxStyleSheetBasePool::Next(), RES_CONDTXTFMTCOLL(), and SwFormat::Which().
|
private |
Definition at line 199 of file swuiccoll.cxx.
References SfxStyleSheetBasePool::First(), GetActiveView(), SwView::GetDocShell(), SfxStyleSheetBase::GetName(), SwFormat::GetName(), SwDocShell::GetStyleSheetPool(), SwWrtShell::GetView(), SwView::GetWrtShell(), m_pFormat, m_xAssignPB, m_xFilterLB, m_xRemovePB, m_xStyleLB, m_xTbLinks, SfxStyleSheetBasePool::Next(), and SelectHdl().
Referenced by SelectHdl().
void SwCondCollPage::SetCollection | ( | SwFormat * | pFormat | ) |
Definition at line 242 of file swuiccoll.cxx.
References m_pFormat.
|
private |
Definition at line 32 of file swuiccoll.hxx.
Referenced by FillItemSet(), Reset(), and SwCondCollPage().
|
private |
Definition at line 34 of file swuiccoll.hxx.
Referenced by Reset().
|
private |
Definition at line 35 of file swuiccoll.hxx.
Referenced by Reset(), SelectHdl(), and SetCollection().
|
private |
Definition at line 41 of file swuiccoll.hxx.
Referenced by AssignRemove(), SelectHdl(), and SwCondCollPage().
|
private |
Definition at line 39 of file swuiccoll.hxx.
Referenced by SelectHdl(), and SwCondCollPage().
|
private |
Definition at line 40 of file swuiccoll.hxx.
Referenced by AssignRemove(), SelectHdl(), and SwCondCollPage().
|
private |
Definition at line 38 of file swuiccoll.hxx.
Referenced by AssignRemove(), Reset(), SelectHdl(), and SwCondCollPage().
|
private |
Definition at line 37 of file swuiccoll.hxx.
Referenced by AssignRemove(), FillItemSet(), Reset(), SelectHdl(), and SwCondCollPage().
|
staticprivate |
Definition at line 52 of file swuiccoll.hxx.
Referenced by GetRanges().