10#ifndef INCLUDED_TEST_SHEET_XFORMULAQUERY_HXX
11#define INCLUDED_TEST_SHEET_XFORMULAQUERY_HXX
13#include <com/sun/star/table/XCell.hpp>
14#include <com/sun/star/table/CellRangeAddress.hpp>
15#include <com/sun/star/uno/XInterface.hpp>
16#include <com/sun/star/uno/Reference.hxx>
26 css::table::CellRangeAddress aCellRangeAddressPrecedents,
27 unsigned int nIdxDependents = 1,
unsigned int nIdxPrecedents = 1)
28 : m_aCellRangeAddressDependents(aCellRangeAddressDependents)
29 , m_aCellRangeAddressPrecedents(aCellRangeAddressPrecedents)
30 , m_nIdxDependents(nIdxDependents)
31 , m_nIdxPrecedents(nIdxPrecedents)
35 virtual css::uno::Reference<css::uno::XInterface>
init() = 0;
37 void setXCell(css::uno::Reference<css::table::XCell> xCell) { m_xCell = xCell; }
38 css::uno::Reference<css::table::XCell>
const&
getXCell()
const {
return m_xCell; }
40 void testQueryDependents();
41 void testQueryPrecedents();
47 css::uno::Reference<css::table::XCell>
m_xCell;
#define OOO_DLLPUBLIC_TEST