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

#include <appluno.hxx>

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

Public Member Functions

 ScSpreadsheetSettings ()
 
virtual ~ScSpreadsheetSettings () override
 
virtual sal_Bool SAL_CALL getMoveSelection () override
 
virtual void SAL_CALL setMoveSelection (sal_Bool p1) override
 
virtual sal_Int16 SAL_CALL getMoveDirection () override
 
virtual void SAL_CALL setMoveDirection (sal_Int16 p1) override
 
virtual sal_Bool SAL_CALL getEnterEdit () override
 
virtual void SAL_CALL setEnterEdit (sal_Bool p1) override
 
virtual sal_Bool SAL_CALL getExtendFormat () override
 
virtual void SAL_CALL setExtendFormat (sal_Bool p1) override
 
virtual sal_Bool SAL_CALL getRangeFinder () override
 
virtual void SAL_CALL setRangeFinder (sal_Bool p1) override
 
virtual sal_Bool SAL_CALL getExpandReferences () override
 
virtual void SAL_CALL setExpandReferences (sal_Bool p1) override
 
virtual sal_Bool SAL_CALL getMarkHeader () override
 
virtual void SAL_CALL setMarkHeader (sal_Bool p1) override
 
virtual sal_Bool SAL_CALL getUseTabCol () override
 
virtual void SAL_CALL setUseTabCol (sal_Bool p1) override
 
virtual sal_Int16 SAL_CALL getMetric () override
 
virtual void SAL_CALL setMetric (sal_Int16 p1) override
 
virtual sal_Int16 SAL_CALL getScale () override
 
virtual void SAL_CALL setScale (sal_Int16 p1) override
 
virtual sal_Bool SAL_CALL getDoAutoComplete () override
 
virtual void SAL_CALL setDoAutoComplete (sal_Bool p1) override
 
virtual sal_Int16 SAL_CALL getStatusBarFunction () override
 
virtual void SAL_CALL setStatusBarFunction (sal_Int16 p1) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getUserLists () override
 
virtual void SAL_CALL setUserLists (const css::uno::Sequence< OUString > &p1) override
 
virtual sal_Int16 SAL_CALL getLinkUpdateMode () override
 
virtual void SAL_CALL setLinkUpdateMode (sal_Int16 p1) override
 
virtual sal_Bool SAL_CALL getPrintAllSheets () override
 
virtual void SAL_CALL setPrintAllSheets (sal_Bool p1) override
 
virtual sal_Bool SAL_CALL getPrintEmptyPages () override
 
virtual void SAL_CALL setPrintEmptyPages (sal_Bool p1) override
 
virtual sal_Bool SAL_CALL getUsePrinterMetrics () override
 
virtual void SAL_CALL setUsePrinterMetrics (sal_Bool p1) override
 
virtual sal_Bool SAL_CALL getReplaceCellsWarning () override
 
virtual void SAL_CALL setReplaceCellsWarning (sal_Bool p1) 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
 

Private Member Functions

bool getPropertyBool (const OUString &aPropertyName)
 
sal_Int16 getPropertyInt16 (const OUString &aPropertyName)
 
void setProperty (const OUString &aPropertyName, bool p1)
 
void setProperty (const OUString &aPropertyName, sal_Int16 p1)
 

Private Attributes

SfxItemPropertySet aPropSet
 

Detailed Description

Definition at line 47 of file appluno.hxx.

Constructor & Destructor Documentation

◆ ScSpreadsheetSettings()

ScSpreadsheetSettings::ScSpreadsheetSettings ( )

Definition at line 90 of file appluno.cxx.

◆ ~ScSpreadsheetSettings()

ScSpreadsheetSettings::~ScSpreadsheetSettings ( )
overridevirtual

Definition at line 95 of file appluno.cxx.

Member Function Documentation

◆ addPropertyChangeListener()

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

◆ addVetoableChangeListener()

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

◆ getDoAutoComplete()

virtual sal_Bool SAL_CALL ScSpreadsheetSettings::getDoAutoComplete ( )
inlineoverridevirtual

Definition at line 110 of file appluno.hxx.

References getPropertyBool().

◆ getEnterEdit()

virtual sal_Bool SAL_CALL ScSpreadsheetSettings::getEnterEdit ( )
inlineoverridevirtual

Definition at line 78 of file appluno.hxx.

References getPropertyBool().

◆ getExpandReferences()

virtual sal_Bool SAL_CALL ScSpreadsheetSettings::getExpandReferences ( )
inlineoverridevirtual

Definition at line 90 of file appluno.hxx.

References getPropertyBool().

◆ getExtendFormat()

virtual sal_Bool SAL_CALL ScSpreadsheetSettings::getExtendFormat ( )
inlineoverridevirtual

Definition at line 82 of file appluno.hxx.

References getPropertyBool().

◆ getImplementationName()

virtual OUString SAL_CALL ScSpreadsheetSettings::getImplementationName ( )
overridevirtual

◆ getLinkUpdateMode()

virtual sal_Int16 SAL_CALL ScSpreadsheetSettings::getLinkUpdateMode ( )
inlineoverridevirtual

Definition at line 127 of file appluno.hxx.

References getPropertyInt16().

◆ getMarkHeader()

virtual sal_Bool SAL_CALL ScSpreadsheetSettings::getMarkHeader ( )
inlineoverridevirtual

Definition at line 94 of file appluno.hxx.

References getPropertyBool().

◆ getMetric()

virtual sal_Int16 SAL_CALL ScSpreadsheetSettings::getMetric ( )
inlineoverridevirtual

Definition at line 102 of file appluno.hxx.

References getPropertyInt16().

◆ getMoveDirection()

virtual sal_Int16 SAL_CALL ScSpreadsheetSettings::getMoveDirection ( )
inlineoverridevirtual

Definition at line 74 of file appluno.hxx.

References getPropertyInt16().

◆ getMoveSelection()

virtual sal_Bool SAL_CALL ScSpreadsheetSettings::getMoveSelection ( )
inlineoverridevirtual

Definition at line 70 of file appluno.hxx.

References getPropertyBool().

◆ getPrintAllSheets()

virtual sal_Bool SAL_CALL ScSpreadsheetSettings::getPrintAllSheets ( )
inlineoverridevirtual

Definition at line 131 of file appluno.hxx.

References getPropertyBool().

◆ getPrintEmptyPages()

virtual sal_Bool SAL_CALL ScSpreadsheetSettings::getPrintEmptyPages ( )
inlineoverridevirtual

Definition at line 135 of file appluno.hxx.

References getPropertyBool().

◆ getPropertyBool()

bool ScSpreadsheetSettings::getPropertyBool ( const OUString &  aPropertyName)
private

◆ getPropertyInt16()

sal_Int16 ScSpreadsheetSettings::getPropertyInt16 ( const OUString &  aPropertyName)
private
Exceptions
css::uno::RuntimeException

Definition at line 117 of file appluno.cxx.

References any, and getPropertyValue().

Referenced by getLinkUpdateMode(), getMetric(), getMoveDirection(), getScale(), and getStatusBarFunction().

◆ getPropertySetInfo()

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

Definition at line 127 of file appluno.cxx.

References aPropSet, and SfxItemPropertySet::getPropertyMap().

◆ getPropertyValue()

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

◆ getRangeFinder()

virtual sal_Bool SAL_CALL ScSpreadsheetSettings::getRangeFinder ( )
inlineoverridevirtual

Definition at line 86 of file appluno.hxx.

References getPropertyBool().

◆ getReplaceCellsWarning()

virtual sal_Bool SAL_CALL ScSpreadsheetSettings::getReplaceCellsWarning ( )
inlineoverridevirtual

Definition at line 143 of file appluno.hxx.

References getPropertyBool().

◆ getScale()

virtual sal_Int16 SAL_CALL ScSpreadsheetSettings::getScale ( )
inlineoverridevirtual

Definition at line 106 of file appluno.hxx.

References getPropertyInt16().

◆ getStatusBarFunction()

virtual sal_Int16 SAL_CALL ScSpreadsheetSettings::getStatusBarFunction ( )
inlineoverridevirtual

Definition at line 114 of file appluno.hxx.

References getPropertyInt16().

◆ getSupportedServiceNames()

virtual css::uno::Sequence< OUString > SAL_CALL ScSpreadsheetSettings::getSupportedServiceNames ( )
overridevirtual

◆ getUsePrinterMetrics()

virtual sal_Bool SAL_CALL ScSpreadsheetSettings::getUsePrinterMetrics ( )
inlineoverridevirtual

Definition at line 139 of file appluno.hxx.

References getPropertyBool().

◆ getUserLists()

virtual css::uno::Sequence< OUString > SAL_CALL ScSpreadsheetSettings::getUserLists ( )
inlineoverridevirtual

Definition at line 118 of file appluno.hxx.

References any, and getPropertyValue().

◆ getUseTabCol()

virtual sal_Bool SAL_CALL ScSpreadsheetSettings::getUseTabCol ( )
inlineoverridevirtual

Definition at line 98 of file appluno.hxx.

References getPropertyBool().

◆ removePropertyChangeListener()

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

◆ removeVetoableChangeListener()

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

◆ setDoAutoComplete()

virtual void SAL_CALL ScSpreadsheetSettings::setDoAutoComplete ( sal_Bool  p1)
inlineoverridevirtual

Definition at line 112 of file appluno.hxx.

References setProperty().

◆ setEnterEdit()

virtual void SAL_CALL ScSpreadsheetSettings::setEnterEdit ( sal_Bool  p1)
inlineoverridevirtual

Definition at line 80 of file appluno.hxx.

References setProperty().

◆ setExpandReferences()

virtual void SAL_CALL ScSpreadsheetSettings::setExpandReferences ( sal_Bool  p1)
inlineoverridevirtual

Definition at line 92 of file appluno.hxx.

References setProperty().

◆ setExtendFormat()

virtual void SAL_CALL ScSpreadsheetSettings::setExtendFormat ( sal_Bool  p1)
inlineoverridevirtual

Definition at line 84 of file appluno.hxx.

References setProperty().

◆ setLinkUpdateMode()

virtual void SAL_CALL ScSpreadsheetSettings::setLinkUpdateMode ( sal_Int16  p1)
inlineoverridevirtual

Definition at line 129 of file appluno.hxx.

References setProperty().

◆ setMarkHeader()

virtual void SAL_CALL ScSpreadsheetSettings::setMarkHeader ( sal_Bool  p1)
inlineoverridevirtual

Definition at line 96 of file appluno.hxx.

References setProperty().

◆ setMetric()

virtual void SAL_CALL ScSpreadsheetSettings::setMetric ( sal_Int16  p1)
inlineoverridevirtual

Definition at line 104 of file appluno.hxx.

References setProperty().

◆ setMoveDirection()

virtual void SAL_CALL ScSpreadsheetSettings::setMoveDirection ( sal_Int16  p1)
inlineoverridevirtual

Definition at line 76 of file appluno.hxx.

References setProperty().

◆ setMoveSelection()

virtual void SAL_CALL ScSpreadsheetSettings::setMoveSelection ( sal_Bool  p1)
inlineoverridevirtual

Definition at line 72 of file appluno.hxx.

References setProperty().

◆ setPrintAllSheets()

virtual void SAL_CALL ScSpreadsheetSettings::setPrintAllSheets ( sal_Bool  p1)
inlineoverridevirtual

Definition at line 133 of file appluno.hxx.

References setProperty().

◆ setPrintEmptyPages()

virtual void SAL_CALL ScSpreadsheetSettings::setPrintEmptyPages ( sal_Bool  p1)
inlineoverridevirtual

Definition at line 137 of file appluno.hxx.

References setProperty().

◆ setProperty() [1/2]

void ScSpreadsheetSettings::setProperty ( const OUString &  aPropertyName,
bool  p1 
)
inlineprivate

◆ setProperty() [2/2]

void ScSpreadsheetSettings::setProperty ( const OUString &  aPropertyName,
sal_Int16  p1 
)
inlineprivate
Exceptions
css::uno::RuntimeException

Definition at line 63 of file appluno.hxx.

References setPropertyValue().

◆ setPropertyValue()

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

Definition at line 135 of file appluno.cxx.

References aSeq, ScUserList::clear(), ScUserList::emplace_back(), eType, ScModule::GetAppOptions(), ScUnoHelpFunctions::GetBoolFromAny(), ScModule::GetInputOptions(), ScUnoHelpFunctions::GetInt16FromAny(), ScModule::GetPrintOptions(), ScGlobal::GetUserList(), LM_UNKNOWN, MAXZOOM, MINZOOM, n, SC_MOD, SC_UNONAME_DOAUTOCP, SC_UNONAME_ENTERED, SC_UNONAME_EXPREF, SC_UNONAME_EXTFMT, SC_UNONAME_LINKUPD, SC_UNONAME_MARKHDR, SC_UNONAME_METRIC, SC_UNONAME_MOVEDIR, SC_UNONAME_MOVESEL, SC_UNONAME_PRALLSH, SC_UNONAME_PREMPTY, SC_UNONAME_PRMETRICS, SC_UNONAME_RANGEFIN, SC_UNONAME_REPLWARN, SC_UNONAME_SCALE, SC_UNONAME_STBFUNC, SC_UNONAME_ULISTS, SC_UNONAME_USETABCOL, SC_ZOOMVAL_OPTIMAL, SC_ZOOMVAL_PAGEWIDTH, SC_ZOOMVAL_WHOLEPAGE, ScPrintOptions::SetAllSheets(), ScAppOptions::SetAppMetric(), ScModule::SetAppOptions(), ScAppOptions::SetAutoComplete(), ScInputOptions::SetEnterEdit(), ScInputOptions::SetExpandRefs(), ScInputOptions::SetExtendFormat(), ScModule::SetInputOptions(), ScAppOptions::SetLinkMode(), ScInputOptions::SetMarkHeader(), ScInputOptions::SetMoveDir(), ScInputOptions::SetMoveSelection(), ScModule::SetPrintOptions(), ScInputOptions::SetRangeFinder(), ScInputOptions::SetReplaceCellsWarn(), ScPrintOptions::SetSkipEmpty(), ScAppOptions::SetStatusFunc(), ScInputOptions::SetTextWysiwyg(), ScInputOptions::SetUseTabCol(), ScAppOptions::SetZoom(), ScAppOptions::SetZoomType(), and SfxGetpApp().

Referenced by setProperty(), and setUserLists().

◆ setRangeFinder()

virtual void SAL_CALL ScSpreadsheetSettings::setRangeFinder ( sal_Bool  p1)
inlineoverridevirtual

Definition at line 88 of file appluno.hxx.

References setProperty().

◆ setReplaceCellsWarning()

virtual void SAL_CALL ScSpreadsheetSettings::setReplaceCellsWarning ( sal_Bool  p1)
inlineoverridevirtual

Definition at line 145 of file appluno.hxx.

References setProperty().

◆ setScale()

virtual void SAL_CALL ScSpreadsheetSettings::setScale ( sal_Int16  p1)
inlineoverridevirtual

Definition at line 108 of file appluno.hxx.

References setProperty().

◆ setStatusBarFunction()

virtual void SAL_CALL ScSpreadsheetSettings::setStatusBarFunction ( sal_Int16  p1)
inlineoverridevirtual

Definition at line 116 of file appluno.hxx.

References setProperty().

◆ setUsePrinterMetrics()

virtual void SAL_CALL ScSpreadsheetSettings::setUsePrinterMetrics ( sal_Bool  p1)
inlineoverridevirtual

Definition at line 141 of file appluno.hxx.

References setProperty().

◆ setUserLists()

virtual void SAL_CALL ScSpreadsheetSettings::setUserLists ( const css::uno::Sequence< OUString > &  p1)
inlineoverridevirtual

Definition at line 125 of file appluno.hxx.

References setPropertyValue().

◆ setUseTabCol()

virtual void SAL_CALL ScSpreadsheetSettings::setUseTabCol ( sal_Bool  p1)
inlineoverridevirtual

Definition at line 100 of file appluno.hxx.

References setProperty().

◆ supportsService()

virtual sal_Bool SAL_CALL ScSpreadsheetSettings::supportsService ( const OUString &  ServiceName)
overridevirtual

Member Data Documentation

◆ aPropSet

SfxItemPropertySet ScSpreadsheetSettings::aPropSet
private

Definition at line 53 of file appluno.hxx.

Referenced by getPropertySetInfo().


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