Class Java2DReplacedElementFactory

  • All Implemented Interfaces:
    com.openhtmltopdf.extend.ReplacedElementFactory

    public class Java2DReplacedElementFactory
    extends com.openhtmltopdf.swing.SwingReplacedElementFactory
    • Field Summary

      • Fields inherited from class com.openhtmltopdf.swing.SwingReplacedElementFactory

        forms, imageComponents, repaintListener
    • Constructor Summary

      Constructors 
      Constructor Description
      Java2DReplacedElementFactory​(com.openhtmltopdf.extend.SVGDrawer svgImpl, com.openhtmltopdf.extend.FSObjectDrawerFactory objectDrawerFactory, com.openhtmltopdf.extend.SVGDrawer mathMLImpl)  
    • Method Summary

      Modifier and Type Method Description
      com.openhtmltopdf.extend.ReplacedElement createReplacedElement​(com.openhtmltopdf.layout.LayoutContext context, com.openhtmltopdf.render.BlockBox box, com.openhtmltopdf.extend.UserAgentCallback uac, int cssWidth, int cssHeight)  
      boolean isReplacedElement​(Element e)  
      • Methods inherited from class com.openhtmltopdf.swing.SwingReplacedElementFactory

        addForm, getForm, getParentForm, lookupImageReplacedElement, newIrreplaceableImageElement, remove, replaceImage, reset, setFormSubmissionListener, storeImageReplacedElement
    • Constructor Detail

      • Java2DReplacedElementFactory

        public Java2DReplacedElementFactory​(com.openhtmltopdf.extend.SVGDrawer svgImpl,
                                            com.openhtmltopdf.extend.FSObjectDrawerFactory objectDrawerFactory,
                                            com.openhtmltopdf.extend.SVGDrawer mathMLImpl)
    • Method Detail

      • createReplacedElement

        public com.openhtmltopdf.extend.ReplacedElement createReplacedElement​(com.openhtmltopdf.layout.LayoutContext context,
                                                                              com.openhtmltopdf.render.BlockBox box,
                                                                              com.openhtmltopdf.extend.UserAgentCallback uac,
                                                                              int cssWidth,
                                                                              int cssHeight)
        Specified by:
        createReplacedElement in interface com.openhtmltopdf.extend.ReplacedElementFactory
        Overrides:
        createReplacedElement in class com.openhtmltopdf.swing.SwingReplacedElementFactory
      • isReplacedElement

        public boolean isReplacedElement​(Element e)