http://www.jpicedt.org

jpicedt.format.output.latex
Class AbstractCurveFormatter

java.lang.Object
  extended by jpicedt.graphic.io.formatter.AbstractFormatter
      extended by jpicedt.format.output.latex.AbstractCurveFormatter
All Implemented Interfaces:
Formatter

public class AbstractCurveFormatter
extends AbstractFormatter

Format an AbstractCurve, or any subclass of it, to the LaTeX-picture format. [SR:pending] synchronize LatexViewFactory with new (un)supported attributes.

Since:
jpicedt 1.4
Version:
$Id: AbstractCurveFormatter.java,v 1.12 2013/03/27 07:23:42 vincentb1 Exp $

Author:
Sylvain Reynal

Field Summary
protected  AbstractCurve curve
          the Element this formater acts upon
protected  LatexFormatter factory
           
 
Constructor Summary
AbstractCurveFormatter(AbstractCurve curve, LatexFormatter factory)
           
 
Method Summary
 String format()
          Returns a string representing this AbstractCurve using \line and \qbezier LaTeX macros only.
 Element getElement()
          Renvoie l'Element sujet du formattage.
 
Methods inherited from class jpicedt.graphic.io.formatter.AbstractFormatter
revertedArrowsAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

curve

protected AbstractCurve curve
the Element this formater acts upon


factory

protected LatexFormatter factory
Constructor Detail

AbstractCurveFormatter

public AbstractCurveFormatter(AbstractCurve curve,
                              LatexFormatter factory)
Method Detail

getElement

public Element getElement()
Description copied from interface: Formatter
Renvoie l'Element sujet du formattage.

Since:
jPicEdt 1.6

format

public String format()
Returns a string representing this AbstractCurve using \line and \qbezier LaTeX macros only. Dashed style is allowed if all segments are straight, since \qbezier does not support this style.


http://www.jpicedt.org

Submit a bug : syd@jpicedt.org