Class Docx4jDocxOutputDevice
java.lang.Object
com.openhtmltopdf.render.AbstractOutputDevice
org.docx4j.convert.in.xhtml.renderer.Docx4jDocxOutputDevice
- All Implemented Interfaces:
com.openhtmltopdf.extend.OutputDevice
public class Docx4jDocxOutputDevice
extends com.openhtmltopdf.render.AbstractOutputDevice
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoiddrawBorderLine(Rectangle bounds, int side, int width, boolean solid) voiddrawBorderLine(Shape bounds, int side, int width, boolean solid) voiddrawImage(com.openhtmltopdf.extend.FSImage image, int x, int y) voiddrawImage(com.openhtmltopdf.extend.FSImage image, int x, int y, boolean interpolate) protected voiddrawLine(int x1, int y1, int x2, int y2) voiddrawOval(int x, int y, int width, int height) voiddrawRect(int x, int y, int width, int height) voiddrawSelection(com.openhtmltopdf.render.RenderingContext c, com.openhtmltopdf.render.InlineText inlineText) voiddrawString(String string, float x, float y, Object object) voiddrawWithGraphics(float x, float y, float width, float height, com.openhtmltopdf.extend.OutputDeviceGraphicsDrawer renderer) voidendStructure(Object token) voidvoidfillOval(int x, int y, int width, int height) voidfillRect(int x, int y, int width, int height) floatfloatgetClip()booleanbooleanbooleanvoidpaintReplacedElement(com.openhtmltopdf.render.RenderingContext c, com.openhtmltopdf.render.BlockBox box) voidpopClip()voidvoidpopTransforms(List<AffineTransform> inverse) voidvoidpushTransformLayer(AffineTransform transform) pushTransforms(List<AffineTransform> transforms) voidvoidsetColor(com.openhtmltopdf.css.parser.FSColor color) voidsetFont(com.openhtmltopdf.render.FSFont font) voidvoidsetRenderingHint(RenderingHints.Key key, Object value) voidstartStructure(com.openhtmltopdf.extend.StructureType type, com.openhtmltopdf.render.Box box) voidtranslate(double tx, double ty) Methods inherited from class com.openhtmltopdf.render.AbstractOutputDevice
drawDebugOutline, drawText, drawTextDecoration, drawTextDecoration, getFontSpecification, isPDF, paintBackground, paintBackground, paintBorder, paintBorder, paintCollapsedBorder, setFontSpecificationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.openhtmltopdf.extend.OutputDevice
drawLinearGradient
-
Constructor Details
-
Docx4jDocxOutputDevice
public Docx4jDocxOutputDevice()
-
-
Method Details
-
drawSelection
public void drawSelection(com.openhtmltopdf.render.RenderingContext c, com.openhtmltopdf.render.InlineText inlineText) -
paintReplacedElement
public void paintReplacedElement(com.openhtmltopdf.render.RenderingContext c, com.openhtmltopdf.render.BlockBox box) -
setFont
public void setFont(com.openhtmltopdf.render.FSFont font) -
setColor
public void setColor(com.openhtmltopdf.css.parser.FSColor color) -
drawRect
public void drawRect(int x, int y, int width, int height) -
drawOval
public void drawOval(int x, int y, int width, int height) -
drawBorderLine
-
drawImage
public void drawImage(com.openhtmltopdf.extend.FSImage image, int x, int y) -
fill
-
fillRect
public void fillRect(int x, int y, int width, int height) -
fillOval
public void fillOval(int x, int y, int width, int height) -
clip
-
getClip
-
setClip
-
translate
public void translate(double tx, double ty) -
setStroke
-
getStroke
-
getRenderingHint
-
setRenderingHint
-
isSupportsSelection
public boolean isSupportsSelection() -
isSupportsCMYKColors
public boolean isSupportsCMYKColors() -
drawLine
protected void drawLine(int x1, int y1, int x2, int y2) - Specified by:
drawLinein classcom.openhtmltopdf.render.AbstractOutputDevice
-
drawString
-
setPaint
-
pushTransforms
-
popTransforms
-
getAbsoluteTransformOriginX
public float getAbsoluteTransformOriginX() -
getAbsoluteTransformOriginY
public float getAbsoluteTransformOriginY() -
drawBorderLine
-
drawImage
public void drawImage(com.openhtmltopdf.extend.FSImage image, int x, int y, boolean interpolate) -
draw
-
drawWithGraphics
public void drawWithGraphics(float x, float y, float width, float height, com.openhtmltopdf.extend.OutputDeviceGraphicsDrawer renderer) -
pushTransformLayer
-
popTransformLayer
public void popTransformLayer() -
pushClip
-
popClip
public void popClip() -
isFastRenderer
public boolean isFastRenderer() -
startStructure
public Object startStructure(com.openhtmltopdf.extend.StructureType type, com.openhtmltopdf.render.Box box) -
endStructure
-