Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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?


0 votes



5 answers

Permanent link
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.

1 vote


Permanent link

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?

0 votes


Permanent link
See:

https://jazz.net/jazz02/web/projects/Rational%20Quality%20Manager#action=com.ibm.team.workitem.viewWorkItem&id=93757

0 votes


Permanent link
This functionality was added to the CLM 4.0.3 release.  In this release you can add a Word stylesheet and an RPE document specification to a report resource so that you can "fine tune" your output formatting as required.

0 votes


Permanent link

 Hi Everyone,


Can anyone can share the some sample template along with stylesheet and expected output for above query?
 


0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,025
× 332

Question asked: Feb 18 '13, 7:49 a.m.

Question was seen: 6,563 times

Last updated: Jun 30 '22, 12:33 a.m.

Confirmation Cancel Confirm