LibreOffice Module sfx2 (master) 1
|
#include <mgetempl.hxx>
Public Member Functions | |
SfxManageStyleSheetPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rAttrSet) | |
virtual | ~SfxManageStyleSheetPage () override |
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 () |
Public Member Functions inherited from BuilderPage | |
BuilderPage (weld::Widget *pParent, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, bool bIsMobile=false) | |
virtual | ~BuilderPage () COVERITY_NOEXCEPT_FALSE |
void | SetPageTitle (const OUString &rPageTitle) |
const OUString & | GetPageTitle () const |
virtual void | Activate () |
virtual void | Deactivate () |
void | SetHelpId (const OUString &rHelpId) |
OUString | GetHelpId () const |
Private Member Functions | |
DECL_LINK (GetFocusHdl, weld::Widget &, void) | |
DECL_LINK (LoseFocusHdl, weld::Widget &, void) | |
DECL_LINK (EditStyleSelectHdl_Impl, weld::ComboBox &, void) | |
DECL_LINK (EditStyleHdl_Impl, weld::Button &, void) | |
DECL_LINK (EditLinkStyleSelectHdl_Impl, weld::ComboBox &, void) | |
DECL_LINK (EditLinkStyleHdl_Impl, weld::Button &, void) | |
void | UpdateName_Impl (weld::ComboBox *, const OUString &rNew) |
void | SetDescriptionText_Impl () |
virtual bool | FillItemSet (SfxItemSet *) override |
virtual void | Reset (const SfxItemSet *) override |
virtual void | ActivatePage (const SfxItemSet &) override |
virtual DeactivateRC | DeactivatePage (SfxItemSet *) override |
Static Private Member Functions | |
static std::unique_ptr< SfxTabPage > | Create (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *) |
static bool | Execute_Impl (sal_uInt16 nId, const OUString &rStr, sal_uInt16 nFamily) |
Private Attributes | |
SfxStyleSheetBase * | pStyle |
std::optional< SfxStyleFamilies > | mxFamilies |
const SfxStyleFamilyItem * | pItem |
OUString | aBuf |
bool | bModified |
OUString | aName |
OUString | aFollow |
OUString | aParent |
SfxStyleSearchBits | nFlags |
std::unique_ptr< weld::Entry > | m_xName |
std::unique_ptr< weld::CheckButton > | m_xAutoCB |
std::unique_ptr< weld::Label > | m_xFollowFt |
std::unique_ptr< weld::ComboBox > | m_xFollowLb |
std::unique_ptr< weld::Button > | m_xEditStyleBtn |
std::unique_ptr< weld::Label > | m_xBaseFt |
std::unique_ptr< weld::ComboBox > | m_xBaseLb |
std::unique_ptr< weld::Button > | m_xEditLinkStyleBtn |
std::unique_ptr< weld::Label > | m_xFilterFt |
std::unique_ptr< weld::ComboBox > | m_xFilterLb |
std::unique_ptr< weld::Label > | m_xDescFt |
Friends | |
class | SfxStyleDialogController |
Additional Inherited Members | |
Static Public Member Functions inherited from SfxTabPage | |
static const SfxPoolItem * | GetItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
template<class T > | |
static const T * | GetItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
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 |
template<class T > | |
TypedWhichId< T > | GetWhich (TypedWhichId< T > nSlot, bool bDeep=true) const |
const SfxPoolItem * | GetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
template<class T > | |
const T * | GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
SfxOkDialogController * | GetDialogController () const |
Protected Attributes inherited from BuilderPage | |
weld::DialogController * | m_pDialogController |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::unique_ptr< weld::Container > | m_xContainer |
Definition at line 39 of file mgetempl.hxx.
SfxManageStyleSheetPage::SfxManageStyleSheetPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rAttrSet | ||
) |
Definition at line 48 of file mgetempl.cxx.
References aFollow, aName, SfxFilterTuple::aName, aName, aParent, aStr, SfxModule::CreateStyleFamilies(), SfxObjectShell::Current(), SfxStyleSheetBasePool::First(), SfxStyleDialogController::GenerateUnusedName(), SfxStyleSheetBase::GetFamily(), SfxStyleFamilyItem::GetFamily(), SfxStyleFamilyItem::GetFilterList(), SfxStyleSheetBase::GetFollow(), SfxItemSet::GetItemState(), SfxStyleSheetBase::GetMask(), SfxApplication::GetModule_Impl(), SfxStyleSheetBase::GetName(), GetName(), SfxStyleSheetBase::GetParent(), SfxObjectShell::GetStyleSheetPool(), SfxStyleSheetBase::HasClearParentSupport(), SfxStyleSheetBase::HasFollowSupport(), SfxStyleSheetBase::HasParentSupport(), i, SfxStyleSheetBase::IsUserDefined(), LINK, m_xAutoCB, m_xBaseFt, m_xBaseLb, m_xEditLinkStyleBtn, m_xEditStyleBtn, m_xFilterFt, m_xFilterLb, m_xFollowFt, m_xFollowLb, m_xName, mxFamilies, nCount, SfxStyleSheetBasePool::Next(), SfxFilterTuple::nFlags, pItem, pStyle, SetDescriptionText_Impl(), SfxTabPage::SetExchangeSupport(), SfxStyleSheetBase::SetName(), SfxResId(), and sId.
|
overridevirtual |
Definition at line 256 of file mgetempl.cxx.
References mxFamilies, pItem, and pStyle.
|
overrideprivatevirtual |
Reimplemented from SfxTabPage.
Definition at line 537 of file mgetempl.cxx.
References SfxItemSet::GetItemIfSet(), SfxBoolItem::GetValue(), m_xAutoCB, m_xName, rSet, and SetDescriptionText_Impl().
|
staticprivate |
Definition at line 531 of file mgetempl.cxx.
Referenced by SfxStyleDialogController::SfxStyleDialogController().
|
overrideprivatevirtual |
Reimplemented from SfxTabPage.
Definition at line 566 of file mgetempl.cxx.
References bModified, Application::CreateMessageDialog(), FillItemSet(), SfxStyleSheetBase::GetFollow(), SfxTabPage::GetFrameWeld(), SfxStyleSheetBase::GetName(), SfxStyleSheetBase::GetParent(), SfxStyleSheetBase::HasFollowSupport(), KeepPage, LeavePage, m_xBaseLb, m_xFollowLb, m_xName, pStyle, RefreshSet, SfxStyleSheetBase::SetFollow(), SfxStyleSheetBase::SetName(), SfxStyleSheetBase::SetParent(), SfxResId(), and comphelper::string::stripStart().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
Definition at line 357 of file mgetempl.cxx.
References SfxDispatcher::Execute(), SfxApplication::GetDispatcher_Impl(), nCount, nId, pItem, RECORD, SfxGetpApp(), and SYNCHRON.
|
overrideprivatevirtual |
Reimplemented from SfxTabPage.
Definition at line 410 of file mgetempl.cxx.
References bModified, SfxStyleFamilyItem::GetFilterList(), m_xAutoCB, m_xFilterLb, pItem, pStyle, SfxItemSet::Put(), rSet, and SfxStyleSheetBase::SetMask().
Referenced by DeactivatePage().
|
overrideprivatevirtual |
Reimplemented from SfxTabPage.
Definition at line 455 of file mgetempl.cxx.
References aFollow, aName, aParent, bModified, SfxStyleSheetBase::GetFollow(), SfxStyleSheetBase::GetMask(), SfxStyleSheetBase::GetName(), SfxStyleSheetBase::GetParent(), m_xBaseFt, m_xBaseLb, m_xEditLinkStyleBtn, m_xEditStyleBtn, m_xFilterLb, m_xFollowLb, m_xName, nFlags, pStyle, SfxStyleSheetBase::SetFollow(), SfxStyleSheetBase::SetMask(), SfxStyleSheetBase::SetName(), SfxStyleSheetBase::SetParent(), and SfxResId().
|
private |
Definition at line 291 of file mgetempl.cxx.
References SfxModule::GetActiveModule(), SfxStyleSheetBase::GetDescription(), SfxShell::GetItem(), GetValue, m_xDescFt, and pStyle.
Referenced by ActivatePage(), and SfxManageStyleSheetPage().
|
private |
Definition at line 263 of file mgetempl.cxx.
References aBuf, weld::ComboBox::append_text(), weld::ComboBox::find_text(), weld::ComboBox::get_active_text(), weld::Widget::get_sensitive(), weld::ComboBox::remove(), and weld::ComboBox::set_active_text().
|
friend |
Definition at line 65 of file mgetempl.hxx.
|
private |
Definition at line 44 of file mgetempl.hxx.
Referenced by UpdateName_Impl().
|
private |
Definition at line 49 of file mgetempl.hxx.
Referenced by Reset(), and SfxManageStyleSheetPage().
|
private |
Definition at line 48 of file mgetempl.hxx.
Referenced by Reset(), and SfxManageStyleSheetPage().
|
private |
Definition at line 50 of file mgetempl.hxx.
Referenced by Reset(), and SfxManageStyleSheetPage().
|
private |
Definition at line 45 of file mgetempl.hxx.
Referenced by DeactivatePage(), FillItemSet(), and Reset().
|
private |
Definition at line 54 of file mgetempl.hxx.
Referenced by ActivatePage(), FillItemSet(), and SfxManageStyleSheetPage().
|
private |
Definition at line 58 of file mgetempl.hxx.
Referenced by Reset(), and SfxManageStyleSheetPage().
|
private |
Definition at line 59 of file mgetempl.hxx.
Referenced by DeactivatePage(), Reset(), and SfxManageStyleSheetPage().
|
private |
Definition at line 63 of file mgetempl.hxx.
Referenced by SetDescriptionText_Impl().
|
private |
Definition at line 60 of file mgetempl.hxx.
Referenced by Reset(), and SfxManageStyleSheetPage().
|
private |
Definition at line 57 of file mgetempl.hxx.
Referenced by Reset(), and SfxManageStyleSheetPage().
|
private |
Definition at line 61 of file mgetempl.hxx.
Referenced by SfxManageStyleSheetPage().
|
private |
Definition at line 62 of file mgetempl.hxx.
Referenced by FillItemSet(), Reset(), and SfxManageStyleSheetPage().
|
private |
Definition at line 55 of file mgetempl.hxx.
Referenced by SfxManageStyleSheetPage().
|
private |
Definition at line 56 of file mgetempl.hxx.
Referenced by DeactivatePage(), Reset(), and SfxManageStyleSheetPage().
|
private |
Definition at line 53 of file mgetempl.hxx.
Referenced by ActivatePage(), DeactivatePage(), Reset(), and SfxManageStyleSheetPage().
|
private |
Definition at line 42 of file mgetempl.hxx.
Referenced by SfxManageStyleSheetPage(), and ~SfxManageStyleSheetPage().
|
private |
Definition at line 51 of file mgetempl.hxx.
Referenced by Reset().
|
private |
Definition at line 43 of file mgetempl.hxx.
Referenced by Execute_Impl(), FillItemSet(), SfxManageStyleSheetPage(), and ~SfxManageStyleSheetPage().
|
private |
Definition at line 41 of file mgetempl.hxx.
Referenced by DeactivatePage(), FillItemSet(), Reset(), SetDescriptionText_Impl(), SfxManageStyleSheetPage(), and ~SfxManageStyleSheetPage().