public class GridTxtLoadOptions extends GridLoadOptions
| Constructor and Description |
|---|
GridTxtLoadOptions()
Deprecated.
Creates the options for loading text file.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getConvertDateTimeData()
Deprecated.
Gets a value that indicates whether the string in text file is converted to date data.
|
boolean |
getConvertNumericData()
Deprecated.
Gets a value that indicates whether the string in text file is converted to numeric data.
|
Encoding |
getEncoding()
Deprecated.
Gets the default encoding.
|
boolean |
getExtendToNextSheet()
Deprecated.
Whether extends data to next sheet when the rows or columns of data exceed limit.
|
boolean |
getKeepPrecision()
Deprecated.
Indicates whether not parsing a string value if the length is 15.
|
char |
getSeparator()
Deprecated.
Gets character separator of text file.
|
java.lang.String |
getSeparatorString()
Deprecated.
Gets a string value as separator.
|
char |
getTextQualifier()
Deprecated.
Specifies the text qualifier for cell values.
|
boolean |
getTreatConsecutiveDelimitersAsOne()
Deprecated.
Whether consecutive delimiters should be treated as one.
|
boolean |
getTreatQuotePrefixAsValue()
Deprecated.
Indicates whether the leading single quote sign should be taken as part of the value of one cell.
|
boolean |
hasFormula()
Deprecated.
Indicates whether the text is formula if it starts with "=".
|
boolean |
hasTextQualifier()
Deprecated.
Whether there is text qualifier for cell value.
|
boolean |
isMultiEncoded()
Deprecated.
True means that the file contains several encoding.
|
void |
setConvertDateTimeData(boolean value)
Deprecated.
Sets a value that indicates whether the string in text file is converted to date data.
|
void |
setConvertNumericData(boolean value)
Deprecated.
Sets a value that indicates whether the string in text file is converted to numeric data.
|
void |
setEncoding(Encoding value)
Deprecated.
Sets the default encoding.
|
void |
setExtendToNextSheet(boolean value)
Deprecated.
Whether extends data to next sheet when the rows or columns of data exceed limit.
|
void |
setHasFormula(boolean value)
Deprecated.
Indicates whether the text is formula if it starts with "=".
|
void |
setHasTextQualifier(boolean value)
Deprecated.
Whether there is text qualifier for cell value.
|
void |
setKeepPrecision(boolean value)
Deprecated.
Indicates whether not parsing a string value if the length is 15.
|
void |
setMultiEncoded(boolean value)
Deprecated.
True means that the file contains several encoding.
|
void |
setSeparator(char value)
Deprecated.
Sets character separator of text file.
|
void |
setSeparatorString(java.lang.String value)
Deprecated.
Sets a string value as separator.
|
void |
setTextQualifier(char value)
Deprecated.
Specifies the text qualifier for cell values.
|
void |
setTreatConsecutiveDelimitersAsOne(boolean value)
Deprecated.
Whether consecutive delimiters should be treated as one.
|
void |
setTreatQuotePrefixAsValue(boolean value)
Deprecated.
Indicates whether the leading single quote sign should be taken as part of the value of one cell.
|
getAutoFilter, getCheckDataValid, getCheckExcelRestriction, getIgnoreNotPrinted, getKeepUnparsedData, getOnlyAuto, getParsingFormulaOnOpen, getParsingPivotCachedRecords, getPassword, getPreservePaddingSpacesInFormula, setAutoFilter, setCheckDataValid, setCheckExcelRestriction, setIgnoreNotPrinted, setKeepUnparsedData, setOnlyAuto, setParsingFormulaOnOpen, setParsingPivotCachedRecords, setPassword, setPreservePaddingSpacesInFormulapublic GridTxtLoadOptions()
Remarks
The default load file type is CSV .public char getSeparator()
public void setSeparator(char value)
public java.lang.String getSeparatorString()
public void setSeparatorString(java.lang.String value)
public boolean isMultiEncoded()
public void setMultiEncoded(boolean value)
public boolean hasFormula()
public void setHasFormula(boolean value)
public boolean hasTextQualifier()
public void setHasTextQualifier(boolean value)
public char getTextQualifier()
Remarks
When setting this property,hasTextQualifier() will become true automatically.public void setTextQualifier(char value)
Remarks
When setting this property,hasTextQualifier() will become true automatically.public boolean getTreatConsecutiveDelimitersAsOne()
public void setTreatConsecutiveDelimitersAsOne(boolean value)
public boolean getTreatQuotePrefixAsValue()
GridTableItemStyle.getQuotePrefix() will be set as true for the cell.public void setTreatQuotePrefixAsValue(boolean value)
GridTableItemStyle.getQuotePrefix() will be set as true for the cell.public boolean getExtendToNextSheet()
public void setExtendToNextSheet(boolean value)
public Encoding getEncoding()
public void setEncoding(Encoding value)
public boolean getConvertNumericData()
public void setConvertNumericData(boolean value)
public boolean getConvertDateTimeData()
public void setConvertDateTimeData(boolean value)
public boolean getKeepPrecision()
public void setKeepPrecision(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.