Hi,
I am using FieldRef to extract the MSWord docx form field data.
And, based on the code
https://github.com/plutext/docx4j/blob/ ... stics.java
Or by
https://github.com/plutext/docx4j/blob/ ... erger.java
OutputStream output = new OutputStream() {
private StringBuilder string = new StringBuilder();
@Override
public void write(int b) throws IOException {
this.string.append((char) b);
}
// Netbeans IDE automatically overrides this toString()
public String toString() {
return this.string.toString();
} ...