Class LatexFormatter.DrawingFormatter

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected Drawing drawing
      the Drawing this formater acts upon
      protected java.lang.Object outputConstraint  
    • Constructor Summary

      Constructors 
      Constructor Description
      DrawingFormatter​(Drawing drawing, java.lang.Object outputConstraint)
      init this formater for the given drawing
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.String createHeader()  
      java.lang.String format()
      Create a String representing an Element in the format of this formatter
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • drawing

        protected Drawing drawing
        the Drawing this formater acts upon
      • outputConstraint

        protected java.lang.Object outputConstraint
    • Constructor Detail

      • DrawingFormatter

        public DrawingFormatter​(Drawing drawing,
                                java.lang.Object outputConstraint)
        init this formater for the given drawing
    • Method Detail

      • createHeader

        protected java.lang.String createHeader()
        Returns:
        the content-type specific header
      • format

        public java.lang.String format()
        Description copied from interface: Formatter
        Create a String representing an Element in the format of this formatter
        Specified by:
        format in interface Formatter
        Returns:
        a String representing this Drawing in the LaTeX/eepic or PsTricks format, depending on the state of the global Options.formaterMode variable.