sheet.allowCellOverflow(true);
sheet.getCell(0,3, GcSpread.Sheets.SheetArea.viewport).hAlign(GcSpread.Sheets.HorizontalAlign.left);
sheet.getCell(1,3, GcSpread.Sheets.SheetArea.viewport).hAlign(GcSpread.Sheets.HorizontalAlign.center);
sheet.getCell(2,3, GcSpread.Sheets.SheetArea.viewport).hAlign(GcSpread.Sheets.HorizontalAlign.right);
sheet.getCell(3,3, GcSpread.Sheets.SheetArea.viewport).hAlign(GcSpread.Sheets.HorizontalAlign.general);
sheet.setValue(0,3,"Horizontal Align is left",3);
sheet.setValue(1,3,"Horizontal Align is center",3);
sheet.setValue(2,3,"Horizontal Align is right",3);
sheet.setValue(3,3,"Horizontal Align is general",3);