summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorLuke Deller <luke@deller.id.au>2018-05-31 23:16:26 +1000
committerAndras Timar <andras.timar@collabora.com>2018-07-09 16:47:14 +0200
commitff05c6b3b589e408fd77508021ae27310d23dff2 (patch)
tree1c6125598606cd0f2101681821e2aae1c712e3f7 /vcl
parentbb08376710a1288210b6ea40c371ce05203e7290 (diff)
Fix top margin in DOC import for tdf#117885
When calculating the height of the top/bottom margin, we take into account whether the DOC section has a header/footer enabled. If the DOC section contains only a first-page header/footer, and the display of first-page header/footer in this section is not enabled, then we must consider the section to have no header/footer. (Also add a test case using the doc supplied by the reporter in tdf#117885) Change-Id: I8040298a2953b3f3fe8dd80bfd62db2304db938e Reviewed-on: https://gerrit.libreoffice.org/55135 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> (cherry picked from commit 6c68e52532d45c97a83b2396bd40c98ade9b5bb4) Squashed with fixup commit from https://gerrit.libreoffice.org/56602 for tdf#118412: DOC incorrect bottom page margin Change-Id: I8040298a2953b3f3fe8dd80bfd62db2304db938e Reviewed-on: https://gerrit.libreoffice.org/55466 Reviewed-by: Michael Stahl <Michael.Stahl@cib.de> Tested-by: Michael Stahl <Michael.Stahl@cib.de> (cherry picked from commit 3db1874044c24dadfb2f273d0e57e15bdcada1f5)
Diffstat (limited to 'vcl')
0 files changed, 0 insertions, 0 deletions