/scripts/ahub.form.attachments.js
0

PowerDesigner: RTF Extended Attribute rendered incorrectly on legacy RTF report.

Jan 09, 2017 at 12:33 PM

80

avatar image

Can anyone confirm this defect and/or provide a work-around?

Environment: PD 16.6.0.1; Windows 7 SP1; MS Word 2016

Steps to reproduce defect:

Create a new CDM.

Create an extended attribute for Entity of type "Text" with the text format set to "RTF". Call it "myRTFtext". Create an Entity. Populate both the Entity's built-in Description attribute and myRTFtext with three lines of plain text:

Line 1 is normal
Line 2 is indented differently
Line 3 is normal

For both attributes, modify the paragraph format of line 2 such that its indentation is different than lines 1 and 3 (e.g. make it a list bullet). Use the legacy report editor to create an RTF report that includes, for each entity, both the Description and myRTFtext (in a "Text paragraph" item). Open the RTF document in MS Word. The Description renders correctly. For myRTFtext, Line 3 (and any subsequent paragraphs) will inherit paragraph formatting from Line 2 rather than retaining its own format.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Phillip Lam
Jan 09, 2017 at 10:49 PM
0

Just try 16.6 SP02. I don't see the issue.

Can you try it?

If it still doesn't work for you, please upload a screenshot.

,

Just try 16.6 SP02. I do not see the issue.

Can you try it?

If it still doesn't work for you, please upload a screenshot.

Share
10 |10000 characters needed characters left characters exceeded
Jason Boesch Jan 25, 2017 at 04:24 PM
0

Thank you for the suggestion. I'm not able to upgrade to SP02 at this time since I am bound to my company's upgrade path. I'm attaching some screenshots.


Share
10 |10000 characters needed characters left characters exceeded
Phillip Lam
Jan 26, 2017 at 03:28 AM
0

OK I reproduce the issue in 16.6.2

The issue only exists in legacy report editor. Can you upgrade to new style?

Share
10 |10000 characters needed characters left characters exceeded
Jason Boesch Jan 26, 2017 at 08:48 PM
0

Hi Phillip,

Thank you for confirming the issue.

The new report editor fixes the issue with rendering RTF extended attributes, but has introduced a new set of problems. The RTF template that I use (developed using PD 15) has a particular set of styles defined. PD's new report editor makes a mess of these styles. For example, the attached screenshot shows RTF output of two reports using the same elements and RTF template. The output on the left (legacy) is aligned with what is defined in the RTF template, but the output on the right is not:

  • The "Entities" heading is not shaded correctly
  • The "Entities" heading font should be rendered in all caps
  • The lower-level headings have numbers even though their respective styles are not numbered.
  • The section break that is in the RTF template has been replaced with an additional heading.

Additionally (not pictured) some custom styles defined in the RTF template (used for boilerplate content) are completely eliminated in the new report output.


Share
10 |10000 characters needed characters left characters exceeded
Skip to Content