Another question, I got the following Error/Warning messages while generating a PDF document using template, the PDF document was actually generated successfully. Just wondering what's meaning of the messages? Thanks a lot.
I am using docx4j to generate letters based on template using codes from the UnmarshallFromTemplate.java sample. It works great!!!
However I met a problem with word. For example, I typed the following into Word: Dear ${firstName}, after saving it, Word generate the following XML: <w:t>${</w:t></w:r><w:proofErr w:type="spellStart"/><w:r w:rsidR="00F35EC5"><w:t>firstName</w:t></w:r><w:proofErr w:type="spellEnd"/><w:r w:rsidR="00F35EC5"><w:t>}</w:t></w:r><w:r><w:t>, You can see the "${" and "firstName" and "}" are separated, just wondering is there any way to avoid this in Word?
I have a template with content controls set to Arial font type. However, after my code processes the document to insert the data and I open that processed document, all the data within the content controls is Times New Roman, not Arial as expected.
I would have thought it would take the font style of the content control, but it doesn't appear to be doing that. Do I have to manually set the font type? ...
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 ...