(The open source Java library for manipulating docx files)
Hi Jason ,
I am using docx4j_2_3_0 version .I tried to convert docx containing shapes to html (docx attached with this post ).I didnt get any image for the shape in docx in converted html.
It seems you have handled for shape in docx2xhtmlNG2.xslt in cases of (./v:shape/v:imagedata) alone .In the attached docx v:shape is not immediately followed by v:imagedata .
Please do the needful help to fix this .
- (11.15 KiB) Downloaded 127 times
- Posts: 14
- Joined: Tue Nov 17, 2009 10:54 am
You're right, this is a limitation in docx4j currently.
The plan is to convert such things (VML and DrawingML) to SVG.
SVN contains some of the infrastructure necessary to do this (eg JAXB classes for SVG), but currently only handles pptx Connection (line).
If you only need to handle a limited subset of VML, you might want to write some of the conversion classes yourself (which I would happily accept). Alternatively, you could ensure your source documents contain PNGs or something instead.
- Posts: 3561
- Joined: Wed Mar 19, 2008 11:47 pm
Return to docx4j
Who is online
Users browsing this forum: Bing [Bot], Google [Bot], Majestic-12 [Bot] and 27 guests