20#ifndef INCLUDED_SW_SOURCE_CORE_INC_DOCUMENTREDLINEMANAGER_HXX
21#define INCLUDED_SW_SOURCE_CORE_INC_DOCUMENTREDLINEMANAGER_HXX
45 virtual bool IsRedlineOn()
const override;
47 virtual bool IsIgnoreRedline()
const override;
54 virtual bool IsInRedlines(
const SwNode& rNode)
const override;
61 virtual bool SplitRedline(
const SwPaM& rPam)
override;
63 virtual bool DeleteRedline(
68 virtual bool DeleteRedline(
77 virtual bool HasRedline(
80 bool bStartOrEndInRange)
const override;
82 virtual void CompressRedlines(
size_t nStartIdx = 0)
override;
88 virtual bool IsRedlineMove()
const override;
90 virtual void SetRedlineMove(
bool bFlag)
override;
94 virtual bool AcceptRedline(
const SwPaM& rPam,
bool bCallDelete)
override;
96 virtual void AcceptRedlineParagraphFormatting(
const SwPaM& rPam)
override;
100 virtual bool RejectRedline(
const SwPaM& rPam,
bool bCallDelete)
override;
102 virtual void AcceptAllRedline(
bool bAcceptReject)
override;
108 virtual void UpdateRedlineAttr()
override;
110 virtual std::size_t GetRedlineAuthor()
override;
112 virtual std::size_t InsertRedlineAuthor(
const OUString& rAuthor)
override;
114 virtual bool SetRedlineComment(
116 const OUString& rComment)
override;
118 virtual const css::uno::Sequence <sal_Int8>& GetRedlinePassword()
const override;
120 virtual void SetRedlinePassword(
121 const css::uno::Sequence <sal_Int8>& rNewPassword)
override;
128 void SetAutoFormatRedlineComment(
const OUString* pText, sal_uInt16 nSeqNo = 0 );
133 void HideAll(
bool bDeletion);
156 bool m_bHideRedlines =
false;
Base class of the Writer document model elements.
PaM is Point and Mark: a selection of the document model.
vector_type::size_type size_type
Starts a section of nodes in the document model.
Redline that holds information about a table-cell that had some change.
Redline that holds information about a table-row that had some change.
void SetHideRedlines(bool const bHideRedlines)
css::uno::Sequence< sal_Int8 > maRedlinePasswd
RedlineFlags meRedlineFlags
bool IsHideRedlines() const
std::optional< OUString > moAutoFormatRedlnComment
sal_uInt16 mnAutoFormatRedlnCommentNo
SeqNo for conjoining of AutoFormat-Redlines.
DocumentRedlineManager(DocumentRedlineManager const &)=delete
DocumentRedlineManager & operator=(DocumentRedlineManager const &)=delete
SwExtraRedlineTable maExtraRedlineTable
SwRedlineTable maRedlineTable
Dialog to specify the properties of date form field.
Marks a position in the document model.