public class ImportTableOptions
Constructor Summary |
---|
ImportTableOptions()
Creates the default imporing options. |
Property Getters/Setters Summary | ||
---|---|---|
boolean | getCheckMergedCells() | |
void | setCheckMergedCells(booleanvalue) | |
Indicates whether checking merged cells. | ||
int[] | getColumnIndexes() | |
void | setColumnIndexes(int[]value) | |
Gets or sets the columns(0-based) to import from data source. null means all columns should be imported. | ||
boolean | getConvertGridStyle() | |
void | setConvertGridStyle(booleanvalue) | |
Indicates whether apply the style of the grid view to cells. | ||
boolean | getConvertNumericData() | |
void | setConvertNumericData(booleanvalue) | |
Gets or sets a value that indicates whether the string value should be converted to numeric or date value. | ||
java.lang.String | getDateFormat() | |
void | setDateFormat(java.lang.Stringvalue) | |
Gets or sets date format string for cells with imported datetime values. | ||
java.lang.Object[] | getDefaultValues() | |
void | setDefaultValues(java.lang.Object[]value) | |
Default value for the value in the table is null. | ||
boolean | getInsertRows() | |
void | setInsertRows(booleanvalue) | |
Indicates whether new rows should be added for importing data records. | ||
boolean | isFieldNameShown() | |
void | setFieldNameShown(booleanvalue) | |
Indicates whether field name should be imported. | ||
boolean[] | isFormulas() | |
void | setFormulas(boolean[]value) | |
Indicates whether the data are formulas. | ||
boolean | isHtmlString() | |
void | setHtmlString(booleanvalue) | |
Indicates whether the value contains html tags. | ||
java.lang.String[] | getNumberFormats() | |
void | setNumberFormats(java.lang.String[]value) | |
Gets or sets the number formats | ||
boolean | getShiftFirstRowDown() | |
void | setShiftFirstRowDown(booleanvalue) | |
Indicates whether shifting the first row down when inserting rows. | ||
int | getTotalColumns() | |
void | setTotalColumns(intvalue) | |
Gets or sets total column count to import from data source. -1 means all rows of given data source. | ||
int | getTotalRows() | |
void | setTotalRows(intvalue) | |
Gets or sets total row count to import from data source. -1 means all rows of given data source. |
public ImportTableOptions()
public boolean getConvertGridStyle() / public void setConvertGridStyle(boolean value)
public boolean getConvertNumericData() / public void setConvertNumericData(boolean value)
public boolean getInsertRows() / public void setInsertRows(boolean value)
public boolean getShiftFirstRowDown() / public void setShiftFirstRowDown(boolean value)
public boolean isFieldNameShown() / public void setFieldNameShown(boolean value)
public java.lang.String getDateFormat() / public void setDateFormat(java.lang.String value)
public java.lang.String[] getNumberFormats() / public void setNumberFormats(java.lang.String[] value)
public boolean[] isFormulas() / public void setFormulas(boolean[] value)
public int getTotalRows() / public void setTotalRows(int value)
public int getTotalColumns() / public void setTotalColumns(int value)
public int[] getColumnIndexes() / public void setColumnIndexes(int[] value)
public java.lang.Object[] getDefaultValues() / public void setDefaultValues(java.lang.Object[] value)
public boolean isHtmlString() / public void setHtmlString(boolean value)
public boolean getCheckMergedCells() / public void setCheckMergedCells(boolean value)