cancel
Showing results for 
Search instead for 
Did you mean: 

Embed doc in a generated doc file in java

Former Member
0 Kudos

I need some help regarding this, I used WordprocessingML to generate a Word document..now, I need to embed a file in the generated document..I did some research and found out that it transforms the embedded fle into a 64bit binary stream, but don't have an idea how to do it..I need some insight on this one..thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

How are you generating the Word documents, manually? I haven't used it, but it looks like docx4j might be good library for building the documents. General documentation can be found [here|http://dev.plutext.org/trac/docx4j/wiki], description of [Java API|http://dev.plutext.org/docx4j/javadoc-2.2.2/] and here's the [download|http://dev.plutext.org/docx4j/].

Cheers, harald

Former Member
0 Kudos

yup, I create it manually...filewriter and bufferedwriter using worprocessingML..i use jdk1.4.2 btw..

Answers (0)