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 |
RedlineType | m_eRedlineType |
Additional Inherited Members | |
Protected Member Functions inherited from SwClient | |
SwClient (SwModify *pToRegisterIn) | |
SwModify * | GetRegisteredInNonConst () const |
virtual void | SwClientNotify (const SwModify &, const SfxHint &rHint) override |
Protected Member Functions inherited from sw::WriterListener | |
WriterListener () | |
virtual | ~WriterListener () COVERITY_NOEXCEPT_FALSE |
virtual void | SwClientNotify (const SwModify &, const SfxHint &rHint)=0 |
SwTableLine is one table row in the document model.
Definition at line 375 of file swtable.hxx.
SwTableLine::SwTableLine | ( | SwTableLineFormat * | pFormat, |
sal_uInt16 | nBoxes, | ||
SwTableBox * | pUp | ||
) |
Definition at line 1460 of file swtable.cxx.
|
overridevirtual |
Definition at line 1469 of file swtable.cxx.
References GetFrameFormat(), i, and m_aBoxes.
void SwTableLine::ChgFrameFormat | ( | SwTableLineFormat * | pNewFormat | ) |
Definition at line 1515 of file swtable.cxx.
References GetFrameFormat().
Referenced by SwShareBoxFormats::ChangeFrameFormat(), lcl_ProcessRowAttr(), and lcl_SplitTable_CpyLine().
SwFrameFormat * SwTableLine::ClaimFrameFormat | ( | ) |
Definition at line 1482 of file swtable.cxx.
References SwIterator< TElementType, TSource, eMode >::First(), SwFormat::GetDoc(), GetFrameFormat(), SwDoc::MakeTableLineFormat(), and SwIterator< TElementType, TSource, eMode >::Next().
Referenced by WW8TabDesc::AdjustNewBand(), SwFrame::CheckDirChange(), SwTable::ConvertSubtableBox(), SwTable::InsertSpannedRow(), lcl_Merge_MoveLine(), lcl_ProcessRowAttr(), lcl_SplitTable_CpyLine(), HTMLTable::MakeTableBox(), HTMLTable::MakeTableLine(), SwXMLTableContext::MakeTableLine(), SwTable::NewSplitRow(), SwTable::OldMerge(), SwTable::OldSplitRow(), SwShareBoxFormats::SetAttr(), SetLineHeight(), SwXTextTableRow::setPropertyValue(), and UpdateTextChangesOnly().
SwTableBox * SwTableLine::FindNextBox | ( | const SwTable & | rTable, |
const SwTableBox * | pSrchBox = nullptr , |
||
bool | bOvrTableLns = true |
||
) | const |
Definition at line 2201 of file tblrwcl.cxx.
References SwTableLines::empty(), FindNextBox(), SwTableLines::front(), GetBoxPos(), SwTableLines::GetPos(), GetTabBoxes(), SwTable::GetTabLines(), SwTableBox::GetTabLines(), GetUpper(), SwTableBox::GetUpper(), size, and SwTableLines::size().
Referenced by SwFEShell::DeleteRow(), SwDoc::DeleteRow(), SwTableBox::FindNextBox(), FindNextBox(), and SwNodes::InsBoxen().
SwTableBox * SwTableLine::FindPreviousBox | ( | const SwTable & | rTable, |
const SwTableBox * | pSrchBox = nullptr , |
||
bool | bOvrTableLns = true |
||
) | const |
Definition at line 2252 of file tblrwcl.cxx.
References SwTableLines::back(), SwTableLines::empty(), FindPreviousBox(), GetBoxPos(), SwTableLines::GetPos(), GetTabBoxes(), SwTable::GetTabLines(), SwTableBox::GetTabLines(), GetUpper(), and SwTableBox::GetUpper().
Referenced by SwFEShell::DeleteRow(), SwDoc::DeleteRow(), SwTableBox::FindPreviousBox(), FindPreviousBox(), and SwNodes::InsBoxen().
|
inline |
Definition at line 388 of file swtable.hxx.
Referenced by DeleteBox_(), FindNextBox(), FindPreviousBox(), 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 398 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(), GetRedlineType(), GetRowFrame(), GetTableLineHeight(), GetTableRedline(), hasSoftPageBreak(), SwTable::InsertSpannedRow(), SwRowFrame::IsRowSplitAllowed(), IsTracked(), lcl_calcHeightOfRowBeforeThisFrame(), lcl_CopyLineToDoc(), lcl_CopyRow(), lcl_CopyTableLine(), lcl_Merge_MoveLine(), lcl_MergeGCBox(), lcl_MergeGCLine(), lcl_ProcessRowAttr(), lcl_SplitTable_CpyLine(), lcl_UnMerge(), FndBox_::MakeFrames(), FndBox_::MakeNewFrames(), SwXMLTableContext::MakeTable(), HTMLTable::MakeTable(), SwUnoCursorHelper::makeTableRowRedline(), sw::NotifyTableCollapsedParagraph(), SwTable::OldSplitRow(), SwHTMLWriter::OutCSS1_FrameFormatBackground(), MSWordExportBase::OutputTextNode(), SwShareBoxFormats::SetAttr(), SwXTextTableRow::setPropertyValue(), SwDoc::SetTabRows(), DocxAttributeOutput::StartTableRow(), WW8AttributeOutput::TableBackgrounds(), DocxAttributeOutput::TableBackgrounds(), RtfAttributeOutput::TableBackgrounds(), WW8AttributeOutput::TableCanSplit(), DocxAttributeOutput::TableCanSplit(), RtfAttributeOutput::TableCanSplit(), WW8AttributeOutput::TableHeight(), DocxAttributeOutput::TableHeight(), RtfAttributeOutput::TableHeight(), UpdateTextChangesOnly(), and ~SwTableLine().
|
inline |
Definition at line 399 of file swtable.hxx.
References SwClient::GetRegisteredIn().
RedlineType SwTableLine::GetRedlineType | ( | ) | const |
Definition at line 1954 of file swtable.cxx.
References SwRedlineTable::empty(), SwFormat::GetAttrSet(), SwFormat::GetDoc(), GetFrameFormat(), SwDoc::getIDocumentRedlineAccess(), SfxItemSet::GetItem(), IDocumentRedlineAccess::GetRedlineTable(), GetTableRedline(), m_eRedlineType, nPos, SwRedlineTable::npos, RES_PRINT(), SetRedlineType(), and UpdateTextChangesOnly().
Referenced by SwCursorShell::GetContentAtPos(), SwView::GetState(), SwRedlineAcceptDlg::InsertParents(), and IsDeleted().
|
inline |
Definition at line 386 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(), 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(), GetTableRedline(), GetTableSel(), ww8::WW8TableNodeInfoInner::getWidthsOfRow(), SwNodes::InsBoxen(), SwXTableRows::insertByIndex(), SwXTableColumns::insertByIndex(), WW8TabDesc::InsertCells(), SwTable::InsertRow(), SwTable::InsertRow_(), SwTable::InsertSpannedRow(), SwDoc::InsertTable(), SwTable::InsTable(), InsTableBox(), IsDeleted(), SwTable::IsTableComplexForChart(), lcl_AdjustWidthsInLine(), lcl_AjustLines(), lcl_BalanceTable(), lcl_Box2LeftBorder(), lcl_CalcNewWidths(), lcl_CalcWidth(), lcl_ChangeRowSpan(), lcl_CheckMinMax(), lcl_CheckRowSpan(), lcl_CopyCol(), lcl_CopyLineToDoc(), lcl_CopyTableLine(), lcl_CpyBoxes(), lcl_DelLine(), lcl_FillSelBoxes(), lcl_FindCornerTableBox(), 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(), SwTable::MakeCopy(), SwXMLTableContext::MakeTable(), HTMLTable::MakeTable(), HTMLTable::MakeTableBox(), HTMLTable::MakeTableLine(), SwXMLTableContext::MakeTableLine(), SwUnoCursorHelper::makeTableRowRedline(), 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(), SwDoc::SplitTable(), SwNodes::SplitTable(), sw_GC_Line_Border(), sw_Line_CollectBox(), sw_LineSetHeadCondColl(), SwRowFrame::SwRowFrame(), SwXMLTableLines_Impl::SwXMLTableLines_Impl(), WW8AttributeOutput::TableBackgrounds(), WW8AttributeOutput::TableCellBorders(), WW8AttributeOutput::TableVerticalCell(), SwNodes::TextToTable(), SwUndoTableNdsChg::UndoImpl(), SwUndoTableMerge::UndoImpl(), SwNodes::UndoTableToText(), and UpdateTextChangesOnly().
|
inline |
Definition at line 387 of file swtable.hxx.
SwTwips SwTableLine::GetTableLineHeight | ( | bool & | bLayoutAvailable | ) | const |
Definition at line 1525 of file swtable.cxx.
References SwFrame::FindTabFrame(), SwIterator< TElementType, TSource, eMode >::First(), SwFrameAreaDefinition::getFrameArea(), GetFrameFormat(), SwRect::Height(), SwTabFrame::IsInHeadline(), SwFrame::IsVertical(), SwIterator< TElementType, TSource, eMode >::Next(), and SwRect::Width().
Referenced by SwWriteTable::GetLineHeight().
SwRedlineTable::size_type SwTableLine::GetTableRedline | ( | ) | const |
Definition at line 1902 of file swtable.cxx.
References SwPaM::End(), SwRedlineTable::FindAtPosition(), SwFormat::GetDoc(), GetFrameFormat(), SwDoc::getIDocumentRedlineAccess(), IDocumentRedlineAccess::GetRedlineTable(), GetTabBoxes(), n, SwRedlineTable::npos, and SwPaM::Start().
Referenced by GetRedlineType(), and DocxAttributeOutput::TableRowRedline().
|
inline |
Definition at line 394 of file swtable.hxx.
Referenced by DeleteBox_(), FindNextBox(), FindPreviousBox(), 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(), SwDoc::SplitTable(), and SwNodes::SplitTable().
|
inline |
Definition at line 395 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(), SwFrame::IsInFly(), SwFrame::IsInTab(), SwLayoutFrame::Lower(), and SwIterator< TElementType, TSource, eMode >::Next().
Referenced by SwXMLExport::ExportTableLine().
bool SwTableLine::IsDeleted | ( | SwRedlineTable::size_type & | rRedlinePos | ) | const |
Definition at line 1937 of file swtable.cxx.
References GetRedlineType(), GetTabBoxes(), i, and IsTracked().
Referenced by SwFEShell::DeleteRow(), and FndBox_::MakeFrames().
bool SwTableLine::IsEmpty | ( | ) | const |
Definition at line 1567 of file swtable.cxx.
References i, IsEmpty(), and m_aBoxes.
Referenced by sw::GetAllValidRanges(), IsEmpty(), and SwUnoCursorHelper::makeTableRowRedline().
bool SwTableLine::IsTracked | ( | SwRedlineTable::size_type & | rRedlinePos, |
bool | bOnlyDeleted = false |
||
) | const |
Definition at line 1923 of file swtable.cxx.
References SwFormat::GetDoc(), GetFrameFormat(), SwDoc::getIDocumentRedlineAccess(), IDocumentRedlineAccess::GetRedlineTable(), nPos, SwRedlineTable::npos, and UpdateTextChangesOnly().
Referenced by IsDeleted(), and lcl_BoxesInTrackedRows().
|
inline |
Definition at line 438 of file swtable.hxx.
References eType.
Referenced by GetRedlineType(), and UpdateTextChangesOnly().
|
inline |
Definition at line 396 of file swtable.hxx.
Referenced by SaveTable::CreateNew().
SwRedlineTable::size_type SwTableLine::UpdateTextChangesOnly | ( | SwRedlineTable::size_type & | rRedlinePos, |
bool | bUpdateProperty = true |
||
) | const |
Definition at line 1751 of file swtable.cxx.
References ClaimFrameFormat(), SwPaM::End(), SwFormat::GetAttrSet(), SwPosition::GetContentIndex(), SwNode::GetContentNode(), SwFormat::GetDoc(), GetFrameFormat(), SwDoc::getIDocumentRedlineAccess(), SwNodeIndex::GetIndex(), SfxItemSet::GetItem(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), SwRangeRedline::GetRedlineData(), IDocumentRedlineAccess::GetRedlineTable(), GetTabBoxes(), SwRedlineData::GetTimeStamp(), SwRangeRedline::GetType(), SwContentNode::Len(), SwPosition::nNode, SwRedlineTable::npos, nType, RES_PRINT(), SwFormat::SetFormatAttr(), SetRedlineType(), SwRedlineTable::size(), Start, SwPaM::Start(), and SwNode::StartOfSectionNode().
Referenced by SwCursorShell::GetContentAtPos(), GetRedlineType(), SwRedlineAcceptDlg::InsertParents(), IsTracked(), and DocxAttributeOutput::TableRowRedline().
|
private |
Definition at line 377 of file swtable.hxx.
Referenced by IsEmpty(), SwTableLine(), and ~SwTableLine().
|
private |
Definition at line 379 of file swtable.hxx.
Referenced by GetRedlineType().
|
private |
Definition at line 378 of file swtable.hxx.