20#ifndef INCLUDED_SW_INC_UNOTBL_HXX
21#define INCLUDED_SW_INC_UNOTBL_HXX
23#include <com/sun/star/lang/XUnoTunnel.hpp>
24#include <com/sun/star/container/XNamed.hpp>
25#include <com/sun/star/container/XEnumerationAccess.hpp>
26#include <com/sun/star/util/XSortable.hpp>
27#include <com/sun/star/chart/XChartDataArray.hpp>
28#include <com/sun/star/text/XTextTableCursor.hpp>
29#include <com/sun/star/text/XTextTable.hpp>
30#include <com/sun/star/table/XCellRange.hpp>
31#include <com/sun/star/sheet/XCellRangeData.hpp>
32#include <com/sun/star/table/XAutoFormattable.hpp>
55 css::lang::XServiceInfo,
56 css::beans::XPropertySet,
57 css::container::XEnumerationAccess
65 bool bKeepNumberFormat );
90 virtual css::uno::Any SAL_CALL
queryInterface(
const css::uno::Type& aType )
override;
91 virtual void SAL_CALL
acquire( ) noexcept override;
92 virtual
void SAL_CALL
release( ) noexcept override;
99 virtual OUString SAL_CALL
getFormula( ) override;
100 virtual
void SAL_CALL
setFormula( const OUString& aFormula ) override;
101 virtual
double SAL_CALL
getValue( ) override;
105 virtual void SAL_CALL
setValue(
double nValue )
override;
106 virtual css::table::CellContentType SAL_CALL
getType( )
override;
107 virtual sal_Int32 SAL_CALL
getError( )
override;
112 const ::css::uno::Reference< ::css::text::XTextRange >& aTextPosition )
override;
113 virtual void SAL_CALL
setString(
const OUString& aString)
override;
116 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL
getPropertySetInfo( )
override;
117 virtual void SAL_CALL
setPropertyValue(
const OUString& aPropertyName,
const css::uno::Any& aValue )
override;
118 virtual css::uno::Any SAL_CALL
getPropertyValue(
const OUString& PropertyName )
override;
119 virtual void SAL_CALL
addPropertyChangeListener(
const OUString& aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener )
override;
120 virtual void SAL_CALL
removePropertyChangeListener(
const OUString& aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener )
override;
121 virtual void SAL_CALL
addVetoableChangeListener(
const OUString& PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
122 virtual void SAL_CALL
removeVetoableChangeListener(
const OUString& PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
130 virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL
createEnumeration()
override;
141 css::uno::Any
GetAny()
const;
145 :
public cppu::WeakImplHelper<css::beans::XPropertySet, css::lang::XServiceInfo>
161 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL
getPropertySetInfo( )
override;
162 virtual void SAL_CALL
setPropertyValue(
const OUString& aPropertyName,
const css::uno::Any& aValue )
override;
163 virtual css::uno::Any SAL_CALL
getPropertyValue(
const OUString& PropertyName )
override;
164 virtual void SAL_CALL
addPropertyChangeListener(
const OUString& aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener )
override;
165 virtual void SAL_CALL
removePropertyChangeListener(
const OUString& aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener )
override;
166 virtual void SAL_CALL
addVetoableChangeListener(
const OUString& PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
167 virtual void SAL_CALL
removeVetoableChangeListener(
const OUString& PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
179typedef cppu::WeakImplHelper<
180 css::text::XTextTableCursor,
181 css::lang::XServiceInfo,
186 ,
public OTextCursorHelper
195 virtual void SAL_CALL release() noexcept override;
198 virtual OUString SAL_CALL getRangeName() override;
199 virtual
sal_Bool SAL_CALL gotoCellByName( const OUString& aCellName,
sal_Bool bExpand ) override;
200 virtual
sal_Bool SAL_CALL goLeft( sal_Int16 nCount,
sal_Bool bExpand ) override;
201 virtual
sal_Bool SAL_CALL goRight( sal_Int16 nCount,
sal_Bool bExpand ) override;
202 virtual
sal_Bool SAL_CALL goUp( sal_Int16 nCount,
sal_Bool bExpand ) override;
203 virtual
sal_Bool SAL_CALL goDown( sal_Int16 nCount,
sal_Bool bExpand ) override;
204 virtual
void SAL_CALL gotoStart(
sal_Bool bExpand ) override;
205 virtual
void SAL_CALL gotoEnd(
sal_Bool bExpand ) override;
206 virtual
sal_Bool SAL_CALL mergeRange() override;
207 virtual
sal_Bool SAL_CALL splitRange( sal_Int16 Count,
sal_Bool Horizontal ) override;
210 virtual css::
uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
211 virtual
void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::
uno::Any& aValue ) override;
212 virtual css::
uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) override;
213 virtual
void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const css::
uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override;
214 virtual
void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const css::
uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override;
215 virtual
void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const css::
uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
216 virtual
void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const css::
uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
219 virtual OUString SAL_CALL getImplementationName() override;
220 virtual
sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
221 virtual css::
uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
225 virtual const
SwPaM* GetPaM() const override;
226 virtual
SwPaM* GetPaM() override;
227 virtual const
SwDoc* GetDoc() const override;
228 virtual
SwDoc* GetDoc() override;
249 css::text::XTextTable,
250 css::lang::XServiceInfo,
251 css::table::XCellRange,
252 css::chart::XChartDataArray,
253 css::beans::XPropertySet,
254 css::container::XNamed,
255 css::table::XAutoFormattable,
256 css::util::XSortable,
257 css::sheet::XCellRangeData
272 static void GetCellPosition(std::u16string_view aCellName, sal_Int32& o_rColumn, sal_Int32& o_rRow);
277 virtual void SAL_CALL initialize( sal_Int32 nRows, sal_Int32 nColumns )
override;
278 virtual css::uno::Reference< css::table::XTableRows > SAL_CALL getRows( )
override;
279 virtual css::uno::Reference< css::table::XTableColumns > SAL_CALL getColumns( )
override;
280 virtual css::uno::Reference< css::table::XCell > SAL_CALL getCellByName(
const OUString& aCellName )
override;
281 virtual css::uno::Sequence< OUString > SAL_CALL getCellNames( )
override;
282 virtual css::uno::Reference< css::text::XTextTableCursor > SAL_CALL createCursorByCellName(
const OUString& aCellName )
override;
285 virtual void SAL_CALL attach(
const css::uno::Reference< css::text::XTextRange > & xTextRange)
override;
286 virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getAnchor( )
override;
289 virtual void SAL_CALL
dispose()
override;
290 virtual void SAL_CALL addEventListener(
const css::uno::Reference< css::lang::XEventListener > & aListener)
override;
291 virtual void SAL_CALL removeEventListener(
const css::uno::Reference< css::lang::XEventListener > & aListener)
override;
294 virtual css::uno::Reference< css::table::XCell > SAL_CALL getCellByPosition( sal_Int32 nColumn, sal_Int32 nRow )
override;
295 virtual css::uno::Reference< css::table::XCellRange > SAL_CALL getCellRangeByPosition( sal_Int32 nLeft, sal_Int32 nTop, sal_Int32 nRight, sal_Int32 nBottom )
override;
296 virtual css::uno::Reference< css::table::XCellRange > SAL_CALL getCellRangeByName(
const OUString& aRange )
override;
299 virtual css::uno::Sequence< css::uno::Sequence< double > > SAL_CALL getData( )
override;
300 virtual void SAL_CALL setData(
const css::uno::Sequence< css::uno::Sequence< double > >&
aData )
override;
301 virtual css::uno::Sequence< OUString > SAL_CALL getRowDescriptions( )
override;
302 virtual void SAL_CALL setRowDescriptions(
const css::uno::Sequence< OUString >& aRowDescriptions )
override;
303 virtual css::uno::Sequence< OUString > SAL_CALL getColumnDescriptions( )
override;
304 virtual void SAL_CALL setColumnDescriptions(
const css::uno::Sequence< OUString >& aColumnDescriptions )
override;
307 virtual void SAL_CALL addChartDataChangeEventListener(
const css::uno::Reference< css::chart::XChartDataChangeEventListener >& aListener )
override;
308 virtual void SAL_CALL removeChartDataChangeEventListener(
const css::uno::Reference< css::chart::XChartDataChangeEventListener >& aListener )
override;
309 virtual double SAL_CALL getNotANumber( )
override;
310 virtual sal_Bool SAL_CALL isNotANumber(
double nNumber )
override;
313 virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL createSortDescriptor()
override;
314 virtual void SAL_CALL sort(
const css::uno::Sequence< css::beans::PropertyValue >& xDescriptor)
override;
317 virtual void SAL_CALL autoFormat(
const OUString& aName)
override;
320 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( )
override;
321 virtual void SAL_CALL
setPropertyValue(
const OUString& aPropertyName,
const css::uno::Any& aValue )
override;
322 virtual css::uno::Any SAL_CALL
getPropertyValue(
const OUString& PropertyName )
override;
323 virtual void SAL_CALL addPropertyChangeListener(
const OUString& aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener )
override;
324 virtual void SAL_CALL removePropertyChangeListener(
const OUString& aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener )
override;
325 virtual void SAL_CALL addVetoableChangeListener(
const OUString& PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
326 virtual void SAL_CALL removeVetoableChangeListener(
const OUString& PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
329 virtual OUString SAL_CALL getName()
override;
330 virtual void SAL_CALL setName(
const OUString& Name_)
override;
333 virtual css::uno::Sequence< css::uno::Sequence< css::uno::Any > > SAL_CALL getDataArray( )
override;
334 virtual void SAL_CALL setDataArray(
const css::uno::Sequence< css::uno::Sequence< css::uno::Any > >& aArray )
override;
345 css::table::XCellRange,
346 css::lang::XServiceInfo,
347 css::beans::XPropertySet,
348 css::chart::XChartDataArray,
349 css::util::XSortable,
350 css::sheet::XCellRangeData
365 void SetLabels(
bool bFirstRowAsLabel,
bool bFirstColumnAsLabel);
367 std::vector<css::uno::Reference<css::table::XCell>>
GetCells();
372 virtual css::uno::Reference< css::table::XCell > SAL_CALL
getCellByPosition( sal_Int32 nColumn, sal_Int32 nRow )
override;
373 virtual css::uno::Reference< css::table::XCellRange > SAL_CALL
getCellRangeByPosition( sal_Int32 nLeft, sal_Int32 nTop, sal_Int32 nRight, sal_Int32 nBottom )
override;
374 virtual css::uno::Reference< css::table::XCellRange > SAL_CALL
getCellRangeByName(
const OUString& aRange )
override;
377 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL
getPropertySetInfo( )
override;
378 virtual void SAL_CALL
setPropertyValue(
const OUString& aPropertyName,
const css::uno::Any& aValue)
override;
379 virtual css::uno::Any SAL_CALL
getPropertyValue(
const OUString& PropertyName)
override;
380 virtual void SAL_CALL
addPropertyChangeListener(
const OUString& aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener )
override;
381 virtual void SAL_CALL
removePropertyChangeListener(
const OUString& aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener )
override;
382 virtual void SAL_CALL
addVetoableChangeListener(
const OUString& PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
383 virtual void SAL_CALL
removeVetoableChangeListener(
const OUString& PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
392 virtual css::uno::Sequence< css::uno::Sequence< double > > SAL_CALL
getData( )
override;
393 virtual void SAL_CALL
setData(
const css::uno::Sequence< css::uno::Sequence< double > >&
aData )
override;
395 virtual void SAL_CALL
setRowDescriptions(
const css::uno::Sequence< OUString >& aRowDescriptions )
override;
397 virtual void SAL_CALL
setColumnDescriptions(
const css::uno::Sequence< OUString >& aColumnDescriptions )
override;
400 virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL
createSortDescriptor()
override;
401 virtual void SAL_CALL
sort(
const css::uno::Sequence< css::beans::PropertyValue >& xDescriptor)
override;
404 virtual css::uno::Sequence< css::uno::Sequence< css::uno::Any > > SAL_CALL
getDataArray( )
override;
405 virtual void SAL_CALL
setDataArray(
const css::uno::Sequence< css::uno::Sequence< css::uno::Any > >& aArray )
override;
417 css::table::XTableRows,
418 css::lang::XServiceInfo
431 virtual sal_Int32 SAL_CALL
getCount()
override;
432 virtual css::uno::Any SAL_CALL
getByIndex(sal_Int32 nIndex)
override;
439 virtual void SAL_CALL
insertByIndex(sal_Int32 nIndex, sal_Int32 nCount)
override;
440 virtual void SAL_CALL
removeByIndex(sal_Int32 nIndex, sal_Int32 nCount)
override;
450 css::table::XTableColumns,
451 css::lang::XServiceInfo
465 virtual sal_Int32 SAL_CALL
getCount()
override;
466 virtual css::uno::Any SAL_CALL
getByIndex(sal_Int32 nIndex)
override;
473 virtual void SAL_CALL
insertByIndex(sal_Int32 nIndex, sal_Int32 nCount)
override;
474 virtual void SAL_CALL
removeByIndex(sal_Int32 nIndex, sal_Int32 nCount)
override;
483 std::u16string_view aRange1StartCell, std::u16string_view aRange1EndCell,
484 std::u16string_view aRange2StartCell, std::u16string_view aRange2EndCell,
485 bool bCmpColsFirst );
PaM is Point and Mark: a selection of the document model.
Starts a section of nodes in the document model.
SwTableBox is one table cell in the document model.
SwTableLine is one table row in the document model.
SwTable is one table in the document model, containing rows (which contain cells).
virtual void SAL_CALL sort(const css::uno::Sequence< css::beans::PropertyValue > &xDescriptor) override
::sw::UnoImplPtr< Impl > m_pImpl
virtual OUString SAL_CALL getImplementationName() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual css::uno::Sequence< OUString > SAL_CALL getColumnDescriptions() override
virtual void SAL_CALL setRowDescriptions(const css::uno::Sequence< OUString > &aRowDescriptions) override
virtual css::uno::Sequence< css::uno::Sequence< double > > SAL_CALL getData() override
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL createSortDescriptor() override
virtual void SAL_CALL setColumnDescriptions(const css::uno::Sequence< OUString > &aColumnDescriptions) override
virtual css::uno::Reference< css::table::XCell > SAL_CALL getCellByPosition(sal_Int32 nColumn, sal_Int32 nRow) override
virtual double SAL_CALL getNotANumber() override
std::vector< css::uno::Reference< css::table::XCell > > GetCells()
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
static ::rtl::Reference< SwXCellRange > CreateXCellRange(const sw::UnoCursorPointer &pCursor, SwFrameFormat &rFrameFormat, SwRangeDescriptor const &rDesc)
virtual ~SwXCellRange() override
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
virtual css::uno::Reference< css::table::XCellRange > SAL_CALL getCellRangeByPosition(sal_Int32 nLeft, sal_Int32 nTop, sal_Int32 nRight, sal_Int32 nBottom) override
void SetLabels(bool bFirstRowAsLabel, bool bFirstColumnAsLabel)
virtual sal_Bool SAL_CALL isNotANumber(double nNumber) override
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
const SwUnoCursor * GetTableCursor() const
SwXCellRange(const sw::UnoCursorPointer &pCursor, SwFrameFormat &rFrameFormat, SwRangeDescriptor const &rDesc)
virtual css::uno::Reference< css::table::XCellRange > SAL_CALL getCellRangeByName(const OUString &aRange) override
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
virtual void SAL_CALL setDataArray(const css::uno::Sequence< css::uno::Sequence< css::uno::Any > > &aArray) override
virtual void SAL_CALL removeChartDataChangeEventListener(const css::uno::Reference< css::chart::XChartDataChangeEventListener > &aListener) override
virtual void SAL_CALL addChartDataChangeEventListener(const css::uno::Reference< css::chart::XChartDataChangeEventListener > &aListener) override
virtual void SAL_CALL setData(const css::uno::Sequence< css::uno::Sequence< double > > &aData) override
virtual css::uno::Sequence< css::uno::Sequence< css::uno::Any > > SAL_CALL getDataArray() override
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
virtual css::uno::Sequence< OUString > SAL_CALL getRowDescriptions() override
virtual double SAL_CALL getValue() override
virtual sal_Int32 SAL_CALL getError() override
virtual const SwStartNode * GetStartNode() const override
css::uno::Reference< css::text::XText > m_xParentText
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
virtual void SAL_CALL acquire() noexcept override
double GetForcedNumericalValue() const
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
virtual OUString SAL_CALL getImplementationName() override
css::uno::Any GetAny() const
virtual css::uno::Type SAL_CALL getElementType() override
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
SwTableBox * FindBox(SwTable *pTable, SwTableBox *pBox)
search if a box exists in a table
virtual void SAL_CALL setString(const OUString &aString) override
friend void sw_setValue(SwXCell &rCell, double nVal)
virtual rtl::Reference< SwXTextCursor > createXTextCursor() override
virtual ~SwXCell() override
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
SwTableBox * GetTableBox() const
virtual void Notify(const SfxHint &) override
virtual void SAL_CALL setValue(double nValue) override
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
virtual OUString SAL_CALL getFormula() override
const SwStartNode * m_pStartNode
SwFrameFormat * m_pTableFormat
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual rtl::Reference< SwXTextCursor > createXTextCursorByRange(const ::css::uno::Reference< ::css::text::XTextRange > &aTextPosition) override
virtual void SAL_CALL setFormula(const OUString &aFormula) override
friend void sw_setString(SwXCell &rCell, const OUString &rText, bool bKeepNumberFormat)
virtual sal_Bool SAL_CALL hasElements() override
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() override
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
SwFrameFormat * GetFrameFormat() const
static rtl::Reference< SwXCell > CreateXCell(SwFrameFormat *pTableFormat, SwTableBox *pBox, SwTable *pTable=nullptr)
virtual void SAL_CALL release() noexcept override
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &aType) override
static size_t const NOTFOUND
const SfxItemPropertySet * m_pPropSet
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
SwXCell(SwFrameFormat *pTableFormat, SwTableBox *pBox, size_t nPos)
virtual css::table::CellContentType SAL_CALL getType() override
virtual ~SwXTableColumns() override
virtual OUString SAL_CALL getImplementationName() override
virtual sal_Bool SAL_CALL hasElements() override
virtual sal_Int32 SAL_CALL getCount() override
SwXTableColumns(SwFrameFormat &rFrameFormat)
virtual void SAL_CALL insertByIndex(sal_Int32 nIndex, sal_Int32 nCount) override
::sw::UnoImplPtr< Impl > m_pImpl
SwFrameFormat * GetFrameFormat() const
virtual void SAL_CALL removeByIndex(sal_Int32 nIndex, sal_Int32 nCount) override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual css::uno::Type SAL_CALL getElementType() override
virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 nIndex) override
UNO API wrapper for SwTableLines.
SwXTableRows(SwFrameFormat &rFrameFormat)
SwFrameFormat * GetFrameFormat()
virtual ~SwXTableRows() override
virtual void SAL_CALL removeByIndex(sal_Int32 nIndex, sal_Int32 nCount) override
virtual css::uno::Type SAL_CALL getElementType() override
const SwFrameFormat * GetFrameFormat() const
virtual sal_Int32 SAL_CALL getCount() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 nIndex) override
virtual OUString SAL_CALL getImplementationName() override
virtual void SAL_CALL insertByIndex(sal_Int32 nIndex, sal_Int32 nCount) override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual sal_Bool SAL_CALL hasElements() override
::sw::UnoImplPtr< Impl > m_pImpl
const SfxItemPropertySet * m_pPropSet
SwFrameFormat * m_pFrameFormat
sw::UnoCursorPointer m_pUnoCursor
SwXTextTableRow(SwFrameFormat *pFormat, SwTableLine *pLine)
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
SwFrameFormat * m_pFormat
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual OUString SAL_CALL getImplementationName() override
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override
virtual ~SwXTextTableRow() override
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
const SwFrameFormat * GetFrameFormat() const
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
void Notify(const SfxHint &) override
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
const SfxItemPropertySet * m_pPropSet
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
SwFrameFormat * GetFrameFormat()
static SwTableLine * FindLine(SwTable *pTable, SwTableLine const *pLine)
::sw::UnoImplPtr< Impl > m_pImpl
constexpr OUStringLiteral aData
css::uno::Sequence< OUString > getSupportedServiceNames()
OUString getImplementationName()
bool CPPUHELPER_DLLPUBLIC supportsService(css::lang::XServiceInfo *implementation, rtl::OUString const &name)
VBAHELPER_DLLPUBLIC bool setPropertyValue(css::uno::Sequence< css::beans::PropertyValue > &aProp, const OUString &aName, const css::uno::Any &aValue)
bool getPropertyValue(ValueType &rValue, css::uno::Reference< css::beans::XPropertySet > const &xPropSet, OUString const &propName)
std::unique_ptr< T, UnoImplPtrDeleter< T > > UnoImplPtr
Smart pointer class ensuring that the pointed object is deleted with a locked SolarMutex.
cppu::WeakImplHelper< css::text::XTextTableCursor, css::lang::XServiceInfo, css::beans::XPropertySet > SwXTextTableCursor_Base
void sw_NormalizeRange(OUString &rCell1, OUString &rCell2)
cleanup order in a range
int sw_CompareCellsByColFirst(std::u16string_view aCellName1, std::u16string_view aCellName2)
compare position of two cells (check columns first)
int sw_CompareCellsByRowFirst(std::u16string_view aCellName1, std::u16string_view aCellName2)
compare position of two cells (check rows first)
cppu::WeakImplHelper< css::table::XCell, css::lang::XServiceInfo, css::beans::XPropertySet, css::container::XEnumerationAccess > SwXCellBaseClass
OUString sw_GetCellName(sal_Int32 nColumn, sal_Int32 nRow)
get cell name at a specified coordinate
int sw_CompareCellRanges(std::u16string_view aRange1StartCell, std::u16string_view aRange1EndCell, std::u16string_view aRange2StartCell, std::u16string_view aRange2EndCell, bool bCmpColsFirst)
compare position of two cell ranges