Re: [api-dev] automatic chapter numbering

2008-10-21 Thread Ariel Constenla-Haile
Hi, starting a new thread for a new subject, is always a good practice... Hardie82 escribió: Hi. I have a problem with updating my toc. I have a template-file which i fill with chapters. In this template there is a toc included. Now after filling the document i want to update the toc. Therefore

Re: [api-dev] automatic chapter numbering

2008-10-21 Thread Stephan Bergmann
On 10/21/08 15:59, Hardie82 wrote: Hi. I have a problem with updating my toc. I have a template-file which i fill with chapters. In this template there is a toc included. Now after filling the document i want to update the toc. Therefore i tried following code: 192 private void refreshIndex(

Re: [api-dev] automatic chapter numbering

2008-10-21 Thread Hardie82
Hi. I have a problem with updating my toc. I have a template-file which i fill with chapters. In this template there is a toc included. Now after filling the document i want to update the toc. Therefore i tried following code: 192 private void refreshIndex() throws Exception 193 { 194

[api-dev] Code snippets, ooRexx ... (Re: [api-dev] automatic chapter numbering

2008-09-24 Thread Rony G. Flatscher
Hi Ariel, first of all, I think you are doing an incredible and admirable job helping people on this list! It is more than remarkable to see how well you have mastered many of the OOo APIs (if not all?) and how helpful you are. Many of the code samples that you supply could serve *very* well as

Re: [api-dev] automatic chapter numbering

2008-09-23 Thread Ariel Constenla-Haile
Hi Nicole, Nicole Scholz escribió: Hi! Thank you for your answer. I tried to update the toc but this does not solve the problem. I add my code to this mail perhaps I do something else wrong. [ooRexx code] as my ooRexx knowledge is null, I can't get if you're doing something wrong; but you

Re: [api-dev] automatic chapter numbering

2008-09-21 Thread Nicole Scholz
::routine ParaStyle use arg HeadingStyle, contentProps, xParaStyleFamily, paraCharHeight, font sParaStyleHeading = contentProps~getPropertyValue(HeadingStyle) xHeadingStyleProps = xParaStyleFamily~getByName(sParaStyleHeading)~xPropertySet xHeadingStyleProps~setPropertyValue("CharFontName", font) xHeadingStyleProps~setProper

Re: [api-dev] automatic chapter numbering

2008-09-20 Thread Ariel Constenla-Haile
Hi Nicole, Nicole Scholz escribió: 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? I suppose you followed the example w

Re: [api-dev] automatic chapter numbering

2008-09-20 Thread Nicole Scholz
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

Re: [api-dev] automatic chapter numbering

2008-09-19 Thread Marc Santhoff
Am Freitag, den 19.09.2008, 01:25 -0300 schrieb Ariel Constenla-Haile: > [by the way, which is in German the shortcut for the Dummy Text - DT > AutoText?] It is "BT" for "Blindtext". Have fun, Marc - To unsubscribe, e-mail: [

Re: [api-dev] automatic chapter numbering

2008-09-19 Thread Nicole Scholz
Hi Ariel! Thank you for your example this helps a lot. 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 numb

Re: [api-dev] automatic chapter numbering

2008-09-18 Thread Ariel Constenla-Haile
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

[api-dev] automatic chapter numbering

2008-09-17 Thread Nicole Scholz
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 -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und I