1. 程式人生 > >Excel轉Html(六)-POI解析excel轉HTML-表項內容位置-樣式關係對映-Excel-cell>Html-td

Excel轉Html(六)-POI解析excel轉HTML-表項內容位置-樣式關係對映-Excel-cell>Html-td

CellStyle:
    public static final short ALIGN_GENERAL = 0;   


    public static final short ALIGN_LEFT = 1; text-align:left;
    
    public static final short ALIGN_CENTER = 2;text-align:center;
    
    public static final short ALIGN_RIGHT = 3;text-align:right;
    
    public static final short ALIGN_FILL = 4;
    
    public static final short ALIGN_JUSTIFY = 5;text-align:justify;
    
    public static final short ALIGN_CENTER_SELECTION = 6;  
    
    public static final short VERTICAL_TOP = 0;vertical-align:top;
    
    public static final short VERTICAL_CENTER = 1; vertical-align:middle;
    
    public static final short VERTICAL_BOTTOM = 2;vertical-align:bottom;
    
    public static final short VERTICAL_JUSTIFY = 3;vertical-align:justify;