public interface XHTMLImageHandler
Modifier and Type | Method and Description |
---|---|
void |
addImage(Docx4jUserAgent docx4jUserAgent,
org.docx4j.openpackaging.packages.WordprocessingMLPackage wordMLPackage,
org.docx4j.wml.P p,
org.w3c.dom.Element e,
java.lang.Long cx,
java.lang.Long cy) |
void |
setMaxWidth(int maxWidth,
java.lang.String tableStyle)
Set the maximum width available (in twips); useful for scaling bare images
if they are to go in a table cell.
|
void addImage(Docx4jUserAgent docx4jUserAgent, org.docx4j.openpackaging.packages.WordprocessingMLPackage wordMLPackage, org.docx4j.wml.P p, org.w3c.dom.Element e, java.lang.Long cx, java.lang.Long cy)
docx4jUserAgent
- wordMLPackage
- p
- e
- cx
- width of image itself (ie excluding CSS margin, padding) in EMUcy
- void setMaxWidth(int maxWidth, java.lang.String tableStyle)
maxWidth
- tableStyle
- - can be nullCopyright © 2013–2021. All rights reserved.