Hello.
yoyo wrote:I have web formular with WYSIWYG editor (something like TinyMCE) and I need generate PDF from this form. But export to PDF dont support HTML and CSS code (only some simple tags).
For example I have XML element :
TEXT TEXT TEXT]]>
If I have settings AllowHtmlTags = true, It filters my styles. If I use StiOptions.Export.Html.ReplaceSpecialCharacters = false in HTML export it is ok but PDF is obviously unsatisfactory.
Can you please advice me, if it is possible show styled text defined by HTML + CSS code in PDF export? If it is possible please send me simple example, maybe with my html code.
Unfortunately, there is no full HTML support now because there is no build-in support in the .NET Framework. If this support will be added to future .Net Framework versions we will definitely include it in our product.
At this moment there is an 'Allow Html Tags' property of the text component which involves support of the simple HTML tags (text style, font, color, line spacing, alignment). All this tags display correctly in the exported PDF file.
As a workaround you could convert HTML to the RTF and use Rich Text box. But there may be several problems in big text and pdf export.
Thank you.