Re: [dev] Finding automatic page breaks

2007-03-12 Thread ianmcr
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

Re: [dev] Finding automatic page breaks

2007-03-12 Thread Frank Meies - Sun Germany - Development - Software Engineer
Hi Ian, On 03/12/07 10:43, ianmcr wrote: 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

Re: [dev] Finding automatic page breaks

2007-03-06 Thread ianmcr
Thanks, I translated the macro to C++ and the approach seems to work quite well. I first iterate from the end to the start of the document inserting pagebreak markers (ie. pagebreak bookmarks) with paragraphs. Then I iterate forwards checking the properties of the paragraph to find the start of

Re: [dev] Finding automatic page breaks

2007-03-06 Thread ianmcr
The export filter uses our internal Accessible HTMLCreator which limits the use of a XSLT. We are planning to provide a XML-based intermediate step in the future. Unfortunately, at the minute I'm restricted to a macro based solution. ashok _ wrote: I hope you are using an XML XSLT filter to

Re: [dev] Finding automatic page breaks

2007-03-06 Thread Frank Meies - Sun Germany - Development - Software Engineer
Hi Ian, On 03/06/07 10:14, ianmcr wrote: I translated the macro to C++ and the approach seems to work quite well. I first iterate from the end to the start of the document inserting pagebreak markers (ie. pagebreak bookmarks) with paragraphs. Then I iterate forwards checking the properties of

SV: [dev] Finding automatic page breaks

2007-03-05 Thread Bryan Rasmussen
Is this something set by the user? That is to say you want to add functionality to the output format? Cheers, Bryan Rasmussen -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sendt: 5. marts 2007 08:44 Til: dev@openoffice.org Emne: Re: [dev] Finding automatic page

Re: [dev] Finding automatic page breaks

2007-03-05 Thread Frank Meies - Sun Germany - Development - Software Engineer
On 03/05/07 08:44, Frank Meies - Sun Germany - Development - Software Engineer wrote: On 03/02/07 13:45, ianmcr wrote: I'm fairly new to OOo. I'm working on an export filter to produce accessible html. I'm iterating over the text and identifying paragraphs, tables etc. However, I need a

Re: [dev] Finding automatic page breaks

2007-03-04 Thread Malte Timmermann
The soft page break thing is also needed for DAISY export. Therefor, after investigating into Accessibility related things in ODF, optionally exporting soft page breaks is now defined in ODF 1.1. See my OOo conference presentation

Re: [dev] Finding automatic page breaks

2007-03-04 Thread Frank Meies - Sun Germany - Development - Software Engineer
Hi, On 03/02/07 13:45, ianmcr wrote: I'm fairly new to OOo. I'm working on an export filter to produce accessible html. I'm iterating over the text and identifying paragraphs, tables etc. However, I need a reliable method of identifing soft page breaks. (At the minute I use the page cursor

Re: [dev] Finding automatic page breaks

2007-03-03 Thread ashok _
I hope you are using an XML XSLT filter to write the export filter rather than use a basic macro to iterate through the document. The issue of soft page breaks, i suspect you will have to use XSL-FO to identify the point of the page break.. since page length is captured in terms of length (in

[dev] Finding automatic page breaks

2007-03-02 Thread ianmcr
Hi, I'm fairly new to OOo. I'm working on an export filter to produce accessible html. I'm iterating over the text and identifying paragraphs, tables etc. However, I need a reliable method of identifing soft page breaks. (At the minute I use the page cursor to insert a marker string at the end