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 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

      public void drawBorderLine(Rectangle bounds, int side, int width, boolean solid)
    • drawImage

      public void drawImage(com.openhtmltopdf.extend.FSImage image, int x, int y)
    • fill

      public void fill(Shape s)
    • 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

      public void clip(Shape s)
    • getClip

      public Shape getClip()
    • setClip

      public void setClip(Shape s)
    • translate

      public void translate(double tx, double ty)
    • setStroke

      public void setStroke(Stroke s)
    • getStroke

      public Stroke getStroke()
    • getRenderingHint

      public Object getRenderingHint(RenderingHints.Key key)
    • setRenderingHint

      public void setRenderingHint(RenderingHints.Key key, Object value)
    • isSupportsSelection

      public boolean isSupportsSelection()
    • isSupportsCMYKColors

      public boolean isSupportsCMYKColors()
    • drawLine

      protected void drawLine(int x1, int y1, int x2, int y2)
      Specified by:
      drawLine in class com.openhtmltopdf.render.AbstractOutputDevice
    • drawString

      public void drawString(String string, float x, float y, Object object)
    • setPaint

      public void setPaint(Paint paint)
    • pushTransforms

      public List<AffineTransform> pushTransforms(List<AffineTransform> transforms)
    • popTransforms

      public void popTransforms(List<AffineTransform> inverse)
    • getAbsoluteTransformOriginX

      public float getAbsoluteTransformOriginX()
    • getAbsoluteTransformOriginY

      public float getAbsoluteTransformOriginY()
    • drawBorderLine

      public void drawBorderLine(Shape bounds, int side, int width, boolean solid)
    • drawImage

      public void drawImage(com.openhtmltopdf.extend.FSImage image, int x, int y, boolean interpolate)
    • draw

      public void draw(Shape s)
    • drawWithGraphics

      public void drawWithGraphics(float x, float y, float width, float height, com.openhtmltopdf.extend.OutputDeviceGraphicsDrawer renderer)
    • pushTransformLayer

      public void pushTransformLayer(AffineTransform transform)
    • popTransformLayer

      public void popTransformLayer()
    • pushClip

      public void pushClip(Shape s)
    • popClip

      public void popClip()
    • isFastRenderer

      public boolean isFastRenderer()
    • startStructure

      public Object startStructure(com.openhtmltopdf.extend.StructureType type, com.openhtmltopdf.render.Box box)
    • endStructure

      public void endStructure(Object token)