diff options
author | Attila Szűcs <szucs.attila3@nisz.hu> | 2021-11-18 11:02:01 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2021-11-30 10:08:34 +0100 |
commit | 8a82c6f3f1e85c941ac05b48416450cec813a04e (patch) | |
tree | d4a90755723993f06c3496fd36392f7f2bf71bfd /sw/source/filter/ww8/ww8par.cxx | |
parent | bd8e584db0c19a30164575d7fc8c583436db5b85 (diff) |
tdf#54465 tdf#139336 sw: add compat. flag for footnote in column
Add compatibility option FOOTNOTE_IN_COLUMN_TO_PAGEEND to keep layout
of old ODT files, where multicolumn sections have footnotes in columns,
growing sections to the full page.
Note: Multicolumn page styles or not evenly distributed multicolumn
sections, or footnotes not collected at the end of the sections still
use footnotes in columns, so they don't need this compatibility option.
Follow-up to commit 4c31b4ef2083087a822c3ae648fd09acc67d2f88
"tdf#139336 sw: fix extra pages of multicolumn sections with footnotes".
Co-authored-by: Tibor Nagy (NISZ)
Change-Id: I7d6a1f804b555dc5372767014b8fb5e3fa57ba9b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125442
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
(cherry picked from commit 41cc1d2c0c0c3bfa5ba341311f68df05375859fb)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126001
Reviewed-by: Attila Szűcs <szucs.attila3@nisz.hu>
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
Diffstat (limited to 'sw/source/filter/ww8/ww8par.cxx')
-rw-r--r-- | sw/source/filter/ww8/ww8par.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx index 818e3b013549..be67ed1fa795 100644 --- a/sw/source/filter/ww8/ww8par.cxx +++ b/sw/source/filter/ww8/ww8par.cxx @@ -1823,6 +1823,8 @@ void SwWW8ImplReader::ImportDop() DocumentSettingId::HEADER_SPACING_BELOW_LAST_PARA, true); m_rDoc.getIDocumentSettingAccess().set( DocumentSettingId::FRAME_AUTOWIDTH_WITH_MORE_PARA, true); + m_rDoc.getIDocumentSettingAccess().set( + DocumentSettingId::FOOTNOTE_IN_COLUMN_TO_PAGEEND, true); // Import Default Tabs tools::Long nDefTabSiz = m_xWDop->dxaTab; |