LibreOffice Module sc (master) 1
Public Member Functions | Private Attributes | List of all members
ScDocumentConfiguration Class Referencefinal

#include <confuno.hxx>

Inheritance diagram for ScDocumentConfiguration:
[legend]
Collaboration diagram for ScDocumentConfiguration:
[legend]

Public Member Functions

 ScDocumentConfiguration (ScDocShell *pDocShell)
 
virtual ~ScDocumentConfiguration () override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) 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
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint)
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 
virtual bool IsSdrView () const
 

Private Attributes

ScDocShellpDocShell
 
SfxItemPropertySet aPropSet
 

Detailed Description

Definition at line 30 of file confuno.hxx.

Constructor & Destructor Documentation

◆ ScDocumentConfiguration()

ScDocumentConfiguration::ScDocumentConfiguration ( ScDocShell pDocShell)

Definition at line 99 of file confuno.cxx.

References ScDocument::AddUnoObject(), ScDocShell::GetDocument(), and pDocShell.

◆ ~ScDocumentConfiguration()

ScDocumentConfiguration::~ScDocumentConfiguration ( )
overridevirtual

Definition at line 106 of file confuno.cxx.

References ScDocShell::GetDocument(), pDocShell, and ScDocument::RemoveUnoObject().

Member Function Documentation

◆ addPropertyChangeListener()

virtual void SAL_CALL ScDocumentConfiguration::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual

◆ addVetoableChangeListener()

virtual void SAL_CALL ScDocumentConfiguration::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

◆ getImplementationName()

OUString SAL_CALL ScDocumentConfiguration::getImplementationName ( )
overridevirtual

Definition at line 645 of file confuno.cxx.

◆ getPropertySetInfo()

uno::Reference< beans::XPropertySetInfo > SAL_CALL ScDocumentConfiguration::getPropertySetInfo ( )
overridevirtual

Definition at line 126 of file confuno.cxx.

References aPropSet, and SfxItemPropertySet::getPropertyMap().

◆ getPropertyValue()

uno::Any SAL_CALL ScDocumentConfiguration::getPropertyValue ( const OUString &  PropertyName)
overridevirtual

Definition at line 444 of file confuno.cxx.

References formula::FormulaGrammar::CONV_A1_XL_A1, formula::FormulaGrammar::CONV_LAST, formula::FormulaGrammar::CONV_LOTUS_A1, formula::FormulaGrammar::CONV_ODF, formula::FormulaGrammar::CONV_OOO, formula::FormulaGrammar::CONV_UNSPECIFIED, formula::FormulaGrammar::CONV_XL_A1, formula::FormulaGrammar::CONV_XL_OOX, formula::FormulaGrammar::CONV_XL_R1C1, ScDocument::GetAddressConvention(), ScDocument::GetAsianCompression(), ScDocument::GetAsianKerning(), ScDocument::GetAutoCalc(), ScDocument::GetCalcConfig(), SvMemoryStream::GetData(), ScDocShell::GetDocument(), SvxOptionsGrid::GetFieldDivisionX(), SvxOptionsGrid::GetFieldDivisionY(), SvxOptionsGrid::GetFieldDrawX(), SvxOptionsGrid::GetFieldDrawY(), ScViewOptions::GetGridColor(), ScViewOptions::GetGridOptions(), SvxOptionsGrid::GetGridVisible(), ScDocument::GetImagePreferredDPI(), ScDocument::GetLinkMode(), SfxObjectShell::GetModifyPasswordHash(), SfxObjectShell::GetModifyPasswordInfo(), ScViewOptions::GetOption(), ScDocument::GetPrinter(), ScDocShell::GetPrinter(), SvxOptionsGrid::GetSynchronize(), SvxOptionsGrid::GetUseGridSnap(), ScDocument::GetViewOptions(), SfxObjectShell::HasSharedXMLFlagSet(), ScDocument::IsEmbedFonts(), ScDocument::IsEmbedFontScriptAsian(), ScDocument::IsEmbedFontScriptComplex(), ScDocument::IsEmbedFontScriptLatin(), ScDocument::IsEmbedUsedFontsOnly(), SfxObjectShell::IsLoadReadonly(), SfxObjectShell::IsQueryLoadTemplate(), SfxObjectShell::IsSaveVersionOnClose(), SfxObjectShell::IsUseThumbnailSave(), SfxObjectShell::IsUseUserData(), LM_ALWAYS, LM_NEVER, LM_ON_DEMAND, LM_UNKNOWN, ScCalcConfig::mbHasStringRefSyntax, ScCalcConfig::meStringRefAddressSyntax, pDocShell, SC_UNO_ALLOWPRINTJOBCANCEL, SC_UNO_APPLYDOCINF, SC_UNO_ASIANKERN, SC_UNO_AUTOCALC, SC_UNO_CHARCOMP, SC_UNO_COLROWHDR, SC_UNO_EMBED_FONT_SCRIPT_ASIAN, SC_UNO_EMBED_FONT_SCRIPT_COMPLEX, SC_UNO_EMBED_FONT_SCRIPT_LATIN, SC_UNO_EMBED_FONTS, SC_UNO_EMBED_ONLY_USED_FONTS, SC_UNO_FORBIDDEN, SC_UNO_GRIDCOLOR, SC_UNO_IMAGE_PREFERRED_DPI, SC_UNO_LOADREADONLY, SC_UNO_MODIFYPASSWORDHASH, SC_UNO_MODIFYPASSWORDINFO, SC_UNO_OUTLSYMB, SC_UNO_PRINTERNAME, SC_UNO_PRINTERPAPER, SC_UNO_PRINTERSETUP, SC_UNO_RASTERRESX, SC_UNO_RASTERRESY, SC_UNO_RASTERSUBX, SC_UNO_RASTERSUBY, SC_UNO_RASTERSYNC, SC_UNO_RASTERVIS, SC_UNO_SAVE_THUMBNAIL, SC_UNO_SHAREDOC, SC_UNO_SHEETTABS, SC_UNO_SHOWFORMULASMARKS, SC_UNO_SHOWGRID, SC_UNO_SHOWNOTES, SC_UNO_SHOWPAGEBR, SC_UNO_SHOWZERO, SC_UNO_SNAPTORASTER, SC_UNO_SYNTAXSTRINGREF, SC_UNO_UPDTEMPL, SC_UNONAME_LINKUPD, SCSAVEVERSION, SfxObjectShell::Stamp_GetPrintCancelState(), SfxPrinter::Store(), SvMemoryStream::TellEnd(), VOPT_FORMULAS_MARKS, VOPT_GRID, VOPT_HEADER, VOPT_NOTES, VOPT_NULLVALS, VOPT_OUTLINER, VOPT_PAGEBREAKS, and VOPT_TABCONTROLS.

◆ getSupportedServiceNames()

uno::Sequence< OUString > SAL_CALL ScDocumentConfiguration::getSupportedServiceNames ( )
overridevirtual

Definition at line 655 of file confuno.cxx.

◆ Notify()

void ScDocumentConfiguration::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overridevirtual

Reimplemented from SfxListener.

Definition at line 114 of file confuno.cxx.

References SfxHint::GetId(), and pDocShell.

◆ removePropertyChangeListener()

virtual void SAL_CALL ScDocumentConfiguration::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual

◆ removeVetoableChangeListener()

virtual void SAL_CALL ScDocumentConfiguration::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

◆ setPropertyValue()

void SAL_CALL ScDocumentConfiguration::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual

Definition at line 134 of file confuno.cxx.

References ScDocShell::AdjustRowHeight(), SfxItemSet::Clone(), formula::FormulaGrammar::CONV_UNSPECIFIED, SfxPrinter::Create(), VclPtr< class reference_type >::disposeAndClear(), eMode, ScUnoHelpFunctions::GetBoolFromAny(), ScDocument::GetCalcConfig(), SfxObjectShell::GetCreateMode(), ScDocShell::GetDocument(), ScViewOptions::GetGridOptions(), ScUnoHelpFunctions::GetInt16FromAny(), ScUnoHelpFunctions::GetInt32FromAny(), SfxPrinter::GetOptions(), ScDocument::GetPool(), ScDocShell::GetPrinter(), ScDocument::GetTableCount(), ScDocument::GetViewOptions(), Grid, ScDocument::IsImportingXML(), LM_ALWAYS, LM_NEVER, LM_ON_DEMAND, ScDocument::MaxCol(), ScDocument::MaxRow(), n, pDocShell, ScDocShell::PostPaint(), SC_MOD, SC_UNO_ALLOWPRINTJOBCANCEL, SC_UNO_APPLYDOCINF, SC_UNO_ASIANKERN, SC_UNO_AUTOCALC, SC_UNO_CHARCOMP, SC_UNO_COLROWHDR, SC_UNO_EMBED_FONT_SCRIPT_ASIAN, SC_UNO_EMBED_FONT_SCRIPT_COMPLEX, SC_UNO_EMBED_FONT_SCRIPT_LATIN, SC_UNO_EMBED_FONTS, SC_UNO_EMBED_ONLY_USED_FONTS, SC_UNO_FORBIDDEN, SC_UNO_GRIDCOLOR, SC_UNO_IMAGE_PREFERRED_DPI, SC_UNO_LOADREADONLY, SC_UNO_MODIFYPASSWORDHASH, SC_UNO_MODIFYPASSWORDINFO, SC_UNO_OUTLSYMB, SC_UNO_PRINTERNAME, SC_UNO_PRINTERPAPER, SC_UNO_PRINTERSETUP, SC_UNO_RASTERRESX, SC_UNO_RASTERRESY, SC_UNO_RASTERSUBX, SC_UNO_RASTERSUBY, SC_UNO_RASTERSYNC, SC_UNO_RASTERVIS, SC_UNO_SAVE_THUMBNAIL, SC_UNO_SHAREDOC, SC_UNO_SHEETTABS, SC_UNO_SHOWFORMULASMARKS, SC_UNO_SHOWGRID, SC_UNO_SHOWNOTES, SC_UNO_SHOWPAGEBR, SC_UNO_SHOWZERO, SC_UNO_SNAPTORASTER, SC_UNO_SYNTAXSTRINGREF, SC_UNO_UPDTEMPL, SC_UNONAME_LINKUPD, SCSAVEVERSION, SvStream::Seek(), ScDocument::SetAsianCompression(), ScDocument::SetAsianKerning(), ScDocument::SetAutoCalc(), ScDocument::SetCalcConfig(), ScDocShell::SetDocumentModified(), ScDocument::SetEmbedFonts(), ScDocument::SetEmbedFontScriptAsian(), ScDocument::SetEmbedFontScriptComplex(), ScDocument::SetEmbedFontScriptLatin(), ScDocument::SetEmbedUsedFontsOnly(), SvxOptionsGrid::SetFieldDivisionX(), SvxOptionsGrid::SetFieldDivisionY(), SvxOptionsGrid::SetFieldDrawX(), SvxOptionsGrid::SetFieldDrawY(), ScViewOptions::SetGridColor(), ScViewOptions::SetGridOptions(), SvxOptionsGrid::SetGridVisible(), ScDocument::SetImagePreferredDPI(), ScDocument::SetLinkMode(), SfxObjectShell::SetLoadReadonly(), SfxObjectShell::SetModifyPasswordHash(), SfxObjectShell::SetModifyPasswordInfo(), ScViewOptions::SetOption(), ScDocShell::SetPrinter(), SfxObjectShell::SetQueryLoadTemplate(), SfxObjectShell::SetSaveVersionOnClose(), SfxObjectShell::SetSharedXMLFlag(), ScCalcConfig::SetStringRefSyntax(), SvxOptionsGrid::SetSynchronize(), SvxOptionsGrid::SetUseGridSnap(), SfxObjectShell::SetUseThumbnailSave(), SfxObjectShell::SetUseUserData(), ScDocument::SetViewOptions(), SfxObjectShell::Stamp_SetPrintCancelState(), STREAM_SEEK_TO_BEGIN, VOPT_FORMULAS_MARKS, VOPT_GRID, VOPT_HEADER, VOPT_NOTES, VOPT_NULLVALS, VOPT_OUTLINER, VOPT_PAGEBREAKS, and VOPT_TABCONTROLS.

◆ supportsService()

sal_Bool SAL_CALL ScDocumentConfiguration::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 650 of file confuno.cxx.

References cppu::supportsService().

Member Data Documentation

◆ aPropSet

SfxItemPropertySet ScDocumentConfiguration::aPropSet
private

Definition at line 37 of file confuno.hxx.

Referenced by getPropertySetInfo().

◆ pDocShell

ScDocShell* ScDocumentConfiguration::pDocShell
private

The documentation for this class was generated from the following files: