trichview.com

trichview.support




Re: Numbered Headings?


Return to index


Author

Message

Sergey Tkachenko

Posted: 10/08/2002 13:36:10


List styles are described in readme.txt in the latest version.

RichViewActions can be used to apply appropriate numbering to headings

(there is "1.1.1." list style in RichViewActions style templates; may be you

will need to change a font for headings).


The are only two problems:

- automatic applying appropriate list styles to all heading;

- when applying numbering, RichViewActions continue numbering only if

appropriate numbering can be found in the selected or adjacent paragraphs;

otherwise they create a new list style, and numbering starts from 1.


So, using RichViewActions user interface, you can create continuous

numbering only by one way - applying numbering to one of heading, copy it

and paste in places of other headings (a list number will be pasted only if

you paste it in an empty line).

If you want something more convenient for headings, you need to read

readme.txt and implenent it yourself.

Probably, I'll create a RichViewAction for this task, but I am not sure.


>

> Is there a demo/example that showcases how to number headings in a

document?

> Example: Here is a text without numbered headings

> Heading 1

>  some text

>  Heading 2

>    some text

>    Heading 3

>      some text

>    Heading 4

>      some text

>  Heading 5

>    some text

>

> Where Heading 1, 2, 3 etc have a text style called heading 1, 2, 3 etc.

>

> The numbered version would look like this:

> 1. Heading 1

>  some text

>  1.1 Heading 2

>    some text

>    1.1.2 Heading 3

>      some text

>    1.1.3 Heading 4

>      some text

>  1.2. Heading 5

>    some text

>

> I noticed that TRVStyle has a ListStyle property but the help file I have

> 1.5.4 does not document it. Also, the TrvAction demo (a great demo) allows

> us to create a numbered list but it did not indicate how to re-number

existing

> headings as described here.

>

> Any thoughts would be greatly appreciated.

>

> Naji.





Powered by ABC Amber Outlook Express Converter