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

Reports do not keep non-heading indentation

When exporting a module into Doc, the indentation of non -heading artifacts is not kept, and they all printed flat. Is there any solution for that?

0 votes

Comments

What version? Any samples?

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.



2 answers

Permanent link

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).

0 votes

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.


Permanent link

 It is also dependent on the style sheet you are using.

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
× 481
× 230

Question asked: Mar 12 '17, 4:11 a.m.

Question was seen: 3,135 times

Last updated: Mar 15 '17, 3:01 p.m.

Confirmation Cancel Confirm