How to insert a page break

"Herter, Scott" <[email protected]> Wed, 4 May 2011 11:24:43 -0700
Newsgroups gmane.comp.openoffice.devel.api
Message-ID <42940CAF17FFA34F9C2E0F13034B9A160ABA9DB6BE@VA3DIAXVS131.RED001.local>
I am trying to go through a document and insert a page break at a certain point in the document.  Specifically I need to insert either a break right or break left code.  I can search through the document, I can insert text, I can remove text, I can't find any way to insert a break through the API.

I tried recording a macro, but that only showed me how to pop up the insert break dialog, not very helpful.  I have been combing through the API documentation trying to find some way to insert a new page break and have not been able to find anything close to that.

Any suggestions on which API calls to look at?  I can get an XComponent, XTextDocument, XText, and any component they implement, I just can't figure out which API call will insert a page break.

Thanks.

--
I used to think I wasn't a morning person, but things never got better after lunch.
-- Wally from Dilbert

-- 
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help