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?!
I have a table in my word document. For the first row, I set it as Repeat Header Rows (also checked 'Repeat as header row at the top of the each page' box in Table Properties). For the second row I use content control bindingrole=repeat to repeat populate my data. The data is displayed fine and extended to the second page, but the header row is not shown on the second page. (If only use ...
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?
We found a small issue with content control data binding, we make the content control on template to be BOLD, after processing, the text for the content control is not bold any more. is it a easy fixable bug?