LibreOffice Module sw (master)
1
|
SwTableLine is one table row in the document model. More...
#include <swtable.hxx>
Private Attributes | |
SwTableBoxes | m_aBoxes |
SwTableBox * | m_pUpper |
Additional Inherited Members | |
![]() | |
SwClient (SwModify *pToRegisterIn) | |
SwModify * | GetRegisteredInNonConst () const |
virtual void | SwClientNotify (const SwModify &, const SfxHint &rHint) override |
![]() | |
WriterListener () | |
virtual | ~WriterListener () COVERITY_NOEXCEPT_FALSE |
SwTableLine is one table row in the document model.
Definition at line 351 of file swtable.hxx.
SwTableLine::SwTableLine | ( | SwTableLineFormat * | pFormat, |
sal_uInt16 | nBoxes, | ||
SwTableBox * | pUp | ||
) |
Definition at line 1444 of file swtable.cxx.
References m_aBoxes.
|
overridevirtual |
Definition at line 1453 of file swtable.cxx.
References GetFrameFormat(), SwModify::HasWriterListeners(), i, m_aBoxes, and SwModify::Remove().
void SwTableLine::ChgFrameFormat | ( | SwTableLineFormat * | pNewFormat | ) |
Definition at line 1499 of file swtable.cxx.
References SwModify::Add(), SwTabFrame::FindMaster(), SwFrame::FindTabFrame(), SwIterator< TElementType, TSource, eMode >::First(), SwTabFrame::GetFirstNonHeadlineRow(), GetFrameFormat(), SwModify::HasWriterListeners(), SwFrame::InvalidatePos(), SwFlowFrame::IsFollow(), SwIterator< TElementType, TSource, eMode >::Next(), and SwTabFrame::SetRemoveFollowFlowLinePending().
Referenced by SwShareBoxFormats::ChangeFrameFormat(), lcl_ProcessRowAttr(), and lcl_SplitTable_CpyLine().
SwFrameFormat * SwTableLine::ClaimFrameFormat | ( | ) |
Definition at line 1466 of file swtable.cxx.
References SwModify::Add(), SwIterator< TElementType, TSource, eMode >::First(), SwFormat::GetDoc(), GetFrameFormat(), SwDoc::MakeTableLineFormat(), and SwIterator< TElementType, TSource, eMode >::Next().
Referenced by WW8TabDesc::AdjustNewBand(), SwFrame::CheckDirChange(), SwTable::InsertSpannedRow(), lcl_Merge_MoveLine(), lcl_ProcessRowAttr(), lcl_SplitTable_CpyLine(), HTMLTable::MakeTableBox(), SwXMLTableContext::MakeTableLine(), HTMLTable::MakeTableLine(), SwTable::NewSplitRow(), SwTable::OldMerge(), SwTable::OldSplitRow(), SwShareBoxFormats::SetAttr(), SetLineHeight(), and SwXTextTableRow::setPropertyValue().
SwTableBox * SwTableLine::FindNextBox | ( | const SwTable & | rTable, |
const SwTableBox * | pSrchBox = nullptr , |
||
bool | bOvrTableLns = true |
||
) | const |
Definition at line 2194 of file tblrwcl.cxx.
References SwTableLines::empty(), FindNextBox(), SwTableLines::front(), SwTableLines::GetPos(), GetTabBoxes(), SwTable::GetTabLines(), SwTableBox::GetTabLines(), size, SwTableLines::size(), and USHRT_MAX.
Referenced by SwFEShell::DeleteRow(), SwDoc::DeleteRow(), FindNextBox(), and SwNodes::InsBoxen().
SwTableBox * SwTableLine::FindPreviousBox | ( | const SwTable & | rTable, |
const SwTableBox * | pSrchBox = nullptr , |
||
bool | bOvrTableLns = true |
||
) | const |
Definition at line 2245 of file tblrwcl.cxx.
References SwTableLines::back(), SwTableLines::empty(), FindPreviousBox(), SwTableLines::GetPos(), GetTabBoxes(), SwTable::GetTabLines(), SwTableBox::GetTabLines(), and USHRT_MAX.
Referenced by SwFEShell::DeleteRow(), SwDoc::DeleteRow(), FindPreviousBox(), and SwNodes::InsBoxen().
|
inline |
Definition at line 363 of file swtable.hxx.
References USHRT_MAX.
Referenced by DeleteBox_(), SwTableBox::GetCoordinates(), GetMergeSel(), SwTableBox::GetName(), SwVbaTableHelper::getTabColIndex(), SwTable::InsTable(), lcl_GetDistance(), lcl_InsCol(), lcl_InsertPosition(), lcl_Merge_MoveBox(), lcl_Merge_MoveLine(), lcl_ProcessBoxSet(), lcl_RelToBox(), lcl_SaveUpperLowerBorder(), SwTable::OldSplitRow(), MSWordExportBase::OutputSectionBreaks(), MSWordExportBase::OutputTextNode(), SwTable::SetColWidth(), and SwTable::SplitCol().
|
inline |
Definition at line 373 of file swtable.hxx.
References SwClient::GetRegisteredIn().
Referenced by WW8TabDesc::AdjustNewBand(), SwTextFormatter::BuildMultiPortion(), SwShareBoxFormats::ChangeFrameFormat(), SwFrame::CheckDirChange(), ChgFrameFormat(), ClaimFrameFormat(), SwTable::ConvertSubtableBox(), 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_MergeGCBox(), 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().
|
inline |
Definition at line 374 of file swtable.hxx.
References SwClient::GetRegisteredIn().
|
inline |
Definition at line 361 of file swtable.hxx.
Referenced by SwDDETable::ChangeContent(), CheckBoxWidth(), SwTable::CheckConsistency(), SwTable::CheckRowSpan(), SwTable::CleanUpBottomRowSpan(), SwTable::CollectBoxSelection(), SwWriteTable::CollectTableRowsCols(), ConvertNestedTablesToText(), SwTable::ConvertSubtableBox(), SwTable::ConvertSubtables(), 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().
|
inline |
Definition at line 362 of file swtable.hxx.
SwTwips SwTableLine::GetTableLineHeight | ( | bool & | bLayoutAvailable | ) | const |
Definition at line 1543 of file swtable.cxx.
References SwFrame::FindTabFrame(), SwIterator< TElementType, TSource, eMode >::First(), SwFrameAreaDefinition::getFrameArea(), GetFrameFormat(), SwFlowFrame::HasFollow(), SwRect::Height(), SwFlowFrame::IsAnFollow(), SwFlowFrame::IsFollow(), SwTabFrame::IsInHeadline(), SwFrame::IsVertical(), SwIterator< TElementType, TSource, eMode >::Next(), and SwRect::Width().
Referenced by SwWriteTable::GetLineHeight().
|
inline |
Definition at line 369 of file swtable.hxx.
Referenced by DeleteBox_(), SwRowFrame::Format(), SwTableFormula::GetBoxes(), SwTableBox::GetCoordinates(), SwWriteTable::GetLineBrush(), SwTableFormula::GetLnPosInTable(), SwTableBox::GetName(), SwTable::GetTabCols(), SwVbaTableHelper::getTabRowIndex(), hasSoftPageBreak(), SwNodes::InsBoxen(), SwTable::InsTable(), SwTableBox::IsInHeadline(), lcl_CopyLineToDoc(), lcl_CpyBox(), lcl_DelLine(), lcl_FindParentLines(), lcl_FindTableLine(), lcl_GetBoxOffset(), lcl_GetDistance(), lcl_IsAnLower(), lcl_Merge_MoveLine(), lcl_MergeGCLine(), lcl_ProcessBoxSet(), lcl_RelToBox(), lcl_SaveUpperLowerBorder(), lcl_SortedTabColInsert(), SwHTMLWriter::OutCSS1_FrameFormatBackground(), MSWordExportBase::OutputSectionBreaks(), MSWordExportBase::OutputTextNode(), SwUndoTableNdsChg::SaveNewBoxes(), SwAccessibleTable::selectAccessibleChild(), SwTable::SelLineFromBox(), SwTable::SetColWidth(), SwTable::SetRowHeight(), SwTable::SetTabCols(), FndBox_::SetTableLines(), SwDoc::SortTable(), SwNodes::SplitTable(), and SwDoc::SplitTable().
|
inline |
Definition at line 370 of file swtable.hxx.
bool SwTableLine::hasSoftPageBreak | ( | ) | const |
Definition at line 108 of file softpagebreak.cxx.
References SwPageFrame::FindFirstBodyContent(), SwFrame::FindFooterOrHeader(), SwTabFrame::FindMaster(), SwFrame::FindPageFrame(), SwFrame::FindTabFrame(), SwIterator< TElementType, TSource, eMode >::First(), SwTabFrame::GetFirstNonHeadlineRow(), GetFrameFormat(), SwFrame::GetIndPrev(), SwFrame::GetPrev(), GetUpper(), SwFrame::GetUpper(), SwTabFrame::HasFollowFlowLine(), SwLayoutFrame::IsAnLower(), SwFlowFrame::IsFollow(), SwFrame::IsInFly(), SwFrame::IsInTab(), SwFlowFrame::IsPageBreak(), SwLayoutFrame::Lower(), and SwIterator< TElementType, TSource, eMode >::Next().
Referenced by SwXMLExport::ExportTableLine().
|
inline |
Definition at line 371 of file swtable.hxx.
Referenced by SaveTable::CreateNew().
|
private |
Definition at line 353 of file swtable.hxx.
Referenced by SwTableLine(), and ~SwTableLine().
|
private |
Definition at line 354 of file swtable.hxx.