Hi,
when producing MailMerge text documents, semi-automatic Page Breaks are
inserted which can only be removed manually one by one, but not "all together"
by e.g. selecting the whole document (Ctrl+A) and removing Page Breaks in the
Format Paragraph dialog.
XML shows that paragraphs with page breaks are different from paragraphs
without page breaks, they bear the name "P4":
<text:p text:style-name="P4"...
In the automatic styles section, P4 has the following property:
<style:style style:name="P4" ...
<style:paragraph-properties style:page-number="1"/>...
which - I suppose - is responsible for the page break before this paragraph.
Questions:
- Can anybody tell me, why in these "automatic" type styles the page break
cannot be removed with Strg+A but only one by one?
- Can anybody give me a hint how to write a Macro which removes those page
breaks? (If it's possible at all - in Spreadsheets there seems to be a
function which does a similar job[1], but the described problem might need a
bit more sophisticated proceeding).
Thanks,
Nino
[1] http://user.services.openoffice.org/en/forum/viewtopic.php?f=45&t=41794