LibreOffice Module sw (master) 1
|
#include <tblsel.hxx>
Public Member Functions | |
FndBox_ (SwTableBox *pB, FndLine_ *pFL) | |
const FndLines_t & | GetLines () const |
FndLines_t & | GetLines () |
const SwTableBox * | GetBox () const |
SwTableBox * | GetBox () |
const FndLine_ * | GetUpper () const |
FndLine_ * | GetUpper () |
void | SetTableLines (const SwSelBoxes &rBoxes, const SwTable &rTable) |
void | SetTableLines (const SwTable &rTable) |
void | DelFrames (SwTable &rTable) |
void | MakeFrames (SwTable &rTable) |
void | MakeNewFrames (SwTable &rTable, const sal_uInt16 nNumber, const bool bBehind) |
bool | AreLinesToRestore (const SwTable &rTable) const |
void | ClearLineBehind () |
Private Member Functions | |
FndBox_ (FndBox_ const &)=delete | |
FndBox_ & | operator= (FndBox_ const &)=delete |
Private Attributes | |
SwTableBox * | m_pBox |
FndLines_t | m_Lines |
FndLine_ * | m_pUpper |
SwTableLine * | m_pLineBefore |
For deleting/restoring the layout. More... | |
SwTableLine * | m_pLineBehind |
For deleting/restoring the layout. More... | |
Definition at line 157 of file tblsel.hxx.
|
privatedelete |
|
inline |
Definition at line 212 of file tblsel.hxx.
bool FndBox_::AreLinesToRestore | ( | const SwTable & | rTable | ) | const |
Definition at line 2541 of file tblsel.cxx.
References SwTableLines::empty(), SwIterator< TElementType, TSource, eMode >::First(), SwTable::GetFrameFormat(), SwTableLines::GetPos(), SwTable::GetRowsToRepeat(), SwTable::GetTabLines(), lcl_UpdateRepeatedHeadlines(), m_pLineBefore, m_pLineBehind, SwIterator< TElementType, TSource, eMode >::Next(), and SwTableLines::size().
Referenced by SwTable::DeleteSel().
|
inline |
Definition at line 188 of file tblsel.hxx.
References m_pLineBehind.
Referenced by SwTable::InsNewTable().
void FndBox_::DelFrames | ( | SwTable & | rTable | ) |
Definition at line 2158 of file tblsel.cxx.
References SwTable::CheckRowSpan(), SwSectionFrame::ColLock(), SwSectionFrame::ColUnlock(), SwTabFrame::Cut(), SwFrame::DestroyFrame(), SwFrame::FindPrev(), SwFrame::FindSctFrame(), SwIterator< TElementType, TSource, eMode >::First(), SwTabFrame::GetFollow(), SwFrame::GetNext(), SwTableLines::GetPos(), SwFrame::GetPrev(), SwTable::GetTabLines(), SwFrame::GetUpper(), i, SwFrame::IsColLocked(), SwTable::IsNewModel(), SwFrame::IsTabFrame(), m_pLineBefore, m_pLineBehind, SwIterator< TElementType, TSource, eMode >::Next(), SwTabFrame::SetFollowFlowLine(), SwTableLines::size(), and UnsetFollow().
Referenced by SwTable::ConvertSubtables(), SaveTable::CreateNew(), SwTable::DeleteSel(), SwTable::InsertCol(), SwTable::InsertRow(), SwTable::InsertRow_(), SwTable::InsNewTable(), SwTable::InsTable(), SwNodes::MergeTable(), SwTable::NewInsertCol(), SwTable::NewSplitRow(), SwTable::OldMerge(), SwTable::OldSplitRow(), SaveTable::RestoreAttr(), SwTable::SplitCol(), SwDoc::SplitTable(), SwUndoTableNdsChg::UndoImpl(), SwUndoSplitTable::UndoImpl(), and SwUndoMergeTable::UndoImpl().
|
inline |
Definition at line 175 of file tblsel.hxx.
References m_pBox.
|
inline |
Definition at line 174 of file tblsel.hxx.
References m_pBox.
Referenced by SwFEShell::DeleteRow(), SwDoc::DeleteRow(), FlatFndBox::FillFlat(), FindBox_(), SwSortBoxElement::GetKey(), SwSortBoxElement::GetValue(), SwTable::InsertRow_(), lcl_CheckCol(), lcl_CopyBoxToDoc(), lcl_CopyCol(), lcl_GetBoxOffset(), lcl_Merge_MoveBox(), lcl_SetAFormatBox(), MoveCol(), MoveRow(), and SwTable::OldMerge().
|
inline |
Definition at line 173 of file tblsel.hxx.
References m_Lines.
|
inline |
Definition at line 172 of file tblsel.hxx.
References m_Lines.
Referenced by FlatFndBox::CheckBoxSymmetry(), FlatFndBox::CheckLineSymmetry(), CheckMergeSel(), SwTable::CopyHeadlineIntoTable(), SwFEShell::DeleteRow(), SwDoc::DeleteRow(), FlatFndBox::FillFlat(), FindBox_(), FndLineCopyCol(), FlatFndBox::GetColCount(), FlatFndBox::GetRowCount(), SwDoc::GetTableAutoFormat(), SwTable::InsertCol(), SwTable::InsertRow_(), SwTable::InsTable(), lcl_CheckCol(), lcl_CopyBoxToDoc(), lcl_CopyCol(), lcl_GetBoxOffset(), lcl_GetSelTable(), lcl_InsCol(), lcl_Merge_MoveBox(), lcl_SetAFormatBox(), SwTable::MakeCopy(), SwTable::OldMerge(), SwDoc::SetTableAutoFormat(), SetTableLines(), and SwDoc::SortTable().
|
inline |
Definition at line 177 of file tblsel.hxx.
References m_pUpper.
|
inline |
Definition at line 176 of file tblsel.hxx.
References m_pUpper.
Referenced by SwDoc::GetTableAutoFormat(), lcl_CopyCol(), lcl_SetAFormatBox(), SwTable::OldMerge(), and SwDoc::SetTableAutoFormat().
void FndBox_::MakeFrames | ( | SwTable & | rTable | ) |
Definition at line 2319 of file tblsel.cxx.
References SwIterator< TElementType, TSource, eMode >::First(), IDocumentLayoutAccess::GetCurrentLayout(), SwFormat::GetDoc(), SwTable::GetFrameFormat(), SwTableLine::GetFrameFormat(), SwDoc::getIDocumentLayoutAccess(), SwTableLines::GetPos(), SwTable::GetRowsToRepeat(), SwRowFrame::GetTabLine(), SwTable::GetTabLines(), SwFrame::GetUpper(), i, SwTableLine::IsDeleted(), SwRootFrame::IsHideRedlines(), SwFrame::IsInFollowFlowRow(), SwFrame::IsInSplitTableRow(), SwRowFrame::IsRepeatedHeadline(), SwFrame::IsTabFrame(), lcl_InsertRow(), lcl_IsLineOfTableFrame(), lcl_UpdateRepeatedHeadlines(), m_pLineBefore, m_pLineBehind, SwIterator< TElementType, TSource, eMode >::Next(), and SwTableLines::size().
Referenced by SwTable::ConvertSubtables(), SaveTable::CreateNew(), SwTable::DeleteSel(), SwTable::InsertCol(), SwTable::InsertRow(), SwTable::InsertRow_(), SwTable::InsNewTable(), SwTable::InsTable(), SwNodes::MergeTable(), SwTable::NewInsertCol(), SwTable::NewSplitRow(), SwTable::OldMerge(), SwTable::OldSplitRow(), SaveTable::RestoreAttr(), SwTable::SplitCol(), SwDoc::SplitTable(), and SwUndoMergeTable::UndoImpl().
void FndBox_::MakeNewFrames | ( | SwTable & | rTable, |
const sal_uInt16 | nNumber, | ||
const bool | bBehind | ||
) |
Definition at line 2401 of file tblsel.cxx.
References SwIterator< TElementType, TSource, eMode >::First(), SwTabFrame::GetFollow(), SwTable::GetFrameFormat(), SwTableLine::GetFrameFormat(), SwFrame::GetNext(), SwTableLines::GetPos(), SwTable::GetRowsToRepeat(), SwRowFrame::GetTabLine(), SwTable::GetTabLines(), SwFrame::GetUpper(), i, SwFrame::IsInFollowFlowRow(), SwFrame::IsInSplitTableRow(), SwRowFrame::IsRepeatedHeadline(), SwFrame::IsTabFrame(), lcl_InsertRow(), lcl_IsLineOfTableFrame(), lcl_UpdateRepeatedHeadlines(), SwLayoutFrame::Lower(), m_pLineBefore, m_pLineBehind, SwIterator< TElementType, TSource, eMode >::Next(), SwTabFrame::SetCalcLowers(), and SwTableLines::size().
Referenced by SwTable::InsertRow_().
void FndBox_::SetTableLines | ( | const SwSelBoxes & | rBoxes, |
const SwTable & | rTable | ||
) |
Definition at line 2096 of file tblsel.cxx.
References SwTableLines::GetPos(), SwTable::GetTabLines(), SwTableLine::GetUpper(), SwTableBox::GetUpper(), i, m_pLineBefore, m_pLineBehind, nPos, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), and SwTableLines::size().
Referenced by SwTable::DeleteSel(), SwTable::InsertCol(), SwTable::InsertRow(), SwTable::InsertRow_(), SwTable::InsNewTable(), SwTable::InsTable(), SwNodes::MergeTable(), SwTable::NewInsertCol(), SwTable::NewSplitRow(), SwTable::OldMerge(), SwTable::OldSplitRow(), SwTable::SplitCol(), SwDoc::SplitTable(), SwUndoTableNdsChg::UndoImpl(), SwUndoSplitTable::UndoImpl(), and SwUndoMergeTable::UndoImpl().
void FndBox_::SetTableLines | ( | const SwTable & | rTable | ) |
Definition at line 2129 of file tblsel.cxx.
References GetLines(), SwTableLines::GetPos(), SwTable::GetTabLines(), m_pLineBefore, m_pLineBehind, nPos, and SwTableLines::size().
|
private |
Definition at line 160 of file tblsel.hxx.
Referenced by GetLines().
|
private |
Definition at line 159 of file tblsel.hxx.
Referenced by GetBox().
|
private |
For deleting/restoring the layout.
Definition at line 163 of file tblsel.hxx.
Referenced by AreLinesToRestore(), DelFrames(), MakeFrames(), MakeNewFrames(), and SetTableLines().
|
private |
For deleting/restoring the layout.
Definition at line 164 of file tblsel.hxx.
Referenced by AreLinesToRestore(), ClearLineBehind(), DelFrames(), MakeFrames(), MakeNewFrames(), and SetTableLines().
|
private |
Definition at line 161 of file tblsel.hxx.
Referenced by GetUpper().