Skip to Content
Jan 18, 2018 at 10:13 AM

Tab char in CrystalReport

101 Views Last edit Jan 18, 2018 at 04:06 PM 3 rev


I have some html text containing horizontal tab chars. Tab char is coded as "<spanstyle="white-space:pre;"></span>". I've added html field in my CrystalReports template, but after generating CrystalReport document and exporting it to PDF, tab chars are not correctly displayed.

I've tried to replace "<spanstyle="white-space:pre;"></span>" with "#x09; " and now it looks better, but still is not good enough(I mean in PDF some rows are shifted one Tab char more than in HTML)editor .

Moreover there's difference between Crystal report document and exported PDF document.

What can I do do make get the same result in HTML and PDF and why looks different in CrystalReport document and in exported PDF file?


sekop-tab.png (182.4 kB)