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
- Login to application.
- Open the Paragraph rule and see the preview of paragraph rule, text appears vertically.
- 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.
Published February 3, 2017 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.