public class DocxDocBuilder extends java.lang.Object implements DocBuilder
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
XML_KEY_PREFIX |
| Modifier | Constructor and Description |
|---|---|
|
DocxDocBuilder(java.io.File patternFile) |
protected |
DocxDocBuilder(OPCPackage opcPackage,
XWPFDocument document) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected XWPFDocument |
getDocument() |
java.util.List<java.lang.String> |
getFieldNames() |
java.lang.String |
getNotEmptyString(java.lang.String string)
Deprecated.
|
protected CTBody |
writeFields(java.lang.String docPattern,
java.util.Map<java.lang.String,java.lang.String> values) |
void |
writeValues(java.util.List<DocObject> docObjects,
java.io.OutputStream out) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildpublic static final java.lang.String XML_KEY_PREFIX
public DocxDocBuilder(java.io.File patternFile)
protected DocxDocBuilder(OPCPackage opcPackage,
XWPFDocument document)
protected XWPFDocument getDocument()
public java.util.List<java.lang.String> getFieldNames()
throws BGException
getFieldNames in interface DocBuilderBGExceptionpublic void writeValues(java.util.List<DocObject> docObjects,
java.io.OutputStream out)
throws BGException
writeValues in interface DocBuilderBGExceptionprotected CTBody writeFields(java.lang.String docPattern,
java.util.Map<java.lang.String,java.lang.String> values)
throws XmlException
XmlException@Deprecated public java.lang.String getNotEmptyString(java.lang.String string)
public void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exception