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] Create chapter in template-file

2008-10-20 Thread Hardie82
Hi all, I am new to oo-programming. I want to create chapters within a tepmlate-file. The structure of this file looks like that: 1. chapter 1 1.1. subchapter 1 1.2. subchapter 2 2. chapter 2 ... I have a variable number of subchapters and a fixed number of mainchapter which are described with