Package org.docx4j.model.images
Interface ConversionImageHandler
- All Known Implementing Classes:
AbstractConversionImageHandler,FileConversionImageHandler,HTMLConversionImageHandler
public interface ConversionImageHandler
The ImageHandler stores (if necessary) any images in an conversion.
It returns the uri for the image saved, or null
-
Method Summary
Modifier and Type Method Description java.lang.StringhandleImage(AbstractWordXmlPicture picture, Relationship relationship, BinaryPart part)
-
Method Details
-
handleImage
java.lang.String handleImage(AbstractWordXmlPicture picture, Relationship relationship, BinaryPart part) throws Docx4JException- Parameters:
picture-relationship- of the imagepart- of the image, if it is an internal image, otherwise null- Returns:
- uri for the image we've saved, or null
- Throws:
Docx4JException- this exception will be logged, but not propagated
-