Page 1 of 1

multiple files HTML

PostPosted: Thu Jun 20, 2013 8:46 pm
by egavaldo
Hi guys,
I am considering using doc4j to convert some HTML reports I'm generating in Word and PDF.
I have a very basic question before I start investigating: our reports are currently multiple files: 1 html file and some images in a resources/images folder. Will it convert my report in a single/standalone Word document with all the images embedded? This is what I need to achieve ultimately.
Also will all the internal anchors work?
Many thanks,

Re: multiple files HTML

PostPosted: Thu Jun 20, 2013 10:37 pm
by jason
It should find the images. There have been some tricky cases eg where images are on a website which requires auth which could be handled better.

Internal anchors? I don't recall off the top of my head - possibly not. You can have a look at the source code .. https://github.com/plutext/docx4j/blob/ ... orter.java

Re: multiple files HTML

PostPosted: Thu Jun 20, 2013 10:58 pm
by egavaldo
Great! I'll try it that 's probably the simpler.
thank you so much.