Hello Jason, In my case I am adding an table which is running into more than one page. When the table is spread to the 2nd or 3rd page the first row of table is getting added to the Header of the document. Other words, when table spreads to next page the first row of the table is being attached to the Header of the document. Can you please tell me how to resolve this? ...
3. Is it possible to generate "page number"(page reference) in TOC automatically? The topic "Creating TOC" mentioned an approach to generate TOC. Is it including generating the page number in TOC? or just the linkage of the Headings to the TOC (i.e anchor)?
I think the page number is generated while word open the file, so, is it possible to get those page numbers while generating word file?!
Hi, I got some questions about docx4j and openxml file format, could any one give me some advice?
1. Could I merge multi docx files? (not by altchunk) For some reasons, I have to create a huge docx file. In order to enhance the efficiency, I would like to create many subsets of the huge file by multi-threading. (ex. by chapters, and all of them are docx files.) then, merge these small subsets into one ...
Hello Jason, I am able to load a file using opc, however I need it in WordprocessingMLPackage. When I try to cast it to WordprocessingMLPackage and save I get Failed to add parts from relationships" Exception.
When I use DOCX4J to manipulate the docx file, the line wordMLPackage = WordprocessingMLPackage.load(file) takes me 45 seconds to finish. This is unacceptable for users. :cry: Do you have a good way to reduce the time? Please response as soon as possible.
Another small issue, in my template I want the table header repeat on each page. After processing, the table header does not repeat on word 2007 and it does in 2003. I can see the "Repeat for each page" tick still checked. Not sure if it is a bug of Word 2007 or a bug of docx4j. is it fixable?
I'd like to be able to parse a whole docx and change the style of certain individual words. For example in my document I want "Car" to be bold everywhere.
I've been thinking about trying to insert all the words 1 by 1 (instead of paragraph by paragraph) in my new document and letting it check whether the current word is equal to the word I ...