11#include <com/sun/star/sheet/XPrintAreas.hpp>
13#include <cppunit/TestAssert.h>
16using namespace css::uno;
22 uno::Reference< sheet::XPrintAreas > xPrintAreas(
init(), UNO_QUERY_THROW);
23 xPrintAreas->setPrintTitleColumns(
true);
25 CPPUNIT_ASSERT_MESSAGE(
"Wrong attribution at PrintTitleColumns", xPrintAreas->getPrintTitleColumns());
31 uno::Reference< sheet::XPrintAreas > xPrintAreas(
init(), UNO_QUERY_THROW);
32 xPrintAreas->setPrintTitleRows(
true);
34 CPPUNIT_ASSERT_MESSAGE(
"Wrong attribution at PrintTitleRows", xPrintAreas->getPrintTitleRows());
void testSetAndGetPrintTitleRows()
virtual css::uno::Reference< css::uno::XInterface > init()=0
void testSetAndGetPrintTitleColumns()