Kaydet (Commit) 35aafd71 authored tarafından Miklos Vajna's avatar Miklos Vajna

sw layout-level redline hiding: add more doxygen documentation

Thanks Michael Stahl for the conference talk that was the input for
these.

Change-Id: Ia48248f4739218ee7832559353aab06183a934d7
Reviewed-on: https://gerrit.libreoffice.org/61079Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins
üst 1a35fd6f
......@@ -33,6 +33,10 @@ class DocumentRedlineManager : public IDocumentRedlineAccess
public:
DocumentRedlineManager( SwDoc& i_rSwdoc );
/**
* Replaced by SwRootFrame::IsHideRedlines() (this is model-level redline
* hiding).
*/
virtual RedlineFlags GetRedlineFlags() const override;
virtual void SetRedlineFlags_intern(/*[in]*/RedlineFlags eMode) override;
......
......@@ -16,6 +16,12 @@
#if 0
typedef o3tl::strong_int<sal_Int32, struct Tag_TextFrameIndex> TextFrameIndex;
#else
/**
* Denotes a character index in a text frame at a layout level, after extent
* mapping from a text node at a document model level.
*
* @see SwTextFrame::MapViewToModelPos().
*/
typedef sal_Int32 TextFrameIndex;
#endif
......
......@@ -403,6 +403,10 @@ public:
void RemovePage( SwPageFrame **pDel, SwRemoveResult eResult );
/**
* Replacement for sw::DocumentRedlineManager::GetRedlineFlags()
* (this is layout-level redline hiding).
*/
bool IsHideRedlines() const { return mbHideRedlines; }
void SetHideRedlines(bool);
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment