diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2024-06-03 17:01:20 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2024-06-03 18:34:02 +0200 |
commit | b79b50c8f06a5c977451995b2d632e5738d7d335 (patch) | |
tree | 348ed57131c0d763ae36a86e17d9923e41ceb944 /sw/inc/viewsh.hxx | |
parent | 04954ffee19bb2357dca69f929ac660f99d80f16 (diff) |
tdf#160984 sw continuous endnotes: add enable/disable option UI
Doing this via a macro was possible already, but that didn't invalidate
the endnote positions on the layout, so required a document reload,
which was ugly.
Implement the new SwViewShell::SetContinuousEndnotes() by removing the
endnote frames in the document, so they'll be re-created at the expected
place as the layout action ends.
Change-Id: If96e70ab29c5a6c95fce36775e9a9a61277fc8a1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168383
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sw/inc/viewsh.hxx')
-rw-r--r-- | sw/inc/viewsh.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/inc/viewsh.hxx b/sw/inc/viewsh.hxx index 18d33266b627..b53a3ed7b719 100644 --- a/sw/inc/viewsh.hxx +++ b/sw/inc/viewsh.hxx @@ -453,6 +453,8 @@ public: SW_DLLPUBLIC void SetDoNotMirrorRtlDrawObjs(bool bDoNotMirrorRtlDrawObjs); + SW_DLLPUBLIC void SetContinuousEndnotes(bool bContinuousEndnotes); + // DOCUMENT COMPATIBILITY FLAGS END // Calls Idle-formatter of Layout. |