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 |
![]() | |
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 |
void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
Private Member Functions | |
ScStyleFamilyObj * | GetObjectByType_Impl (SfxStyleFamily nType) const |
ScStyleFamilyObj * | GetObjectByIndex_Impl (sal_uInt32 nIndex) const |
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 49 of file styleuno.hxx.
ScStyleFamiliesObj::ScStyleFamiliesObj | ( | ScDocShell * | pDocSh | ) |
Definition at line 407 of file styleuno.cxx.
References ScDocument::AddUnoObject(), ScDocShell::GetDocument(), and pDocShell.
|
overridevirtual |
Definition at line 413 of file styleuno.cxx.
References ScDocShell::GetDocument(), pDocShell, and ScDocument::RemoveUnoObject().
|
overridevirtual |
Definition at line 474 of file styleuno.cxx.
References GetObjectByIndex_Impl().
|
overridevirtual |
Definition at line 498 of file styleuno.cxx.
References GetObjectByName_Impl().
|
overridevirtual |
Definition at line 469 of file styleuno.cxx.
References SC_STYLE_FAMILY_COUNT.
Referenced by hasElements().
|
overridevirtual |
Definition at line 508 of file styleuno.cxx.
References SC_FAMILYNAME_CELL, and SC_FAMILYNAME_PAGE.
|
overridevirtual |
Definition at line 484 of file styleuno.cxx.
References cppu::UnoType< class >::get().
|
overridevirtual |
|
private |
Definition at line 446 of file styleuno.cxx.
References aStyleFamilyTypes, GetObjectByType_Impl(), and SC_STYLE_FAMILY_COUNT.
Referenced by getByIndex().
|
private |
Definition at line 454 of file styleuno.cxx.
References pDocShell, SC_FAMILYNAME_CELL, and SC_FAMILYNAME_PAGE.
Referenced by getByName().
|
private |
Definition at line 433 of file styleuno.cxx.
References pDocShell.
Referenced by GetObjectByIndex_Impl().
|
overridevirtual |
Definition at line 555 of file styleuno.cxx.
References comphelper::InitPropertySequence(), SC_UNONAME_LOADCELL, SC_UNONAME_LOADPAGE, and SC_UNONAME_OVERWSTL.
|
overridevirtual |
|
overridevirtual |
Definition at line 513 of file styleuno.cxx.
References SC_FAMILYNAME_CELL, and SC_FAMILYNAME_PAGE.
|
overridevirtual |
Definition at line 490 of file styleuno.cxx.
References getCount().
|
private |
css::io::IOException | |
css::uno::RuntimeException |
Definition at line 581 of file styleuno.cxx.
References 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 567 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 520 of file styleuno.cxx.
References ScDocumentLoader::GetDocShell(), and loadStylesFromDocShell().
|
overridevirtual |
Reimplemented from SfxListener.
Definition at line 421 of file styleuno.cxx.
References SfxHint::GetId(), and pDocShell.
|
overridevirtual |
|
private |
Definition at line 57 of file styleuno.hxx.
Referenced by GetObjectByName_Impl(), GetObjectByType_Impl(), loadStylesFromDocShell(), Notify(), ScStyleFamiliesObj(), and ~ScStyleFamiliesObj().