summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2013-04-15 15:12:39 +0100
committerNoel Power <noel.power@suse.com>2013-05-09 14:42:46 +0100
commitbc5c14b2930aee05929ed525798a2704248f4ef6 (patch)
tree27be69ec3749ed9f0b284b581f70dcaa43447c77 /sc
parentb8541c55cf930a11164417be7e4aee5c1fb31f91 (diff)
bnc#813528 stub out some missing XPageSetup api
(cherry picked from commit 7b542db859221cae585df458fd9f330d4b11d142) Change-Id: I105ca73f9f99013c4472ae2d7491fbc67e435015
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/vba/vbapagesetup.cxx27
-rw-r--r--sc/source/ui/vba/vbapagesetup.hxx6
2 files changed, 32 insertions, 1 deletions
diff --git a/sc/source/ui/vba/vbapagesetup.cxx b/sc/source/ui/vba/vbapagesetup.cxx
index f39db810cf7a..72e260a61ebc 100644
--- a/sc/source/ui/vba/vbapagesetup.cxx
+++ b/sc/source/ui/vba/vbapagesetup.cxx
@@ -598,7 +598,32 @@ void SAL_CALL ScVbaPageSetup::setPrintHeadings( sal_Bool printHeadings) throw (c
}
}
-rtl::OUString
+::sal_Bool SAL_CALL ScVbaPageSetup::getPrintGridlines() throw (uno::RuntimeException)
+{
+ return sal_False;
+}
+
+void SAL_CALL ScVbaPageSetup::setPrintGridlines( ::sal_Bool /*_printgridlines*/ ) throw (uno::RuntimeException)
+{
+}
+
+OUString SAL_CALL ScVbaPageSetup::getPrintTitleRows() throw (uno::RuntimeException)
+{
+ return OUString();
+}
+void SAL_CALL ScVbaPageSetup::setPrintTitleRows( const OUString& /*_printtitlerows*/ ) throw (css::uno::RuntimeException)
+{
+}
+OUString SAL_CALL ScVbaPageSetup::getPrintTitleColumns() throw (uno::RuntimeException)
+{
+ return OUString();
+}
+
+void SAL_CALL ScVbaPageSetup::setPrintTitleColumns( const OUString& /*_printtitlecolumns*/ ) throw (uno::RuntimeException)
+{
+}
+
+OUString
ScVbaPageSetup::getServiceImplName()
{
return rtl::OUString("ScVbaPageSetup");
diff --git a/sc/source/ui/vba/vbapagesetup.hxx b/sc/source/ui/vba/vbapagesetup.hxx
index 38ca4613a6a0..9431c75f2c30 100644
--- a/sc/source/ui/vba/vbapagesetup.hxx
+++ b/sc/source/ui/vba/vbapagesetup.hxx
@@ -75,6 +75,12 @@ public:
virtual sal_Bool SAL_CALL getPrintHeadings() throw (css::uno::RuntimeException);
virtual void SAL_CALL setPrintHeadings( sal_Bool printHeadings ) 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();