Hi! I have a Writer document with 2 pages and after the second page I would like to insert a new page so I have 3 pages.
In Draw I can insert a new page with insertnewByIndex() and I thought there is an equivalent method for Writer. I found Interfaces that seems to be the same for writer but as I tried to programm it it doesn't work. But I think a pagebreak would be a possibility too. Perhaps you can give me an example how to set a pagebreak? Thanks Nicole -------- Original-Nachricht -------- > Datum: Tue, 01 Apr 2008 19:17:49 +0200 > Von: Mathias Bauer <[EMAIL PROTECTED]> > An: [email protected] > Betreff: Re: [sw-discussion] insert a new page in sWriter with Java > Nicole Scholz wrote: > > > Hi! > > > > I am trying to insert a new page in sWriter. I found examples to > > insert a new page in Draw and in sCalc but not in sWriter. In Draw I > > can use the method insertNewByIndex of the Interface xDrawPages to > > insert a new page. Is there an equivalent method for sWriter and how > > can I get access to it with Java? > > > > Thanks Nicole > What shall "inserting a page" mean in Writer? Pages in Writer are no > real objects, they are a result of the layout. So adding a new page > would mean adding some text so that the number of pages becomes larger. > > Or what else do you try to achieve? Inserting one or more page breaks so > that a page is divided into two? > > Ciao, > Mathias > > -- > Mathias Bauer (mba) - Project Lead OpenOffice.org Writer > OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS > Please don't reply to "[EMAIL PROTECTED]". > I use it for the OOo lists and only rarely read other mails sent to it. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
