11#include <com/sun/star/sheet/XDataPilotTable.hpp>
12#include <com/sun/star/table/CellRangeAddress.hpp>
15using namespace css::uno;
21 uno::Reference<sheet::XDataPilotTable> xDPTable(
init(), UNO_QUERY_THROW);
23 table::CellRangeAddress aRange = xDPTable->getOutputRange();
24 CPPUNIT_ASSERT_EQUAL(sal_Int16(0), aRange.Sheet);
25 CPPUNIT_ASSERT_EQUAL(sal_Int32(7), aRange.StartColumn);
26 CPPUNIT_ASSERT_EQUAL(sal_Int32(8), aRange.StartRow);
31 uno::Reference<sheet::XDataPilotTable> xDPTable(
init(), UNO_QUERY_THROW);
32 std::cout <<
"xCellForChange: Old Value: " <<
xCellForChange->getValue() << std::endl;
33 std::cout <<
"xCellForCheck: Old Value: " <<
xCellForCheck->getValue() << std::endl;
39 std::cout <<
"xCellForChange: Old Value: " <<
xCellForChange->getValue() << std::endl;
40 std::cout <<
"xCellForCheck: Old Value: " <<
xCellForCheck->getValue() << std::endl;
42 CPPUNIT_ASSERT_MESSAGE(
"value needs to change", aOldData != aNewData);
css::uno::Reference< css::table::XCell > xCellForChange
virtual ~XDataPilotTable()
virtual css::uno::Reference< css::uno::XInterface > init()=0
void testGetOutputRange()
css::uno::Reference< css::table::XCell > xCellForCheck