🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.together.documentation
3 messages
3 total messages Started by Phil Chudley Mon, 26 Feb 2007 14:47
Numbered Sections
#44
Author: Phil Chudley
Date: Mon, 26 Feb 2007 14:47
8 lines
1356 bytes
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!
Re: Numbered Sections
#45
Author: ElenaA
Date: Tue, 27 Feb 2007 08:19
59 lines
3074 bytes
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" <pchudley@dthmoas.co.uk> wrote in message 
news:45e2f30d$1@newsgroups.borland.com...
> 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!
>
>
> 
Re: Numbered Sections
#46
Author: ElenaA
Date: Tue, 27 Feb 2007 08:23
68 lines
3563 bytes
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.Alekseeva@borland.com> wrote in message 
news:45e3e95b$1@newsgroups.borland.com...
> 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" <pchudley@dthmoas.co.uk> wrote in message 
> news:45e2f30d$1@newsgroups.borland.com...
>> 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!
>>
>>
>>
>
> 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads