com.carbonfive.sstemplates.hssf
Class HssfStyleData

java.lang.Object
  extended bycom.carbonfive.sstemplates.hssf.HssfStyleData

public class HssfStyleData
extends java.lang.Object

Version:
$REVISION
Author:
sivoh

Field Summary
static java.lang.String AUTO_COLUMN_WIDTH_ATTRIBUTE
           
static java.lang.String COLUMN_WIDTH_ATTRIBUTE
           
static java.lang.String ROW_HEIGHT_ATTRIBUTE
           
 
Constructor Summary
HssfStyleData()
           
HssfStyleData(HssfStyleData[] datas)
           
 
Method Summary
 boolean containsKey(java.lang.String attribute)
           
 boolean equals(java.lang.Object obj)
           
 java.lang.Object get(java.lang.String attribute)
           
 boolean getAutoColumnWidth()
           
 java.lang.Integer getColumnWidth()
           
 java.lang.Integer getRowHeight()
           
 int hashCode()
           
 void overideAttributes(java.util.Map originalStyle)
           
 void put(java.lang.String attribute, java.lang.Object value)
           
 void setStyleAttributes(org.apache.poi.hssf.usermodel.HSSFCellStyle style, SsTemplateContext context)
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COLUMN_WIDTH_ATTRIBUTE

public static final java.lang.String COLUMN_WIDTH_ATTRIBUTE
See Also:
Constant Field Values

ROW_HEIGHT_ATTRIBUTE

public static final java.lang.String ROW_HEIGHT_ATTRIBUTE
See Also:
Constant Field Values

AUTO_COLUMN_WIDTH_ATTRIBUTE

public static final java.lang.String AUTO_COLUMN_WIDTH_ATTRIBUTE
See Also:
Constant Field Values
Constructor Detail

HssfStyleData

public HssfStyleData()

HssfStyleData

public HssfStyleData(HssfStyleData[] datas)
Method Detail

put

public void put(java.lang.String attribute,
                java.lang.Object value)

get

public java.lang.Object get(java.lang.String attribute)

containsKey

public boolean containsKey(java.lang.String attribute)

overideAttributes

public void overideAttributes(java.util.Map originalStyle)

setStyleAttributes

public void setStyleAttributes(org.apache.poi.hssf.usermodel.HSSFCellStyle style,
                               SsTemplateContext context)
                        throws SsTemplateException
Throws:
SsTemplateException

getColumnWidth

public java.lang.Integer getColumnWidth()

getRowHeight

public java.lang.Integer getRowHeight()

getAutoColumnWidth

public boolean getAutoColumnWidth()

hashCode

public int hashCode()

equals

public boolean equals(java.lang.Object obj)