Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Generated PDF does not include CSS style

SA-33146

Summary



The user is using CSS style to show text vertically in the pdf. CSS style is included in paragraph rule and the preview is showing the text vertically but after generating the pdf user can't see the text vertically. "Information provided by supplier" this text should appear vertically in pdf.

Error Messages



Not Applicable


Steps to Reproduce

  1. Login to application.
  2. Open the Paragraph rule and see the preview of paragraph rule, text appears vertically.
  3. Run the pyviewaspdf activity,open the generated pdf and note that the text is not coming vertically.


Root Cause



transform:rotate(-270deg) is not supported by pd4ml.

Resolution



The user requirement is to rotate the text 270 degrees which is acheived by using the tranform :rotate(-270deg) style.But this is not supported by pd4ml and as an alternative they have suggested to use Writing-mode: tb-rl which is equivalent to transform: rotate(-90deg).

When Writing-mode:tb-rl is used the text is displayed in Top-Bottom and right-left format but as per user requirement it has to be displayed in
bottom-top and left-right order for which the transform :rotate(-270deg) has to be set but this is not supported in pd4ml and has no alternative provided by pd4ml.
Suggest Edit

Published February 3, 2017 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us