|
LibreOffice Module sw (master) 1
|
#include <hintids.hxx>#include <osl/diagnose.h>#include <svl/numformat.hxx>#include <frmfmt.hxx>#include <doc.hxx>#include <IDocumentUndoRedo.hxx>#include <DocumentContentOperationsManager.hxx>#include <IDocumentRedlineAccess.hxx>#include <IDocumentFieldsAccess.hxx>#include <IDocumentLayoutAccess.hxx>#include <IDocumentStylePoolAccess.hxx>#include <pam.hxx>#include <swtable.hxx>#include <ndtxt.hxx>#include <tblsel.hxx>#include <poolfmt.hxx>#include <cellatr.hxx>#include <mvsave.hxx>#include <fmtanchr.hxx>#include <hints.hxx>#include <UndoTable.hxx>#include <fmtfsize.hxx>#include <frameformats.hxx>#include <deque>#include <memory>#include <numeric>Go to the source code of this file.
Functions | |
| static void | lcl_CpyBox (const SwTable &rCpyTable, const SwTableBox *pCpyBox, SwTable &rDstTable, SwTableBox *pDstBox, bool bDelContent, SwUndoTableCpyTable *pUndo) |
| Copy Table into this Box. More... | |
| static void | FndContentLine (const SwTableLine *pLine, SwSelBoxes *pPara) |
| static void | FndContentBox (const SwTableBox *pBox, SwSelBoxes *pPara) |
|
static |
Definition at line 999 of file tblcpy.cxx.
References SwTableLines::empty(), FndContentLine(), SwTableBox::GetTabLines(), and o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert().
Referenced by FndContentLine(), and SwTable::SelLineFromBox().
|
static |
Definition at line 1010 of file tblcpy.cxx.
References FndContentBox(), and SwTableLine::GetTabBoxes().
Referenced by FndContentBox().
|
static |
Copy Table into this Box.
Copy all Boxes of a Line into the corresponding Boxes. The old content is deleted by doing this. If no Box is left the remaining content goes to the Box of a "BaseLine". If there's no Line anymore, put it also into the last Box of a "BaseLine".
Definition at line 490 of file tblcpy.cxx.
References SwUndoTableCpyTable::AddBoxAfter(), SwUndoTableCpyTable::AddBoxBefore(), SwTableBox::ClaimFrameFormat(), sw::DocumentContentOperationsManager::CopyWithFlyInFly(), SwDoc::CorrAbs(), SfxItemSet::Count(), SwNodes::Delete(), IDocumentLayoutAccess::DelLayoutFormat(), SwNode::EndOfSectionIndex(), SwNode::EndOfSectionNode(), fnMoveForward, SwTableLines::front(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), SwDoc::GetAttrPool(), SwFormat::GetAttrSet(), SwNode::GetContentNode(), SwDoc::GetDfltTextFormatColl(), SwFormat::GetDoc(), SwDoc::GetDocumentContentOperationsManager(), SwContentNode::GetFormatColl(), SwTable::GetFrameFormat(), SwTableBox::GetFrameFormat(), SwDoc::getIDocumentLayoutAccess(), SwDoc::getIDocumentRedlineAccess(), SwDoc::getIDocumentStylePoolAccess(), SwDoc::GetIDocumentUndoRedo(), SwNodeIndex::GetIndex(), SfxItemSet::GetItemIfSet(), SwFormat::GetItemState(), SvNumberFormatter::GetMergeFormatIndex(), SwNodeIndex::GetNode(), SwDoc::GetNodes(), SwDoc::GetNumberFormatter(), SwFormat::GetPoolFormatId(), SwDoc::GetSpzFrameFormats(), SwTableBox::GetSttIdx(), SwTableBox::GetSttNd(), SwTable::GetTabLines(), SwTextNode::GetTextColl(), IDocumentStylePoolAccess::GetTextCollFromPool(), SwNode::GetTextNode(), SwTableLine::GetUpper(), SwTableBox::GetUpper(), CntUInt32Item::GetValue(), GoInSection(), SwNodes::GoNext(), SwNodes::GoPrevious(), SvNumberFormatter::HasMergeFormatTable(), IDocumentRedlineAccess::IsRedlineOn(), SwContentNode::Len(), SwNodes::MakeTextNode(), SwPaM::Move(), SfxItemSet::Put(), RES_BOXATR_FORMAT(), RES_BOXATR_FORMULA(), RES_BOXATR_VALUE(), RES_POOLCOLL_TABLE, RES_POOLCOLL_TABLE_HDLN, SwFormat::ResetFormatAttr(), SwPosition::SetContent(), SwFormat::SetFormatAttr(), SwPaM::SetMark(), SwDoc::SetTextFormatColl(), and SwTableLines::size().
Referenced by SwTable::InsTable().