Interface FormatterFactory

    • Field Detail

      • MAKE_STANDALONE_FILE

        static final java.lang.String MAKE_STANDALONE_FILE
        a constraint to indicate that the created Formatter should be able to create a standalone String which once save, can be directly fed to, e.g., latex or ghostview,... as opposed to a "picture environment" file which still has to be included in a LaTeX file
        See Also:
        Constant Field Values
    • Method Detail

      • createFormatter

        Formatter createFormatter​(Element e)
        Returns:
        a Formatter able to format the given Element according to the format of this factory
      • createFormatter

        Formatter createFormatter​(Drawing d,
                                  java.lang.Object outputConstraint)
        Parameters:
        outputConstraint - constraint used by the factory to create a specific Formatter on-the-fly
        Returns:
        a Formatter able to format the given Drawing according to the format of this factory ; this may reliy on calls to createFormatter(Element e) on the elements of the drawing, plus creating auxiliary