Hi, Thanks for the hints.
I was able to use the book bookmark scheme for handling tables spanning page breaks. I lookahead to find a page break "bookmark" inside a table cell. I then record the current "row" and correctly close the table on the current page. I then restart the table on the next page, inserting the row containing the break as the first row. It seems to work reasonably well. I now need to differentiate the "pagebreak bookmarks" from other bookmarks in the document. (At the minute I insert a pagebreak at every bookmark which isn't good). Is there a means of finding the programmatic name of the bookmark (I set the name of each page break bookmark to "PAGEBREAKMARKER"? How can I compare bookmarks? I was wondering if the following was possible: if (currentBookMarkName =="PAGEBREAKMARKER") then found a pagebreak bookmark; else ignore pagebreak; Ian Frank Meies - Sun Germany - Development - Software Engineer wrote: > > Hi Ian, > > > I don't think this bookmark solution is suitable for documents with > tables. If there is a table with an automatic page break, each cell in > the split line would have an automatic page break (if the line is > allowed to split). In this case you would have to add the bookmark to > the correct position inside each of these cells. I don't know if this is > possible using the API, I guess it's not. > > Best regards, > > Frank > > -- > Frank Meies (fme) - OpenOffice.org Writer > OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Finding-automatic-page-breaks-tf3333417.html#a9431261 Sent from the openoffice - dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
