Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Numbered Sections

3 views
Skip to first unread message

Phil Chudley

unread,
Feb 26, 2007, 9:47:01 AM2/26/07
to
Is it possible to created numbered sections in RTF generated output? If so
how?

I have succsessfully applied formatting styles for headings etc, but would
like to know if it is possible to number them in an outline fashion, so that
they can be referenced in a Table of Contents.

Thanks!

ElenaA

unread,
Feb 27, 2007, 3:19:31 AM2/27/07
to
so, the question is how to include headers in TOC?
TOC can only be build if you have specified outline levels for RTF document.
For this, you need to define formatting style for each level, and set this
style for the corresponding area.
For example, let you like to have 2 levels in your doc: first is for
iterated packages, second - for nodes nested in each package, so that TOC
would look like:
PACKAGE NAME:
package1.................................................................................................................................
1

Node
Class2.........................................................................................................................................................
1

Node
Class1.........................................................................................................................................................
1

PACKAGE NAME:
package1.package1..................................................................................................................
1

PACKAGE NAME:
test...........................................................................................................................................
1

Node
aa................................................................................................................................................................
1

Node
hhh..............................................................................................................................................................
1

then you need to set a style of level1 for the area where package name is
output, and style of level2 - for area that contains controls for outputting
node name.

Hope this helps


"Phil Chudley" <pchu...@dthmoas.co.uk> wrote in message
news:45e2f30d$1...@newsgroups.borland.com...

ElenaA

unread,
Feb 27, 2007, 3:23:58 AM2/27/07
to
just to make my previous message clearer: each style has a 'Level' property
('Normal') by default. You need to set level to 'Level1' for the style used
for the area where package name is output, 'Level2' - for area that outputs
node name, etc.

"ElenaA" <Elena.A...@borland.com> wrote in message
news:45e3e95b$1...@newsgroups.borland.com...

0 new messages