ExportPdf with HTML content
Posted: Wed Jun 27, 2018 1:11 pm
Hello,
I have a problem with PDF export if the content to be exported contains HTML, for example a table.
I used the StiPdfExportService class and the ExportPdf method and in my report file I created a text field by setting the property "allow html tags".
I also tried to set other settings like "text quality" with Wysiwyg or Standard value but nothing has changed.
The content of the PDF exported file is always like this:
v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape
{behavior:url(#default#VML);}
In a text field can I put any type of html tag? Is there any limitation?
Thanks in advance
I have a problem with PDF export if the content to be exported contains HTML, for example a table.
I used the StiPdfExportService class and the ExportPdf method and in my report file I created a text field by setting the property "allow html tags".
I also tried to set other settings like "text quality" with Wysiwyg or Standard value but nothing has changed.
The content of the PDF exported file is always like this:
v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape
{behavior:url(#default#VML);}
In a text field can I put any type of html tag? Is there any limitation?
Thanks in advance