LibreOffice Module sw (master) 1
|
#include <DocumentRedlineManager.hxx>
Public Member Functions | |
DocumentRedlineManager (SwDoc &i_rSwdoc) | |
virtual RedlineFlags | GetRedlineFlags () const override |
Replaced by SwRootFrame::IsHideRedlines() (this is model-level redline hiding). More... | |
virtual void | SetRedlineFlags_intern (RedlineFlags eMode) override |
Set a new redline mode. More... | |
virtual void | SetRedlineFlags (RedlineFlags eMode) override |
Set a new redline mode. More... | |
virtual bool | IsRedlineOn () const override |
Query if redlining is on. More... | |
virtual bool | IsIgnoreRedline () const override |
virtual const SwRedlineTable & | GetRedlineTable () const override |
virtual SwRedlineTable & | GetRedlineTable () override |
virtual const SwExtraRedlineTable & | GetExtraRedlineTable () const override |
virtual SwExtraRedlineTable & | GetExtraRedlineTable () override |
virtual bool | IsInRedlines (const SwNode &rNode) const override |
virtual AppendResult | AppendRedline (SwRangeRedline *pPtr, bool bCallDelete) override |
Append a new redline. More... | |
virtual bool | AppendTableRowRedline (SwTableRowRedline *pPtr) override |
virtual bool | AppendTableCellRedline (SwTableCellRedline *pPtr) override |
virtual bool | SplitRedline (const SwPaM &rPam) override |
virtual bool | DeleteRedline (const SwPaM &rPam, bool bSaveInUndo, RedlineType nDelType) override |
virtual bool | DeleteRedline (const SwStartNode &rSection, bool bSaveInUndo, RedlineType nDelType) override |
virtual SwRedlineTable::size_type | GetRedlinePos (const SwNode &rNode, RedlineType nType) const override |
virtual bool | HasRedline (const SwPaM &rPam, RedlineType nType, bool bStartOrEndInRange) const override |
virtual void | CompressRedlines (size_t nStartIdx=0) override |
virtual const SwRangeRedline * | GetRedline (const SwPosition &rPos, SwRedlineTable::size_type *pFndPos) const override |
virtual bool | IsRedlineMove () const override |
virtual void | SetRedlineMove (bool bFlag) override |
virtual bool | AcceptRedline (SwRedlineTable::size_type nPos, bool bCallDelete) override |
virtual bool | AcceptRedline (const SwPaM &rPam, bool bCallDelete) override |
virtual void | AcceptRedlineParagraphFormatting (const SwPaM &rPam) override |
virtual bool | RejectRedline (SwRedlineTable::size_type nPos, bool bCallDelete) override |
virtual bool | RejectRedline (const SwPaM &rPam, bool bCallDelete) override |
virtual void | AcceptAllRedline (bool bAcceptReject) override |
virtual const SwRangeRedline * | SelNextRedline (SwPaM &rPam) const override |
virtual const SwRangeRedline * | SelPrevRedline (SwPaM &rPam) const override |
virtual void | UpdateRedlineAttr () override |
virtual std::size_t | GetRedlineAuthor () override |
virtual std::size_t | InsertRedlineAuthor (const OUString &rAuthor) override |
Insert new author into the Table for the Readers etc. More... | |
virtual bool | SetRedlineComment (const SwPaM &rPam, const OUString &rComment) override |
virtual const css::uno::Sequence< sal_Int8 > & | GetRedlinePassword () const override |
virtual void | SetRedlinePassword (const css::uno::Sequence< sal_Int8 > &rNewPassword) override |
void | SetAutoFormatRedlineComment (const OUString *pText, sal_uInt16 nSeqNo=0) |
Set comment-text for Redline. More... | |
bool | IsHideRedlines () const |
void | SetHideRedlines (bool const bHideRedlines) |
void | HideAll (bool bDeletion) |
void | ShowAll () |
virtual | ~DocumentRedlineManager () override |
virtual RedlineFlags | GetRedlineFlags () const =0 |
Query the currently set redline mode. More... | |
virtual void | SetRedlineFlags_intern (RedlineFlags eMode)=0 |
Set a new redline mode. More... | |
virtual void | SetRedlineFlags (RedlineFlags eMode)=0 |
Set a new redline mode. More... | |
virtual bool | IsRedlineOn () const =0 |
Query if redlining is on. More... | |
virtual bool | IsIgnoreRedline () const =0 |
virtual const SwRedlineTable & | GetRedlineTable () const =0 |
virtual SwRedlineTable & | GetRedlineTable ()=0 |
virtual const SwExtraRedlineTable & | GetExtraRedlineTable () const =0 |
virtual SwExtraRedlineTable & | GetExtraRedlineTable ()=0 |
virtual bool | IsInRedlines (const SwNode &rNode) const =0 |
virtual AppendResult | AppendRedline (SwRangeRedline *pNewRedl, bool bCallDelete)=0 |
Append a new redline. More... | |
virtual bool | AppendTableRowRedline (SwTableRowRedline *pPtr)=0 |
virtual bool | AppendTableCellRedline (SwTableCellRedline *pPtr)=0 |
virtual bool | SplitRedline (const SwPaM &rPam)=0 |
virtual bool | DeleteRedline (const SwPaM &rPam, bool bSaveInUndo, RedlineType nDelType)=0 |
virtual bool | DeleteRedline (const SwStartNode &rSection, bool bSaveInUndo, RedlineType nDelType)=0 |
virtual SwRedlineTable::size_type | GetRedlinePos (const SwNode &rNode, RedlineType nType) const =0 |
virtual bool | HasRedline (const SwPaM &rPam, RedlineType nType, bool bStartOrEndInRange) const =0 |
virtual void | CompressRedlines (size_t nStartIndex=0)=0 |
virtual const SwRangeRedline * | GetRedline (const SwPosition &rPos, SwRedlineTable::size_type *pFndPos) const =0 |
virtual bool | IsRedlineMove () const =0 |
virtual void | SetRedlineMove (bool bFlag)=0 |
virtual bool | AcceptRedline (SwRedlineTable::size_type nPos, bool bCallDelete)=0 |
virtual bool | AcceptRedline (const SwPaM &rPam, bool bCallDelete)=0 |
virtual void | AcceptRedlineParagraphFormatting (const SwPaM &rPam)=0 |
virtual bool | RejectRedline (SwRedlineTable::size_type nPos, bool bCallDelete)=0 |
virtual bool | RejectRedline (const SwPaM &rPam, bool bCallDelete)=0 |
virtual const SwRangeRedline * | SelNextRedline (SwPaM &rPam) const =0 |
virtual const SwRangeRedline * | SelPrevRedline (SwPaM &rPam) const =0 |
virtual void | AcceptAllRedline (bool bAcceptReject)=0 |
virtual void | UpdateRedlineAttr ()=0 |
virtual std::size_t | GetRedlineAuthor ()=0 |
virtual std::size_t | InsertRedlineAuthor (const OUString &rAuthor)=0 |
virtual bool | SetRedlineComment (const SwPaM &rPam, const OUString &rComment)=0 |
virtual const css::uno::Sequence< sal_Int8 > & | GetRedlinePassword () const =0 |
virtual void | SetRedlinePassword (const css::uno::Sequence< sal_Int8 > &rNewPassword)=0 |
Private Member Functions | |
DocumentRedlineManager (DocumentRedlineManager const &)=delete | |
DocumentRedlineManager & | operator= (DocumentRedlineManager const &)=delete |
Private Attributes | |
SwDoc & | m_rDoc |
RedlineFlags | meRedlineFlags |
SwRedlineTable | maRedlineTable |
SwExtraRedlineTable | maExtraRedlineTable |
std::optional< OUString > | moAutoFormatRedlnComment |
bool | mbIsRedlineMove |
sal_uInt16 | mnAutoFormatRedlnCommentNo |
SeqNo for conjoining of AutoFormat-Redlines. More... | |
css::uno::Sequence< sal_Int8 > | maRedlinePasswd |
bool | m_bHideRedlines = false |
this flag is necessary for file import because the ViewShell/layout is created "too late" and the ShowRedlineChanges item is not below "Views" More... | |
Additional Inherited Members | |
Public Types inherited from IDocumentRedlineAccess | |
enum class | AppendResult { IGNORED , MERGED , APPENDED } |
Static Public Member Functions inherited from IDocumentRedlineAccess | |
static bool | IsShowChanges (const RedlineFlags eM) |
static bool | IsHideChanges (const RedlineFlags eM) |
static bool | IsShowOriginal (const RedlineFlags eM) |
static bool | IsRedlineOn (const RedlineFlags eM) |
Protected Member Functions inherited from IDocumentRedlineAccess | |
virtual | ~IDocumentRedlineAccess () |
Definition at line 30 of file DocumentRedlineManager.hxx.
sw::DocumentRedlineManager::DocumentRedlineManager | ( | SwDoc & | i_rSwdoc | ) |
Definition at line 1123 of file DocumentRedlineManager.cxx.
References ShowDelete, and ShowInsert.
|
overridevirtual |
Definition at line 3552 of file DocumentRedlineManager.cxx.
|
privatedelete |
|
overridevirtual |
Implements IDocumentRedlineAccess.
Definition at line 3134 of file DocumentRedlineManager.cxx.
References ACCEPT_REDLINE, AcceptRedline(), SwRewriter::AddRule(), SwRewriter::Apply(), SwRedlineTable::empty(), EMPTY, SwDoc::GetIDocumentUndoRedo(), m_rDoc, maRedlineTable, REJECT_REDLINE, RejectRedline(), SwRedlineTable::size(), SwResId(), and UndoArg1.
|
overridevirtual |
Implements IDocumentRedlineAccess.
Definition at line 2939 of file DocumentRedlineManager.cxx.
References ACCEPT_REDLINE, SwRewriter::AddRule(), SwRewriter::Apply(), CompressRedlines(), SwDoc::CreateUnoCursor(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), SwPaM::GetMark(), SwPaM::GetPoint(), SwPaM::HasMark(), m_rDoc, maRedlineTable, meRedlineFlags, IDocumentState::SetModified(), SetRedlineFlags(), ShowDelete, ShowInsert, ShowMask, SwResId(), and UndoArg1.
|
overridevirtual |
Implements IDocumentRedlineAccess.
Definition at line 2866 of file DocumentRedlineManager.cxx.
References ACCEPT_REDLINE, SwRewriter::AddRule(), CompressRedlines(), END, SwRedlineTable::FindNextSeqNo(), SwRedlineTable::FindPrevSeqNo(), SwRangeRedline::GetDescr(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), SwRedlineTable::GetPos(), SwRangeRedline::GetSeqNo(), SwPaM::HasMark(), SwRangeRedline::IsVisible(), m_rDoc, maRedlineTable, meRedlineFlags, nPos, SwRedlineTable::npos, IDocumentState::SetModified(), SetRedlineFlags(), SwRangeRedline::Show(), ShowDelete, ShowInsert, ShowMask, and UndoArg1.
Referenced by AcceptAllRedline(), and AcceptRedlineParagraphFormatting().
|
overridevirtual |
Implements IDocumentRedlineAccess.
Definition at line 2990 of file DocumentRedlineManager.cxx.
References AcceptRedline(), SwPaM::GetMark(), SwPosition::GetNodeIndex(), SwPaM::GetPoint(), SwRangeRedline::GetType(), maRedlineTable, n, SwRedlineTable::size(), and SwPaM::StartEnd().
|
overridevirtual |
Append a new redline.
pNewRedl | redline to insert |
bCallDelete | if set, then for a new DELETE redline that is inserted so that it overlaps an existing INSERT redline with the same author, the overlapping range is deleted, i.e. the new DELETE removes existing INSERT for that range |
Implements IDocumentRedlineAccess.
Definition at line 1300 of file DocumentRedlineManager.cxx.
References SwRangeRedline::Add, IDocumentRedlineAccess::APPENDED, AppendRedline(), Before, Behind, SwRangeRedline::CanCombine(), CHECK_REDLINE, CollideEnd, CollideStart, ComparePosition(), CompressRedlines(), SwRedlineTable::DeleteAndDestroy(), IDocumentContentOperations::DeleteAndJoin(), IDocumentContentOperations::DelFullPara(), DontCombineRedlines, SwPaM::End(), SwNode::EndOfSectionNode(), Equal, SwNode::FindTableNode(), SwRangeRedline::GetContentIdx(), SwPosition::GetContentIndex(), SwNode::GetContentNode(), SwDoc::getIDocumentContentOperations(), SwDoc::GetIDocumentUndoRedo(), SwNodeIndex::GetIndex(), SwNode::GetIndex(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwRedlineTable::GetPos(), GetRedline(), SwRangeRedline::GetRedlineData(), SwNode::GetTableNode(), SwNode::GetTextNode(), SwRangeRedline::GetType(), SwRangeRedline::HasValidRange(), SwRangeRedline::Hide(), Ignore, IDocumentRedlineAccess::IGNORED, SwRedlineTable::Insert(), Inside, SwRangeRedline::InvalidateRange(), SwRedlineData::IsAnonymized(), SwDoc::IsAutoFormatRedline(), SwNode::IsContentNode(), SwNode::IsEndNode(), IDocumentRedlineAccess::IsHideChanges(), SwRangeRedline::IsMoved(), SwRedlineTable::isMoved(), SwRangeRedline::IsOwnRedline(), IsRedlineOn(), IDocumentRedlineAccess::IsShowOriginal(), SwNode::IsTableNode(), SwNode::IsTextNode(), SwTextNode::Len(), m_rDoc, maRedlineTable, meRedlineFlags, IDocumentRedlineAccess::MERGED, mnAutoFormatRedlnCommentNo, moAutoFormatRedlnComment, n, On, Outside, OverlapBefore, OverlapBehind, SwRangeRedline::PushData(), SwRedlineTable::Remove(), RES_PRINT(), SwRangeRedline::SetAutoFormat(), SwRangeRedline::SetComment(), SwPosition::SetContent(), SwRangeRedline::SetEnd(), SwRangeRedline::SetExtraData(), SwRedlineExtraData_FormatColl::SetFormatAll(), SwDoc::SetRowNotTracked(), SwRangeRedline::SetSeqNo(), SwRangeRedline::SetStart(), SwRangeRedline::Show(), SwRedlineTable::size(), SwPaM::Start(), SwPaM::StartEnd(), and u.
Referenced by AppendRedline().
|
overridevirtual |
Implements IDocumentRedlineAccess.
Definition at line 2443 of file DocumentRedlineManager.cxx.
References SwExtraRedlineTable::Insert(), IsRedlineOn(), IDocumentRedlineAccess::IsShowOriginal(), maExtraRedlineTable, and meRedlineFlags.
|
overridevirtual |
Implements IDocumentRedlineAccess.
Definition at line 2401 of file DocumentRedlineManager.cxx.
References SwExtraRedlineTable::Insert(), IsRedlineOn(), IDocumentRedlineAccess::IsShowOriginal(), maExtraRedlineTable, and meRedlineFlags.
|
overridevirtual |
Implements IDocumentRedlineAccess.
Definition at line 2485 of file DocumentRedlineManager.cxx.
References SwRangeRedline::CanCombine(), CHECK_REDLINE, SwRedlineTable::DeleteAndDestroy(), SwRangeRedline::Hide(), maRedlineTable, meRedlineFlags, n, SwRangeRedline::SetEnd(), SwRangeRedline::Show(), ShowDelete, ShowInsert, ShowMask, SwRedlineTable::size(), and SwPaM::StartEnd().
Referenced by AcceptRedline(), AppendRedline(), and RejectRedline().
|
overridevirtual |
Implements IDocumentRedlineAccess.
Definition at line 2587 of file DocumentRedlineManager.cxx.
References SwRangeRedline::Add, Before, CollideEnd, ComparePosition(), SwRedlineTable::DeleteAndDestroy(), Equal, SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), SwPaM::GetMark(), SwPaM::GetPoint(), GetRedline(), SwRangeRedline::GetType(), SwPaM::HasMark(), SwRangeRedline::HasValidRange(), SwRedlineTable::Insert(), Inside, SwRangeRedline::InvalidateRange(), m_rDoc, maRedlineTable, n, Outside, OverlapBefore, OverlapBehind, REDLINE, SwRedlineTable::Remove(), SwRangeRedline::Remove, SwRangeRedline::SetEnd(), IDocumentState::SetModified(), SwRangeRedline::SetStart(), SwRedlineTable::size(), and SwPaM::StartEnd().
Referenced by DeleteRedline().
|
overridevirtual |
Implements IDocumentRedlineAccess.
Definition at line 2713 of file DocumentRedlineManager.cxx.
References DeleteRedline(), and SwNode::EndOfSectionNode().
|
overridevirtual |
Implements IDocumentRedlineAccess.
Definition at line 1242 of file DocumentRedlineManager.cxx.
References maExtraRedlineTable.
|
overridevirtual |
Implements IDocumentRedlineAccess.
Definition at line 1247 of file DocumentRedlineManager.cxx.
References maExtraRedlineTable.
|
overridevirtual |
Implements IDocumentRedlineAccess.
Definition at line 2799 of file DocumentRedlineManager.cxx.
References End, maRedlineTable, SwRedlineTable::size(), and Start.
Referenced by AppendRedline(), and DeleteRedline().
|
overridevirtual |
Implements IDocumentRedlineAccess.
Definition at line 3449 of file DocumentRedlineManager.cxx.
References SW_MOD.
|
overridevirtual |
Replaced by SwRootFrame::IsHideRedlines() (this is model-level redline hiding).
Implements IDocumentRedlineAccess.
Definition at line 1131 of file DocumentRedlineManager.cxx.
References meRedlineFlags.
|
overridevirtual |
Implements IDocumentRedlineAccess.
Definition at line 3472 of file DocumentRedlineManager.cxx.
References maRedlinePasswd.
|
overridevirtual |
Implements IDocumentRedlineAccess.
Definition at line 2720 of file DocumentRedlineManager.cxx.
References SwRedlineTable::begin(), SwRedlineTable::end(), SwNode::GetIndex(), SwPaM::GetMark(), SwPosition::GetNodeIndex(), SwPaM::GetPoint(), SwRangeRedline::GetType(), SwRedlineTable::HasOverlappingElements(), maRedlineTable, n, SwRedlineTable::npos, nType, SwRedlineTable::size(), and SwPaM::StartEnd().
Referenced by HasRedline().
|
overridevirtual |
Implements IDocumentRedlineAccess.
Definition at line 1232 of file DocumentRedlineManager.cxx.
References maRedlineTable.
Referenced by HideAll(), SelNextRedline(), SelPrevRedline(), SetRedlineComment(), ShowAll(), and UpdateRedlineAttr().
|
overridevirtual |
Implements IDocumentRedlineAccess.
Definition at line 1237 of file DocumentRedlineManager.cxx.
References maRedlineTable.
|
overridevirtual |
Implements IDocumentRedlineAccess.
Definition at line 2770 of file DocumentRedlineManager.cxx.
References End, SwPaM::End(), SwPosition::GetNode(), GetRedlinePos(), SwRangeRedline::GetType(), maRedlineTable, n, nType, SwRedlineTable::size(), Start, and SwPaM::Start().
void sw::DocumentRedlineManager::HideAll | ( | bool | bDeletion | ) |
Definition at line 3503 of file DocumentRedlineManager.cxx.
References SwRedlineTable::GetPos(), GetRedlineTable(), SwRangeRedline::GetType(), SwRangeRedline::Hide(), i, SwRangeRedline::IsVisible(), SwRangeRedline::Show(), SwRangeRedline::ShowOriginal(), and SwRedlineTable::size().
Referenced by SwView::Execute(), and SwViewShell::ImplApplyViewOptions().
|
overridevirtual |
Insert new author into the Table for the Readers etc.
Implements IDocumentRedlineAccess.
Definition at line 3455 of file DocumentRedlineManager.cxx.
References SW_MOD.
|
inline |
Definition at line 130 of file DocumentRedlineManager.hxx.
|
overridevirtual |
Implements IDocumentRedlineAccess.
Definition at line 1222 of file DocumentRedlineManager.cxx.
References Ignore, and meRedlineFlags.
|
overridevirtual |
Implements IDocumentRedlineAccess.
Definition at line 1252 of file DocumentRedlineManager.cxx.
References SwPaM::ContainsPosition(), SwNodes::GetEndOfRedlines(), SwDoc::GetNodes(), SwNode::GetNodes(), m_rDoc, and SwNode::StartOfSectionNode().
|
overridevirtual |
Implements IDocumentRedlineAccess.
Definition at line 1265 of file DocumentRedlineManager.cxx.
References mbIsRedlineMove.
|
overridevirtual |
Query if redlining is on.
Implements IDocumentRedlineAccess.
Definition at line 1217 of file DocumentRedlineManager.cxx.
References IDocumentRedlineAccess::IsRedlineOn(), and meRedlineFlags.
Referenced by AppendRedline(), AppendTableCellRedline(), and AppendTableRowRedline().
|
privatedelete |
|
overridevirtual |
Implements IDocumentRedlineAccess.
Definition at line 3087 of file DocumentRedlineManager.cxx.
References SwRewriter::AddRule(), SwRewriter::Apply(), CompressRedlines(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), SwPaM::GetMark(), SwPaM::GetPoint(), m_rDoc, maRedlineTable, meRedlineFlags, REJECT_REDLINE, IDocumentState::SetModified(), SetRedlineFlags(), ShowDelete, ShowInsert, ShowMask, SwResId(), and UndoArg1.
|
overridevirtual |
Implements IDocumentRedlineAccess.
Definition at line 3014 of file DocumentRedlineManager.cxx.
References SwRewriter::AddRule(), CompressRedlines(), END, SwRedlineTable::FindNextSeqNo(), SwRedlineTable::FindPrevSeqNo(), SwRangeRedline::GetDescr(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), SwRedlineTable::GetPos(), SwRangeRedline::GetSeqNo(), SwPaM::HasMark(), SwRangeRedline::IsVisible(), m_rDoc, maRedlineTable, meRedlineFlags, nPos, SwRedlineTable::npos, REJECT_REDLINE, IDocumentState::SetModified(), SetRedlineFlags(), SwRangeRedline::Show(), ShowDelete, ShowInsert, ShowMask, and UndoArg1.
Referenced by AcceptAllRedline().
|
overridevirtual |
Implements IDocumentRedlineAccess.
Definition at line 3167 of file DocumentRedlineManager.cxx.
References SwPosition::Assign(), SwPaM::DeleteMark(), SwPaM::End(), SwRedlineTable::FindAtPosition(), SwRangeRedline::GetAuthor(), SwPosition::GetContentIndex(), SwPaM::GetMark(), SwPosition::GetNode(), SwDoc::GetNodes(), SwPaM::GetPoint(), GetRedlineTable(), SwRangeRedline::GetType(), SwNodes::GoNextSection(), SwNodes::GoPrevSection(), SwPaM::HasMark(), SwNode::IsContentNode(), SwRangeRedline::IsVisible(), SwContentNode::Len(), m_rDoc, maRedlineTable, n, SwPaM::SetMark(), SwRedlineTable::size(), and SwPaM::Start().
|
overridevirtual |
Implements IDocumentRedlineAccess.
Definition at line 3293 of file DocumentRedlineManager.cxx.
References SwPosition::Assign(), SwPaM::DeleteMark(), SwPaM::End(), SwRedlineTable::FindAtPosition(), SwRangeRedline::GetAuthor(), SwPosition::GetContentIndex(), SwPaM::GetMark(), SwPosition::GetNode(), SwDoc::GetNodes(), SwPaM::GetPoint(), GetRedlineTable(), SwRangeRedline::GetType(), SwNodes::GoNextSection(), SwNodes::GoPrevSection(), SwPaM::HasMark(), SwNode::IsContentNode(), SwRangeRedline::IsVisible(), SwContentNode::Len(), m_rDoc, maRedlineTable, n, SwPaM::SetMark(), and SwPaM::Start().
void sw::DocumentRedlineManager::SetAutoFormatRedlineComment | ( | const OUString * | pText, |
sal_uInt16 | nSeqNo = 0 |
||
) |
Set comment-text for Redline.
Set comment text for the Redline, which is inserted later on via AppendRedline.
It then comes in via AppendRedLine. Used by AutoFormat. 0-pointer resets mode. Sequence number is for conjoining of Redlines by the UI.
Is used by Autoformat. A null pointer resets the mode. The pointer is not copied, so it needs to stay valid!
Definition at line 3488 of file DocumentRedlineManager.cxx.
References m_rDoc, mnAutoFormatRedlnCommentNo, moAutoFormatRedlnComment, and SwDoc::SetAutoFormatRedline().
Referenced by SwAutoFormat::BuildHeadLine(), SwAutoFormat::ClearRedlineText(), and SwAutoFormat::SetRedlineText_().
|
inline |
Definition at line 131 of file DocumentRedlineManager.hxx.
Referenced by SwWW8ImplReader::CoreLoad(), XMLReader::Read(), SwXTextDocument::setPropertyValue(), and XMLRedlineImportHelper::~XMLRedlineImportHelper().
|
overridevirtual |
Implements IDocumentRedlineAccess.
Definition at line 3421 of file DocumentRedlineManager.cxx.
References SwPaM::End(), SwDoc::getIDocumentState(), GetRedlineTable(), m_rDoc, maRedlineTable, n, SwRangeRedline::SetComment(), IDocumentState::SetModified(), SwRedlineTable::size(), SwPaM::Start(), and SwPaM::StartEnd().
|
overridevirtual |
Set a new redline mode.
eMode | [in] the new redline mode. |
Implements IDocumentRedlineAccess.
Definition at line 1136 of file DocumentRedlineManager.cxx.
References CHECK_REDLINE, sw::CheckAnchoredFlyConsistency(), eMode, SwDoc::GetAllLayouts(), SwDoc::getIDocumentState(), SwRangeRedline::Hide(), i, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), SwDoc::IsInXMLImport(), m_rDoc, maRedlineTable, meRedlineFlags, SwRedlineTable::Resort(), SwDoc::SetInXMLImport(), IDocumentState::SetModified(), SwRangeRedline::Show(), ShowDelete, ShowInsert, ShowMask, SwRangeRedline::ShowOriginal(), and SwRedlineTable::size().
Referenced by AcceptRedline(), and RejectRedline().
|
overridevirtual |
Set a new redline mode.
eMode | [in] the new redline mode. |
Implements IDocumentRedlineAccess.
Definition at line 1227 of file DocumentRedlineManager.cxx.
References eMode, and meRedlineFlags.
|
overridevirtual |
Implements IDocumentRedlineAccess.
Definition at line 1270 of file DocumentRedlineManager.cxx.
References mbIsRedlineMove.
|
overridevirtual |
Implements IDocumentRedlineAccess.
Definition at line 3477 of file DocumentRedlineManager.cxx.
References SwDoc::getIDocumentState(), m_rDoc, maRedlinePasswd, and IDocumentState::SetModified().
void sw::DocumentRedlineManager::ShowAll | ( | ) |
Definition at line 3538 of file DocumentRedlineManager.cxx.
References SwRedlineTable::GetPos(), GetRedlineTable(), i, SwRangeRedline::IsVisible(), SwRangeRedline::Show(), and SwRedlineTable::size().
Referenced by SwViewShell::ImplApplyViewOptions().
|
overridevirtual |
Implements IDocumentRedlineAccess.
Definition at line 2528 of file DocumentRedlineManager.cxx.
References SwRedlineTable::DeleteAndDestroy(), SwRangeRedline::HasValidRange(), SwRedlineTable::Insert(), SwRangeRedline::InvalidateRange(), maRedlineTable, n, SwRedlineTable::Remove(), SwRangeRedline::Remove, SwRangeRedline::SetEnd(), SwRangeRedline::SetStart(), SwRedlineTable::size(), and SwPaM::StartEnd().
|
overridevirtual |
Implements IDocumentRedlineAccess.
Definition at line 3460 of file DocumentRedlineManager.cxx.
References SwRangeRedline::Add, GetRedlineTable(), SwRangeRedline::InvalidateRange(), and SwRangeRedline::IsVisible().
|
private |
this flag is necessary for file import because the ViewShell/layout is created "too late" and the ShowRedlineChanges item is not below "Views"
Definition at line 156 of file DocumentRedlineManager.hxx.
|
private |
Definition at line 143 of file DocumentRedlineManager.hxx.
Referenced by AcceptAllRedline(), AcceptRedline(), AppendRedline(), DeleteRedline(), IsInRedlines(), RejectRedline(), SelNextRedline(), SelPrevRedline(), SetAutoFormatRedlineComment(), SetRedlineComment(), SetRedlineFlags(), and SetRedlinePassword().
|
private |
Definition at line 147 of file DocumentRedlineManager.hxx.
Referenced by AppendTableCellRedline(), AppendTableRowRedline(), and GetExtraRedlineTable().
|
private |
Definition at line 152 of file DocumentRedlineManager.hxx.
Referenced by GetRedlinePassword(), and SetRedlinePassword().
|
private |
Definition at line 146 of file DocumentRedlineManager.hxx.
Referenced by AcceptAllRedline(), AcceptRedline(), AcceptRedlineParagraphFormatting(), AppendRedline(), CompressRedlines(), DeleteRedline(), GetRedline(), GetRedlinePos(), GetRedlineTable(), HasRedline(), RejectRedline(), SelNextRedline(), SelPrevRedline(), SetRedlineComment(), SetRedlineFlags(), and SplitRedline().
|
private |
Definition at line 149 of file DocumentRedlineManager.hxx.
Referenced by IsRedlineMove(), and SetRedlineMove().
|
private |
Definition at line 145 of file DocumentRedlineManager.hxx.
Referenced by AcceptRedline(), AppendRedline(), AppendTableCellRedline(), AppendTableRowRedline(), CompressRedlines(), GetRedlineFlags(), IsIgnoreRedline(), IsRedlineOn(), RejectRedline(), SetRedlineFlags(), and SetRedlineFlags_intern().
|
private |
SeqNo for conjoining of AutoFormat-Redlines.
by the UI. Managed by SwAutoFormat!
Definition at line 150 of file DocumentRedlineManager.hxx.
Referenced by AppendRedline(), and SetAutoFormatRedlineComment().
|
private |
Definition at line 148 of file DocumentRedlineManager.hxx.
Referenced by AppendRedline(), and SetAutoFormatRedlineComment().