1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef INCLUDED_SW_INC_SWTABLE_HXX
20 #define INCLUDED_SW_INC_SWTABLE_HXX
22 #include <tools/solar.h>
23 #include <tools/ref.hxx>
24 #include "tblenum.hxx"
25 #include "swtypes.hxx"
28 #include "swtblfmt.hxx"
33 #include <o3tl/sorted_vector.hxx>
39 class SwHTMLTableLayout
;
46 class SwTableCalcPara
;
51 class SwUndoTableMerge
;
54 class SwUndoTableCpyTable
;
60 void sw_GetTableBoxColStr( sal_uInt16 nCol
, OUString
& rNm
);
64 std::vector
<SwTableLine
*> m_vLines
;
67 typedef std::vector
<SwTableLine
*>::size_type size_type
;
68 typedef std::vector
<SwTableLine
*>::iterator iterator
;
69 typedef std::vector
<SwTableLine
*>::const_iterator const_iterator
;
71 // free's any remaining child objects
74 bool empty() const { return m_vLines
.empty(); }
75 size_type
size() const { return m_vLines
.size(); }
76 iterator
begin() { return m_vLines
.begin(); }
77 const_iterator
begin() const { return m_vLines
.begin(); }
78 iterator
end() { return m_vLines
.end(); }
79 const_iterator
end() const { return m_vLines
.end(); }
80 SwTableLine
* front() const { return m_vLines
.front(); }
81 SwTableLine
* back() const { return m_vLines
.back(); }
82 void clear() { m_vLines
.clear(); }
83 iterator
erase( iterator aIt
) { return m_vLines
.erase( aIt
); }
84 iterator
erase( iterator aFirst
, iterator aLast
) { return m_vLines
.erase( aFirst
, aLast
); }
85 iterator
insert( iterator aIt
, SwTableLine
* pLine
) { return m_vLines
.insert( aIt
, pLine
); }
86 template<typename TInputIterator
>
87 void insert( iterator aIt
, TInputIterator aFirst
, TInputIterator aLast
)
89 m_vLines
.insert( aIt
, aFirst
, aLast
);
91 void push_back( SwTableLine
* pLine
) { m_vLines
.push_back( pLine
); }
92 void reserve( size_type nSize
) { m_vLines
.reserve( nSize
); }
93 SwTableLine
*& operator[]( size_type nPos
) { return m_vLines
[ nPos
]; }
94 SwTableLine
* operator[]( size_type nPos
) const { return m_vLines
[ nPos
]; }
96 // return USHRT_MAX if not found, else index of position
97 sal_uInt16
GetPos(const SwTableLine
* pBox
) const
99 const_iterator it
= std::find(begin(), end(), pBox
);
100 return it
== end() ? USHRT_MAX
: it
- begin();
104 using SwTableBoxes
= std::vector
<SwTableBox
*>;
106 // Save content-bearing box-pointers additionally in a sorted array
107 // (for calculation in table).
108 class SwTableSortBoxes
: public o3tl::sorted_vector
<SwTableBox
*> {};
110 /// SwTable is one table in the document model, containing rows (which contain cells).
111 class SW_DLLPUBLIC SwTable
: public SwClient
//Client of FrameFormat.
115 SwTableLines m_aLines
;
116 SwTableSortBoxes m_TabSortContentBoxes
;
117 tools::SvRef
<SwServerObject
> m_xRefObj
; // In case DataServer -> pointer is set.
119 std::shared_ptr
<SwHTMLTableLayout
> m_xHTMLLayout
;
121 // Usually, the table node of a SwTable can be accessed by getting a box
122 // out of m_TabSortContentBoxes, which know their SwStartNode. But in some rare
123 // cases, we need to know the table node of a SwTable, before the table
124 // boxes have been build (SwTableNode::MakeCopy with tables in tables).
125 SwTableNode
* m_pTableNode
;
127 // Should that be adjustable for every table?
128 TableChgMode m_eTableChgMode
;
130 sal_uInt16 m_nGraphicsThatResize
; // Count of Grfs that initiate a resize of table
132 sal_uInt16 m_nRowsToRepeat
; // Number of rows to repeat on every page.
134 /// Name of the table style to be applied on this table.
135 OUString maTableStyleName
;
137 bool m_bModifyLocked
:1;
138 bool m_bNewModel
:1; // false: old SubTableModel; true: new RowSpanModel
140 virtual void SwClientNotify(const SwModify
&, const SfxHint
&) override
;
145 SEARCH_NONE
, // Default: expand to rectangle
146 SEARCH_ROW
, // row selection
147 SEARCH_COL
// column selection
152 virtual ~SwTable() override
;
154 // @@@ public copy ctor, but no copy assignment?
155 SwTable( const SwTable
& rTable
); // no copy of the lines !!
157 // @@@ public copy ctor, but no copy assignment?
158 SwTable
& operator= (const SwTable
&) = delete;
159 bool OldMerge( SwDoc
*, const SwSelBoxes
&, SwTableBox
*, SwUndoTableMerge
* );
160 bool OldSplitRow( SwDoc
&, const SwSelBoxes
&, sal_uInt16
, bool );
161 bool NewMerge( SwDoc
*, const SwSelBoxes
&, const SwSelBoxes
& rMerged
,
163 bool NewSplitRow( SwDoc
&, const SwSelBoxes
&, sal_uInt16
, bool );
164 std::unique_ptr
<SwBoxSelection
> CollectBoxSelection( const SwPaM
& rPam
) const;
165 void InsertSpannedRow( SwDoc
& rDoc
, sal_uInt16 nIdx
, sal_uInt16 nCnt
);
166 bool InsertRow_( SwDoc
*, const SwSelBoxes
&, sal_uInt16 nCnt
, bool bBehind
);
167 bool NewInsertCol( SwDoc
&, const SwSelBoxes
& rBoxes
, sal_uInt16 nCnt
, bool );
168 void FindSuperfluousRows_( SwSelBoxes
& rBoxes
, SwTableLine
*, SwTableLine
* );
169 void AdjustWidths( const tools::Long nOld
, const tools::Long nNew
);
170 void NewSetTabCols( Parm
&rP
, const SwTabCols
&rNew
, const SwTabCols
&rOld
,
171 const SwTableBox
*pStart
, bool bCurRowOnly
);
172 void ConvertSubtableBox(sal_uInt16
const nRow
, sal_uInt16
const nBox
);
176 SwHTMLTableLayout
*GetHTMLTableLayout() { return m_xHTMLLayout
.get(); }
177 const SwHTMLTableLayout
*GetHTMLTableLayout() const { return m_xHTMLLayout
.get(); }
178 void SetHTMLTableLayout(std::shared_ptr
<SwHTMLTableLayout
> const& r
); //Change of property!
180 sal_uInt16
IncGrfsThatResize() { return ++m_nGraphicsThatResize
; }
181 sal_uInt16
DecGrfsThatResize() { return m_nGraphicsThatResize
? --m_nGraphicsThatResize
: 0; }
183 void LockModify() { m_bModifyLocked
= true; } // Must be used always
184 void UnlockModify() { m_bModifyLocked
= false;} // in pairs!
186 void SetTableModel( bool bNew
){ m_bNewModel
= bNew
; }
187 bool IsNewModel() const { return m_bNewModel
; }
189 /// Return the table style name of this table.
190 const OUString
& GetTableStyleName() const { return maTableStyleName
; }
192 /// Set the new table style name for this table.
193 void SetTableStyleName(const OUString
& rName
) { maTableStyleName
= rName
; }
195 sal_uInt16
GetRowsToRepeat() const { return std::min( static_cast<sal_uInt16
>(GetTabLines().size()), m_nRowsToRepeat
); }
196 void SetRowsToRepeat( sal_uInt16 nNumOfRows
) { m_nRowsToRepeat
= nNumOfRows
; }
198 bool IsHeadline( const SwTableLine
& rLine
) const;
200 SwTableLines
&GetTabLines() { return m_aLines
; }
201 const SwTableLines
&GetTabLines() const { return m_aLines
; }
203 SwTableFormat
* GetFrameFormat() { return static_cast<SwTableFormat
*>(GetRegisteredIn()); }
204 SwTableFormat
* GetFrameFormat() const { return const_cast<SwTableFormat
*>(static_cast<const SwTableFormat
*>(GetRegisteredIn())); }
206 void GetTabCols( SwTabCols
&rToFill
, const SwTableBox
*pStart
,
207 bool bHidden
= false, bool bCurRowOnly
= false ) const;
208 void SetTabCols( const SwTabCols
&rNew
, const SwTabCols
&rOld
,
209 const SwTableBox
*pStart
, bool bCurRowOnly
);
211 // The following functions are for new table model only...
212 void CreateSelection( const SwPaM
& rPam
, SwSelBoxes
& rBoxes
,
213 const SearchType eSearchType
, bool bProtect
) const;
214 void CreateSelection( const SwNode
* pStart
, const SwNode
* pEnd
,
215 SwSelBoxes
& rBoxes
, const SearchType eSearchType
, bool bProtect
) const;
216 void ExpandSelection( SwSelBoxes
& rBoxes
) const;
217 // When a table is split into two tables, the row spans which overlaps
218 // the split have to be corrected and stored for undo
219 // SwSavRowSpan is the structure needed by Undo to undo the split operation
220 // CleanUpRowSpan corrects the (top of the) second table and delivers the structure
222 std::unique_ptr
<SwSaveRowSpan
> CleanUpTopRowSpan( sal_uInt16 nSplitLine
);
223 // RestoreRowSpan is called by Undo to restore the old row span values
224 void RestoreRowSpan( const SwSaveRowSpan
& );
225 // CleanUpBottomRowSpan corrects the overhanging row spans at the end of the first table
226 void CleanUpBottomRowSpan( sal_uInt16 nDelLines
);
228 // The following functions are "pseudo-virtual", i.e. they are different for old and new table model
229 // It's not allowed to change the table model after the first call of one of these functions.
231 bool Merge( SwDoc
* pDoc
, const SwSelBoxes
& rBoxes
, const SwSelBoxes
& rMerged
,
232 SwTableBox
* pMergeBox
, SwUndoTableMerge
* pUndo
)
234 return m_bNewModel
? NewMerge( pDoc
, rBoxes
, rMerged
, pUndo
) :
235 OldMerge( pDoc
, rBoxes
, pMergeBox
, pUndo
);
237 bool SplitRow( SwDoc
& rDoc
, const SwSelBoxes
& rBoxes
, sal_uInt16 nCnt
,
240 return m_bNewModel
? NewSplitRow( rDoc
, rBoxes
, nCnt
, bSameHeight
) :
241 OldSplitRow( rDoc
, rBoxes
, nCnt
, bSameHeight
);
243 bool PrepareMerge( const SwPaM
& rPam
, SwSelBoxes
& rBoxes
,
244 SwSelBoxes
& rMerged
, SwTableBox
** ppMergeBox
, SwUndoTableMerge
* pUndo
);
245 void ExpandColumnSelection( SwSelBoxes
& rBoxes
, tools::Long
&rMin
, tools::Long
&rMax
) const;
246 void PrepareDeleteCol( tools::Long nMin
, tools::Long nMax
);
248 bool InsertCol( SwDoc
&, const SwSelBoxes
& rBoxes
,
249 sal_uInt16 nCnt
, bool bBehind
);
250 bool InsertRow( SwDoc
*, const SwSelBoxes
& rBoxes
,
251 sal_uInt16 nCnt
, bool bBehind
);
252 void PrepareDelBoxes( const SwSelBoxes
& rBoxes
);
253 bool DeleteSel( SwDoc
*, const SwSelBoxes
& rBoxes
, const SwSelBoxes
* pMerged
,
254 SwUndo
* pUndo
, const bool bDelMakeFrames
, const bool bCorrBorder
);
255 bool SplitCol( SwDoc
& rDoc
, const SwSelBoxes
& rBoxes
, sal_uInt16 nCnt
);
257 void FindSuperfluousRows( SwSelBoxes
& rBoxes
)
258 { FindSuperfluousRows_( rBoxes
, nullptr, nullptr ); }
259 void CheckRowSpan( SwTableLine
* &rpLine
, bool bUp
) const;
261 SwTableSortBoxes
& GetTabSortBoxes() { return m_TabSortContentBoxes
; }
262 const SwTableSortBoxes
& GetTabSortBoxes() const { return m_TabSortContentBoxes
; }
264 // Read 1st number and delete it from string (used by GetTableBox and SwTableField).
267 // add 3rd parameter in order to control validation check on <rStr>
268 static sal_uInt16
GetBoxNum( OUString
& rStr
,
270 const bool bPerformValidCheck
= false );
272 // Search content-bearing box with that name.
275 // add 2nd parameter in order to control validation check in called method
277 const SwTableBox
* GetTableBox( const OUString
& rName
,
278 const bool bPerformValidCheck
= false ) const;
279 // Copy selected boxes to another document.
280 bool MakeCopy( SwDoc
&, const SwPosition
&, const SwSelBoxes
&,
281 bool bCpyName
= false ) const;
282 // Copy table in this
283 bool InsTable( const SwTable
& rCpyTable
, const SwNodeIndex
&,
284 SwUndoTableCpyTable
* pUndo
);
285 bool InsTable( const SwTable
& rCpyTable
, const SwSelBoxes
&,
286 SwUndoTableCpyTable
* pUndo
);
287 bool InsNewTable( const SwTable
& rCpyTable
, const SwSelBoxes
&,
288 SwUndoTableCpyTable
* pUndo
);
289 // Copy headline of table (with content!) into another one.
290 void CopyHeadlineIntoTable( SwTableNode
& rTableNd
);
292 // Get box, whose start index is set on nBoxStt.
293 SwTableBox
* GetTableBox( sal_uLong nSttIdx
);
294 const SwTableBox
* GetTableBox( sal_uLong nSttIdx
) const
295 { return const_cast<SwTable
*>(this)->GetTableBox( nSttIdx
); }
297 // Returns true if table contains nestings.
298 bool IsTableComplex() const;
300 // Returns true if table or selection is balanced.
301 bool IsTableComplexForChart( const OUString
& rSel
) const;
303 // Search all content-bearing boxes of the base line on which this box stands.
304 // rBoxes as a return value for immediate use.
305 // bToTop = true -> up to base line, false-> else only line of box.
306 static SwSelBoxes
& SelLineFromBox( const SwTableBox
* pBox
,
307 SwSelBoxes
& rBoxes
, bool bToTop
= true );
309 // Get information from client.
310 virtual bool GetInfo( SfxPoolItem
& ) const override
;
312 // Search in format for registered table.
313 static SwTable
* FindTable( SwFrameFormat
const*const pFormat
);
315 // Clean up structure of subtables a bit:
316 // convert row with 1 box with subtable; box with subtable with 1 row;
317 // by removing the subtable (both recursively)
320 // Returns the table node via m_TabSortContentBoxes or pTableNode.
321 SwTableNode
* GetTableNode() const;
322 void SetTableNode( SwTableNode
* pNode
) { m_pTableNode
= pNode
; }
324 // Data server methods.
325 void SetRefObject( SwServerObject
* );
326 const SwServerObject
* GetObject() const { return m_xRefObj
.get(); }
327 SwServerObject
* GetObject() { return m_xRefObj
.get(); }
329 // Fill data for chart.
330 void UpdateCharts() const;
332 TableChgMode
GetTableChgMode() const { return m_eTableChgMode
; }
333 void SetTableChgMode( TableChgMode eMode
) { m_eTableChgMode
= eMode
; }
335 bool SetColWidth( SwTableBox
& rCurrentBox
, TableChgWidthHeightType eType
,
336 SwTwips nAbsDiff
, SwTwips nRelDiff
, std::unique_ptr
<SwUndo
>* ppUndo
);
337 bool SetRowHeight( SwTableBox
& rCurrentBox
, TableChgWidthHeightType eType
,
338 SwTwips nAbsDiff
, SwTwips nRelDiff
, std::unique_ptr
<SwUndo
>* ppUndo
);
339 void RegisterToFormat( SwFormat
& rFormat
);
341 void CheckConsistency() const;
344 bool HasLayout() const;
346 bool CanConvertSubtables() const;
347 void ConvertSubtables();
350 /// SwTableLine is one table row in the document model.
351 class SW_DLLPUBLIC SwTableLine
: public SwClient
// Client of FrameFormat.
353 SwTableBoxes m_aBoxes
;
354 SwTableBox
*m_pUpper
;
358 SwTableLine( SwTableLineFormat
*, sal_uInt16 nBoxes
, SwTableBox
*pUp
);
359 virtual ~SwTableLine() override
;
361 SwTableBoxes
&GetTabBoxes() { return m_aBoxes
; }
362 const SwTableBoxes
&GetTabBoxes() const { return m_aBoxes
; }
363 sal_uInt16
GetBoxPos(const SwTableBox
* pBox
) const
365 SwTableBoxes::const_iterator it
= std::find(m_aBoxes
.begin(), m_aBoxes
.end(), pBox
);
366 return it
== m_aBoxes
.end() ? USHRT_MAX
: it
- m_aBoxes
.begin();
369 SwTableBox
*GetUpper() { return m_pUpper
; }
370 const SwTableBox
*GetUpper() const { return m_pUpper
; }
371 void SetUpper( SwTableBox
*pNew
) { m_pUpper
= pNew
; }
373 SwFrameFormat
* GetFrameFormat() { return static_cast<SwFrameFormat
*>(GetRegisteredIn()); }
374 SwFrameFormat
* GetFrameFormat() const { return const_cast<SwFrameFormat
*>(static_cast<const SwFrameFormat
*>(GetRegisteredIn())); }
376 // Creates an own FrameFormat if more lines depend on it.
377 SwFrameFormat
* ClaimFrameFormat();
378 void ChgFrameFormat( SwTableLineFormat
* pNewFormat
);
380 // Search next/previous box with content.
381 SwTableBox
* FindNextBox( const SwTable
&, const SwTableBox
* =nullptr,
382 bool bOvrTableLns
=true ) const;
383 SwTableBox
* FindPreviousBox( const SwTable
&, const SwTableBox
* =nullptr,
384 bool bOvrTableLns
=true ) const;
386 SwTwips
GetTableLineHeight( bool& bLayoutAvailable
) const;
388 bool hasSoftPageBreak() const;
389 void RegisterToFormat( SwFormat
& rFormat
);
392 /// SwTableBox is one table cell in the document model.
393 class SW_DLLPUBLIC SwTableBox
: public SwClient
//Client of FrameFormat.
395 friend class SwNodes
; // Transpose index.
396 friend void DelBoxNode(SwTableSortBoxes
const &); // Delete StartNode* !
397 friend class SwXMLTableContext
;
399 SwTableBox( const SwTableBox
& ) = delete;
400 SwTableBox
&operator=( const SwTableBox
&) = delete;
402 SwTableLines m_aLines
;
403 const SwStartNode
* m_pStartNode
;
404 SwTableLine
*m_pUpper
;
406 std::optional
<Color
> mxUserColor
;
407 std::optional
<Color
> mxNumFormatColor
;
411 /// Do we contain any direct formatting?
412 bool mbDirectFormatting
;
414 // In case Format contains formulas/values already,
415 // a new one must be created for the new box.
416 static SwTableBoxFormat
* CheckBoxFormat( SwTableBoxFormat
* );
420 SwTableBox( SwTableBoxFormat
*, sal_uInt16 nLines
, SwTableLine
*pUp
);
421 SwTableBox( SwTableBoxFormat
*, const SwStartNode
&, SwTableLine
*pUp
);
422 SwTableBox( SwTableBoxFormat
*, const SwNodeIndex
&, SwTableLine
*pUp
);
423 virtual ~SwTableBox() override
;
425 SwTableLines
&GetTabLines() { return m_aLines
; }
426 const SwTableLines
&GetTabLines() const { return m_aLines
; }
428 SwTableLine
*GetUpper() { return m_pUpper
; }
429 const SwTableLine
*GetUpper() const { return m_pUpper
; }
430 void SetUpper( SwTableLine
*pNew
) { m_pUpper
= pNew
; }
432 SwFrameFormat
* GetFrameFormat() { return static_cast<SwFrameFormat
*>(GetRegisteredIn()); }
433 SwFrameFormat
* GetFrameFormat() const { return const_cast<SwFrameFormat
*>(static_cast<const SwFrameFormat
*>(GetRegisteredIn())); }
435 /// Set that this table box contains formatting that is not set by the table style.
436 void SetDirectFormatting(bool bDirect
) { mbDirectFormatting
= bDirect
; }
438 /// Do we contain any direct formatting (ie. something not affected by the table style)?
439 bool HasDirectFormatting() const { return mbDirectFormatting
; }
441 // Creates its own FrameFormat if more boxes depend on it.
442 SwFrameFormat
* ClaimFrameFormat();
443 void ChgFrameFormat( SwTableBoxFormat
*pNewFormat
, bool bNeedToReregister
= true );
445 void RemoveFromTable();
446 const SwStartNode
*GetSttNd() const { return m_pStartNode
; }
447 sal_uLong
GetSttIdx() const;
449 // Search next/previous box with content.
450 SwTableBox
* FindNextBox( const SwTable
&, const SwTableBox
*,
451 bool bOvrTableLns
=true ) const;
452 SwTableBox
* FindPreviousBox( const SwTable
&, const SwTableBox
* ) const;
453 // Return name of this box. It is determined dynamically and
454 // is calculated from the position in the lines/boxes/table.
455 OUString
GetName() const;
456 // Return "value" of box (for calculating in table).
457 double GetValue( SwTableCalcPara
& rPara
) const;
459 // Computes "coordinates" of a box, used to computed selection
460 // width or height when inserting cols or rows
461 Point
GetCoordinates() const;
463 bool IsInHeadline( const SwTable
* pTable
) const;
465 // Contains box contents, that can be formatted as a number?
466 bool HasNumContent( double& rNum
, sal_uInt32
& rFormatIndex
,
467 bool& rIsEmptyTextNd
) const;
468 sal_uLong
IsValidNumTextNd( bool bCheckAttr
= true ) const;
469 // If a table formula is set, test if box contents is congruent with number.
470 // (For Redo of change of NumFormat!).
471 bool IsNumberChanged() const;
473 // Is that a formula box or a box with numeric contents (AutoSum)?
474 // What it is indicated by the return value - the WhichId of the attribute.
475 // Empty boxes have the return value USHRT_MAX !!
476 sal_uInt16
IsFormulaOrValueBox() const;
478 // Loading of a document requires an actualization of cells with values
479 void ActualiseValueBox();
481 // Access on internal data - currently used for the NumFormatter.
482 const std::optional
<Color
>& GetSaveUserColor() const { return mxUserColor
; }
483 const std::optional
<Color
>& GetSaveNumFormatColor() const { return mxNumFormatColor
; }
484 void SetSaveUserColor(std::optional
<Color
> p
) { mxUserColor
= p
; }
485 void SetSaveNumFormatColor( std::optional
<Color
> p
) { mxNumFormatColor
= p
; }
487 sal_Int32
getRowSpan() const;
488 void setRowSpan( sal_Int32 nNewRowSpan
);
489 bool getDummyFlag() const;
490 void setDummyFlag( bool bDummy
);
492 SwTableBox
& FindStartOfRowSpan( const SwTable
&, sal_uInt16 nMaxStep
= USHRT_MAX
);
493 const SwTableBox
& FindStartOfRowSpan( const SwTable
& rTable
,
494 sal_uInt16 nMaxStep
= USHRT_MAX
) const
495 { return const_cast<SwTableBox
*>(this)->FindStartOfRowSpan( rTable
, nMaxStep
); }
497 SwTableBox
& FindEndOfRowSpan( const SwTable
&, sal_uInt16 nMaxStep
);
498 const SwTableBox
& FindEndOfRowSpan( const SwTable
& rTable
,
499 sal_uInt16 nMaxStep
) const
500 { return const_cast<SwTableBox
*>(this)->FindEndOfRowSpan( rTable
, nMaxStep
); }
501 void RegisterToFormat( SwFormat
& rFormat
) ;
505 class SW_DLLPUBLIC SwTableCellInfo
508 std::unique_ptr
<Impl
> m_pImpl
;
510 const SwCellFrame
* getCellFrame() const;
512 SwTableCellInfo(SwTableCellInfo
const&) = delete;
513 SwTableCellInfo
& operator=(SwTableCellInfo
const&) = delete;
516 SwTableCellInfo(const SwTable
* pTable
);
520 SwRect
getRect() const;
521 const SwTableBox
* getTableBox() const;
524 #endif // INCLUDED_SW_INC_SWTABLE_HXX
526 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */