Re: Detect page break in long tables (Writer)

2014-01-11 Thread Bernard Marcelly
Hi Ralf, You have to put the view cursor in a cell. The view cursor shows the page number where it is situated. Here is a proof of concept, in OpenOffice Basic. In a Writer document, insert a table with only one row (the title row). The macro will insert 100 lines and show you the row numbers w

Detect page break in long tables (Writer)

2014-01-10 Thread Ralf Heydenreich
Hi all, I've a Writer document with a table an some placeholders in it. Now, if I replace these placeholders from my Java application, the table sometimes gets too long and split over multiple pages. Since it is a kind of invoice table I want to put a subtotal at the end of each page. How can I ach