diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2019-03-13 17:51:07 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-03-13 21:52:37 +0100 |
commit | adcf656bb56e09fbb638a44b0cccc96f8cfced7f (patch) | |
tree | 92b41b9725d67caef1b7738d33aad89a41d53d5b /COPYING | |
parent | 17b25fd3df237a64d6a28fbc57b869e080963193 (diff) |
DOCX import: fix unexpected page break on autotext insert at end of doc
The problem was that the page style was set on the first paragraph,
which means a page break on the UI. So if you used a multi-paragraph
autotext twice (insert autotext, press enter, insert autotext again)
then you ended up with 2 pages instead of just 1.
Fix the problem by tracking when we are in autotext import mode, and
similar to pasting, don't set the page style in autotext import mode.
Change-Id: I4fc551b3c1b999687eb80242e261f186fd1b6f13
Reviewed-on: https://gerrit.libreoffice.org/69214
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions