We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How does XSL-FO converter handle tabs?

When using BindFO() to generate a PDF from an XSL-FO document, can you clarify how it treats tabs when preserve-whitespace = true on the fo:block? For instance, is each tab translated into a certain number of spaces?


Here is the example XSL-FO:

<fo:block linefeed-treatment=“preserve” white-space-collapse=“false”>
<xsl:value-of select=“Content”/>
</fo:block>

Attached is what the text looks like in a text editor (notice the lines between the words denote the tabs) and on a PDF output by Aspose’s BindFO() method. on Pdf.Generator.


Hi Keith,


Thanks for your inquiry. We are looking into your question and will share our findings soon. However, we will appreciate it if you please also share your code and input/output document. We will check it and will update you accordingly.

We are sorry for the inconvenience caused.

Best Regards,