summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2013-04-15 15:01:49 +0100
committerNoel Power <noel.power@suse.com>2013-04-15 15:01:49 +0100
commit7b542db859221cae585df458fd9f330d4b11d142 (patch)
treeee1e602608297f7acd54918f349a6ab812759a94 /sc
parent70aff4a7f7abe0c768238733ca8900b746e60189 (diff)
bnc#813528 stub out some missing XPageSetup api
Change-Id: I992a444c844d4103fcf3dd762aaeec85dc4c011d
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/vba/vbapagesetup.cxx26
-rw-r--r--sc/source/ui/vba/vbapagesetup.hxx7
2 files changed, 32 insertions, 1 deletions
diff --git a/sc/source/ui/vba/vbapagesetup.cxx b/sc/source/ui/vba/vbapagesetup.cxx
index fe0403c056b9..86d09a0924eb 100644
--- a/sc/source/ui/vba/vbapagesetup.cxx
+++ b/sc/source/ui/vba/vbapagesetup.cxx
@@ -728,4 +728,30 @@ void SAL_CALL ScVbaPageSetup::setPaperSize( sal_Int32 paperSize) throw (css::uno
{
}
}
+
+::sal_Bool SAL_CALL ScVbaPageSetup::getPrintGridlines() throw (uno::RuntimeException)
+{
+ return false;
+}
+
+void SAL_CALL ScVbaPageSetup::setPrintGridlines( ::sal_Bool /*_printgridlines*/ ) throw (uno::RuntimeException)
+{
+}
+
+::rtl::OUString SAL_CALL ScVbaPageSetup::getPrintTitleRows() throw (uno::RuntimeException)
+{
+ return ::rtl::OUString();
+}
+void SAL_CALL ScVbaPageSetup::setPrintTitleRows( const ::rtl::OUString& /*_printtitlerows*/ ) throw (css::uno::RuntimeException)
+{
+}
+::rtl::OUString SAL_CALL ScVbaPageSetup::getPrintTitleColumns() throw (uno::RuntimeException)
+{
+ return ::rtl::OUString();
+}
+
+void SAL_CALL ScVbaPageSetup::setPrintTitleColumns( const ::rtl::OUString& /*_printtitlecolumns*/ ) throw (uno::RuntimeException)
+{
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/vba/vbapagesetup.hxx b/sc/source/ui/vba/vbapagesetup.hxx
index fb234200aec1..da73b336376b 100644
--- a/sc/source/ui/vba/vbapagesetup.hxx
+++ b/sc/source/ui/vba/vbapagesetup.hxx
@@ -85,7 +85,12 @@ public:
virtual void SAL_CALL setPrintHeadings( sal_Bool printHeadings ) throw (css::uno::RuntimeException);
virtual sal_Int32 SAL_CALL getPaperSize() throw (css::uno::RuntimeException);
virtual void SAL_CALL setPaperSize( sal_Int32 paperSize ) throw (css::uno::RuntimeException);
-
+ virtual ::sal_Bool SAL_CALL getPrintGridlines() throw (css::uno::RuntimeException);
+ virtual void SAL_CALL setPrintGridlines( ::sal_Bool _printgridlines ) throw (css::uno::RuntimeException);
+ virtual ::rtl::OUString SAL_CALL getPrintTitleRows() throw (css::uno::RuntimeException);
+ virtual void SAL_CALL setPrintTitleRows( const ::rtl::OUString& _printtitlerows ) throw (css::uno::RuntimeException);
+ virtual ::rtl::OUString SAL_CALL getPrintTitleColumns() throw (css::uno::RuntimeException);
+ virtual void SAL_CALL setPrintTitleColumns( const ::rtl::OUString& _printtitlecolumns ) throw (css::uno::RuntimeException);
// XHelperInterface
virtual rtl::OUString getServiceImplName();
virtual css::uno::Sequence<rtl::OUString> getServiceNames();