It's all about the answers!

Ask a question

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


Michael Laurendi (1051845) | asked Jul 25 '18, 7:51 a.m.

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?

Accepted answer


permanent link
Subramanya Prasad Pilar (4.6k16) | answered Jul 25 '18, 9:04 a.m.

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

One other answer



permanent link
Michael Laurendi (1051845) | answered Jul 25 '18, 12:17 p.m.

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

Your answer


Register or 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.