org.pentaho.di.trans.steps.exceloutput
Class ExcelFontMap

java.lang.Object
  extended by org.pentaho.di.trans.steps.exceloutput.ExcelFontMap

public class ExcelFontMap
extends Object


Constructor Summary
ExcelFontMap()
           
 
Method Summary
static jxl.write.WritableCellFormat getAlignment(int stepValue, jxl.write.WritableCellFormat format)
           
static jxl.format.Colour getColour(int stepValue, jxl.format.Colour defaultColour)
           
static jxl.write.WritableFont.FontName getFontName(int stepValue)
           
static Dimension getImageDimension(String filename)
           
static jxl.write.WritableCellFormat getOrientation(int stepValue, jxl.write.WritableCellFormat cellFormat)
           
static jxl.format.UnderlineStyle getUnderlineStyle(int stepValue)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExcelFontMap

public ExcelFontMap()
Method Detail

getColour

public static jxl.format.Colour getColour(int stepValue,
                                          jxl.format.Colour defaultColour)

getOrientation

public static jxl.write.WritableCellFormat getOrientation(int stepValue,
                                                          jxl.write.WritableCellFormat cellFormat)
                                                   throws jxl.write.WriteException
Throws:
jxl.write.WriteException

getFontName

public static jxl.write.WritableFont.FontName getFontName(int stepValue)

getUnderlineStyle

public static jxl.format.UnderlineStyle getUnderlineStyle(int stepValue)

getAlignment

public static jxl.write.WritableCellFormat getAlignment(int stepValue,
                                                        jxl.write.WritableCellFormat format)
                                                 throws jxl.write.WriteException
Throws:
jxl.write.WriteException

getImageDimension

public static Dimension getImageDimension(String filename)
                                   throws Exception
Throws:
Exception