diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2024-05-09 08:20:21 +0200 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-05-10 16:03:56 +0200 |
commit | e747e6df648a7ff076663ab376a4dbbc041b5180 (patch) | |
tree | 5217a9f7e86d102904509e481a096d1c0d8c5026 /svl | |
parent | f6f5038be20bbdafd083bc652b99388529380695 (diff) |
tdf#160984 sw continuous endnotes: add a way to find the endnote section start
Existing code with endnotes on separate page at the end of the document
works by searching for a current or next page that is an endnote page in
SwFootnoteBossFrame::AppendFootnote(), and in case none is found, then
an endnote page is created.
Add similar infrastructure for the inline endnotes case: here we want to
find the first page that has an endnotes section, which also requires
being able to tell if a section is an endnotes one.
The newly introduced SwPageFrame::GetEndNoteSection() is not yet used in
SwFootnoteBossFrame::AppendFootnote(), though.
(cherry picked from commit 8bae684c93bd23bbe98707ba9cf75d1a39427131)
Change-Id: Ib08267f9bf6c7b06576624e3fa8e90e8b8b1b232
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167478
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Diffstat (limited to 'svl')
0 files changed, 0 insertions, 0 deletions