jason wrote:Create the content you want in Word, then use the docx4j Helper Word AddIn, or the docx4j webapp, to generate corresponding code.
Pardon me but I checked out the webapp and the addin.
I am still unsure about how precisely this is supposed to work.
Ok I tested it with a simple word file containing a simple table with borders and a cell called Test inside.
- Test.docx
- Test File with simple table
- (13.38 KiB) Downloaded 314 times
I would like to see how to create a table like this in a docx file.
Ofcourse I know the code because there are sample examples on various websites but if I knew the API it would be helpful also.
I go to the webapp link on the top right hand corner of the page (I had to search for that).
Then I upload the file and get the following screen shot :
- Table Docx File Output
- Table For Docx4j.JPG (229.02 KiB) Viewed 1643 times
When I click on the links I see xml.
I do not see how to create a table code. Which I am expecting.
I am expecting code like this (well actually this is so difficult a task that people are asking in other forums and getting responses):
https://stackoverflow.com/questions/199 ... ith-docx4j So I know you are repeating yourself in various places on this forum since 2008 . Would it not be great if there were some easily accessible user friendly (developer friendly mind you) docs that allow us to see what to do ?
Maybe I am missing something in the steps you outlined for us? Is there something we can do to help?