Page 1 of 1

[WORD] - Generation without binded parameters

PostPosted: Wed Dec 24, 2014 1:44 am
by marcel_cap
Hello,

I use docx4J with opendope to generate docx.
It is work well, but.

Is it a way to generate the document without the binding markers ?
(because it is not very beautiful and readable for a user. (wich doesn't car about binding))

Example.docx - Microsoft Word.jpg
Example.docx - Microsoft Word.jpg (21.36 KiB) Viewed 934 times


Thanks,

Re: [WORD] - Generation without binded parameters

PostPosted: Wed Dec 24, 2014 6:01 am
by jason
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
                // Strip content controls: you MUST do this
                // if you are processing hyperlinks
                RemovalHandler rh = new RemovalHandler();
                rh.removeSDTs(wordMLPackage, Quantifier.ALL);
 
Parsed in 0.014 seconds, using GeSHi 1.0.8.4

Re: [WORD] - Generation without binded parameters

PostPosted: Wed Feb 04, 2015 9:47 pm
by marcel_cap
Thanks a lot. :)