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) |
![]() | |
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 |
OString | GetHelpId () const |
OString | GetConfigId () const |
bool | IsVisible () const |
weld::Window * | GetFrameWeld () const |
std::unordered_map< OString, 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 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 |
SwWrtShell & | m_rSh |
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 | |
![]() | |
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 |
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 93 of file swuiccoll.cxx.
|
private |
Definition at line 169 of file swuiccoll.cxx.
References m_xAssignPB, m_xRemovePB, m_xStyleLB, m_xTbLinks, and nPos.
|
static |
Definition at line 105 of file swuiccoll.cxx.
References rSet.
Referenced by SwTemplateDlgController::SwTemplateDlgController().
|
overrideprivatevirtual |
Reimplemented from SfxTabPage.
Definition at line 97 of file swuiccoll.cxx.
References FillItemSet().
|
private |
|
private |
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 110 of file swuiccoll.cxx.
References i, m_aStrArr, m_xTbLinks, SfxItemSet::Put(), rSet, and SwCondCollItem::SetStyle().
Referenced by DeactivatePage().
|
inlinestatic |
Definition at line 60 of file swuiccoll.hxx.
References s_aPageRg.
Referenced by SwTemplateDlgController::SwTemplateDlgController().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 122 of file swuiccoll.cxx.
References SfxStyleSheetBasePool::First(), SwView::GetDocShell(), SfxStyleSheetBase::GetName(), SwFormat::GetName(), SwDocShell::GetStyleSheetPool(), SwCollCondition::GetTextFormatColl(), SwWrtShell::GetView(), m_aStrArr, m_pCmds, m_pFormat, m_rSh, m_xStyleLB, m_xTbLinks, n, SfxStyleSheetBasePool::Next(), RES_CONDTXTFMTCOLL(), and SwFormat::Which().
|
private |
Definition at line 196 of file swuiccoll.cxx.
References SfxStyleSheetBasePool::First(), SwView::GetDocShell(), SfxStyleSheetBase::GetName(), SwFormat::GetName(), SwDocShell::GetStyleSheetPool(), SwWrtShell::GetView(), m_pFormat, m_rSh, 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 234 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 35 of file swuiccoll.hxx.
Referenced by Reset().
|
private |
Definition at line 36 of file swuiccoll.hxx.
Referenced by Reset(), SelectHdl(), and SetCollection().
|
private |
Definition at line 34 of file swuiccoll.hxx.
Referenced by Reset(), and SelectHdl().
|
private |
Definition at line 42 of file swuiccoll.hxx.
Referenced by AssignRemove(), SelectHdl(), and SwCondCollPage().
|
private |
Definition at line 40 of file swuiccoll.hxx.
Referenced by SelectHdl(), and SwCondCollPage().
|
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 AssignRemove(), Reset(), SelectHdl(), and SwCondCollPage().
|
private |
Definition at line 38 of file swuiccoll.hxx.
Referenced by AssignRemove(), FillItemSet(), Reset(), SelectHdl(), and SwCondCollPage().
|
staticprivate |
Definition at line 53 of file swuiccoll.hxx.
Referenced by GetRanges().