How do I auto generate numbers in paragraph headings and in lists that are located in iteration loops in an RPE template?
How do I auto generate numbers in paragraph headings and in lists that are located in iteration loops?
I have a query iteration within a query iteration that each time the iteration loops, I want the auto generation of the number to increase. However, the numbering is not increasing.
I currently have:
Query Iteration Container for Product Names (CSCI) /* There multiple CSCI'S */
Paragraph set to Level 2, Number Style Arabic Displaying the Product Name
Query Iteration Container for Product (CSC) /* Each CSCI can have many CSC's)
Paragraph set to Level 3, Number Style Alpha Upper Case Displaying the CSC associated to the CSCI
Query Iteration Container for Service Interface /* Each CSC can have multiple service interfaces*/
List set to display Number style Alpha lower case
Query Iteration Container for Service Operations /* Each Service Interface can have multiple Service Operations*/
List set to display roman numerals.
I would like the output to look like this:
5.1 CSC Name
5.1.A CSCI
5.1.A.a Service Interface
5.1.A.a.i Service Operation
5.1.A.a.ii Service Operation
5.1.A.b Service Interface
5.1.A.b.i Service Operation
5.1.B CSCI..
5.1.B.a. Service Interface
5. 1.B.a.i Service Operation
5.2 CSC. Repeat..
Right now, when I generate the document, each new iteration starts back at 1, A, a, and i. it does not increment to number 2, B, b or ii. What am I doing wrong?
I have a query iteration within a query iteration that each time the iteration loops, I want the auto generation of the number to increase. However, the numbering is not increasing.
I currently have:
Query Iteration Container for Product Names (CSCI) /* There multiple CSCI'S */
Paragraph set to Level 2, Number Style Arabic Displaying the Product Name
Query Iteration Container for Product (CSC) /* Each CSCI can have many CSC's)
Paragraph set to Level 3, Number Style Alpha Upper Case Displaying the CSC associated to the CSCI
Query Iteration Container for Service Interface /* Each CSC can have multiple service interfaces*/
List set to display Number style Alpha lower case
Query Iteration Container for Service Operations /* Each Service Interface can have multiple Service Operations*/
List set to display roman numerals.
I would like the output to look like this:
5.1 CSC Name
5.1.A CSCI
5.1.A.a Service Interface
5.1.A.a.i Service Operation
5.1.A.a.ii Service Operation
5.1.A.b Service Interface
5.1.A.b.i Service Operation
5.1.B CSCI..
5.1.B.a. Service Interface
5. 1.B.a.i Service Operation
5.2 CSC. Repeat..
Right now, when I generate the document, each new iteration starts back at 1, A, a, and i. it does not increment to number 2, B, b or ii. What am I doing wrong?
5 answers
I actually would recommend a different approach. Instead of trying to "hard code" levels and numbering via paragraph properties, in the RPE template I would assign heading level styles according to the desired level. PDF automatically creates numbering and automatically keeps the order in tact based upon heading level styles. You can manipulate the formatting of heading styles in a Word output using a Word stylesheet.
Typically people want to see numbering as they see it or have created it in a Word document. The best way to replicate that is to define heading styles as desired in a Word stylesheet. RPE will automatically associate heading styles to Word heading styles in a stylesheet that is specified in an RPE generation i.e. heading style 1 in the RPE template will take the formatting properties of heading style 1 in the Word stylesheet, same with heading style 2 and so on.
Typically people want to see numbering as they see it or have created it in a Word document. The best way to replicate that is to define heading styles as desired in a Word stylesheet. RPE will automatically associate heading styles to Word heading styles in a stylesheet that is specified in an RPE generation i.e. heading style 1 in the RPE template will take the formatting properties of heading style 1 in the Word stylesheet, same with heading style 2 and so on.
The Word stylesheet approach solves the numbering problem in PDF if you use RPE to generate the document.
However, if you want to generate the document from RQM (4.0.1) directly there is no possibility to upload the .dsx specification and the corresponding .dot file for them to be used at generation time.
How do I get proper numbering when the desired output is PDF and the document is generated from within RQM?