Class Docx4jTextRenderer

java.lang.Object
com.openhtmltopdf.pdfboxout.PdfBoxTextRenderer
org.docx4j.convert.in.xhtml.renderer.Docx4jTextRenderer
All Implemented Interfaces:
com.openhtmltopdf.extend.TextRenderer

public class Docx4jTextRenderer extends com.openhtmltopdf.pdfboxout.PdfBoxTextRenderer
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    drawString(com.openhtmltopdf.extend.OutputDevice outputDevice, String string, float x, float y)
     
    void
    drawString(com.openhtmltopdf.extend.OutputDevice outputDevice, String string, float x, float y, com.openhtmltopdf.render.JustificationInfo info)
     

    Methods inherited from class com.openhtmltopdf.pdfboxout.PdfBoxTextRenderer

    divideIntoFontRuns, getFontScale, getFSFontMetrics, getSmoothingLevel, getWidth, isJustificationSpace, setFontScale, setSmoothingLevel, setSmoothingThreshold, setup, setup

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Docx4jTextRenderer

      public Docx4jTextRenderer()
  • Method Details

    • drawString

      public void drawString(com.openhtmltopdf.extend.OutputDevice outputDevice, String string, float x, float y)
      Specified by:
      drawString in interface com.openhtmltopdf.extend.TextRenderer
      Overrides:
      drawString in class com.openhtmltopdf.pdfboxout.PdfBoxTextRenderer
    • drawString

      public void drawString(com.openhtmltopdf.extend.OutputDevice outputDevice, String string, float x, float y, com.openhtmltopdf.render.JustificationInfo info)
      Specified by:
      drawString in interface com.openhtmltopdf.extend.TextRenderer
      Overrides:
      drawString in class com.openhtmltopdf.pdfboxout.PdfBoxTextRenderer