23#include <com/sun/star/lang/XServiceInfo.hpp>
24#include <com/sun/star/beans/XPropertySet.hpp>
25#include <com/sun/star/sheet/XRecentFunctions.hpp>
26#include <com/sun/star/sheet/XFunctionDescriptions.hpp>
27#include <com/sun/star/sheet/XGlobalSheetSettings.hpp>
28#include <com/sun/star/container/XEnumerationAccess.hpp>
29#include <com/sun/star/container/XNameAccess.hpp>
31#include <rtl/ustring.hxx>
36css::uno::Reference<css::uno::XInterface>
38 const css::uno::Reference< css::lang::XMultiServiceFactory>& rSMgr );
39css::uno::Reference<css::uno::XInterface> SAL_CALL
41 const css::uno::Reference< css::lang::XMultiServiceFactory>& rSMgr );
42css::uno::Reference<css::uno::XInterface> SAL_CALL
44 const css::uno::Reference< css::lang::XMultiServiceFactory>& rSMgr );
48 css::sheet::XGlobalSheetSettings,
49 css::beans::XPropertySet,
50 css::lang::XServiceInfo>
73 {
setProperty(
"MoveSelection",
static_cast<bool>(p1)); }
81 {
setProperty(
"EnterEdit",
static_cast<bool>(p1)); }
85 {
setProperty(
"ExtendFormat",
static_cast<bool>(p1)); }
89 {
setProperty(
"RangeFinder",
static_cast<bool>(p1)); }
93 {
setProperty(
"ExpandReferences",
static_cast<bool>(p1)); }
97 {
setProperty(
"MarkHeader",
static_cast<bool>(p1)); }
101 {
setProperty(
"UseTabCol",
static_cast<bool>(p1)); }
108 virtual void SAL_CALL
setScale(sal_Int16 p1)
override
113 {
setProperty(
"DoAutoComplete",
static_cast<bool>(p1)); }
121 css::uno::Sequence<OUString> b;
125 virtual void SAL_CALL
setUserLists(
const css::uno::Sequence<OUString>& p1)
override
134 {
setProperty(
"PrintAllSheets",
static_cast<bool>(p1)); }
138 {
setProperty(
"PrintEmptyPages",
static_cast<bool>(p1)); }
142 {
setProperty(
"UsePrinterMetrics",
static_cast<bool>(p1)); }
146 {
setProperty(
"ReplaceCellsWarning",
static_cast<bool>(p1)); }
149 virtual css::uno::Reference< css::beans::XPropertySetInfo >
152 const css::uno::Any& aValue )
override;
154 const OUString& PropertyName )
override;
156 const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener )
override;
158 const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener )
override;
160 const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
162 const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
171 css::sheet::XRecentFunctions,
172 css::lang::XServiceInfo>
180 virtual void SAL_CALL
setRecentFunctionIds(
const css::uno::Sequence< sal_Int32 >& aRecentFunctionIds )
override;
190 css::sheet::XFunctionDescriptions,
191 css::container::XEnumerationAccess,
192 css::container::XNameAccess,
193 css::lang::XServiceInfo>
200 virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL
204 virtual css::uno::Any SAL_CALL
getByName(
const OUString&
aName )
override;
205 virtual css::uno::Sequence< OUString > SAL_CALL
getElementNames()
override;
209 virtual sal_Int32 SAL_CALL
getCount()
override;
213 virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL
css::uno::Reference< css::uno::XInterface > SAL_CALL ScRecentFunctionsObj_CreateInstance(const css::uno::Reference< css::lang::XMultiServiceFactory > &rSMgr)
css::uno::Reference< css::uno::XInterface > SAL_CALL ScFunctionListObj_CreateInstance(const css::uno::Reference< css::lang::XMultiServiceFactory > &rSMgr)
css::uno::Reference< css::uno::XInterface > ScSpreadsheetSettings_CreateInstance(const css::uno::Reference< css::lang::XMultiServiceFactory > &rSMgr)
virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 Index) override
virtual sal_Bool SAL_CALL hasElements() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual sal_Bool SAL_CALL hasByName(const OUString &aName) override
virtual sal_Int32 SAL_CALL getCount() override
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames() override
virtual OUString SAL_CALL getImplementationName() override
virtual css::uno::Any SAL_CALL getByName(const OUString &aName) override
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() override
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getById(sal_Int32 nId) override
virtual css::uno::Type SAL_CALL getElementType() override
virtual ~ScFunctionListObj() override
virtual css::uno::Sequence< sal_Int32 > SAL_CALL getRecentFunctionIds() override
virtual sal_Int32 SAL_CALL getMaxRecentFunctions() override
virtual OUString SAL_CALL getImplementationName() override
virtual ~ScRecentFunctionsObj() override
virtual void SAL_CALL setRecentFunctionIds(const css::uno::Sequence< sal_Int32 > &aRecentFunctionIds) override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual sal_Int16 SAL_CALL getMoveDirection() override
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
bool getPropertyBool(const OUString &aPropertyName)
virtual sal_Bool SAL_CALL getReplaceCellsWarning() override
virtual sal_Bool SAL_CALL getDoAutoComplete() override
virtual void SAL_CALL setPrintAllSheets(sal_Bool p1) override
virtual ~ScSpreadsheetSettings() override
virtual void SAL_CALL setReplaceCellsWarning(sal_Bool p1) override
virtual void SAL_CALL setScale(sal_Int16 p1) override
virtual sal_Bool SAL_CALL getExpandReferences() override
virtual void SAL_CALL setMetric(sal_Int16 p1) override
virtual sal_Bool SAL_CALL getPrintEmptyPages() override
virtual OUString SAL_CALL getImplementationName() override
virtual sal_Int16 SAL_CALL getMetric() override
virtual sal_Bool SAL_CALL getUseTabCol() override
virtual sal_Bool SAL_CALL getMarkHeader() override
void setProperty(const OUString &aPropertyName, bool p1)
virtual sal_Int16 SAL_CALL getScale() override
virtual void SAL_CALL setUserLists(const css::uno::Sequence< OUString > &p1) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
virtual sal_Bool SAL_CALL getExtendFormat() override
virtual sal_Int16 SAL_CALL getStatusBarFunction() override
virtual sal_Bool SAL_CALL getUsePrinterMetrics() override
virtual sal_Bool SAL_CALL getRangeFinder() override
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
virtual sal_Bool SAL_CALL getMoveSelection() override
virtual void SAL_CALL setUsePrinterMetrics(sal_Bool p1) override
virtual void SAL_CALL setLinkUpdateMode(sal_Int16 p1) override
virtual void SAL_CALL setRangeFinder(sal_Bool p1) override
virtual sal_Bool SAL_CALL getPrintAllSheets() override
virtual void SAL_CALL setMarkHeader(sal_Bool p1) override
virtual void SAL_CALL setMoveDirection(sal_Int16 p1) override
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
sal_Int16 getPropertyInt16(const OUString &aPropertyName)
virtual void SAL_CALL setDoAutoComplete(sal_Bool p1) override
virtual void SAL_CALL setExtendFormat(sal_Bool p1) override
virtual css::uno::Sequence< OUString > SAL_CALL getUserLists() override
SfxItemPropertySet aPropSet
virtual sal_Bool SAL_CALL getEnterEdit() override
virtual sal_Int16 SAL_CALL getLinkUpdateMode() override
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
virtual void SAL_CALL setUseTabCol(sal_Bool p1) override
virtual void SAL_CALL setMoveSelection(sal_Bool p1) override
virtual void SAL_CALL setExpandReferences(sal_Bool p1) override
virtual void SAL_CALL setStatusBarFunction(sal_Int16 p1) override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
void setProperty(const OUString &aPropertyName, sal_Int16 p1)
virtual void SAL_CALL setEnterEdit(sal_Bool p1) override
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
virtual void SAL_CALL setPrintEmptyPages(sal_Bool p1) override
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override