public class HtmlLoadOptions extends AbstractTextLoadOptions
| Constructor and Description |
|---|
HtmlLoadOptions()
Creates an options of loading the file.
|
HtmlLoadOptions(int loadFormat)
Creates an options of loading the file.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAttachedFilesDirectory()
Deprecated.
Use HtmlLoadOptions.StreamProvider property instead.
|
boolean |
getAutoFitColsAndRows()
Indicates whether auto-fit columns and rows.
|
boolean |
getConvertFormulasData()
Deprecated.
Use HtmlLoadOptions.HasFormula property instead.
|
boolean |
getDeleteRedundantSpaces()
Indicates whether delete redundant spaces when the text wraps lines using
<br> tag. |
boolean |
getLoadFormulas()
Indicates whether importing formulas if the original html file contains formulas
|
java.lang.String |
getProgId()
Gets the program id of creating the file.
|
IStreamProvider |
getStreamProvider()
Gets the StreamProviderImportHtmlFile for importing objects.
|
boolean |
getSupportDivTag()
Indicates whether support the layout of
<div> tag when the html file contains it. |
HtmlTableLoadOptionCollection |
getTableLoadOptions()
Get the HtmlTableLoadOptionCollection instance
|
boolean |
hasFormula()
Indicates whether the text is formula if it starts with "=".
|
void |
setAttachedFilesDirectory(java.lang.String value)
Deprecated.
Use HtmlLoadOptions.StreamProvider property instead.
|
void |
setAutoFitColsAndRows(boolean value)
Indicates whether auto-fit columns and rows.
|
void |
setConvertFormulasData(boolean value)
Deprecated.
Use HtmlLoadOptions.HasFormula property instead.
|
void |
setDeleteRedundantSpaces(boolean value)
Indicates whether delete redundant spaces when the text wraps lines using
<br> tag. |
void |
setHasFormula(boolean value)
Indicates whether the text is formula if it starts with "=".
|
void |
setLoadFormulas(boolean value)
Indicates whether importing formulas if the original html file contains formulas
|
void |
setStreamProvider(IStreamProvider value)
Sets the StreamProviderImportHtmlFile for importing objects.
|
void |
setSupportDivTag(boolean value)
Indicates whether support the layout of
<div> tag when the html file contains it. |
copy, getConvertDateTimeData, getConvertNumericData, getEncoding, getKeepPrecision, getLoadStyleStrategy, setConvertDateTimeData, setConvertNumericData, setEncoding, setKeepPrecision, setLoadStyleStrategygetAutoFilter, getAutoFitterOptions, getCheckDataValid, getCheckExcelRestriction, getDefaultStyleSettings, getFontConfigs, getIgnoreNotPrinted, getIgnoreUselessShapes, getInterruptMonitor, getKeepUnparsedData, getLanguageCode, getLightCellsDataHandler, getLoadFilter, getLoadFormat, getLocale, getMemorySetting, getParsingFormulaOnOpen, getParsingPivotCachedRecords, getPassword, getPreservePaddingSpacesInFormula, getRegion, getStandardFont, getStandardFontSize, getWarningCallback, setAutoFilter, setAutoFitterOptions, setCheckDataValid, setCheckExcelRestriction, setFontConfigs, setIgnoreNotPrinted, setIgnoreUselessShapes, setInterruptMonitor, setKeepUnparsedData, setLanguageCode, setLightCellsDataHandler, setLoadFilter, setLocale, setMemorySetting, setPaperSize, setParsingFormulaOnOpen, setParsingPivotCachedRecords, setPassword, setPreservePaddingSpacesInFormula, setRegion, setStandardFont, setStandardFontSize, setWarningCallbackpublic HtmlLoadOptions()
public HtmlLoadOptions(int loadFormat)
loadFormat - LoadFormat. The loading format.public java.lang.String getAttachedFilesDirectory()
Remarks
NOTE: This member is now obsolete. Instead, please use HtmlLoadOptions.StreamProvider property. This property will be removed 12 months later since December 2014. Aspose apologizes for any inconvenience you may have experienced.public void setAttachedFilesDirectory(java.lang.String value)
Remarks
NOTE: This member is now obsolete. Instead, please use HtmlLoadOptions.StreamProvider property. This property will be removed 12 months later since December 2014. Aspose apologizes for any inconvenience you may have experienced.public boolean getLoadFormulas()
public void setLoadFormulas(boolean value)
public boolean getSupportDivTag()
<div> tag when the html file contains it.
The default value is false.public void setSupportDivTag(boolean value)
<div> tag when the html file contains it.
The default value is false.public boolean getDeleteRedundantSpaces()
<br> tag.
The default value is false.public void setDeleteRedundantSpaces(boolean value)
<br> tag.
The default value is false.public boolean getAutoFitColsAndRows()
public void setAutoFitColsAndRows(boolean value)
public boolean getConvertFormulasData()
Remarks
NOTE: This property is now obsolete. Instead, please use HtmlLoadOptions.HasFormula property. This property will be removed 12 months later since March 2023. Aspose apologizes for any inconvenience you may have experienced.public void setConvertFormulasData(boolean value)
Remarks
NOTE: This property is now obsolete. Instead, please use HtmlLoadOptions.HasFormula property. This property will be removed 12 months later since March 2023. Aspose apologizes for any inconvenience you may have experienced.public boolean hasFormula()
public void setHasFormula(boolean value)
public IStreamProvider getStreamProvider()
public void setStreamProvider(IStreamProvider value)
public java.lang.String getProgId()
public HtmlTableLoadOptionCollection getTableLoadOptions()
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.