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
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 

Private Attributes

ScDocShellpDocShell
 
SfxItemPropertySet aPropSet
 

Detailed Description

Definition at line 31 of file confuno.hxx.

Constructor & Destructor Documentation

ScDocumentConfiguration::ScDocumentConfiguration ( ScDocShell pDocShell)

Definition at line 97 of file confuno.cxx.

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

ScDocumentConfiguration::~ScDocumentConfiguration ( )
overridevirtual

Definition at line 104 of file confuno.cxx.

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

Member Function Documentation

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

Definition at line 621 of file confuno.cxx.

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

Definition at line 124 of file confuno.cxx.

References aPropSet, and SfxItemPropertySet::getPropertyMap().

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

Definition at line 427 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::GetLinkMode(), SfxObjectShell::GetModifyPasswordInfo(), ScViewOptions::GetOption(), ScDocShell::GetPrinter(), ScDocument::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_LOADREADONLY, 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_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_GRID, VOPT_HEADER, VOPT_NOTES, VOPT_NULLVALS, VOPT_OUTLINER, VOPT_PAGEBREAKS, and VOPT_TABCONTROLS.

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

Definition at line 631 of file confuno.cxx.

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

Reimplemented from SfxListener.

Definition at line 112 of file confuno.cxx.

References SfxHint::GetId(), and pDocShell.

virtual void SAL_CALL ScDocumentConfiguration::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual
virtual void SAL_CALL ScDocumentConfiguration::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual
void SAL_CALL ScDocumentConfiguration::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual

Definition at line 132 of file confuno.cxx.

References ScDocShell::AdjustRowHeight(), SfxItemSet::Clone(), formula::FormulaGrammar::CONV_UNSPECIFIED, SfxPrinter::Create(), eMode, ScUnoHelpFunctions::GetBoolFromAny(), ScDocument::GetCalcConfig(), SfxObjectShell::GetCreateMode(), ScDocShell::GetDocument(), 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_LOADREADONLY, 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_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(), ScDocument::SetLinkMode(), SfxObjectShell::SetLoadReadonly(), SfxObjectShell::SetModifyPasswordInfo(), ScDocShell::SetPrinter(), SfxObjectShell::SetQueryLoadTemplate(), SfxObjectShell::SetSaveVersionOnClose(), SfxObjectShell::SetSharedXMLFlag(), ScCalcConfig::SetStringRefSyntax(), SvxOptionsGrid::SetUseGridSnap(), SfxObjectShell::SetUseThumbnailSave(), SfxObjectShell::SetUseUserData(), ScDocument::SetViewOptions(), SfxObjectShell::Stamp_SetPrintCancelState(), STREAM_SEEK_TO_BEGIN, VOPT_GRID, VOPT_HEADER, VOPT_NOTES, VOPT_NULLVALS, VOPT_OUTLINER, VOPT_PAGEBREAKS, and VOPT_TABCONTROLS.

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

Definition at line 626 of file confuno.cxx.

References cppu::supportsService().

Member Data Documentation

SfxItemPropertySet ScDocumentConfiguration::aPropSet
private

Definition at line 38 of file confuno.hxx.

Referenced by getPropertySetInfo().

ScDocShell* ScDocumentConfiguration::pDocShell
private

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