LibreOffice Module sw (master) 1
|
#include <DocumentContentOperationsManager.hxx>
Classes | |
struct | ParaRstFormat |
Parameters for _Rst and lcl_SetTextFormatColl. More... | |
Public Member Functions | |
DocumentContentOperationsManager (SwDoc &i_rSwdoc) | |
bool | CopyRange (SwPaM &, SwPosition &, SwCopyFlags) const override |
Copy a selected content range to a position. More... | |
void | DeleteSection (SwNode *pNode) override |
Delete a full Section of the NodeArray. More... | |
void | DeleteRange (SwPaM &) override |
Delete a range SwFlyFrameFormat. More... | |
bool | DelFullPara (SwPaM &) override |
Delete full paragraphs. More... | |
bool | DeleteAndJoin (SwPaM &, SwDeleteFlags flags=SwDeleteFlags::Default) override |
complete delete of a given PaM More... | |
bool | MoveRange (SwPaM &, SwPosition &, SwMoveFlags) override |
bool | MoveNodeRange (SwNodeRange &, SwNode &, SwMoveFlags) override |
void | MoveAndJoin (SwPaM &, SwPosition &) override |
Move a range. More... | |
bool | Overwrite (const SwPaM &rRg, const OUString &rStr) override |
Overwrite string in an existing text node. More... | |
bool | InsertString (const SwPaM &rRg, const OUString &, const SwInsertFlags nInsertMode=SwInsertFlags::EMPTYEXPAND) override |
Insert string into existing text node at position rRg.Point(). More... | |
void | SetIME (bool bIME) override |
States that the last inserted string came from IME. More... | |
bool | GetIME () const override |
Did the last inserted string come from IME? More... | |
void | TransliterateText (const SwPaM &rPaM, utl::TransliterationWrapper &) override |
change text to Upper/Lower/Hiragana/Katakana/... More... | |
SwFlyFrameFormat * | InsertGraphic (const SwPaM &rRg, const OUString &rGrfName, const OUString &rFltName, const Graphic *pGraphic, const SfxItemSet *pFlyAttrSet, const SfxItemSet *pGrfAttrSet, SwFrameFormat *) override |
Insert graphic or formula. More... | |
void | ReRead (SwPaM &, const OUString &rGrfName, const OUString &rFltName, const Graphic *pGraphic) override |
Transpose graphic (with undo) More... | |
SwDrawFrameFormat * | InsertDrawObj (const SwPaM &rRg, SdrObject &rDrawObj, const SfxItemSet &rFlyAttrSet) override |
Insert a DrawObject. More... | |
SwFlyFrameFormat * | InsertEmbObject (const SwPaM &rRg, const svt::EmbeddedObjectRef &xObj, SfxItemSet *pFlyAttrSet) override |
Insert OLE-objects. More... | |
SwFlyFrameFormat * | InsertOLE (const SwPaM &rRg, const OUString &rObjName, sal_Int64 nAspect, const SfxItemSet *pFlyAttrSet, const SfxItemSet *pGrfAttrSet) override |
bool | SplitNode (const SwPosition &rPos, bool bChkTableStart) override |
Split a node at rPos (implemented only for TextNode). More... | |
bool | AppendTextNode (SwPosition &rPos) override |
bool | ReplaceRange (SwPaM &rPam, const OUString &rNewStr, const bool bRegExReplace) override |
Replace selected range in a TextNode with string. More... | |
bool | InsertPoolItem (const SwPaM &rRg, const SfxPoolItem &, const SetAttrMode nFlags=SetAttrMode::DEFAULT, SwRootFrame const *pLayout=nullptr, SwTextAttr **ppNewTextAttr=nullptr) override |
Insert an attribute. More... | |
void | InsertItemSet (const SwPaM &rRg, const SfxItemSet &, const SetAttrMode nFlags=SetAttrMode::DEFAULT, SwRootFrame const *pLayout=nullptr) override |
void | RemoveLeadingWhiteSpace (const SwPosition &rPos) override |
Removes any leading white space from the paragraph. More... | |
void | RemoveLeadingWhiteSpace (SwPaM &rPaM) override |
void | DeleteDummyChar (SwPosition const &rPos, sal_Unicode cDummy) |
void | CopyWithFlyInFly (const SwNodeRange &rRg, SwNode &rInsPos, const std::pair< const SwPaM &, const SwPosition & > *pCopiedPaM=nullptr, bool bMakeNewFrames=true, bool bDelRedlines=true, bool bCopyFlyAtFly=false, SwCopyFlags flags=SwCopyFlags::Default) const |
note: rRg/rInsPos exclude a partially selected start text node; pCopiedPaM includes a partially selected start text node More... | |
void | CopyFlyInFlyImpl (const SwNodeRange &rRg, SwPaM const *const pCopiedPaM, SwNode &rStartIdx, const bool bCopyFlyAtFly=false, SwCopyFlags flags=SwCopyFlags::Default) const |
virtual | ~DocumentContentOperationsManager () override |
virtual bool | CopyRange (SwPaM &rPam, SwPosition &rPos, SwCopyFlags flags) const =0 |
Copy a selected content range to a position. More... | |
virtual void | DeleteSection (SwNode *pNode)=0 |
Delete section containing the node. More... | |
virtual void | DeleteRange (SwPaM &)=0 |
Delete a range SwFlyFrameFormat. More... | |
virtual bool | DelFullPara (SwPaM &)=0 |
Delete full paragraphs. More... | |
virtual bool | DeleteAndJoin (SwPaM &, SwDeleteFlags flags=SwDeleteFlags::Default)=0 |
complete delete of a given PaM More... | |
virtual bool | MoveRange (SwPaM &, SwPosition &, SwMoveFlags)=0 |
virtual bool | MoveNodeRange (SwNodeRange &, SwNode &, SwMoveFlags)=0 |
virtual void | MoveAndJoin (SwPaM &, SwPosition &)=0 |
Move a range. More... | |
virtual bool | Overwrite (const SwPaM &rRg, const OUString &rStr)=0 |
Overwrite string in an existing text node. More... | |
virtual bool | InsertString (const SwPaM &rRg, const OUString &, const SwInsertFlags nInsertMode=SwInsertFlags::EMPTYEXPAND)=0 |
Insert string into existing text node at position rRg.Point(). More... | |
virtual void | SetIME (bool bIME)=0 |
States that the last inserted string came from IME. More... | |
virtual bool | GetIME () const =0 |
Did the last inserted string come from IME? More... | |
virtual void | TransliterateText (const SwPaM &rPaM, utl::TransliterationWrapper &)=0 |
change text to Upper/Lower/Hiragana/Katakana/... More... | |
virtual SwFlyFrameFormat * | InsertGraphic (const SwPaM &rRg, const OUString &rGrfName, const OUString &rFltName, const Graphic *pGraphic, const SfxItemSet *pFlyAttrSet, const SfxItemSet *pGrfAttrSet, SwFrameFormat *)=0 |
Insert graphic or formula. More... | |
virtual void | ReRead (SwPaM &, const OUString &rGrfName, const OUString &rFltName, const Graphic *pGraphic)=0 |
Transpose graphic (with undo) More... | |
virtual SwDrawFrameFormat * | InsertDrawObj (const SwPaM &rRg, SdrObject &rDrawObj, const SfxItemSet &rFlyAttrSet)=0 |
Insert a DrawObject. More... | |
virtual SwFlyFrameFormat * | InsertEmbObject (const SwPaM &rRg, const svt::EmbeddedObjectRef &xObj, SfxItemSet *pFlyAttrSet)=0 |
Insert OLE-objects. More... | |
virtual SwFlyFrameFormat * | InsertOLE (const SwPaM &rRg, const OUString &rObjName, sal_Int64 nAspect, const SfxItemSet *pFlyAttrSet, const SfxItemSet *pGrfAttrSet)=0 |
virtual bool | SplitNode (const SwPosition &rPos, bool bChkTableStart)=0 |
Split a node at rPos (implemented only for TextNode). More... | |
virtual bool | AppendTextNode (SwPosition &rPos)=0 |
virtual bool | ReplaceRange (SwPaM &rPam, const OUString &rNewStr, const bool bRegExReplace)=0 |
Replace selected range in a TextNode with string. More... | |
virtual bool | InsertPoolItem (const SwPaM &rRg, const SfxPoolItem &, const SetAttrMode nFlags=SetAttrMode::DEFAULT, SwRootFrame const *pLayout=nullptr, SwTextAttr **ppNewTextAttr=nullptr)=0 |
Insert an attribute. More... | |
virtual void | InsertItemSet (const SwPaM &rRg, const SfxItemSet &, const SetAttrMode nFlags=SetAttrMode::DEFAULT, SwRootFrame const *pLayout=nullptr)=0 |
virtual void | RemoveLeadingWhiteSpace (const SwPosition &rPos)=0 |
Removes any leading white space from the paragraph. More... | |
virtual void | RemoveLeadingWhiteSpace (SwPaM &rPaM)=0 |
Static Public Member Functions | |
static bool | lcl_RstTextAttr (SwNode *pNd, void *pArgs) |
@params pArgs contains the document's ChrFormatTable Is need for selections at the beginning/end and with no SSelection. More... | |
Private Member Functions | |
bool | DeleteAndJoinImpl (SwPaM &, SwDeleteFlags) |
bool | DeleteAndJoinWithRedlineImpl (SwPaM &, SwDeleteFlags) |
bool | DeleteRangeImpl (SwPaM &, SwDeleteFlags) |
bool | DeleteRangeImplImpl (SwPaM &, SwDeleteFlags) |
bool | ReplaceRangeImpl (SwPaM &, OUString const &, const bool) |
SwFlyFrameFormat * | InsNoTextNode (const SwPosition &rPos, SwNoTextNode *, const SfxItemSet *pFlyAttrSet, const SfxItemSet *pGrfAttrSet, SwFrameFormat *) |
bool | CopyImpl (SwPaM &, SwPosition &, SwCopyFlags flags, SwPaM *const pCpyRng) const |
bool | CopyImplImpl (SwPaM &, SwPosition &, SwCopyFlags flags, SwPaM *const pCpyRng) const |
DocumentContentOperationsManager (DocumentContentOperationsManager const &)=delete | |
DocumentContentOperationsManager & | operator= (DocumentContentOperationsManager const &)=delete |
Private Attributes | |
SwDoc & | m_rDoc |
bool | m_bIME = false |
Additional Inherited Members | |
Protected Member Functions inherited from IDocumentContentOperations | |
virtual | ~IDocumentContentOperations () |
Definition at line 33 of file DocumentContentOperationsManager.hxx.
sw::DocumentContentOperationsManager::DocumentContentOperationsManager | ( | SwDoc & | i_rSwdoc | ) |
Definition at line 1978 of file DocumentContentOperationsManager.cxx.
|
overridevirtual |
Definition at line 4087 of file DocumentContentOperationsManager.cxx.
|
privatedelete |
|
overridevirtual |
Implements IDocumentContentOperations.
Definition at line 3423 of file DocumentContentOperationsManager.cxx.
References SwPosition::Adjust(), SwTextNode::AppendNode(), IDocumentRedlineAccess::AppendRedline(), SwRedlineTable::empty(), fnMoveBackward, SwDoc::getIDocumentRedlineAccess(), SwDoc::getIDocumentState(), SwDoc::getIDocumentStylePoolAccess(), SwDoc::GetIDocumentUndoRedo(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwDoc::GetNodes(), IDocumentRedlineAccess::GetRedlineTable(), IDocumentStylePoolAccess::GetTextCollFromPool(), SwNode::GetTextNode(), IDocumentRedlineAccess::IsIgnoreRedline(), IDocumentRedlineAccess::IsRedlineOn(), m_rDoc, SwNodes::MakeTextNode(), SwPaM::Move(), RES_POOLCOLL_STANDARD, SwPaM::SetMark(), IDocumentState::SetModified(), and IDocumentRedlineAccess::SplitRedline().
void sw::DocumentContentOperationsManager::CopyFlyInFlyImpl | ( | const SwNodeRange & | rRg, |
SwPaM const *const | pCopiedPaM, | ||
SwNode & | rStartIdx, | ||
const bool | bCopyFlyAtFly = false , |
||
SwCopyFlags | flags = SwCopyFlags::Default |
||
) | const |
Definition at line 3795 of file DocumentContentOperationsManager.cxx.
References SwNodeRange::aEnd, AllMask, SwPosition::Assign(), SwNodeRange::aStart, IDocumentLayoutAccess::CopyLayoutFormat(), SwPaM::End(), SwNode::EndOfSectionIndex(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), SwFormat::GetChain(), SwFormatAnchor::GetContentAnchor(), SwFormatContent::GetContentIdx(), SwPosition::GetContentIndex(), SwNode::GetDoc(), SwNodes::GetEndOfContent(), SwDoc::getIDocumentLayoutAccess(), SwDoc::getIDocumentRedlineAccess(), SwNodeIndex::GetIndex(), SwNode::GetIndex(), SwFormatChain::GetNext(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), SwNode::GetNodes(), SwFormatChain::GetPrev(), SwDoc::GetSpzFrameFormats(), SwNode::GetStartNode(), IsDestroyFrameAnchoredAtChar(), IsMoveToFly, IDocumentRedlineAccess::IsRedlineMove(), IsSelectFrameAnchoredAtPara(), SwTextBoxHelper::isTextBox(), SwNode::IsTextNode(), m_rDoc, n, RES_FLYFRMFMT(), SwTextBoxHelper::restoreLinks(), SwTextBoxHelper::saveLinks(), SwFormatAnchor::SetAnchor(), SwPosition::SetContent(), SwPaM::Start(), and WriterfilterHack.
Referenced by SwDoc::CopyMasterFooter(), SwDoc::CopyMasterHeader(), and SwDoc::CopyPageDescHeaderFooterImpl().
|
private |
Definition at line 4804 of file DocumentContentOperationsManager.cxx.
References SwPosition::Assign(), sw::CalcBreaks(), SwPaM::End(), SwPaM::GetMark(), SwPosition::GetNodeIndex(), SwPosition::GetNodes(), SwPaM::GetPoint(), IsMoveToFly, SwPaM::SetMark(), and SwPaM::Start().
Referenced by CopyRange().
|
private |
Definition at line 4871 of file DocumentContentOperationsManager.cxx.
References aBreakSetRange, SwPosition::Adjust(), SwNodeRange::aEnd, SwContentIndex::Assign(), SwNodeIndex::Assign(), SwNodeRange::aStart, CopyAll, sw::CopyBookmarks(), SwTextNode::CopyCollFormat(), SwTextNode::CopyText(), SfxItemSet::Count(), SwDoc::CreateUnoCursor(), DeleteRedlines, SwPaM::Exchange(), fnMoveBackward, fnMoveForward, IDocumentMarkAccess::getAllMarksCount(), SwFormatAnchor::GetAnchorId(), SwDoc::GetAttrPool(), SwPaM::GetBound(), SwPosition::GetContentIndex(), SwNode::GetContentNode(), SwPosition::GetContentNode(), SwNode::GetDoc(), SwUndoInserts::GetFlysAnchoredAt(), sw::GetFlysAnchoredAt(), SwDoc::getIDocumentContentOperations(), SwDoc::getIDocumentMarkAccess(), SwDoc::getIDocumentRedlineAccess(), SwDoc::getIDocumentState(), SwDoc::getIDocumentStylePoolAccess(), SwDoc::GetIDocumentUndoRedo(), SwNodeIndex::GetIndex(), SfxItemSet::GetItemState(), SwContentIndex::GetMark(), SwPaM::GetMark(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), SwDoc::GetNodes(), SwNode::GetNodeType(), SwDoc::GetOutlineNumRule(), SwPaM::GetPageNum(), SwPaM::GetPoint(), SwContentNode::GetpSwAttrSet(), IDocumentRedlineAccess::GetRedlineFlags(), SwTextNode::GetText(), IDocumentStylePoolAccess::GetTextCollFromPool(), SwNode::GetTextNode(), GoInContent(), GoInNode(), SwPaM::HasMark(), SwContentNode::HasSwAttrSet(), Ignore, SwDoc::IsClipBoard(), SwDoc::IsColumnSelection(), SwNode::IsContentNode(), sw::IsEmptyRange(), SwTextNode::IsInList(), SwDoc::IsInsOnlyTextGlossary(), SwTextNode::Len(), m_rDoc, SwTextNode::MakeCopy(), SwNodes::MakeTextNode(), SwPaM::Move(), SwPosition::nContent, SwPosition::nNode, NUMRULE_STATE, POP_NUMRULE_STATE, PUSH_NUMRULE_STATE, SfxItemSet::Put(), RES_BREAK(), RES_PAGEDESC(), RES_POOLCOLL_STANDARD, SwTextNode::ResetAttr(), SwDoc::SearchNumRule(), SwTextNode::SetAttr(), SwPosition::SetContent(), SwUndoInserts::SetInsertRange(), SwPaM::SetMark(), IDocumentState::SetModified(), SwDoc::SetNumRule(), SwDoc::SetOutlineNumRule(), IDocumentRedlineAccess::SetRedlineFlags_intern(), IDocumentContentOperations::SplitNode(), SwPaM::Start(), SwPaM::StartEnd(), and Table.
|
overridevirtual |
Copy a selected content range to a position.
The position can be in the same or in an another document. It can also be within the range!
Normally this function should work only with content nodes. But there is a special case used by SwDoc::Paste, which starts the SwPaM at the content start node. This position doesn't contain any content:
This is important, because it prevents merging of the first node of the range into the node pointed to by rPos
. As a result this keeps all properties of the first real content node, which is the 2nd, including the Flys and the page description. In this case the first (fake) node is silently dropped and all other nodes are just copied.
rPam | The source node range to copy |
rPos | The target copy destination |
flags | SwCopyFlags::CheckPos: If this function should check if rPos is in a fly frame anchored in rPam. If false, then no such check will be performed, and it is assumed that the caller took care of verifying this constraint already. |
Implements IDocumentContentOperations.
Definition at line 2006 of file DocumentContentOperationsManager.cxx.
References IDocumentRedlineAccess::AppendRedline(), CheckPosInFly, CopyImpl(), SwRedlineTable::empty(), SwPaM::End(), SwPosition::GetContentIndex(), SwNode::GetDoc(), SwDoc::getIDocumentRedlineAccess(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), SwDoc::GetNodes(), IDocumentRedlineAccess::GetRedlineFlags(), IDocumentRedlineAccess::GetRedlineTable(), SwPaM::HasMark(), SwDoc::IsClipBoard(), SwDoc::IsColumnSelection(), SwNode::IsContentNode(), sw::IsEmptyRange(), IDocumentRedlineAccess::IsIgnoreRedline(), IDocumentRedlineAccess::IsRedlineOn(), SwNode::IsTextNode(), SwContentNode::Len(), m_rDoc, IDocumentRedlineAccess::SetRedlineFlags_intern(), IDocumentRedlineAccess::SplitRedline(), and SwPaM::Start().
void sw::DocumentContentOperationsManager::CopyWithFlyInFly | ( | const SwNodeRange & | rRg, |
SwNode & | rInsPos, | ||
const std::pair< const SwPaM &, const SwPosition & > * | pCopiedPaM = nullptr , |
||
bool | bMakeNewFrames = true , |
||
bool | bDelRedlines = true , |
||
bool | bCopyFlyAtFly = false , |
||
SwCopyFlags | flags = SwCopyFlags::Default |
||
) | const |
note: rRg/rInsPos exclude a partially selected start text node; pCopiedPaM includes a partially selected start text node
Definition at line 3635 of file DocumentContentOperationsManager.cxx.
References SwNodeRange::aEnd, SwNodeRange::aStart, sw::CopyBookmarks(), SwNodes::CopyNodes(), SwNodes::DelDummyNodes(), DeleteRedlines, SwContentNode::DelFrames(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::end(), end, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::erase(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::find(), SwNode::FindSectionNode(), SwIterator< TElementType, TSource, eMode >::First(), IDocumentMarkAccess::getAllMarksCount(), SwNode::GetDoc(), SwDoc::getIDocumentMarkAccess(), SwDoc::getIDocumentRedlineAccess(), SwDoc::GetIDocumentUndoRedo(), SwNodeIndex::GetIndex(), SwNode::GetIndex(), SwNodeIndex::GetNode(), SwDoc::GetNodes(), SwNode::GetNodeType(), IDocumentRedlineAccess::GetRedlineFlags(), SwNode::GetTextNode(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), SwNode::IsEndNode(), SwNode::IsSectionNode(), SwNode::IsStartNode(), m_rDoc, MakeFrames(), SwIterator< TElementType, TSource, eMode >::Next(), sw::RecreateStartTextFrames(), SaveRedlEndPosForRestore::Restore(), and Start.
Referenced by SwTextFootnote::CopyFootnote(), sw::DocumentLayoutManager::CopyLayoutFormat(), SwRangeRedline::CopyToSection(), lcl_CopyBoxToDoc(), lcl_CpyBox(), and SwDoc::SplitDoc().
|
overridevirtual |
complete delete of a given PaM
Implements IDocumentContentOperations.
Definition at line 2343 of file DocumentContentOperationsManager.cxx.
References DeleteAndJoinImpl(), DeleteAndJoinWithRedlineImpl(), SwDoc::getIDocumentRedlineAccess(), IDocumentRedlineAccess::IsRedlineOn(), and m_rDoc.
|
private |
Definition at line 4234 of file DocumentContentOperationsManager.cxx.
References IDocumentRedlineAccess::CompressRedlines(), SwRedlineTable::empty(), SwDoc::getIDocumentRedlineAccess(), IDocumentRedlineAccess::GetRedlineTable(), IDocumentRedlineAccess::IsIgnoreRedline(), m_rDoc, sw_GetJoinFlags(), and sw_JoinText().
Referenced by DeleteAndJoin().
|
private |
Definition at line 4092 of file DocumentContentOperationsManager.cxx.
References IDocumentRedlineAccess::AcceptRedlineParagraphFormatting(), IDocumentRedlineAccess::AppendRedline(), SwUndoRedlineDelete::CanGrouping(), SwDoc::CreateUnoCursor(), DELETE, EMPTY, SwPaM::End(), sw::GetAllValidRanges(), SwDoc::getIDocumentMarkAccess(), SwDoc::getIDocumentRedlineAccess(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), sw::UndoManager::GetLastUndo(), SwPaM::GetMark(), SwPaM::GetPoint(), IDocumentRedlineAccess::GetRedlineFlags(), SwDoc::GetUndoManager(), IDocumentRedlineAccess::IsRedlineOn(), m_rDoc, On, SAL_WARN_IF, IDocumentState::SetModified(), IDocumentRedlineAccess::SetRedlineFlags(), ShowDelete, ShowInsert, ShowMask, SwPaM::Start(), and sw::UpdateFramesForAddDeleteRedline().
Referenced by DeleteAndJoin().
void sw::DocumentContentOperationsManager::DeleteDummyChar | ( | SwPosition const & | rPos, |
sal_Unicode | cDummy | ||
) |
Definition at line 2121 of file DocumentContentOperationsManager.cxx.
References SwPosition::AdjustContent(), IDocumentRedlineAccess::CompressRedlines(), Default, DeleteRangeImpl(), SwRedlineTable::empty(), SwDoc::getIDocumentRedlineAccess(), SwPaM::GetPoint(), IDocumentRedlineAccess::GetRedlineTable(), SwPaM::GetText(), IDocumentRedlineAccess::IsIgnoreRedline(), and m_rDoc.
|
overridevirtual |
Delete a range SwFlyFrameFormat.
Implements IDocumentContentOperations.
Definition at line 2138 of file DocumentContentOperationsManager.cxx.
References IDocumentRedlineAccess::CompressRedlines(), Default, DeleteRangeImpl(), SwRedlineTable::empty(), SwDoc::getIDocumentRedlineAccess(), IDocumentRedlineAccess::GetRedlineTable(), IDocumentRedlineAccess::IsIgnoreRedline(), and m_rDoc.
|
private |
Definition at line 4257 of file DocumentContentOperationsManager.cxx.
References sw::GetCorrPosition(), SwPaM::GetMark(), SwPaM::GetPoint(), PaMCorrAbs(), and pos.
Referenced by DeleteDummyChar(), and DeleteRange().
|
private |
Definition at line 4276 of file DocumentContentOperationsManager.cxx.
References ArtificialSelection, SwContentIndex::Assign(), SwUndoDelete::CanGrouping(), SwAutoCorrExceptWord::CheckDelChar(), SwNodes::Count(), SwpHints::Count(), SwpHints::Cut(), DelBookmarks(), SwNodes::Delete(), SwDoc::DeleteAutoCorrExceptWord(), SwPaM::DeleteMark(), IDocumentRedlineAccess::DeleteRedline(), DelFlyInRange(), SwTextNode::DestroyAttr(), SwRedlineTable::empty(), SwTextAttr::End(), SwTextNode::EraseText(), SwpHints::Get(), SwDoc::GetAutoCorrExceptWord(), SwPosition::GetContentIndex(), SwNode::GetContentNode(), SwDoc::getIDocumentRedlineAccess(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), SwNodeIndex::GetIndex(), sw::UndoManager::GetLastUndo(), SwPaM::GetMark(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwDoc::GetNodes(), SwPaM::GetPoint(), SwTextNode::GetpSwpHints(), IDocumentRedlineAccess::GetRedlineTable(), SwTextAttr::GetStart(), SwNode::GetTextNode(), SwDoc::GetUndoManager(), SwPaM::HasMark(), SwAutoCorrExceptWord::IsDeleted(), IsFlySelectedByCursor(), IDocumentRedlineAccess::IsIgnoreRedline(), SwNode::IsSectionNode(), SwContentNode::Len(), SwTextNode::Len(), m_rDoc, n, SwPosition::nContent, SwNodes::SectionUp(), SwPosition::SetContent(), IDocumentState::SetModified(), SwPaM::StartEnd(), and SwNode::StartOfSectionNode().
|
overridevirtual |
Delete a full Section of the NodeArray.
The passed Node is located somewhere in the designated Section.
Implements IDocumentContentOperations.
Definition at line 2098 of file DocumentContentOperationsManager.cxx.
References DelBookmarks(), IDocumentRedlineAccess::DeleteRedline(), DelFlyInRange(), SwNodes::DelNodes(), SwNode::EndOfSectionNode(), sw::GetCorrPosition(), SwDoc::getIDocumentRedlineAccess(), SwNodeIndex::GetIndex(), SwNodeIndex::GetNode(), SwDoc::GetNodes(), SwNode::IsStartNode(), m_rDoc, PaMCorrAbs(), pos, and SwNode::StartOfSectionNode().
|
overridevirtual |
Delete full paragraphs.
Implements IDocumentContentOperations.
Definition at line 2149 of file DocumentContentOperationsManager.cxx.
References SwPosition::Adjust(), SwNodeRange::aEnd, SwPosition::AssignEndIndex(), SwPosition::AssignStartIndex(), SwNodeRange::aStart, CH_TXT_ATR_FIELDEND, CH_TXT_ATR_FIELDSEP, CH_TXT_ATR_FIELDSTART, IDocumentRedlineAccess::CompressRedlines(), SwDoc::CorrAbs(), SwNodes::Count(), Default, SwNodes::Delete(), SwPaM::DeleteMark(), IDocumentMarkAccess::deleteMark(), IDocumentLayoutAccess::DelLayoutFormat(), SwRedlineTable::empty(), SwPaM::End(), SwNode::EndOfSectionIndex(), SwPaM::Exchange(), fnMoveBackward, fnMoveForward, SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), SwNode::GetContentNode(), SwPosition::GetContentNode(), IDocumentMarkAccess::getFieldmarkAt(), SwTable::GetFrameFormat(), SwDoc::getIDocumentLayoutAccess(), SwDoc::getIDocumentMarkAccess(), SwDoc::getIDocumentRedlineAccess(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), IDocumentMarkAccess::getInnerFieldmarkFor(), SfxItemSet::GetItemState(), getLength(), SwPaM::GetMark(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), SwDoc::GetNodes(), SwPaM::GetPoint(), IDocumentRedlineAccess::GetRedlineTable(), SwDoc::GetSpzFrameFormats(), SwTableNode::GetTable(), SwNode::GetTextNode(), GoInNode(), SwNodes::GoNext(), SwPaM::HasMark(), i, SwNode::IsContentNode(), sw::mark::IsFieldmarkOverlap(), IDocumentRedlineAccess::IsIgnoreRedline(), IDocumentRedlineAccess::IsRedlineOn(), m_rDoc, SwPaM::Move(), n, SwPaM::Normalize(), PaMCorrAbs(), RES_BREAK(), RES_PAGEDESC(), SAL_WARN, SwPosition::SetContent(), SwFormat::SetFormatAttr(), SwPaM::SetMark(), IDocumentState::SetModified(), size, SwPaM::Start(), SwNode::StartOfSectionIndex(), and SwNode::StartOfSectionNode().
|
overridevirtual |
Did the last inserted string come from IME?
Implements IDocumentContentOperations.
Definition at line 2953 of file DocumentContentOperationsManager.cxx.
References m_bIME.
|
overridevirtual |
Insert a DrawObject.
The object must be already registered in DrawModel.
Implements IDocumentContentOperations.
Definition at line 3171 of file DocumentContentOperationsManager.cxx.
References CheckControlLayer(), SwNode::FindFlyStartNode(), SwFormat::GetAnchor(), SwDrawContact::GetAnchorFrame(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), SwFormatAnchor::GetContentAnchor(), SwPosition::GetContentIndex(), IDocumentLayoutAccess::GetCurrentViewShell(), SwDoc::GetDfltFrameFormat(), SwDoc::getIDocumentLayoutAccess(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), SfxItemSet::GetItemIfSet(), SwPosition::GetNode(), SwPaM::GetPoint(), SwPaM::GetPointNode(), SwNode::GetTextNode(), SwTextNode::InsertItem(), SwDoc::IsInHeaderFooter(), m_rDoc, SwDoc::MakeDrawFrameFormat(), SwDrawFrameFormat::MakeFrames(), SwContact::MoveObjToVisibleLayer(), RES_ANCHOR(), SwFormatAnchor::SetAnchor(), SwFormat::SetFormatAttr(), IDocumentState::SetModified(), and SwFormatAnchor::SetType().
|
overridevirtual |
Insert OLE-objects.
Implements IDocumentContentOperations.
Definition at line 3105 of file DocumentContentOperationsManager.cxx.
References SwDoc::GetDfltGrfFormatColl(), SwNodes::GetEndOfAutotext(), IDocumentStylePoolAccess::GetFrameFormatFromPool(), SwDoc::getIDocumentStylePoolAccess(), SwDoc::GetNodes(), SwPaM::GetPoint(), InsNoTextNode(), svt::EmbeddedObjectRef::is(), SotExchange::IsMath(), m_rDoc, SwNodes::MakeOLENode(), nId, RES_POOLFRM_FORMEL, and RES_POOLFRM_OLE.
|
overridevirtual |
Insert graphic or formula.
The XXXX are copied.
Implements IDocumentContentOperations.
Definition at line 3085 of file DocumentContentOperationsManager.cxx.
References SwDoc::GetDfltGrfFormatColl(), SwNodes::GetEndOfAutotext(), IDocumentStylePoolAccess::GetFrameFormatFromPool(), SwDoc::getIDocumentStylePoolAccess(), SwDoc::GetNodes(), SwPaM::GetPoint(), InsNoTextNode(), m_rDoc, SwNodes::MakeGrfNode(), and RES_POOLFRM_GRAPHIC.
|
overridevirtual |
Implements IDocumentContentOperations.
Definition at line 3571 of file DocumentContentOperationsManager.cxx.
References SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), m_rDoc, rSet, and IDocumentState::SetModified().
|
overridevirtual |
Implements IDocumentContentOperations.
Definition at line 3129 of file DocumentContentOperationsManager.cxx.
References SwDoc::GetDfltGrfFormatColl(), SwNodes::GetEndOfAutotext(), IDocumentStylePoolAccess::GetFrameFormatFromPool(), SwDoc::getIDocumentStylePoolAccess(), SwDoc::GetNodes(), SwPaM::GetPoint(), InsNoTextNode(), m_rDoc, SwNodes::MakeOLENode(), and RES_POOLFRM_OLE.
|
overridevirtual |
Insert an attribute.
If rRg spans several nodes the attribute is split, provided it makes sense. Nodes, where this attribute does not make sense are ignored. In nodes completely enclosed in the selection the attribute becomes hard-formatted, in all other (text-) nodes the attribute is inserted into the attribute array. For a character attribute, in cases where no selection exists an "empty" hint is inserted. If there is a selection the attribute is hard-formatted and added to the node at rRg.Start(). If the attribute could not be inserted, the method returns false.
Implements IDocumentContentOperations.
Definition at line 3540 of file DocumentContentOperationsManager.cxx.
References SwDoc::GetAttrPool(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), m_rDoc, SfxItemSet::Put(), IDocumentState::SetModified(), and SfxPoolItem::Which().
|
overridevirtual |
Insert string into existing text node at position rRg.Point().
Implements IDocumentContentOperations.
Definition at line 2843 of file DocumentContentOperationsManager.cxx.
References IDocumentRedlineAccess::AcceptRedlineParagraphFormatting(), IDocumentRedlineAccess::AppendRedline(), SwUndoInsert::CanGrouping(), SwAutoCorrExceptWord::CheckChar(), SwDoc::DeleteAutoCorrExceptWord(), SwRedlineTable::empty(), FORCEHINTEXPAND, GetAppCharClass(), SwDoc::GetAutoCorrExceptWord(), SwDataChanged::GetContent(), SwPosition::GetContentIndex(), SwDoc::getIDocumentRedlineAccess(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), sw::UndoManager::GetLastUndo(), SwPosition::GetNode(), SwPaM::GetPoint(), IDocumentRedlineAccess::GetRedlineFlags(), IDocumentRedlineAccess::GetRedlineTable(), SwNode::GetTextNode(), SwDoc::GetUndoManager(), i, SwTextNode::InsertText(), SwAutoCorrExceptWord::IsDeleted(), IDocumentRedlineAccess::IsIgnoreRedline(), CharClass::isLetterNumeric(), IDocumentRedlineAccess::IsRedlineOn(), m_rDoc, IDocumentState::SetModified(), IDocumentRedlineAccess::SetRedlineFlags(), and IDocumentRedlineAccess::SplitRedline().
Referenced by sw::mark::TextFieldmark::ReplaceContent(), and sw::mark::DateFieldmark::ReplaceContent().
|
private |
Definition at line 4726 of file DocumentContentOperationsManager.cxx.
References m_rDoc, SwDoc::MakeFlySection_(), and SwContentNode::SetAttr().
Referenced by InsertEmbObject(), InsertGraphic(), and InsertOLE().
|
static |
@params pArgs contains the document's ChrFormatTable Is need for selections at the beginning/end and with no SSelection.
Definition at line 4049 of file DocumentContentOperationsManager.cxx.
References sw::DocumentContentOperationsManager::ParaRstFormat::bExactRange, sw::DocumentContentOperationsManager::ParaRstFormat::bInclRefToxMark, SwpHints::DeRegister(), SwPosition::GetContentIndex(), SwContentIndex::GetIndex(), SwPosition::GetNode(), SwTextNode::GetpSwpHints(), SwNode::GetRedlineMergeFlag(), SwNode::GetTextNode(), SwRootFrame::HasMergedParas(), SwNode::Hidden, SwTextNode::Len(), sw::DocumentContentOperationsManager::ParaRstFormat::nWhich, sw::DocumentContentOperationsManager::ParaRstFormat::pDelSet, sw::DocumentContentOperationsManager::ParaRstFormat::pEndNd, sw::DocumentContentOperationsManager::ParaRstFormat::pHistory, sw::DocumentContentOperationsManager::ParaRstFormat::pLayout, sw::DocumentContentOperationsManager::ParaRstFormat::pSttNd, SwpHints::Register(), and SwTextNode::RstTextAttr().
Referenced by SwDoc::ResetAttrs(), and SwDoc::RstTextAttrs().
|
overridevirtual |
Move a range.
Implements IDocumentContentOperations.
Definition at line 2712 of file DocumentContentOperationsManager.cxx.
References SwContentNode::CanJoinNext(), SwDoc::CorrRel(), DEFAULT, SwPaM::GetMark(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwPaM::GetPoint(), SwTextNode::GetText(), SwNode::GetTextNode(), SwNode::IsTextNode(), SwTextNode::JoinNext(), m_rDoc, MoveRange(), and SwPaM::Start().
|
overridevirtual |
Implements IDocumentContentOperations.
Definition at line 2582 of file DocumentContentOperationsManager.cxx.
References SwNodeRange::aEnd, SwPosition::Assign(), SwNodeRange::aStart, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::clear(), SwRedlineTable::Contains(), CREATEUNDOOBJ, DelBookmarks(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), SwRedlineTable::empty(), SwPaM::End(), SwDoc::GetFootnoteIdxs(), SwDoc::getIDocumentRedlineAccess(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), SwNodeIndex::GetIndex(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwDoc::GetNodes(), IDocumentRedlineAccess::GetRedlinePos(), IDocumentRedlineAccess::GetRedlineTable(), SwDoc::GetSpzFrameFormats(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), m_rDoc, SwNodes::MoveNodes(), NO_DELFRMS, SwRedlineTable::npos, REDLINES, RestFlyInRange(), SaveFlyInRange(), IDocumentState::SetModified(), SwRedlineTable::size(), SwPaM::Start(), and SwFootnoteIdxs::UpdateAllFootnote().
|
overridevirtual |
Implements IDocumentContentOperations.
Definition at line 2358 of file DocumentContentOperationsManager.cxx.
References SwPosition::Adjust(), ALLFLYS, SwPosition::Assign(), SwContentNode::CanJoinNext(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::clear(), sw::mark::ContentIdxStore::Create(), DelBookmarks(), SwPaM::DeleteMark(), eMode, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), SwRedlineTable::empty(), SwPaM::End(), SwPaM::Exchange(), fnMoveBackward, fnMoveForward, SwPosition::GetContentIndex(), SwNode::GetContentNode(), SwPosition::GetContentNode(), SwDoc::GetFootnoteIdxs(), SwDoc::getIDocumentRedlineAccess(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), SwNode::GetIndex(), SwPaM::GetMark(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), SwDoc::GetNodes(), SwPaM::GetPoint(), SwPaM::GetPointNode(), IDocumentRedlineAccess::GetRedlineTable(), SwNode::GetTextNode(), GoInContent(), SwPaM::HasMark(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), sw::mark::IsFieldmarkOverlap(), SwTextNode::JoinNext(), SwTextNode::Len(), m_rDoc, SwPaM::Move(), SwNodes::MoveRange(), REDLINES, RestFlyInRange(), SaveFlyInRange(), SwPosition::SetContent(), SwPaM::SetMark(), IDocumentState::SetModified(), SwTextNode::SplitContentNode(), SwPaM::Start(), and SwFootnoteIdxs::UpdateAllFootnote().
Referenced by MoveAndJoin().
|
privatedelete |
|
overridevirtual |
Overwrite string in an existing text node.
Implements IDocumentContentOperations.
Definition at line 2741 of file DocumentContentOperationsManager.cxx.
References SwPosition::AdjustContent(), IDocumentRedlineAccess::AppendRedline(), SwUndoOverwrite::CanGrouping(), SwAutoCorrExceptWord::CheckChar(), SwpHints::Count(), SwDoc::DeleteAutoCorrExceptWord(), IDocumentRedlineAccess::DeleteRedline(), SwRedlineTable::empty(), EMPTYEXPAND, SwTextNode::EraseText(), SwDoc::GetAutoCorrExceptWord(), SwPosition::GetContentIndex(), SwDoc::getIDocumentRedlineAccess(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), sw::UndoManager::GetLastUndo(), getLength(), SwPosition::GetNode(), SwPaM::GetPoint(), SwTextNode::GetpSwpHints(), IDocumentRedlineAccess::GetRedlineTable(), SwTextNode::GetSpaceLeft(), SwNode::GetTextNode(), SwDoc::GetUndoManager(), SwTextNode::InsertText(), SwNode::IsIgnoreDontExpand(), IDocumentRedlineAccess::IsIgnoreRedline(), IDocumentRedlineAccess::IsRedlineOn(), m_rDoc, SwPosition::SetContent(), SwNode::SetIgnoreDontExpand(), IDocumentState::SetModified(), and SwTextNode::TriggerNodeUpdate().
|
overridevirtual |
Removes any leading white space from the paragraph.
Implements IDocumentContentOperations.
Definition at line 3593 of file DocumentContentOperationsManager.cxx.
References SwPaM::GetMark(), SwPosition::GetNode(), SwPaM::GetPoint(), SwTextNode::GetText(), SwNode::GetTextNode(), SwPosition::SetContent(), and SwPaM::SetMark().
|
overridevirtual |
Implements IDocumentContentOperations.
Definition at line 3621 of file DocumentContentOperationsManager.cxx.
References sw::Ring< value_type >::GetRingContainer(), and nPos.
|
overridevirtual |
Replace selected range in a TextNode with string.
Intended for search & replace. bRegExpRplc - replace tabs (\t) and insert the found string ( not & ). E.g.: Find: "zzz", Replace: "xx\t\\t..&..\&" --> "xx\t<Tab>..zzz..&"
Implements IDocumentContentOperations.
Definition at line 3460 of file DocumentContentOperationsManager.cxx.
References SwPosition::AdjustContent(), SwPosition::Assign(), sw::CalcBreaks(), Default, SwPaM::DeleteMark(), SwPaM::End(), fnMoveBackward, SwPosition::GetContentIndex(), SwNodes::GetEndOfContent(), SwDoc::getIDocumentRedlineAccess(), SwPaM::GetMark(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), SwDoc::GetNodes(), SwPosition::GetNodes(), SwPaM::GetPoint(), IDocumentRedlineAccess::IsRedlineOn(), m_rDoc, SwPaM::Move(), SwPaM::Normalize(), and SwPaM::Start().
Referenced by sw::mark::TextFieldmark::ReplaceContent(), and sw::mark::DateFieldmark::ReplaceContent().
|
private |
Definition at line 4476 of file DocumentContentOperationsManager.cxx.
References IDocumentRedlineAccess::AppendRedline(), SwPosition::Assign(), SwDoc::CreateUnoCursor(), IDocumentMarkAccess::deleteMark(), IDocumentRedlineAccess::DeleteRedline(), SwRedlineTable::empty(), EMPTY, SwPaM::End(), SwPaM::Exchange(), fnMoveBackward, SwDoc::GetAttrPool(), SwPosition::GetContentIndex(), SwDoc::getIDocumentMarkAccess(), SwDoc::getIDocumentRedlineAccess(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), SwPaM::GetMark(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), SwTextNode::GetParaAttr(), SwPaM::GetPoint(), IDocumentRedlineAccess::GetRedlineFlags(), IDocumentRedlineAccess::GetRedlineTable(), SwTextNode::GetText(), SwNode::GetTextNode(), SwPaM::HasMark(), IDocumentRedlineAccess::IsIgnoreRedline(), IDocumentRedlineAccess::IsRedlineOn(), m_rDoc, IDocumentMarkAccess::makeMark(), SwPaM::Move(), On, PaMCorrAbs(), REPLACE, SwTextNode::ReplaceText(), RES_CHRATR_BEGIN(), RES_TXTATR_CJK_RUBY(), RES_TXTATR_INETFMT(), RES_TXTATR_META(), RES_TXTATR_METAFIELD(), RES_TXTATR_REFMARK(), RES_TXTATR_TOXMARK(), RES_TXTATR_WITHEND_END(), RES_UNKNOWNATR_BEGIN(), RES_UNKNOWNATR_END(), RestFlyInRange(), SwDoc::RstTextAttrs(), SAL_WARN_IF, SaveFlyInRange(), SwUndoReplace::SetEnd(), SwPaM::SetMark(), IDocumentState::SetModified(), IDocumentRedlineAccess::SetRedlineFlags(), ShowDelete, ShowInsert, ShowMask, SwPaM::Start(), SwPaM::StartEnd(), sw_GetJoinFlags(), sw_JoinText(), IDocumentMarkAccess::UNO_BOOKMARK, and sw::UpdateFramesForAddDeleteRedline().
|
overridevirtual |
Transpose graphic (with undo)
Implements IDocumentContentOperations.
Definition at line 3147 of file DocumentContentOperationsManager.cxx.
References Dont, SwNode::GetGrfNode(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), SwPaM::GetMark(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), SwPaM::GetPoint(), SwContentNode::GetSwAttrSet(), GetValue, SwPaM::HasMark(), m_rDoc, SwGrfNode::ReRead(), SwContentNode::SetAttr(), and IDocumentState::SetModified().
|
overridevirtual |
States that the last inserted string came from IME.
Implements IDocumentContentOperations.
Definition at line 2948 of file DocumentContentOperationsManager.cxx.
References m_bIME.
|
overridevirtual |
Split a node at rPos (implemented only for TextNode).
Implements IDocumentContentOperations.
Definition at line 3282 of file DocumentContentOperationsManager.cxx.
References sw::mark::ContentIdxStore::Create(), eMode, SwRedlineTable::empty(), SwPosition::GetContentIndex(), SwNode::GetContentNode(), SwNodes::GetEndOfExtras(), SwTable::GetFrameFormat(), SwDoc::getIDocumentRedlineAccess(), SwDoc::getIDocumentState(), SwDoc::getIDocumentStylePoolAccess(), SwDoc::GetIDocumentUndoRedo(), SwNode::GetIndex(), SwFormat::GetItemState(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), SwDoc::GetNodes(), IDocumentRedlineAccess::GetRedlineTable(), SwStartNode::GetStartNodeType(), SwTableNode::GetTable(), IDocumentStylePoolAccess::GetTextCollFromPool(), SwNode::GetTextNode(), if(), SwNode::IsContentNode(), SwNode::IsEndNode(), IDocumentRedlineAccess::IsIgnoreRedline(), IDocumentRedlineAccess::IsRedlineOn(), SwNode::IsStartNode(), SwNode::IsTableNode(), SwNode::IsTextNode(), SwTextNode::Len(), m_rDoc, SwNodes::MakeTextNode(), sw::mark::NonFlys, nPos, RES_BREAK(), RES_PAGEDESC(), RES_POOLCOLL_TEXT, SwFormat::ResetFormatAttr(), SwTextNode::SetAttr(), IDocumentState::SetModified(), SwUndoSplitNode::SetTableFlag(), SwNode::StartOfSectionNode(), SwTableBoxStartNode, and SwDoc::UpdateParRsid().
|
overridevirtual |
change text to Upper/Lower/Hiragana/Katakana/...
Implements IDocumentContentOperations.
Definition at line 2958 of file DocumentContentOperationsManager.cxx.
References g_pBreakIt, SwBreakIt::GetBreakIter(), SwPosition::GetContentIndex(), SwDoc::getIDocumentRedlineAccess(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), SwNodeIndex::GetIndex(), SwTextNode::GetLang(), SwBreakIt::GetLocale(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), SwTextNode::GetText(), SwNode::GetTextNode(), utl::TransliterationWrapper::getType(), IDocumentRedlineAccess::IsRedlineOn(), m_rDoc, IDocumentState::SetModified(), SwPaM::StartEnd(), and SwTextNode::TransliterateText().
|
private |
Definition at line 159 of file DocumentContentOperationsManager.hxx.
|
private |
Definition at line 157 of file DocumentContentOperationsManager.hxx.
Referenced by CopyRange(), DeleteAndJoin(), DeleteDummyChar(), DeleteRange(), DeleteSection(), DelFullPara(), InsertDrawObj(), InsertEmbObject(), InsertGraphic(), InsertOLE(), InsertString(), MoveAndJoin(), MoveNodeRange(), MoveRange(), Overwrite(), ReRead(), SplitNode(), and TransliterateText().