|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jpicedt.graphic.io.formatter.AbstractFormatterFactory jpicedt.format.output.latex.LatexFormatter jpicedt.format.output.eepic.EepicFormatter
public class EepicFormatter
Formatter for the eepic package.
Nested Class Summary | |
---|---|
class |
EepicFormatter.DrawingFormatter
|
Field Summary |
---|
Fields inherited from class jpicedt.graphic.io.formatter.AbstractFormatterFactory |
---|
commentFormatter, factoryMap, lineSeparator |
Fields inherited from interface jpicedt.graphic.io.formatter.FormatterFactory |
---|
MAKE_STANDALONE_FILE |
Constructor Summary | |
---|---|
EepicFormatter()
Constructor using default properties values |
Method Summary | |
---|---|
protected void |
appendDashLine(StringBuffer buf,
PicPoint p1,
PicPoint p2,
double dash)
Append a \\dashline with the given points and dash value to the given buffer |
void |
appendThicknessString(StringBuffer buf,
Element obj)
Create a string representation of the thickness command for the given PicObjet in the eepic format, and append it to the given StringBuffer. |
static void |
configure(Properties preferences)
Configure static fields using the given Properties object |
Formatter |
createFormatter(Drawing d,
Object outputConstraint)
|
protected String |
getFileWrapperEpilog()
C'est juste pour avoir une implantation par défaut pour les types de contenu qui n'ont pas besoin de cette méthode d'interface. |
protected String |
getFileWrapperProlog()
C'est juste pour avoir une implantation par défaut pour les types de contenu qui n'ont pas besoin de cette méthode d'interface. |
Methods inherited from class jpicedt.format.output.latex.LatexFormatter |
---|
arrowToLatexString, getXYNearestSlope, lineToLatexString, lineToLatexString |
Methods inherited from class jpicedt.graphic.io.formatter.AbstractFormatterFactory |
---|
createFormatter, getCommentFormatter, getFormatterFactory, getLineSeparator, getMappedClass, map, revertedArrowsAttribute, setCommentFormatter, setLineSeparator, stringWriteMultiLine, textWriteMultiLine, toString, unmap |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EepicFormatter()
Method Detail |
---|
protected String getFileWrapperProlog()
AbstractFormatterFactory
getFileWrapperProlog
in class LatexFormatter
protected String getFileWrapperEpilog()
AbstractFormatterFactory
getFileWrapperEpilog
in class LatexFormatter
public static void configure(Properties preferences)
preferences
- used to read shared parameters
If null, default values are used.public Formatter createFormatter(Drawing d, Object outputConstraint)
createFormatter
in interface FormatterFactory
createFormatter
in class LatexFormatter
outputConstraint
- constraint used by the factory to create a specific Formatter on-the-fly
createFormatter(Element e)
on the elements
of the drawing, plus creating auxiliarypublic void appendThicknessString(StringBuffer buf, Element obj)
Create a string representation of the thickness command for the given PicObjet in the eepic format, and append it to the given StringBuffer.
Such a command should preceed every object command. This string is CR-terminated.
appendThicknessString
in class LatexFormatter
protected void appendDashLine(StringBuffer buf, PicPoint p1, PicPoint p2, double dash)
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |