java.lang.Objectcom.aspose.cells.ExportTableOptions
public class ExportTableOptions
Constructor Summary |
---|
ExportTableOptions()
|
Property Getters/Setters Summary | ||
---|---|---|
boolean | getCheckMixedValueType() | |
void | setCheckMixedValueType(boolean value) | |
False, Aspose.Cells will set the DataColumn's type by the value type of the first row for performance. True, Aspose.Cells will check whether the value type in the column are mixed before set the DataColumn's type And the value type are mixed, the DataColumn's type will be string. | ||
boolean | getExportAsHtmlString() | |
void | setExportAsHtmlString(boolean value) | |
Exports the html string value of the cells to the DataTable. | ||
boolean | getExportAsString() | |
void | setExportAsString(boolean value) | |
Exports the string value of the cells to the DataTable. | ||
boolean | getExportColumnName() | |
void | setExportColumnName(boolean value) | |
Indicates whether the data in the first row are exported to the column name of the DataTable. The default value is false. | ||
int | getFormatStrategy() | |
void | setFormatStrategy(int value) | |
Gets and sets the format strategy when exporting the value as string value. The value of the property is CellValueFormatStrategy integer constant. | ||
int[] | getIndexes() | |
void | setIndexes(int[] value) | |
The indexes of columns/rows which shoudl be exported out. | ||
boolean | isVertical() | |
void | setVertical(boolean value) | |
True if a row in Workbook file represents a row in DataTable. False if a column in Workbook file represents a row in DataTable. | ||
boolean | getPlotVisibleCells() | |
void | setPlotVisibleCells(boolean value) | |
Only exports visible cells. | ||
boolean | getPlotVisibleColumns() | |
void | setPlotVisibleColumns(boolean value) | |
Only exports visible columns. | ||
boolean | getPlotVisibleRows() | |
void | setPlotVisibleRows(boolean value) | |
Only exports visible rows. | ||
int | getRenameStrategy() | |
void | setRenameStrategy(int value) | |
Renames strategy when columns contains the duplicate names. The value of the property is RenameStrategy integer constant. | ||
boolean | getSkipErrorValue() | |
void | setSkipErrorValue(boolean value) | |
Indicates whether skip invalid value for the column. For example,if the column type is decimal ,the value is greater than decimal.MaxValue and this property is true,we will not throw exception again. The default value is false. |
Constructor Detail |
---|
public ExportTableOptions()
Property Getters/Setters Detail |
---|
getExportColumnName/setExportColumnName | |
public boolean getExportColumnName() / public void setExportColumnName(boolean value) |
getSkipErrorValue/setSkipErrorValue | |
public boolean getSkipErrorValue() / public void setSkipErrorValue(boolean value) |
getPlotVisibleCells/setPlotVisibleCells | |
public boolean getPlotVisibleCells() / public void setPlotVisibleCells(boolean value) |
getPlotVisibleRows/setPlotVisibleRows | |
public boolean getPlotVisibleRows() / public void setPlotVisibleRows(boolean value) |
getPlotVisibleColumns/setPlotVisibleColumns | |
public boolean getPlotVisibleColumns() / public void setPlotVisibleColumns(boolean value) |
getExportAsString/setExportAsString | |
public boolean getExportAsString() / public void setExportAsString(boolean value) |
getExportAsHtmlString/setExportAsHtmlString | |
public boolean getExportAsHtmlString() / public void setExportAsHtmlString(boolean value) |
getFormatStrategy/setFormatStrategy | |
public int getFormatStrategy() / public void setFormatStrategy(int value) |
getCheckMixedValueType/setCheckMixedValueType | |
public boolean getCheckMixedValueType() / public void setCheckMixedValueType(boolean value) |
isVertical/setVertical | |
public boolean isVertical() / public void setVertical(boolean value) |
getIndexes/setIndexes | |
public int[] getIndexes() / public void setIndexes(int[] value) |
getRenameStrategy/setRenameStrategy | |
public int getRenameStrategy() / public void setRenameStrategy(int value) |