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 -
Method Summary
Modifier and TypeMethodDescriptionvoiddrawString(com.openhtmltopdf.extend.OutputDevice outputDevice, String string, float x, float y) voiddrawString(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
-
Constructor Details
-
Docx4jTextRenderer
public Docx4jTextRenderer()
-
-
Method Details
-
drawString
public void drawString(com.openhtmltopdf.extend.OutputDevice outputDevice, String string, float x, float y) - Specified by:
drawStringin interfacecom.openhtmltopdf.extend.TextRenderer- Overrides:
drawStringin classcom.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:
drawStringin interfacecom.openhtmltopdf.extend.TextRenderer- Overrides:
drawStringin classcom.openhtmltopdf.pdfboxout.PdfBoxTextRenderer
-