Uses of Class
org.docx4j.openpackaging.parts.WordprocessingML.BinaryPartAbstractImage
Packages that use BinaryPartAbstractImage
-
Uses of BinaryPartAbstractImage in org.docx4j.openpackaging.parts.WordprocessingML
Subclasses of BinaryPartAbstractImage in org.docx4j.openpackaging.parts.WordprocessingMLModifier and TypeClassDescriptionclassclassPlaceholder part used where we know there is supposed to be an image, but we can't determine its content type from the rel target.classNB, Word can't read such a part.classclassclassclassclassSummary: At present, EMF files are best converted to SVG using OpenOffice.classclassSummary: docx4j can convert WMF files to SVG using pure Java approach.Methods in org.docx4j.openpackaging.parts.WordprocessingML that return BinaryPartAbstractImageModifier and TypeMethodDescriptionstatic BinaryPartAbstractImageBinaryPartAbstractImage.createImagePart(OpcPackage opcPackage, Part sourcePart, byte[] bytes) Create an image part from the provided byte array, attach it to the source part (eg the main document part, a header part etc), and return it.static BinaryPartAbstractImageBinaryPartAbstractImage.createImagePart(OpcPackage opcPackage, Part sourcePart, byte[] bytes, String mime) Create an image part from the provided byte array, attach it to the source part (eg the main document part, a header part etc), and return it.static BinaryPartAbstractImageBinaryPartAbstractImage.createImagePart(OpcPackage opcPackage, Part sourcePart, byte[] bytes, String mime, String ext) Deprecated.static BinaryPartAbstractImageBinaryPartAbstractImage.createImagePart(OpcPackage opcPackage, Part sourcePart, File imageFile) Create an image part from the provided filePath image, attach it to the source part (eg the main document part, a header part etc), and return it.static BinaryPartAbstractImageBinaryPartAbstractImage.createImagePart(WordprocessingMLPackage wordMLPackage, byte[] bytes) Create an image part from the provided byte array, attach it to the docx main document part, and return it.static BinaryPartAbstractImageBinaryPartAbstractImage.createImagePart(WordprocessingMLPackage wordMLPackage, File imageFile) Possibility to put directly an image filePath instead of giving an image byte arraystatic BinaryPartAbstractImageBinaryPartAbstractImage.createLinkedImagePart(OpcPackage opcPackage, Part sourcePart, URL url) Create a linked image part, and attach it as a rel of the specified source part (eg a header part).static BinaryPartAbstractImageBinaryPartAbstractImage.createLinkedImagePart(WordprocessingMLPackage wordMLPackage, URL fileurl) Create a linked image part, and attach it as a rel of the docx main document part