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 | |
![]() | |
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 357 of file swtable.hxx.
SwTableLine::SwTableLine | ( | SwTableLineFormat * | pFormat, |
sal_uInt16 | nBoxes, | ||
SwTableBox * | pUp | ||
) |
Definition at line 1461 of file swtable.cxx.
|
overridevirtual |
Definition at line 1470 of file swtable.cxx.
References GetFrameFormat(), SwModify::HasWriterListeners(), i, m_aBoxes, and SwModify::Remove().
void SwTableLine::ChgFrameFormat | ( | SwTableLineFormat * | pNewFormat | ) |
Definition at line 1516 of file swtable.cxx.
References SwModify::Add(), and GetFrameFormat().
Referenced by SwShareBoxFormats::ChangeFrameFormat(), lcl_ProcessRowAttr(), and lcl_SplitTable_CpyLine().
SwFrameFormat * SwTableLine::ClaimFrameFormat | ( | ) |
Definition at line 1483 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(), SwXTextTableRow::setPropertyValue(), and UpdateTextChangesOnly().
SwTableBox * SwTableLine::FindNextBox | ( | const SwTable & | rTable, |
const SwTableBox * | pSrchBox = nullptr , |
||
bool | bOvrTableLns = true |
||
) | const |
Definition at line 2210 of file tblrwcl.cxx.
References SwTableLines::empty(), FindNextBox(), SwTableLines::front(), SwTableLines::GetPos(), GetTabBoxes(), SwTable::GetTabLines(), SwTableBox::GetTabLines(), size, and SwTableLines::size().
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 2261 of file tblrwcl.cxx.
References SwTableLines::back(), SwTableLines::empty(), FindPreviousBox(), SwTableLines::GetPos(), GetTabBoxes(), SwTable::GetTabLines(), and SwTableBox::GetTabLines().
Referenced by SwFEShell::DeleteRow(), SwDoc::DeleteRow(), FindPreviousBox(), and SwNodes::InsBoxen().
|
inline |
Definition at line 370 of file swtable.hxx.
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 380 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(), hasSoftPageBreak(), SwTable::InsertSpannedRow(), IsDeleted(), 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(), UpdateTextChangesOnly(), and ~SwTableLine().
|
inline |
Definition at line 381 of file swtable.hxx.
References SwClient::GetRegisteredIn().
RedlineType SwTableLine::GetRedlineType | ( | ) | const |
Definition at line 1768 of file swtable.cxx.
References SwRedlineTable::empty(), SwFormat::GetAttrSet(), SwFormat::GetDoc(), GetFrameFormat(), SwDoc::getIDocumentRedlineAccess(), SfxItemSet::GetItem(), IDocumentRedlineAccess::GetRedlineTable(), m_eRedlineType, nPos, SwRedlineTable::npos, RES_PRINT(), SetRedlineType(), and UpdateTextChangesOnly().
Referenced by SwCursorShell::GetContentAtPos(), SwView::GetState(), and SwRedlineAcceptDlg::InsertParents().
|
inline |
Definition at line 368 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(), GetTableSel(), ww8::WW8TableNodeInfoInner::getWidthsOfRow(), SwChartDataProvider::Impl_createDataSource(), SwNodes::InsBoxen(), SwXTableRows::insertByIndex(), SwXTableColumns::insertByIndex(), WW8TabDesc::InsertCells(), SwTable::InsertRow(), 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(), 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(), 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(), SwNodes::UndoTableToText(), and UpdateTextChangesOnly().
|
inline |
Definition at line 369 of file swtable.hxx.
SwTwips SwTableLine::GetTableLineHeight | ( | bool & | bLayoutAvailable | ) | const |
Definition at line 1526 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 376 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 377 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().
bool SwTableLine::IsDeleted | ( | SwRedlineTable::size_type & | rRedlinePos | ) | const |
Definition at line 1755 of file swtable.cxx.
References SwFormat::GetDoc(), GetFrameFormat(), SwDoc::getIDocumentRedlineAccess(), IDocumentRedlineAccess::GetRedlineTable(), nPos, SwRedlineTable::npos, and UpdateTextChangesOnly().
Referenced by lcl_BoxesInDeletedRows(), and FndBox_::MakeFrames().
bool SwTableLine::IsEmpty | ( | ) | const |
Definition at line 1565 of file swtable.cxx.
Referenced by SwUnoCursorHelper::makeTableRowRedline().
|
inline |
Definition at line 414 of file swtable.hxx.
Referenced by GetRedlineType(), and UpdateTextChangesOnly().
|
inline |
Definition at line 378 of file swtable.hxx.
Referenced by SaveTable::CreateNew().
SwRedlineTable::size_type SwTableLine::UpdateTextChangesOnly | ( | SwRedlineTable::size_type & | rRedlinePos, |
bool | bUpdateProperty = true |
||
) | const |
Definition at line 1610 of file swtable.cxx.
References ClaimFrameFormat(), SwFormat::GetAttrSet(), SwNode::GetContentNode(), SwFormat::GetDoc(), GetFrameFormat(), SwDoc::getIDocumentRedlineAccess(), SwIndex::GetIndex(), SwNodeIndex::GetIndex(), SfxItemSet::GetItem(), SwNodeIndex::GetNode(), SwRangeRedline::GetRedlineData(), IDocumentRedlineAccess::GetRedlineTable(), GetTabBoxes(), SwRedlineData::GetTimeStamp(), SwRangeRedline::GetType(), SwContentNode::Len(), SwModify::LockModify(), SwPosition::nContent, SwPosition::nNode, SwRedlineTable::npos, nType, RES_PRINT(), SwFormat::SetFormatAttr(), SetRedlineType(), SwRedlineTable::size(), Start, SwPaM::Start(), and SwModify::UnlockModify().
Referenced by SwView::Execute(), SwCursorShell::GetContentAtPos(), GetRedlineType(), SwRedlineAcceptDlg::InsertParents(), IsDeleted(), and DocxAttributeOutput::TableRowRedline().
|
private |
Definition at line 359 of file swtable.hxx.
Referenced by IsEmpty(), SwTableLine(), and ~SwTableLine().
|
private |
Definition at line 361 of file swtable.hxx.
Referenced by GetRedlineType().
|
private |
Definition at line 360 of file swtable.hxx.