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

How to get DNG Headings from RPE and DNG Module to be Heading style in Word?

I created RPE template that gets DNG Module artifacts, some of which are type Heading. When I generate a Word document using RPE Document Studio, in Word I notice they are Normal style and not Heading 1 style.


I would like to apply a Style sheet in Word. How can I get the Heading artifacts to be Heading style in Word?

0 votes


Accepted answer

Permanent link

The usual way is to apply the Heading style (dataSource/artifact/moduleContext/contextBinding/depth, which returns heading level as int) for artifact title when isHeading == "true".
You can refer the sample template DNG_Module.dta (under %rpe_home%\templates\DNG)

Michael Laurendi selected this answer as the correct answer

0 votes


One other answer

Permanent link

Hi Subramanya,


Thank you for that information. After examining that in the sample template I was able to apply similar changes into my template and got much better results.

Mike

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,019
× 21
× 1

Question asked: Jul 25 '18, 7:51 a.m.

Question was seen: 4,454 times

Last updated: Jul 25 '18, 12:17 p.m.

Confirmation Cancel Confirm