Class JPICTextFormatter

  • All Implemented Interfaces:
    Formatter, JPICConstants, PicObjectConstants

    public class JPICTextFormatter
    extends java.lang.Object
    implements Formatter, PicObjectConstants, JPICConstants
    A formatter for PicText objects in the JPIC-XML format :
    text here ! where :
    • refpoint = B|b|t for vertical and l|r for horizontal (B = baseline)
    • rotation = any angle in degree or U,L,D,R,N,W,S or E.
    Since:
    jpicedt 1.4
    Version:
    $Id: JPICTextFormatter.java,v 1.8.2.2 2007/09/02 11:56:20 reynal Exp $
    Author:
    Sylvain Reynal
    • Constructor Detail

      • JPICTextFormatter

        public JPICTextFormatter​(PicText obj,
                                 JPICFormatter factory)
        Parameters:
        obj - the PicText to be formatted
        factory - the factory that produced this formatter
    • Method Detail

      • 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 Element in the PsTricks