LibreOffice Module sc (master) 1
|
#include <styleuno.hxx>
Public Member Functions | |
ScStyleFamilyObj (ScDocShell *pDocSh, SfxStyleFamily eFam) | |
virtual | ~ScStyleFamilyObj () override |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
virtual void SAL_CALL | insertByName (const OUString &aName, const css::uno::Any &aElement) override |
virtual void SAL_CALL | removeByName (const OUString &Name) override |
virtual void SAL_CALL | replaceByName (const OUString &aName, const css::uno::Any &aElement) override |
virtual css::uno::Any SAL_CALL | getByName (const OUString &aName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getElementNames () override |
virtual sal_Bool SAL_CALL | hasByName (const OUString &aName) override |
virtual sal_Int32 SAL_CALL | getCount () override |
virtual css::uno::Any SAL_CALL | getByIndex (sal_Int32 Index) override |
virtual css::uno::Type SAL_CALL | getElementType () override |
virtual sal_Bool SAL_CALL | hasElements () override |
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
virtual void SAL_CALL | setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override |
virtual css::uno::Any SAL_CALL | getPropertyValue (const OUString &PropertyName) override |
virtual void SAL_CALL | addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override |
virtual void SAL_CALL | removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override |
virtual void SAL_CALL | addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override |
virtual void SAL_CALL | removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
Public Member Functions inherited from SfxListener | |
SfxListener () | |
SfxListener (const SfxListener &rCopy) | |
virtual | ~SfxListener () COVERITY_NOEXCEPT_FALSE |
void | StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected) |
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 |
Private Member Functions | |
rtl::Reference< ScStyleObj > | GetObjectByIndex_Impl (sal_Int32 nIndex) |
rtl::Reference< ScStyleObj > | GetObjectByName_Impl (const OUString &Name) |
Private Attributes | |
ScDocShell * | pDocShell |
SfxStyleFamily | eFamily |
Definition at line 100 of file styleuno.hxx.
ScStyleFamilyObj::ScStyleFamilyObj | ( | ScDocShell * | pDocSh, |
SfxStyleFamily | eFam | ||
) |
Definition at line 638 of file styleuno.cxx.
References ScDocument::AddUnoObject(), ScDocShell::GetDocument(), and pDocShell.
|
overridevirtual |
Definition at line 645 of file styleuno.cxx.
References ScDocShell::GetDocument(), pDocShell, and ScDocument::RemoveUnoObject().
|
overridevirtual |
Definition at line 948 of file styleuno.cxx.
|
overridevirtual |
Definition at line 958 of file styleuno.cxx.
|
overridevirtual |
Definition at line 827 of file styleuno.cxx.
References GetObjectByIndex_Impl(), and nIndex.
|
overridevirtual |
Definition at line 850 of file styleuno.cxx.
References aName, eFamily, GetObjectByName_Impl(), and ScStyleNameConversion::ProgrammaticToDisplayName().
|
overridevirtual |
Definition at line 813 of file styleuno.cxx.
References SfxStyleSheetIterator::Count(), eFamily, ScDocShell::GetDocument(), ScDocument::GetStyleSheetPool(), and pDocShell.
Referenced by hasElements().
|
overridevirtual |
Definition at line 861 of file styleuno.cxx.
References aSeq, SfxStyleSheetIterator::Count(), ScStyleNameConversion::DisplayToProgrammaticName(), eFamily, SfxStyleSheetIterator::First(), ScDocShell::GetDocument(), SfxStyleSheetBase::GetName(), ScDocument::GetStyleSheetPool(), nCount, SfxStyleSheetIterator::Next(), nPos, and pDocShell.
|
overridevirtual |
Definition at line 837 of file styleuno.cxx.
References cppu::UnoType< typename T >::get().
|
overridevirtual |
|
private |
Definition at line 665 of file styleuno.cxx.
References SfxStyleSheetIterator::Count(), eFamily, ScDocShell::GetDocument(), SfxStyleSheetBase::GetName(), ScDocument::GetStyleSheetPool(), nIndex, and pDocShell.
Referenced by getByIndex().
|
private |
Definition at line 685 of file styleuno.cxx.
References aName, eFamily, SfxStyleSheetBasePool::Find(), ScDocShell::GetDocument(), ScDocument::GetStyleSheetPool(), and pDocShell.
Referenced by getByName().
|
overridevirtual |
Definition at line 906 of file styleuno.cxx.
|
overridevirtual |
Definition at line 917 of file styleuno.cxx.
References eFamily, ScResId(), and sDisplayName.
|
overridevirtual |
|
overridevirtual |
Definition at line 889 of file styleuno.cxx.
References aName, eFamily, SfxStyleSheetBasePool::Find(), ScDocShell::GetDocument(), ScDocument::GetStyleSheetPool(), pDocShell, and ScStyleNameConversion::ProgrammaticToDisplayName().
|
overridevirtual |
Definition at line 842 of file styleuno.cxx.
References getCount().
|
overridevirtual |
DocFunc function ??? Undo ?????????????
Definition at line 697 of file styleuno.cxx.
References aName, ScDocumentPool::CellStyleCreated(), eFamily, SfxStyleSheetBasePool::Find(), ScDocShell::GetDocument(), ScStyleObj::GetFamily(), ScDocument::GetPool(), ScDocument::GetStyleSheetPool(), ScStyleObj::InitDoc(), ScDocument::IsImportingXML(), ScStyleObj::IsInserted(), ScStyleSheetPool::Make(), pDocShell, ScStyleNameConversion::ProgrammaticToDisplayName(), and ScDocShell::SetDocumentModified().
Referenced by replaceByName().
|
overridevirtual |
Reimplemented from SfxListener.
Definition at line 653 of file styleuno.cxx.
References SfxHint::GetId(), and pDocShell.
|
overridevirtual |
DocFunc function?? Undo ?????????????
InvalidateAttribs(); // Bindings-Invalidate
Definition at line 749 of file styleuno.cxx.
References aName, eFamily, SfxStyleSheetBasePool::Find(), ScDocShell::GetDocument(), ScDocument::GetStyleSheetPool(), ScDocShell::GetViewBindings(), Grid, SfxBindings::Invalidate(), Left, ScDocument::MaxCol(), ScDocument::MaxRow(), MAXTAB, nPPTX, nPPTY, ScDocShell::PageStyleModified(), pDocShell, ScDocShell::PostPaint(), ScStyleNameConversion::ProgrammaticToDisplayName(), ScStyleSheetPool::Remove(), ScDocument::RemovePageStyleInUse(), ScResId(), ScDocShell::SetDocumentModified(), ScDocument::StyleSheetChanged(), Point::X(), and Point::Y().
Referenced by replaceByName().
|
overridevirtual |
Definition at line 953 of file styleuno.cxx.
|
overridevirtual |
Definition at line 963 of file styleuno.cxx.
|
overridevirtual |
combine?
Definition at line 741 of file styleuno.cxx.
References aName, insertByName(), and removeByName().
|
overridevirtual |
Definition at line 912 of file styleuno.cxx.
|
overridevirtual |
|
private |
Definition at line 109 of file styleuno.hxx.
Referenced by getByName(), getCount(), getElementNames(), GetObjectByIndex_Impl(), GetObjectByName_Impl(), getPropertyValue(), hasByName(), insertByName(), and removeByName().
|
private |
Definition at line 108 of file styleuno.hxx.
Referenced by getCount(), getElementNames(), GetObjectByIndex_Impl(), GetObjectByName_Impl(), hasByName(), insertByName(), Notify(), removeByName(), ScStyleFamilyObj(), and ~ScStyleFamilyObj().