Class ConverterPlugin.DocumentWithDimension

  • Enclosing interface:
    ConverterPlugin

    public static class ConverterPlugin.DocumentWithDimension
    extends java.lang.Object
    Internal class describing an XML document and the dimensions of its default view.
    • Constructor Summary

      Constructors 
      Constructor Description
      DocumentWithDimension​(org.w3c.dom.Document doc, java.awt.Dimension dim, float bline)  
    • Constructor Detail

      • DocumentWithDimension

        public DocumentWithDimension​(org.w3c.dom.Document doc,
                                     java.awt.Dimension dim,
                                     float bline)
    • Method Detail

      • getDocument

        public org.w3c.dom.Document getDocument()
        Returns:
        the document resulting from this conversion, a suptype of Document (e.g. SVGDocument) if possible.
      • getDimension

        public java.awt.Dimension getDimension()
        Returns:
        The dimensions from this conversion
      • getBaseline

        public float getBaseline()
        Returns:
        the position of the baseline in pixels from the bottom.