LibreOffice Module sw (master) 1
|
Go to the source code of this file.
Classes | |
class | SwMovedBoxes |
struct | SwSortElement |
struct | SwSortTextElement |
struct | SwSortBoxElement |
class | FlatFndBox |
Namespaces | |
namespace | com |
namespace | com::sun |
namespace | com::sun::star |
namespace | com::sun::star::lang |
Functions | |
void | MoveCol (SwDoc *pDoc, const FlatFndBox &rBox, sal_uInt16 nS, sal_uInt16 nT, SwMovedBoxes &rMovedList, SwUndoSort *pUD) |
Move a column. More... | |
void | MoveRow (SwDoc *pDoc, const FlatFndBox &rBox, sal_uInt16 nS, sal_uInt16 nT, SwMovedBoxes &rMovedList, SwUndoSort *pUD) |
Move a row. More... | |
void | MoveCell (SwDoc *pDoc, const SwTableBox *pSource, const SwTableBox *pTar, bool bMovedBefore, SwUndoSort *pUD=nullptr) |
Move a single Cell. More... | |
void MoveCell | ( | SwDoc * | pDoc, |
const SwTableBox * | pSource, | ||
const SwTableBox * | pTar, | ||
bool | bMovedBefore, | ||
SwUndoSort * | pUD = nullptr |
||
) |
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().