62 if ( rCurrentShell.GetWin() )
63 rCurrentShell.GetWin()->Invalidate();
99 std::vector<std::unique_ptr<SwPaM>> vBoxes;
100 for(
auto pBox : rBoxes)
102 if ( !pBox->IsEmpty() )
106 vBoxes.push_back(std::unique_ptr<SwPaM>(
new SwPaM(*pEndNode, 0, *pSttNd, 0)));
110 for (
size_t i = 0;
i < vBoxes.size(); ++
i)
129 std::vector<std::unique_ptr<SwPaM>> vBoxes;
130 for(
auto pBox : rBoxes)
132 if ( !pBox->IsEmpty() )
136 vBoxes.push_back(std::unique_ptr<SwPaM>(
new SwPaM(*pEndNode, 0, *pSttNd, 0)));
140 for (
size_t i = 0;
i < vBoxes.size(); ++
i)
191 if( &rTable[
i ]->GetRedlineData() == &rData )
static bool IsRedlineOn(const RedlineFlags eM)
virtual void UpdateRedlineAttr()=0
virtual bool RejectRedline(SwRedlineTable::size_type nPos, bool bCallDelete)=0
static bool IsShowChanges(const RedlineFlags eM)
virtual const SwRedlineTable & GetRedlineTable() const =0
virtual void SetRedlineFlags(RedlineFlags eMode)=0
Set a new redline mode.
virtual const SwRangeRedline * GetRedline(const SwPosition &rPos, SwRedlineTable::size_type *pFndPos) const =0
virtual RedlineFlags GetRedlineFlags() const =0
Query the currently set redline mode.
virtual bool AcceptRedline(SwRedlineTable::size_type nPos, bool bCallDelete)=0
virtual bool SetRedlineComment(const SwPaM &rPam, const OUString &rComment)=0
SwCursor * GetCursor(bool bMakeTableCursor=true) const
Return pointer to the current shell cursor.
const SwShellTableCursor * GetTableCursor() const
IDocumentRedlineAccess const & getIDocumentRedlineAccess() const
void StartAllAction()
For all views of this document.
bool AcceptRedline(SwRedlineTable::size_type nPos)
bool SetRedlineComment(const OUString &rS)
Set comment to Redline at position.
void SetRedlineFlags(RedlineFlags eMode)
RedlineFlags GetRedlineFlags() const
For Redlining.
bool RejectRedline(SwRedlineTable::size_type nPos)
const SwRangeRedline & GetRedline(SwRedlineTable::size_type nPos) const
const SwRangeRedline * GetCurrRedline() const
SwRedlineTable::size_type GetRedlineCount() const
bool AcceptRedlinesInSelection()
void UpdateRedlineAttr()
Redline attributes have been changed. Updated views.
bool RejectRedlinesInSelection()
SwRedlineTable::size_type FindRedlineOfData(const SwRedlineData &) const
Search Redline for this Data and.
Base class of the Writer document model elements.
SwNodes & GetNodes()
Node is in which nodes-array/doc?
SwNodeOffset EndOfSectionIndex() const
PaM is Point and Mark: a selection of the document model.
static constexpr size_type npos
vector_type::size_type size_type
Starts a section of nodes in the document model.
const SwSelBoxes & GetSelectedBoxes() const
const IDocumentRedlineAccess & getIDocumentRedlineAccess() const
Provides access to the document redline interface.
ring_container GetRingContainer()
static void lcl_InvalidateAll(SwViewShell *pSh)