Package com.openhtmltopdf.mathmlsupport
Class MathMLDrawer
java.lang.Object
com.openhtmltopdf.mathmlsupport.MathMLDrawer
- All Implemented Interfaces:
com.openhtmltopdf.extend.SVGDrawer,Closeable,AutoCloseable
public class MathMLDrawer extends Object implements com.openhtmltopdf.extend.SVGDrawer
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description MathMLDrawer() -
Method Summary
Modifier and Type Method Description com.openhtmltopdf.extend.SVGDrawer.SVGImagebuildSVGImage(Element mathMlElement, com.openhtmltopdf.render.Box box, com.openhtmltopdf.css.style.CssContext c, double cssWidth, double cssHeight, double dotsPerPixel)voidclose()voidimportFontFaceRules(List<com.openhtmltopdf.css.sheet.FontFaceRule> fontFaces, com.openhtmltopdf.layout.SharedContext shared)
-
Constructor Details
-
MathMLDrawer
public MathMLDrawer()
-
-
Method Details
-
importFontFaceRules
public void importFontFaceRules(List<com.openhtmltopdf.css.sheet.FontFaceRule> fontFaces, com.openhtmltopdf.layout.SharedContext shared)- Specified by:
importFontFaceRulesin interfacecom.openhtmltopdf.extend.SVGDrawer
-
buildSVGImage
public com.openhtmltopdf.extend.SVGDrawer.SVGImage buildSVGImage(Element mathMlElement, com.openhtmltopdf.render.Box box, com.openhtmltopdf.css.style.CssContext c, double cssWidth, double cssHeight, double dotsPerPixel)- Specified by:
buildSVGImagein interfacecom.openhtmltopdf.extend.SVGDrawer
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-