|
LibreOffice Module svl (master) 1
|
#include <style.hxx>
Public Member Functions | |
| SfxStyleSheet (const OUString &, const SfxStyleSheetBasePool &, SfxStyleFamily, SfxStyleSearchBits) | |
| SfxStyleSheet (const SfxStyleSheet &) | |
| virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
| Notify all listeners. More... | |
| virtual bool | isUsedByModel () const override |
| virtual bool | SetParent (const OUString &) override |
Public Member Functions inherited from SfxStyleSheetBase | |
| const OUString & | GetName () const |
| virtual bool | SetName (const OUString &rNewName, bool bReindexNow=true) |
| virtual const OUString & | GetParent () const |
| virtual bool | SetParent (const OUString &) |
| virtual const OUString & | GetFollow () const |
| Change follow. More... | |
| virtual bool | SetFollow (const OUString &) |
| virtual bool | HasFollowSupport () const |
| Next style possible? Default: Yes. More... | |
| virtual bool | HasParentSupport () const |
| Base template possible? Default: Yes. More... | |
| virtual bool | HasClearParentSupport () const |
| Setting base template to NULL possible? Default: No. More... | |
| virtual bool | IsUsed () const |
| By default all stylesheets are set to used. More... | |
| virtual OUString | GetDescription (MapUnit eMetric) |
| Return set attributes. More... | |
| virtual OUString | GetUsedBy () |
| SfxStyleSheetBasePool * | GetPool () |
| SfxStyleFamily | GetFamily () const |
| SfxStyleSearchBits | GetMask () const |
| void | SetMask (SfxStyleSearchBits mask) |
| bool | IsUserDefined () const |
| virtual bool | IsHidden () const |
| virtual void | SetHidden (bool bValue) |
| virtual sal_uLong | GetHelpId (OUString &rFile) |
| Set help file and ID and return it. More... | |
| virtual void | SetHelpId (const OUString &r, sal_uLong nId) |
| virtual SfxItemSet & | GetItemSet () |
| Set Itemset The default implementation creates a new set. More... | |
| virtual std::optional< SfxItemSet > | GetItemSetForPreview () |
| Due to writer's usual lack of sanity this is a separate function for preview only; it shall not create the style in case it does not exist. More... | |
| virtual bool | isScStyleSheet () const |
| Fix for expensive dynamic_cast. More... | |
Public Member Functions inherited from SfxListener | |
| SfxListener () | |
| SfxListener (const SfxListener &rCopy) | |
| virtual | ~SfxListener () COVERITY_NOEXCEPT_FALSE |
| void | StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected) |
| Registers a specific SfxBroadcaster. More... | |
| void | EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false) |
| void | EndListeningAll () |
| bool | IsListening (SfxBroadcaster &rBroadcaster) const |
| sal_uInt16 | GetBroadcasterCount () const |
| SfxBroadcaster * | GetBroadcasterJOE (sal_uInt16 nNo) const |
| virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) |
| void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
| virtual bool | IsSdrView () const |
| Used to avoid cost of dynamic_cast in SdrViewIter::ImpFindView. More... | |
Public Member Functions inherited from SfxBroadcaster | |
| SfxBroadcaster () | |
| SfxBroadcaster (const SfxBroadcaster &rBC) | |
| virtual | ~SfxBroadcaster () COVERITY_NOEXCEPT_FALSE |
| void | Broadcast (const SfxHint &rHint) |
| bool | HasListeners () const |
| size_t | GetListenerCount () const |
| Get the number of listeners which are registered at this broadcaster. More... | |
| void | ForAllListeners (std::function< bool(SfxListener *)> f) const |
| Iterate over all the listeners and call the passed function. More... | |
Protected Member Functions | |
| virtual | ~SfxStyleSheet () override |
Protected Member Functions inherited from SfxStyleSheetBase | |
| SfxStyleSheetBase (const OUString &, SfxStyleSheetBasePool *, SfxStyleFamily eFam, SfxStyleSearchBits mask) | |
| SfxStyleSheetBase (const SfxStyleSheetBase &) | |
| virtual | ~SfxStyleSheetBase () override |
Protected Member Functions inherited from SfxBroadcaster | |
| void | Forward (SfxBroadcaster &rBC, const SfxHint &rHint) |
Additional Inherited Members | |
Protected Attributes inherited from SfxStyleSheetBase | |
| SfxStyleSheetBasePool * | m_pPool |
| SfxStyleFamily | nFamily |
| OUString | aName |
| OUString | aParent |
| OUString | aFollow |
| OUString | aHelpFile |
| SfxItemSet * | pSet |
| SfxStyleSearchBits | nMask |
| sal_uLong | nHelpId |
| bool | bMySet |
| bool | bHidden |
| SfxStyleSheet::SfxStyleSheet | ( | const OUString & | rName, |
| const SfxStyleSheetBasePool & | r_Pool, | ||
| SfxStyleFamily | eFam, | ||
| SfxStyleSearchBits | mask | ||
| ) |
| SfxStyleSheet::SfxStyleSheet | ( | const SfxStyleSheet & | rStyle | ) |
|
overrideprotectedvirtual |
Definition at line 814 of file style.cxx.
References SfxBroadcaster::Broadcast(), and StyleSheetInDestruction.
|
overridevirtual |
Definition at line 854 of file style.cxx.
References SfxStyleSheetBase::IsUsed().
|
overridevirtual |
Notify all listeners.
Reimplemented from SfxListener.
Definition at line 849 of file style.cxx.
References SfxBroadcaster::Forward().
|
overridevirtual |
Reimplemented from SfxStyleSheetBase.
Definition at line 820 of file style.cxx.
References SfxStyleSheetBase::aParent, SfxListener::EndListening(), SfxStyleSheetBasePool::Find(), SfxStyleSheetBase::m_pPool, SfxStyleSheetBase::nFamily, SfxStyleSheetBase::SetParent(), and SfxListener::StartListening().