http://www.jpicedt.org

jpicedt.format.output.latex
Class LatexFormatter.DrawingFormatter

java.lang.Object
  extended by jpicedt.graphic.io.formatter.AbstractDrawingFormatter
      extended by jpicedt.format.output.latex.LatexFormatter.DrawingFormatter
All Implemented Interfaces:
Formatter
Direct Known Subclasses:
EepicFormatter.DrawingFormatter
Enclosing class:
LatexFormatter

public class LatexFormatter.DrawingFormatter
extends AbstractDrawingFormatter
implements Formatter


Field Summary
 
Fields inherited from class jpicedt.graphic.io.formatter.AbstractDrawingFormatter
drawing, outputConstraints
 
Constructor Summary
LatexFormatter.DrawingFormatter(Drawing drawing, Object outputConstraints)
          init this formater for the given drawing
 
Method Summary
protected  String createHeader()
           
 String format()
          Create a String representing an Element in the format of this formatter
 
Methods inherited from class jpicedt.graphic.io.formatter.AbstractDrawingFormatter
getElement, revertedArrowsAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jpicedt.graphic.io.formatter.Formatter
getElement, revertedArrowsAttribute
 

Constructor Detail

LatexFormatter.DrawingFormatter

public LatexFormatter.DrawingFormatter(Drawing drawing,
                                       Object outputConstraints)
init this formater for the given drawing

Method Detail

createHeader

protected String createHeader()
Returns:
the content-type specific header

format

public String format()
              throws IOException
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.
Throws:
IOException

http://www.jpicedt.org

Submit a bug : syd@jpicedt.org