|
LibreOffice Module sw (master) 1
|
#include <hintids.hxx>#include <osl/diagnose.h>#include <unotools/collatorwrapper.hxx>#include <unotools/localedatawrapper.hxx>#include <comphelper/processfactory.hxx>#include <docary.hxx>#include <fmtanchr.hxx>#include <frmfmt.hxx>#include <doc.hxx>#include <IDocumentUndoRedo.hxx>#include <IDocumentFieldsAccess.hxx>#include <IDocumentRedlineAccess.hxx>#include <IDocumentState.hxx>#include <node.hxx>#include <pam.hxx>#include <ndtxt.hxx>#include <swtable.hxx>#include <swundo.hxx>#include <sortopt.hxx>#include <docsort.hxx>#include <UndoSort.hxx>#include <UndoRedline.hxx>#include <hints.hxx>#include <tblsel.hxx>#include <cellatr.hxx>#include <redline.hxx>#include <node2lay.hxx>#include <frameformats.hxx>#include <svl/numformat.hxx>#include <set>#include <utility>Go to the source code of this file.
Functions | |
| void | MoveRow (SwDoc *pDoc, const FlatFndBox &rBox, sal_uInt16 nS, sal_uInt16 nT, SwMovedBoxes &rMovedList, SwUndoSort *pUD) |
| Move a row. More... | |
| void | MoveCol (SwDoc *pDoc, const FlatFndBox &rBox, sal_uInt16 nS, sal_uInt16 nT, SwMovedBoxes &rMovedList, SwUndoSort *pUD) |
| Move a column. More... | |
| void | MoveCell (SwDoc *pDoc, const SwTableBox *pSource, const SwTableBox *pTar, bool bMovedBefore, SwUndoSort *pUD) |
| Move a single Cell. More... | |
| void MoveCell | ( | SwDoc * | pDoc, |
| const SwTableBox * | pSource, | ||
| const SwTableBox * | pTar, | ||
| bool | bMovedBefore, | ||
| SwUndoSort * | pUD | ||
| ) |
Move a single Cell.
Definition at line 674 of file docsort.cxx.
References SwNodeRange::aEnd, SwNodeRange::aStart, DEFAULT, SwNodes::Delete(), SwNode::EndOfSectionIndex(), SwNode::EndOfSectionNode(), SwNode::GetContentNode(), SwDoc::GetDfltTextFormatColl(), SwDoc::getIDocumentContentOperations(), SwTableBox::GetName(), SwNodeIndex::GetNode(), SwDoc::GetNodes(), SwTableBox::GetSttNd(), SwNodes::GoNext(), SwUndoSort::Insert(), SwContentNode::Len(), SwNodes::MakeTextNode(), IDocumentContentOperations::MoveNodeRange(), nCount, SwNodes::SectionDown(), SwNode::StartOfSectionIndex(), and SwNode::StartOfSectionNode().
Referenced by MoveCol(), MoveRow(), SwUndoSort::RedoImpl(), and SwUndoSort::UndoImpl().
| void MoveCol | ( | SwDoc * | pDoc, |
| const FlatFndBox & | rBox, | ||
| sal_uInt16 | nS, | ||
| sal_uInt16 | nT, | ||
| SwMovedBoxes & | rMovedList, | ||
| SwUndoSort * | pUD | ||
| ) |
Move a column.
Definition at line 630 of file docsort.cxx.
References FndBox_::GetBox(), FlatFndBox::GetBox(), SwTableBox::GetFrameFormat(), FlatFndBox::GetItemSet(), SwFormat::GetItemState(), SwMovedBoxes::GetPos(), FlatFndBox::GetRows(), i, MoveCell(), pS, SwMovedBoxes::push_back(), RES_BOXATR_FORMAT(), RES_BOXATR_FORMULA(), RES_BOXATR_VALUE(), RES_VERT_ORIENT(), SwFormat::ResetFormatAttr(), and SwFormat::SetFormatAttr().
Referenced by SwDoc::SortTable().
| void MoveRow | ( | SwDoc * | pDoc, |
| const FlatFndBox & | rBox, | ||
| sal_uInt16 | nS, | ||
| sal_uInt16 | nT, | ||
| SwMovedBoxes & | rMovedList, | ||
| SwUndoSort * | pUD | ||
| ) |
Move a row.
Definition at line 586 of file docsort.cxx.
References FndBox_::GetBox(), FlatFndBox::GetBox(), FlatFndBox::GetCols(), SwTableBox::GetFrameFormat(), FlatFndBox::GetItemSet(), SwFormat::GetItemState(), SwMovedBoxes::GetPos(), i, MoveCell(), pS, SwMovedBoxes::push_back(), RES_BOXATR_FORMAT(), RES_BOXATR_FORMULA(), RES_BOXATR_VALUE(), RES_VERT_ORIENT(), SwFormat::ResetFormatAttr(), and SwFormat::SetFormatAttr().
Referenced by SwDoc::SortTable().