Hi! Thank you for the example. It helped me a lot to implement the chapter numbering. Unfortunately the chapter numbering is not shown in the table of contents. Do I have to set a property or something that it is shown?
Regards Nicole -------- Original-Nachricht -------- > Datum: Fri, 19 Sep 2008 01:25:20 -0300 > Von: Ariel Constenla-Haile <[EMAIL PROTECTED]> > An: dev@api.openoffice.org > Betreff: Re: [api-dev] automatic chapter numbering > Hi Nicole, > > Nicole Scholz escribió: > > Hi! > > > > I would like to install an automatic chapter numbering in my writer > document. I did not find an example how to program this. Can anyone give me an > example or a hint where I find one? > > > > Regards > > Nicole > > > if I understood clearly, your talking about what you can do in the menu > "Tools" - "Outline Numbering...". If so, you'll get its API counterpart > in the interface com.sun.star.text.XChapterNumberingSupplier, > implemented by the model of every OOo Writer document. > > See the Developer's Guide: > http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Text/Line_Numbering_and_Outline_Numbering > > And the method demoOutlineNumbering() in the example I attach > [by the way, which is in German the shortcut for the Dummy Text - DT > AutoText?] > > Regards > Ariel. > > > > -- > Ariel Constenla-Haile > La Plata, Argentina > > [EMAIL PROTECTED] > http://www.ArielConstenlaHaile.com.ar/ooo/ > > > > "Aus der Kriegsschule des Lebens > - Was mich nicht umbringt, > macht mich härter." > Nietzsche Götzendämmerung, Sprüche und Pfeile, 8. -- 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]