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 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;

yes, comparing the name of the bookmark to your special string should work.

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]

Reply via email to