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 );
80 virtual css::uno::Reference< css::text::XTextCursor >
93 virtual css::uno::Any SAL_CALL
queryInterface(
const css::uno::Type& aType )
override;
94 virtual void SAL_CALL
acquire( ) noexcept override;
95 virtual
void SAL_CALL
release( ) noexcept override;
102 virtual OUString SAL_CALL
getFormula( ) override;
103 virtual
void SAL_CALL
setFormula( const OUString& aFormula ) override;
104 virtual
double SAL_CALL
getValue( ) override;
108 virtual void SAL_CALL
setValue(
double nValue )
override;
109 virtual css::table::CellContentType SAL_CALL
getType( )
override;
110 virtual sal_Int32 SAL_CALL
getError( )
override;
113 virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL
createTextCursor()
override;
114 virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL
createTextCursorByRange(
const css::uno::Reference< css::text::XTextRange > & aTextPosition)
override;
115 virtual void SAL_CALL
setString(
const OUString& aString)
override;
118 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL
getPropertySetInfo( )
override;
119 virtual void SAL_CALL
setPropertyValue(
const OUString& aPropertyName,
const css::uno::Any& aValue )
override;
120 virtual css::uno::Any SAL_CALL
getPropertyValue(
const OUString& PropertyName )
override;
121 virtual void SAL_CALL
addPropertyChangeListener(
const OUString& aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener )
override;
122 virtual void SAL_CALL
removePropertyChangeListener(
const OUString& aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener )
override;
123 virtual void SAL_CALL
addVetoableChangeListener(
const OUString& PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
124 virtual void SAL_CALL
removeVetoableChangeListener(
const OUString& PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
132 virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL
createEnumeration()
override;
143 css::uno::Any
GetAny()
const;
147 :
public cppu::WeakImplHelper<css::beans::XPropertySet, css::lang::XServiceInfo>
163 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL
getPropertySetInfo( )
override;
164 virtual void SAL_CALL
setPropertyValue(
const OUString& aPropertyName,
const css::uno::Any& aValue )
override;
165 virtual css::uno::Any SAL_CALL
getPropertyValue(
const OUString& PropertyName )
override;
166 virtual void SAL_CALL
addPropertyChangeListener(
const OUString& aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener )
override;
167 virtual void SAL_CALL
removePropertyChangeListener(
const OUString& aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener )
override;
168 virtual void SAL_CALL
addVetoableChangeListener(
const OUString& PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
169 virtual void SAL_CALL
removeVetoableChangeListener(
const OUString& PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
181typedef cppu::WeakImplHelper<
182 css::text::XTextTableCursor,
183 css::lang::XServiceInfo,
188 ,
public OTextCursorHelper
197 virtual void SAL_CALL release() noexcept override;
200 virtual OUString SAL_CALL getRangeName() override;
201 virtual
sal_Bool SAL_CALL gotoCellByName( const OUString& aCellName,
sal_Bool bExpand ) override;
202 virtual
sal_Bool SAL_CALL goLeft( sal_Int16 nCount,
sal_Bool bExpand ) override;
203 virtual
sal_Bool SAL_CALL goRight( sal_Int16 nCount,
sal_Bool bExpand ) override;
204 virtual
sal_Bool SAL_CALL goUp( sal_Int16 nCount,
sal_Bool bExpand ) override;
205 virtual
sal_Bool SAL_CALL goDown( sal_Int16 nCount,
sal_Bool bExpand ) override;
206 virtual
void SAL_CALL gotoStart(
sal_Bool bExpand ) override;
207 virtual
void SAL_CALL gotoEnd(
sal_Bool bExpand ) override;
208 virtual
sal_Bool SAL_CALL mergeRange() override;
209 virtual
sal_Bool SAL_CALL splitRange( sal_Int16 Count,
sal_Bool Horizontal ) override;
212 virtual css::
uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
213 virtual
void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::
uno::Any& aValue ) override;
214 virtual css::
uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) override;
215 virtual
void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const css::
uno::Reference< css::beans::XPropertyChangeListener >& xListener ) override;
216 virtual
void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const css::
uno::Reference< css::beans::XPropertyChangeListener >& aListener ) override;
217 virtual
void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const css::
uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
218 virtual
void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const css::
uno::Reference< css::beans::XVetoableChangeListener >& aListener ) override;
221 virtual OUString SAL_CALL getImplementationName() override;
222 virtual
sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
223 virtual css::
uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
227 virtual const
SwPaM* GetPaM() const override;
228 virtual
SwPaM* GetPaM() override;
229 virtual const
SwDoc* GetDoc() const override;
230 virtual
SwDoc* GetDoc() override;
251 css::text::XTextTable,
252 css::lang::XServiceInfo,
253 css::table::XCellRange,
254 css::chart::XChartDataArray,
255 css::beans::XPropertySet,
256 css::container::XNamed,
257 css::table::XAutoFormattable,
258 css::util::XSortable,
259 css::sheet::XCellRangeData
274 static void GetCellPosition(std::u16string_view aCellName, sal_Int32& o_rColumn, sal_Int32& o_rRow);
279 virtual void SAL_CALL initialize( sal_Int32 nRows, sal_Int32 nColumns )
override;
280 virtual css::uno::Reference< css::table::XTableRows > SAL_CALL getRows( )
override;
281 virtual css::uno::Reference< css::table::XTableColumns > SAL_CALL getColumns( )
override;
282 virtual css::uno::Reference< css::table::XCell > SAL_CALL getCellByName(
const OUString& aCellName )
override;
283 virtual css::uno::Sequence< OUString > SAL_CALL getCellNames( )
override;
284 virtual css::uno::Reference< css::text::XTextTableCursor > SAL_CALL createCursorByCellName(
const OUString& aCellName )
override;
287 virtual void SAL_CALL attach(
const css::uno::Reference< css::text::XTextRange > & xTextRange)
override;
288 virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getAnchor( )
override;
291 virtual void SAL_CALL
dispose()
override;
292 virtual void SAL_CALL addEventListener(
const css::uno::Reference< css::lang::XEventListener > & aListener)
override;
293 virtual void SAL_CALL removeEventListener(
const css::uno::Reference< css::lang::XEventListener > & aListener)
override;
296 virtual css::uno::Reference< css::table::XCell > SAL_CALL getCellByPosition( sal_Int32 nColumn, sal_Int32 nRow )
override;
297 virtual css::uno::Reference< css::table::XCellRange > SAL_CALL getCellRangeByPosition( sal_Int32 nLeft, sal_Int32 nTop, sal_Int32 nRight, sal_Int32 nBottom )
override;
298 virtual css::uno::Reference< css::table::XCellRange > SAL_CALL getCellRangeByName(
const OUString& aRange )
override;
301 virtual css::uno::Sequence< css::uno::Sequence< double > > SAL_CALL getData( )
override;
302 virtual void SAL_CALL setData(
const css::uno::Sequence< css::uno::Sequence< double > >&
aData )
override;
303 virtual css::uno::Sequence< OUString > SAL_CALL getRowDescriptions( )
override;
304 virtual void SAL_CALL setRowDescriptions(
const css::uno::Sequence< OUString >& aRowDescriptions )
override;
305 virtual css::uno::Sequence< OUString > SAL_CALL getColumnDescriptions( )
override;
306 virtual void SAL_CALL setColumnDescriptions(
const css::uno::Sequence< OUString >& aColumnDescriptions )
override;
309 virtual void SAL_CALL addChartDataChangeEventListener(
const css::uno::Reference< css::chart::XChartDataChangeEventListener >& aListener )
override;
310 virtual void SAL_CALL removeChartDataChangeEventListener(
const css::uno::Reference< css::chart::XChartDataChangeEventListener >& aListener )
override;
311 virtual double SAL_CALL getNotANumber( )
override;
312 virtual sal_Bool SAL_CALL isNotANumber(
double nNumber )
override;
315 virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL createSortDescriptor()
override;
316 virtual void SAL_CALL sort(
const css::uno::Sequence< css::beans::PropertyValue >& xDescriptor)
override;
319 virtual void SAL_CALL autoFormat(
const OUString& aName)
override;
322 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( )
override;
323 virtual void SAL_CALL
setPropertyValue(
const OUString& aPropertyName,
const css::uno::Any& aValue )
override;
324 virtual css::uno::Any SAL_CALL
getPropertyValue(
const OUString& PropertyName )
override;
325 virtual void SAL_CALL addPropertyChangeListener(
const OUString& aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener )
override;
326 virtual void SAL_CALL removePropertyChangeListener(
const OUString& aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener )
override;
327 virtual void SAL_CALL addVetoableChangeListener(
const OUString& PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
328 virtual void SAL_CALL removeVetoableChangeListener(
const OUString& PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
331 virtual OUString SAL_CALL getName()
override;
332 virtual void SAL_CALL setName(
const OUString& Name_)
override;
335 virtual css::uno::Sequence< css::uno::Sequence< css::uno::Any > > SAL_CALL getDataArray( )
override;
336 virtual void SAL_CALL setDataArray(
const css::uno::Sequence< css::uno::Sequence< css::uno::Any > >& aArray )
override;
347 css::table::XCellRange,
348 css::lang::XServiceInfo,
349 css::beans::XPropertySet,
350 css::chart::XChartDataArray,
351 css::util::XSortable,
352 css::sheet::XCellRangeData
367 void SetLabels(
bool bFirstRowAsLabel,
bool bFirstColumnAsLabel);
369 std::vector<css::uno::Reference<css::table::XCell>>
GetCells();
374 virtual css::uno::Reference< css::table::XCell > SAL_CALL
getCellByPosition( sal_Int32 nColumn, sal_Int32 nRow )
override;
375 virtual css::uno::Reference< css::table::XCellRange > SAL_CALL
getCellRangeByPosition( sal_Int32 nLeft, sal_Int32 nTop, sal_Int32 nRight, sal_Int32 nBottom )
override;
376 virtual css::uno::Reference< css::table::XCellRange > SAL_CALL
getCellRangeByName(
const OUString& aRange )
override;
379 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL
getPropertySetInfo( )
override;
380 virtual void SAL_CALL
setPropertyValue(
const OUString& aPropertyName,
const css::uno::Any& aValue)
override;
381 virtual css::uno::Any SAL_CALL
getPropertyValue(
const OUString& PropertyName)
override;
382 virtual void SAL_CALL
addPropertyChangeListener(
const OUString& aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener )
override;
383 virtual void SAL_CALL
removePropertyChangeListener(
const OUString& aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener )
override;
384 virtual void SAL_CALL
addVetoableChangeListener(
const OUString& PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
385 virtual void SAL_CALL
removeVetoableChangeListener(
const OUString& PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
394 virtual css::uno::Sequence< css::uno::Sequence< double > > SAL_CALL
getData( )
override;
395 virtual void SAL_CALL
setData(
const css::uno::Sequence< css::uno::Sequence< double > >&
aData )
override;
397 virtual void SAL_CALL
setRowDescriptions(
const css::uno::Sequence< OUString >& aRowDescriptions )
override;
399 virtual void SAL_CALL
setColumnDescriptions(
const css::uno::Sequence< OUString >& aColumnDescriptions )
override;
402 virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL
createSortDescriptor()
override;
403 virtual void SAL_CALL
sort(
const css::uno::Sequence< css::beans::PropertyValue >& xDescriptor)
override;
406 virtual css::uno::Sequence< css::uno::Sequence< css::uno::Any > > SAL_CALL
getDataArray( )
override;
407 virtual void SAL_CALL
setDataArray(
const css::uno::Sequence< css::uno::Sequence< css::uno::Any > >& aArray )
override;
419 css::table::XTableRows,
420 css::lang::XServiceInfo
433 virtual sal_Int32 SAL_CALL
getCount()
override;
434 virtual css::uno::Any SAL_CALL
getByIndex(sal_Int32 nIndex)
override;
441 virtual void SAL_CALL
insertByIndex(sal_Int32 nIndex, sal_Int32 nCount)
override;
442 virtual void SAL_CALL
removeByIndex(sal_Int32 nIndex, sal_Int32 nCount)
override;
452 css::table::XTableColumns,
453 css::lang::XServiceInfo
467 virtual sal_Int32 SAL_CALL
getCount()
override;
468 virtual css::uno::Any SAL_CALL
getByIndex(sal_Int32 nIndex)
override;
475 virtual void SAL_CALL
insertByIndex(sal_Int32 nIndex, sal_Int32 nCount)
override;
476 virtual void SAL_CALL
removeByIndex(sal_Int32 nIndex, sal_Int32 nCount)
override;
485 std::u16string_view aRange1StartCell, std::u16string_view aRange1EndCell,
486 std::u16string_view aRange2StartCell, std::u16string_view aRange2EndCell,
487 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 css::uno::Reference< css::text::XTextCursor > CreateCursor() 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 ~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
virtual css::uno::Reference< css::text::XTextCursor > SAL_CALL createTextCursor() 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 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 css::uno::Reference< css::text::XTextCursor > SAL_CALL createTextCursorByRange(const css::uno::Reference< css::text::XTextRange > &aTextPosition) override
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