Re: [libreoffice-users] Wanted: Macro for removing Page Breaks in MailMerge docs
If you are looking to have more than one record on a page, look into the next record command Writer automatically assumes next record = next page when merging. Adding next record after last field entered, begins repeat of fields on same page. From menu Insertfieldsother, select next record. Suppose you have a set of fields. F1, F2 and F3 in a table. Add F1, F2 and F3 on every table row. At the end of each row in the table, add next record field after F3. Hope this helps On 5/1/2012 4:25 PM, Nino Novak wrote: 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=45t=41794 -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
[libreoffice-users] Wanted: Macro for removing Page Breaks in MailMerge docs
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=45t=41794 -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
Re: [libreoffice-users] Wanted: Macro for removing Page Breaks in MailMerge docs
AndrewMacro.odt 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: 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=45t=41794 -- Andrew Pitonyak My Macro Document: http://www.pitonyak.org/AndrewMacro.odt Info: http://www.pitonyak.org/oo.php -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
Re: [libreoffice-users] Wanted: Macro for removing Page Breaks in MailMerge docs
On Tuesday 01 May 2012, 19:10:29 Andrew Douglas Pitonyak wrote: AndrewMacro.odt Read section 7.8.1 Removing Page Breaks Bingo! Thanks, Andrew - I knew there must be some magic that just works ;-) Nino -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
Re: [libreoffice-users] Wanted: Macro for removing Page Breaks in MailMerge docs
On 05/01/2012 07:25 PM, Nino Novak wrote: Bingo! Thanks, Andrew - I knew there must be some magic that just works ;-) Nino Your welcome, glad it worked. -- Andrew Pitonyak My Macro Document: http://www.pitonyak.org/AndrewMacro.odt Info: http://www.pitonyak.org/oo.php -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted