Re: Output difference between docx and pdf
Hussein Shafie <[email protected]> Fri, 10 Apr 2015 17:25:20 +0200
| Newsgroups | gmane.text.xml.xfc.general |
|---|---|
| Message-ID | <[email protected]> |
Masa wrote:
>
> I have found that the sample bellow doesn't show anything in docx
> converted by fo2docx.exe. The attached are made by using XSL Utility
> 5.2.0. How can I get a docx file as same as the attached pdf file?
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <fo:root xml:lang="ja"
> xmlns:fo="http://www.w3.org/1999/XSL/Format">
>
> <fo:layout-master-set>
> <fo:simple-page-master master-name="pm1">
> <fo:region-body margin="0mm" />
> <fo:region-after extent="7mm" />
> </fo:simple-page-master>
> </fo:layout-master-set>
>
> <fo:page-sequence master-reference="pm1">
> <fo:flow flow-name="xsl-region-body">
>
> <fo:block>
> <fo:inline>
> <fo:block>
> <fo:inline>check</fo:inline>
> </fo:block>
> </fo:inline>
> </fo:block>
>
> </fo:flow>
> </fo:page-sequence>
> </fo:root>
>
A <fo:block> inside a <fo:inline> is not supported by our product.
This is documented here:
http://www.xmlmind.com/foconverter/conformance.html
(Please search for "Block-level Formatting Objects").
You'll get the same results in DOCX and in PDF if you replace:
---
<fo:block>
<fo:inline>
<fo:block>
<fo:inline>check</fo:inline>
</fo:block>
</fo:inline>
</fo:block>
---
by:
---
<fo:block>
<fo:inline>check</fo:inline>
</fo:block>
---
Other important limitations of our product are listed in this page:
http://www.xmlmind.com/foconverter/conformance.html
and also in the User's Guide:
http://www.xmlmind.com/foconverter/_distrib/dotnet/doc/user/limitations.html
http://www.xmlmind.com/foconverter/_distrib/dotnet/doc/user/implementation.html
--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support