summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorArtur Dorda <artur.dorda+libo@gmail.com>2012-04-15 02:20:16 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-04-17 21:02:18 +0200
commita48195f4c24cd20a79514b608a1eae40baff9ed1 (patch)
treef04defd008369e0f24b457841036755fc2a43c91 /sc
parent738ff483a5f5627aa482ec944c66f8ebcf201b39 (diff)
transferring java XPrintAreas to c++
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/extras/sctablesheetobj.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/sc/qa/extras/sctablesheetobj.cxx b/sc/qa/extras/sctablesheetobj.cxx
index 0f1d79a4dd26..28b4d2b3f24c 100644
--- a/sc/qa/extras/sctablesheetobj.cxx
+++ b/sc/qa/extras/sctablesheetobj.cxx
@@ -29,6 +29,7 @@
#include <test/unoapi_test.hxx>
#include <test/util/xreplaceable.hxx>
#include <test/util/xsearchable.hxx>
+#include <test/sheet/xprintareas.hxx>
#include <com/sun/star/sheet/XSpreadsheetDocument.hpp>
#include <com/sun/star/sheet/XSpreadsheet.hpp>
@@ -36,7 +37,7 @@
namespace sc_apitest
{
-class ScTableSheetObj : public UnoApiTest, apitest::XSearchable, apitest::XReplaceable
+class ScTableSheetObj : public UnoApiTest, apitest::XSearchable, apitest::XReplaceable, apitest::XPrintAreas
{
public:
ScTableSheetObj();
@@ -49,6 +50,9 @@ public:
CPPUNIT_TEST(testFindFirst);
CPPUNIT_TEST(testReplaceAll);
CPPUNIT_TEST(testCreateReplaceDescriptor);
+ // XPrintAreas
+ CPPUNIT_TEST(testSetAndGetPrintTitleColumns);
+ CPPUNIT_TEST(testSetAndGetPrintTitleRows);
CPPUNIT_TEST_SUITE_END();
private: