LibreOffice Module sc (master) 1
|
#include <styleuno.hxx>
Public Member Functions | |
ScStyleFamiliesObj (ScDocShell *pDocSh) | |
virtual | ~ScStyleFamiliesObj () override |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
virtual sal_Int32 SAL_CALL | getCount () override |
virtual css::uno::Any SAL_CALL | getByIndex (sal_Int32 Index) 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 css::uno::Type SAL_CALL | getElementType () override |
virtual sal_Bool SAL_CALL | hasElements () override |
virtual void SAL_CALL | loadStylesFromURL (const OUString &URL, const css::uno::Sequence< css::beans::PropertyValue > &aOptions) override |
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL | getStyleLoaderOptions () override |
virtual void SAL_CALL | loadStylesFromDocument (const css::uno::Reference< css::lang::XComponent > &aSourceComponent, const css::uno::Sequence< css::beans::PropertyValue > &aOptions) 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< ScStyleFamilyObj > | GetObjectByType_Impl (SfxStyleFamily nType) const |
rtl::Reference< ScStyleFamilyObj > | GetObjectByIndex_Impl (sal_uInt32 nIndex) const |
rtl::Reference< ScStyleFamilyObj > | GetObjectByName_Impl (std::u16string_view aName) const |
void | loadStylesFromDocShell (ScDocShell *pSource, const css::uno::Sequence< css::beans::PropertyValue > &aOptions) |
Private Attributes | |
ScDocShell * | pDocShell |
Definition at line 47 of file styleuno.hxx.
ScStyleFamiliesObj::ScStyleFamiliesObj | ( | ScDocShell * | pDocSh | ) |
Definition at line 432 of file styleuno.cxx.
References ScDocument::AddUnoObject(), ScDocShell::GetDocument(), and pDocShell.
|
overridevirtual |
Definition at line 438 of file styleuno.cxx.
References ScDocShell::GetDocument(), pDocShell, and ScDocument::RemoveUnoObject().
|
overridevirtual |
Definition at line 503 of file styleuno.cxx.
References GetObjectByIndex_Impl(), and nIndex.
|
overridevirtual |
Definition at line 526 of file styleuno.cxx.
References aName, and GetObjectByName_Impl().
|
overridevirtual |
Definition at line 498 of file styleuno.cxx.
References SC_STYLE_FAMILY_COUNT.
Referenced by hasElements().
|
overridevirtual |
Definition at line 536 of file styleuno.cxx.
References SC_FAMILYNAME_CELL, SC_FAMILYNAME_GRAPHIC, and SC_FAMILYNAME_PAGE.
|
overridevirtual |
Definition at line 513 of file styleuno.cxx.
References cppu::UnoType< typename T >::get().
|
overridevirtual |
|
private |
Definition at line 473 of file styleuno.cxx.
References aStyleFamilyTypes, GetObjectByType_Impl(), nIndex, and SC_STYLE_FAMILY_COUNT.
Referenced by getByIndex().
|
private |
Definition at line 481 of file styleuno.cxx.
References aName, pDocShell, SC_FAMILYNAME_CELL, SC_FAMILYNAME_GRAPHIC, and SC_FAMILYNAME_PAGE.
Referenced by getByName().
|
private |
Definition at line 458 of file styleuno.cxx.
References nType, and pDocShell.
Referenced by GetObjectByIndex_Impl().
|
overridevirtual |
Definition at line 583 of file styleuno.cxx.
References comphelper::InitPropertySequence(), SC_UNONAME_LOADCELL, SC_UNONAME_LOADPAGE, and SC_UNONAME_OVERWSTL.
|
overridevirtual |
|
overridevirtual |
Definition at line 541 of file styleuno.cxx.
References aName, SC_FAMILYNAME_CELL, SC_FAMILYNAME_GRAPHIC, and SC_FAMILYNAME_PAGE.
|
overridevirtual |
Definition at line 518 of file styleuno.cxx.
References getCount().
|
private |
css::io::IOException | |
css::uno::RuntimeException |
Definition at line 609 of file styleuno.cxx.
References aPropName, ScUnoHelpFunctions::GetBoolFromAny(), ScDocShell::LoadStylesArgs(), pDocShell, SC_UNONAME_LOADCELL, SC_UNONAME_LOADPAGE, SC_UNONAME_OVERWSTL, and ScDocShell::SetDocumentModified().
Referenced by loadStylesFromDocument(), and loadStylesFromURL().
|
overridevirtual |
Definition at line 595 of file styleuno.cxx.
References SfxObjectShell::GetShellFromComponent(), and loadStylesFromDocShell().
|
overridevirtual |
use aOptions (like Writer) set flag to disable filter option dialogs when importing
Definition at line 548 of file styleuno.cxx.
References aURL, ScDocumentLoader::GetDocShell(), and loadStylesFromDocShell().
|
overridevirtual |
Reimplemented from SfxListener.
Definition at line 446 of file styleuno.cxx.
References SfxHint::GetId(), and pDocShell.
|
overridevirtual |
|
private |
Definition at line 55 of file styleuno.hxx.
Referenced by GetObjectByName_Impl(), GetObjectByType_Impl(), loadStylesFromDocShell(), Notify(), ScStyleFamiliesObj(), and ~ScStyleFamiliesObj().