namespace com::sun::star::sheet { class XSpreadsheetDocument; } namespace com::sun::star::table { class XCellRange; }
namespace calc
{
//= OCellListSource
class OCellListSource; // the base for our interfaces typedef ::comphelper::WeakComponentImplHelper < css::form::binding::XListEntryTypedSource
, css::util::XModifyListener
, css::lang::XServiceInfo
, css::lang::XInitialization
> OCellListSource_Base; // the base for the property handling typedef ::comphelper::OPropertyContainer2 OCellListSource_PBase; // the second base for property handling typedef ::comphelper::OPropertyArrayUsageHelper< OCellListSource >
OCellListSource_PABase;
class OCellListSource :public OCellListSource_Base // order matters! before OCellListSource_PBase, so rBHelper gets initialized
,public OCellListSource_PBase
,public OCellListSource_PABase
{ private:
css::uno::Reference< css::sheet::XSpreadsheetDocument >
m_xDocument; /// the document where our cell lives
css::uno::Reference< css::table::XCellRange >
m_xRange; /// the range of cells we're bound to
::comphelper::OInterfaceContainerHelper4<css::form::binding::XListEntryListener>
m_aListEntryListeners; /// our listeners bool m_bInitialized; /// has XInitialization::initialize been called?
/** retrieves the actual address of our cell range @precond ourm_xRangeisnot<NULL/>
*/
css::table::CellRangeAddress
getRangeAddress( ) const;
/** retrieves the text of a cell within our range @param_nRangeRelativeRow therelativerowindexofthecellwithinourrange @parampAny ifnot<NULL/>thentheunderlyingdatavalueisreturnedintheAny @precond ourm_xRangeisnot<NULL/>
*/
OUString
getCellTextContent_noCheck(
std::unique_lock<std::mutex>& rGuard,
sal_Int32 _nRangeRelativeRow,
css::uno::Any* pAny
);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.