Reports do not keep non-heading indentation
2 answers
You can set "style" to dataSource/artifact/moduleContext/contextBinding/depth when isHeading == "true".
dataSource/artifact/moduleContext/contextBinding/section gives the indent level, which you can use for non headings (when isHeading != "true").
If you do not want to print section, you may set indent based on section.length (or using some other logic).
Comments
hi Prasad, I tried what you suggested and got awkward results, any idea why the following happened?
1. I took a clean DNGModule template from the sample templates that come with RPE. Works fine when I run it as is.
2. I changed in the non heading (isHeading!=true) paragraph either style or left indentation to dataSource/artifact/moduleContext/contextBinding/depth
the result is that the headings (isHeading==true), that previously printed fine, are now printed as "normal" style.
You cannot get the exact indent by setting Left (Indentation) property as this value should be given in points.
Please try setting some value based on section as the Left Indentation for Paragraph that prints non headings. No other changes are needed.
Comments
Donald Nong
Mar 12 '17, 6:57 p.m.What version? Any samples?
Tali Rabetti
Mar 13 '17, 3:32 a.m.version 6.0.1.
Apparently I do not have enough "reputation points" to add an image, how else can I provide a sample? in any case - it is nothing special, just non heading artifacts with hierarchy.