On 09/18/2018 09:23 AM, jan.kan...@zf.com wrote:
Really?

I'm sorry but I confirm that there is -- "OUT OF THE BOX" -- no way to add OLE objects to the DOCX files generated by XMLmind XSL-FO Converter.




Isn't there at least some for example XML-SAX event API

OLE objects may not be expressed as standard XSL-FO objects.

You'll have to invent your own XML specification of OLE objects and pass to XMLmind XSL-FO Converter the corresponding fo:instream-foreign-object containing this XML specification. See https://www.w3.org/TR/xsl11/#fo_instream-foreign-object




that we can extend and implement own extension to write the OLE stream (there's 
some WINAPI function) to right place (file) of the docx? With this way we can 
still be able to avoid 2phase process which is the second but also last option.


The above suggestion is indeed one way to implement your own extension.

However there is currently no public, documented, extension point[*] letting you plug in this kind of code (i.e. custom handlers for fo:instream-foreign-object containing custom XML.)

Therefore you'll have to modify the Java source code of the product. This is certainly possible (without any help from us though), as this source code can be obtained provided you purchase:

- 3 Server Licenses

OR

- 1 Site License

OR

- 1 Developer License

See "Which license to choose?", http://www.xmlmind.com/foconverter/which_license.html

See "Price List", http://www.xmlmind.com/foconverter/price_list.html




---
[*] All we currently have is com.xmlmind.fo.graphic.GraphicFactory and com.xmlmind.fo.graphic.Graphic but I doubt these interfaces could be used to handle OLE objects.

See http://www.xmlmind.com/foconverter/_distrib/doc/api/com/xmlmind/fo/graphic/package-summary.html

--
XMLmind FO Converter Support List
xfc-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xfc-support

Reply via email to