Package overit.geocall.util
Class XlsxUtils
java.lang.Object
overit.geocall.util.XlsxUtils
Utility class used to handle the Xlsx
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intThe method setColumnWidth(int columnIndex,int width) sets the width in units of 1/256th of a character width, so we use this multiplier to obtain the correct widthstatic final Stringstatic final intstatic final Stringstatic final Stringstatic final intModified to support EMU - English Metric Units - used within the OOXML workbooks, this multoplier is used to convert between measurements in millimetres and in EMUsstatic final intIf the image will be larger than the column, the behaviour plans to expand the column widthstatic final intIf the image will be higher than the row, the behaviour plans to expand the row heightstatic final intIf the image will be higher than the row, or larger than the column, the behaviour plans to expand the row height and the column widthstatic final intstatic final intstatic final intstatic final intIf the image will be higher than the row or larger than the column, it will be positioned over the rows and columns, without expanding themstatic final String -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
MAX_ROW_NUMBER
public static final int MAX_ROW_NUMBER -
MAX_COL_NUMBER
public static final int MAX_COL_NUMBER -
COLUMN_CHAR_SIZE
public static final int COLUMN_CHAR_SIZE -
XLS_TO_XLSX
- See Also:
-
DEFAULT_TABLEVIEW_FONT
- See Also:
-
DEFAULT_HEADER_FONT
- See Also:
-
DEFAULT_TITLE_FONT
- See Also:
-
DEFAULT_ROW_HEIGHT
public static final int DEFAULT_ROW_HEIGHT- See Also:
-
MAX_COLUMN_CHAR
public static final int MAX_COLUMN_CHAR- See Also:
-
COLUMN_WIDTH_MULTIPLIER
public static final int COLUMN_WIDTH_MULTIPLIERThe method setColumnWidth(int columnIndex,int width) sets the width in units of 1/256th of a character width, so we use this multiplier to obtain the correct width- See Also:
-
EMU_PER_MM
public static final int EMU_PER_MMModified to support EMU - English Metric Units - used within the OOXML workbooks, this multoplier is used to convert between measurements in millimetres and in EMUs- See Also:
-
EXPAND_ROW
public static final int EXPAND_ROWIf the image will be higher than the row, the behaviour plans to expand the row height- See Also:
-
EXPAND_COLUMN
public static final int EXPAND_COLUMNIf the image will be larger than the column, the behaviour plans to expand the column width- See Also:
-
EXPAND_ROW_AND_COLUMN
public static final int EXPAND_ROW_AND_COLUMNIf the image will be higher than the row, or larger than the column, the behaviour plans to expand the row height and the column width- See Also:
-
OVERLAY_ROW_AND_COLUMN
public static final int OVERLAY_ROW_AND_COLUMNIf the image will be higher than the row or larger than the column, it will be positioned over the rows and columns, without expanding them- See Also:
-
-
Constructor Details
-
XlsxUtils
public XlsxUtils()
-