001/**
002 * 
003 */
004package bradleyross.library.helpers;
005import java.text.NumberFormat;
006import java.text.SimpleDateFormat;
007/**
008 * Methods required to generate the table representation 
009 * described using TableDataInterface.
010 * 
011 * @author Bradley Ross
012 *
013 */
014public interface TableWriterInterface 
015{
016        /**
017         * Indicates normal formatting.
018         */
019        public final static int NORMAL = 0;
020        /**
021         * Text rotated 90 degrees counter-clockwise.
022         */
023        public final static int CCW = 1;
024        /**
025         * Text rotated 90 degrees clockwise.
026         */
027        public final static int CW = 2; 
028        /**
029         * Text is composed of fixed width characters.
030         */
031        public final static int MONOSPACE = 16;
032        public final static int SANSSERIF = 32;
033        public final static int SERIF = 48;
034        public void startSheet();
035        public void endSheet();
036        public void newRow();
037        public void setDateFormat(SimpleDateFormat format);
038        public void setNumberFormat(NumberFormat format);
039        public void setIntegerFormat(NumberFormat format);
040}