public class ImportTableOptions
extends java.lang.Object
| Constructor and Description |
|---|
ImportTableOptions()
Creates the default importing options.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getCheckMergedCells()
Indicates whether checking merged cells.
|
int[] |
getColumnIndexes()
Gets the columns(0-based) to import from data source.
|
boolean |
getConvertGridStyle()
Indicates whether apply the style of the grid view to cells.
|
boolean |
getConvertNumericData()
Gets a value that indicates whether the string value should be converted to numeric or date value.
|
java.lang.String |
getDateFormat()
Gets date format string for cells with imported datetime values.
|
java.lang.Object[] |
getDefaultValues()
Default value for the value in the table is null.
|
boolean |
getExportCaptionAsFieldName()
Indicates whether exporting caption as field name
|
boolean |
getInsertRows()
Indicates whether new rows should be added for importing data records.
|
java.lang.String[] |
getNumberFormats()
Gets the number formats
|
boolean |
getShiftFirstRowDown()
Indicates whether shifting the first row down when inserting rows.
|
int |
getTotalColumns()
Gets total column count to import from data source.
|
int |
getTotalRows()
Gets total row count to import from data source.
|
boolean |
isFieldNameShown()
Indicates whether field name should be imported.
|
boolean[] |
isFormulas()
Indicates whether the data are formulas.
|
boolean |
isHtmlString()
Indicates whether the value contains html tags.
|
void |
setCheckMergedCells(boolean value)
Indicates whether checking merged cells.
|
void |
setColumnIndexes(int[] value)
Sets the columns(0-based) to import from data source.
|
void |
setConvertGridStyle(boolean value)
Indicates whether apply the style of the grid view to cells.
|
void |
setConvertNumericData(boolean value)
Sets a value that indicates whether the string value should be converted to numeric or date value.
|
void |
setDateFormat(java.lang.String value)
Sets date format string for cells with imported datetime values.
|
void |
setDefaultValues(java.lang.Object[] value)
Default value for the value in the table is null.
|
void |
setExportCaptionAsFieldName(boolean value)
Indicates whether exporting caption as field name
|
void |
setFieldNameShown(boolean value)
Indicates whether field name should be imported.
|
void |
setFormulas(boolean[] value)
Indicates whether the data are formulas.
|
void |
setHtmlString(boolean value)
Indicates whether the value contains html tags.
|
void |
setInsertRows(boolean value)
Indicates whether new rows should be added for importing data records.
|
void |
setNumberFormats(java.lang.String[] value)
Sets the number formats
|
void |
setShiftFirstRowDown(boolean value)
Indicates whether shifting the first row down when inserting rows.
|
void |
setTotalColumns(int value)
Sets total column count to import from data source.
|
void |
setTotalRows(int value)
Sets total row count to import from 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 boolean getExportCaptionAsFieldName()
Remarks
Only works for DataTable.public void setExportCaptionAsFieldName(boolean value)
Remarks
Only works for DataTable.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)
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2003-2025. All Rights Reserved.