Package org.docx4j.openpackaging.parts.WordprocessingML
package org.docx4j.openpackaging.parts.WordprocessingML
-
ClassDescriptionAn altChunk can appear wherever EG_BlockLevelElts is allowed ie in tc, footnotes/endnotes, txbxContent, body, comment, hdr/ftr.A part containing binary (as opposed to XML) data.Deprecated.Deprecated.Deprecated.DocumentPart<E>wp:docPr/@id must be unique across all parts in a docx, otherwise Word can't open the docx.Placeholder part used where we know there is supposed to be an image, but we can't determine its content type from the rel target.NB, Word can't read such a part.Write comment to document.xml with docx4j / JAXB / Java / OS info.Summary: At present, EMF files are best converted to SVG using OpenOffice.Summary: docx4j can convert WMF files to SVG using pure Java approach.You can use oleObjectBinaryPart.setBinaryData( ByteBuffer.wrap(bytes) ); to populate this from a byte[]