LibreOffice Module sw (master)  1
Public Member Functions | Private Attributes | List of all members
SwTableLine Class Reference

SwTableLine is one table row in the document model. More...

#include <swtable.hxx>

Inheritance diagram for SwTableLine:
[legend]
Collaboration diagram for SwTableLine:
[legend]

Public Member Functions

 SwTableLine (SwTableLineFormat *, sal_uInt16 nBoxes, SwTableBox *pUp)
 
virtual ~SwTableLine () override
 
SwTableBoxesGetTabBoxes ()
 
const SwTableBoxesGetTabBoxes () const
 
sal_uInt16 GetBoxPos (const SwTableBox *pBox) const
 
SwTableBoxGetUpper ()
 
const SwTableBoxGetUpper () const
 
void SetUpper (SwTableBox *pNew)
 
SwFrameFormatGetFrameFormat ()
 
SwFrameFormatGetFrameFormat () const
 
SwFrameFormatClaimFrameFormat ()
 
void ChgFrameFormat (SwTableLineFormat *pNewFormat)
 
SwTableBoxFindNextBox (const SwTable &, const SwTableBox *=nullptr, bool bOvrTableLns=true) const
 
SwTableBoxFindPreviousBox (const SwTable &, const SwTableBox *=nullptr, bool bOvrTableLns=true) const
 
SwTwips GetTableLineHeight (bool &bLayoutAvailable) const
 
bool hasSoftPageBreak () const
 
void RegisterToFormat (SwFormat &rFormat)
 
- Public Member Functions inherited from SwClient
 SwClient ()
 
 SwClient (SwClient &&) noexcept
 
virtual ~SwClient () override
 
virtual void Modify (const SfxPoolItem *pOldValue, const SfxPoolItem *pNewValue)
 
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint) override
 
std::unique_ptr< sw::ModifyChangedHintCheckRegistration (const SfxPoolItem *pOldValue)
 
virtual void ModifyNotification (const SfxPoolItem *pOldValue, const SfxPoolItem *pNewValue)
 
void SwClientNotifyCall (const SwModify &rModify, const SfxHint &rHint)
 
const SwModifyGetRegisteredIn () const
 
SwModifyGetRegisteredIn ()
 
void EndListeningAll ()
 
void StartListeningToSameModifyAs (const SwClient &)
 
virtual bool GetInfo (SfxPoolItem &) const
 
- Public Member Functions inherited from sw::WriterListener
bool IsLast () const
 

Private Attributes

SwTableBoxes m_aBoxes
 
SwTableBoxm_pUpper
 

Additional Inherited Members

- Protected Member Functions inherited from SwClient
 SwClient (SwModify *pToRegisterIn)
 
SwModifyGetRegisteredInNonConst () const
 
- Protected Member Functions inherited from sw::WriterListener
 WriterListener ()
 
virtual ~WriterListener () COVERITY_NOEXCEPT_FALSE
 

Detailed Description

SwTableLine is one table row in the document model.

Definition at line 344 of file swtable.hxx.

Constructor & Destructor Documentation

SwTableLine::SwTableLine ( SwTableLineFormat pFormat,
sal_uInt16  nBoxes,
SwTableBox pUp 
)

Definition at line 1459 of file swtable.cxx.

References m_aBoxes.

SwTableLine::~SwTableLine ( )
overridevirtual

Member Function Documentation

void SwTableLine::ChgFrameFormat ( SwTableLineFormat pNewFormat)
SwFrameFormat * SwTableLine::ClaimFrameFormat ( )
SwTableBox * SwTableLine::FindNextBox ( const SwTable rTable,
const SwTableBox pSrchBox = nullptr,
bool  bOvrTableLns = true 
) const
SwTableBox * SwTableLine::FindPreviousBox ( const SwTable rTable,
const SwTableBox pSrchBox = nullptr,
bool  bOvrTableLns = true 
) const
sal_uInt16 SwTableLine::GetBoxPos ( const SwTableBox pBox) const
inline
SwFrameFormat* SwTableLine::GetFrameFormat ( )
inline

Definition at line 366 of file swtable.hxx.

References SwClient::GetRegisteredIn().

Referenced by WW8TabDesc::AdjustNewBand(), SwTextFormatter::BuildMultiPortion(), SwShareBoxFormats::ChangeFrameFormat(), SwFrame::CheckDirChange(), ChgFrameFormat(), ClaimFrameFormat(), SwXMLExport::ExportTableLine(), SwXMLExport::ExportTableLinesAutoStyles(), SwWriteTable::FillTableRowsCols(), SwRowFrame::Format(), SwWriteTable::GetLineBrush(), SwWriteTable::GetLineHeight(), SwXTextTableRow::getPropertyValue(), GetRowFrame(), GetTableLineHeight(), hasSoftPageBreak(), SwTable::InsertSpannedRow(), SwRowFrame::IsRowSplitAllowed(), lcl_calcHeightOfRowBeforeThisFrame(), lcl_CopyLineToDoc(), lcl_CopyRow(), lcl_CopyTableLine(), lcl_Merge_MoveLine(), lcl_MergeGCLine(), lcl_notifyRow(), lcl_ProcessRowAttr(), lcl_SplitTable_CpyLine(), lcl_UnMerge(), FndBox_::MakeFrames(), FndBox_::MakeNewFrames(), SwXMLTableContext::MakeTable(), HTMLTable::MakeTable(), SwUnoCursorHelper::makeTableRowRedline(), SwTable::OldSplitRow(), SwHTMLWriter::OutCSS1_FrameFormatBackground(), MSWordExportBase::OutputTextNode(), SwShareBoxFormats::SetAttr(), SwXTextTableRow::setPropertyValue(), SwDoc::SetTabRows(), DocxAttributeOutput::StartTableRow(), WW8AttributeOutput::TableBackgrounds(), RtfAttributeOutput::TableBackgrounds(), DocxAttributeOutput::TableBackgrounds(), WW8AttributeOutput::TableCanSplit(), RtfAttributeOutput::TableCanSplit(), DocxAttributeOutput::TableCanSplit(), WW8AttributeOutput::TableHeight(), RtfAttributeOutput::TableHeight(), DocxAttributeOutput::TableHeight(), and ~SwTableLine().

SwFrameFormat* SwTableLine::GetFrameFormat ( ) const
inline

Definition at line 367 of file swtable.hxx.

References SwClient::GetRegisteredIn().

SwTableBoxes& SwTableLine::GetTabBoxes ( )
inline

Definition at line 354 of file swtable.hxx.

Referenced by SwDDETable::ChangeContent(), CheckBoxWidth(), SwTable::CheckConsistency(), SwTable::CheckRowSpan(), SwTable::CleanUpBottomRowSpan(), SwTable::CollectBoxSelection(), SwWriteTable::CollectTableRowsCols(), ConvertNestedTablesToText(), SwTable::CopyHeadlineIntoTable(), SaveTable::CreateNew(), SwTable::CreateSelection(), SwExtraRedlineTable::DeleteAllTableRedlines(), DeleteBox_(), SwFEShell::DeleteRow(), SwDoc::DeleteRow(), SwChartDataProvider::detectArguments(), SwTable::ExpandColumnSelection(), SwXMLExport::ExportTableLine(), SwXMLExport::ExportTableLinesAutoStyles(), SwWriteTable::FillTableRowsCols(), FindNextBox(), FindPreviousBox(), SwTable::FindSuperfluousRows_(), FndContentLine(), SwCellFrame::Format(), SwHTMLTableLayout::GetAnyBoxStartNode(), SwXTextTable::Impl::GetColumnCount(), ww8::WW8TableNodeInfoInner::getColumnWidthsBasedOnAllRows(), SwXTableColumns::getCount(), SwWriteTable::GetLineHeight(), GetMergeSel(), SwXTextTableRow::getPropertyValue(), SwXTextTable::getPropertyValue(), ww8::WW8TableNodeInfoInner::getRowSpansOfRow(), SwVbaTableHelper::GetTabBox(), SwTable::GetTabCols(), SwVbaTableHelper::getTabColumnsCount(), SwTable::GetTableBox(), ww8::WW8TableNodeInfoInner::getTableBoxesOfRow(), GetTableSel(), ww8::WW8TableNodeInfoInner::getWidthsOfRow(), SwChartDataProvider::Impl_createDataSource(), SwNodes::InsBoxen(), SwXTableRows::insertByIndex(), SwXTableColumns::insertByIndex(), WW8TabDesc::InsertCells(), SwTable::InsertRow(), SwTable::InsertSpannedRow(), SwDoc::InsertTable(), SwTable::InsTable(), InsTableBox(), SwTable::IsTableComplexForChart(), lcl_AdjustWidthsInLine(), lcl_AjustLines(), lcl_BalanceTable(), lcl_Box2LeftBorder(), lcl_CalcNewWidths(), lcl_ChangeRowSpan(), lcl_CheckMinMax(), lcl_CheckRowSpan(), lcl_CopyCol(), lcl_CopyLineToDoc(), lcl_CopyTableLine(), lcl_CpyBoxes(), lcl_DelLine(), lcl_FillSelBoxes(), lcl_FndNxtPrvDelBox(), lcl_GCBorder_ChkBoxBrd_L(), lcl_GCBorder_GetLastBox_L(), lcl_GetBoxOffset(), lcl_GetDistance(), lcl_LeftBorder2Box(), lcl_Merge_MoveBox(), lcl_Merge_MoveLine(), lcl_MergeGCBox(), lcl_MergeGCLine(), lcl_ProcessBoxSet(), lcl_ProcessLine(), lcl_ProcessLineGet(), lcl_ProcessRowSize(), lcl_RelToBox(), lcl_SaveUpperLowerBorder(), lcl_SearchSelBox(), lcl_SetOtherBoxWidth(), lcl_SetSelBoxWidth(), lcl_SortedTabColInsert(), lcl_SplitTable_CpyLine(), lcl_TableLine_HasTabBorders(), lcl_xmltble_ClearName_Line(), SwTable::MakeCopy(), SwXMLTableContext::MakeTable(), HTMLTable::MakeTable(), HTMLTable::MakeTableBox(), SwXMLTableContext::MakeTableLine(), HTMLTable::MakeTableLine(), WW8TabDesc::MergeCells(), SwTable::NewInsertCol(), SwTable::OldMerge(), SwTable::OldSplitRow(), SwTable::PrepareDeleteCol(), ww8::WW8TableInfo::processTableBoxLines(), ww8::WW8TableInfo::processTableLine(), SwTable::RestoreRowSpan(), SwTable::SelLineFromBox(), SwTable::SetColWidth(), SetLineHeight(), WW8TabDesc::SetPamInCell(), SwXTextTableRow::setPropertyValue(), SwXTextTable::setPropertyValue(), SwTable::SetTabCols(), SwTable::SplitCol(), SwNodes::SplitTable(), SwDoc::SplitTable(), sw_GC_Line_Border(), sw_LineSetHeadCondColl(), SwRowFrame::SwRowFrame(), SwXMLTableLines_Impl::SwXMLTableLines_Impl(), WW8AttributeOutput::TableBackgrounds(), WW8AttributeOutput::TableCellBorders(), WW8AttributeOutput::TableVerticalCell(), SwNodes::TextToTable(), SwUndoTableNdsChg::UndoImpl(), SwUndoTableMerge::UndoImpl(), and SwNodes::UndoTableToText().

const SwTableBoxes& SwTableLine::GetTabBoxes ( ) const
inline

Definition at line 355 of file swtable.hxx.

SwTwips SwTableLine::GetTableLineHeight ( bool &  bLayoutAvailable) const
SwTableBox* SwTableLine::GetUpper ( )
inline
const SwTableBox* SwTableLine::GetUpper ( ) const
inline

Definition at line 363 of file swtable.hxx.

bool SwTableLine::hasSoftPageBreak ( ) const
void SwTableLine::RegisterToFormat ( SwFormat rFormat)

Definition at line 2754 of file swtable.cxx.

References SwModify::Add().

void SwTableLine::SetUpper ( SwTableBox pNew)
inline

Definition at line 364 of file swtable.hxx.

Referenced by SaveTable::CreateNew().

Member Data Documentation

SwTableBoxes SwTableLine::m_aBoxes
private

Definition at line 346 of file swtable.hxx.

Referenced by SwTableLine(), and ~SwTableLine().

SwTableBox* SwTableLine::m_pUpper
private

Definition at line 347 of file swtable.hxx.


The documentation for this class was generated from the following files: