HtmlLoadOptions Class
Contents
[
Hide
]HtmlLoadOptions class
Represents options when importing a html file.
type HtmlLoadOptions struct {
ptr unsafe.Pointer
}
Constructors
Method | Description |
---|---|
NewHtmlLoadOptions | Creates an options of loading the file. |
NewHtmlLoadOptions_LoadFormat | Creates an options of loading the file. |
NewHtmlLoadOptions_AbstractTextLoadOptions | Constructs from a parent object. |
Methods
Method | Description |
---|---|
IsNull | Checks whether the implementation object is nullptr. |
GetLoadFormulas | Indicates whether importing formulas if the original html file contains formulas |
SetLoadFormulas | Indicates whether importing formulas if the original html file contains formulas |
GetSupportDivTag | Indicates whether support the layout of |
SetSupportDivTag | Indicates whether support the layout of |
GetDeleteRedundantSpaces | Indicates whether delete redundant spaces when the text wraps lines using |
SetDeleteRedundantSpaces | Indicates whether delete redundant spaces when the text wraps lines using |
GetAutoFitColsAndRows | Indicates whether auto-fit columns and rows. The default value is false. |
SetAutoFitColsAndRows | Indicates whether auto-fit columns and rows. The default value is false. |
GetHasFormula | Indicates whether the text is formula if it starts with “=”. |
SetHasFormula | Indicates whether the text is formula if it starts with “=”. |
GetProgId | Gets the program id of creating the file.Only for MHT files. |
GetTableLoadOptions | Get the HtmlTableLoadOptionCollection instance |
GetEncoding | Gets and sets the default encoding. Only applies for csv file. |
SetEncoding | Gets and sets the default encoding. Only applies for csv file. |
GetLoadStyleStrategy | Indicates the strategy to apply style for parsed values when converting string value to number or datetime. |
SetLoadStyleStrategy | Indicates the strategy to apply style for parsed values when converting string value to number or datetime. |
GetConvertNumericData | Gets or sets a value that indicates whether the string in text file is converted to numeric data. |
SetConvertNumericData | Gets or sets a value that indicates whether the string in text file is converted to numeric data. |
GetConvertDateTimeData | Gets or sets a value that indicates whether the string in text file is converted to date data. |
SetConvertDateTimeData | Gets or sets a value that indicates whether the string in text file is converted to date data. |
GetKeepPrecision | Indicates whether not parsing a string value if the length is 15. |
SetKeepPrecision | Indicates whether not parsing a string value if the length is 15. |