Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Read section "7.8.1 Removing Page Breaks"

Although a page break is added by "changing" styles, this is not a function of the style itself, so merely editing a style will not do this for you.

On 05/01/2012 04:25 PM, Nino Novak wrote:

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.

- 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).


Andrew Pitonyak
My Macro Document:

For unsubscribe instructions e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.