RTF Section Numbering

Discussion about printing issues and techniques.

Moderators: Susan Smith, admin, Gabriel

Post Reply
bluesfannoz
Posts: 292
Joined: Fri Jun 19, 2009 9:01 am
Location: Lawrence, Kansas
Contact:

RTF Section Numbering

Post by bluesfannoz »

Was not sure where to put this.

Have any of you RTF gurus come up with a good way to fix section numbering when your taking a base document and making it into a multiple page document via a BR program.

We generate contracts using a base RTF document and when they try to use Roman Numerals or Numbers to label a section it ends up just continuing to count up rather than starting with '1' or 'I'.

Is there a code we could insert at the bottom of the document that would ensure the next page resets the counter?
Steve Koger
Computer Specialist
SEKESC-MACS Division
gtisdale
Posts: 218
Joined: Sun Jun 07, 2009 7:54 am
Location: Concord, Massachusetts
Contact:

Post by gtisdale »

In my RTFLIB.dll I deal with this exact question. I have not, however initiated a sub numbering sequence, just a main sequence as long as the paragraph types remain a constant type. Entering any other paragraph type automatically resets the counter. I use 1,2,3 etc rather than I II III etc.

There is a variable that gets PROCed in that tells the library whether or not to use the counter.

The add atttachment filter does not like any of my file names so it's a real pain to send sample files the RTF file should be .dll the letter file should be .spc

FNGeorge
Attachments
rtflib.br
RTF Library processes a text file into an RTF document
(86.18 KiB) Downloaded 889 times
letter.txt
Sample specification file for RTFLIB
(3.35 KiB) Downloaded 882 times
nume.txt
Sample file to PROC in in the middle of an RTF conversion by including "[SPEC(filename)]" in the text being converted
(57 Bytes) Downloaded 931 times
Post Reply