I have a long simple table, but the text doesn't wrap correctly when generating a PDF. I've tried to adjust the relative widths, using <p> tags, nothing seems to fix the issue.
Views
Replies
Total Likes
Hi,
Are you generating PDF using DITA-OT or native PDF?
Also please share a sample of your simple table where this issue can be seen. PDF screenshot will also help.
Thanks and Regards,
Surbhi Maheshwari
Thanks for the quick reply! I'm not able to share the simple table, but we used DITA-OT for PDF generation.
Hi Surbhi,
The text is a field name, without any spacing. The only special character is a period ".".
an example:
$.employee.firstname.middlename.lastname.preferredname
Hi Michelle
If you're using Apache FOP which is built into the DITA-OT, it isn't great at wrapping text in tables. If you insert zero width spaces in your long terms, then FOP may be able to break those terms at an appropriate place.
Regards
Keith
@MichelleKent Did you find the suggestion helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!
Views
Replies
Total Likes