Miklos Vajna 4108f28520 fdo#39001 RTF import: fix fake empty page at the end of the doc
In case we have a \sect, there was no \sbknone (so it counts as a page
break as well) and there is nothing after it, we should not make extra
efforts to make that have some effect, but adding at least one empty
paragraph to that new page.

Change-Id: Ibcbecabcb590ed34ef96a97698e4ab8f638d3483
2013-07-05 12:02:07 +02:00

23 lines
549 B
Plaintext

{\rtf1 \ansi
{\*\generator Apache XML Graphics RTF Library;}
\fet0 \ftnbj \paperw11905 \paperh16837 \margt2267 \margb1133 \margl1417 \margr1417 \headery2267 \footery1984 \itap0
\sectd
{\li0 \f3 \b0 \ql \ri0 \fs24 \cf1 \i0
{\f3 \strike0 \ul0 \b0 \sa0 \sb0 \fs24 \cf1 \i0
FIRST PAGE
\par
}
}\sect \sbkpage
{\li0 \f3 \b0 \ql \ri0 \fs24 \cf1 \i0
{\f3 \strike0 \ul0 \b0 \sa0 \sb0 \fs24 \cf1 \i0
NEXT PAGE
\par
}
}
{\li0 \f3 \sbkpage \b0 \ql \sect \ri0 \fs24 \cf1 \i0
{\f3 \strike0 \ul0 \b0 \sa0 \sb0 \fs24 \cf1 \i0
LAST PAGE
\par
}
}\sect }