public interface XHTMLImageHandler
Modifier and Type | Method and Description |
---|---|
void |
addImage(org.docx4j.org.xhtmlrenderer.docx.Docx4jUserAgent docx4jUserAgent,
org.docx4j.openpackaging.packages.WordprocessingMLPackage wordMLPackage,
org.docx4j.wml.P p,
Element e,
Long cx,
Long cy) |
void |
setMaxWidth(int maxWidth)
set the maximum width available (in twips); useful for scaling bare images
if they are to go in a table cell.
|
void addImage(org.docx4j.org.xhtmlrenderer.docx.Docx4jUserAgent docx4jUserAgent, org.docx4j.openpackaging.packages.WordprocessingMLPackage wordMLPackage, org.docx4j.wml.P p, Element e, Long cx, Long cy)
docx4jUserAgent
- wordMLPackage
- p
- e
- cx
- width of image itself (ie excluding CSS margin, padding) in EMUcy
- void setMaxWidth(int maxWidth)
maxWidth
- Copyright © 2013-2016. All Rights Reserved.