public class WebQueryConnection extends ExternalConnection
| Modifier and Type | Method and Description |
|---|---|
int |
getClassType()
Gets the type of this
ExternalConnection object. |
java.lang.String |
getConnectionFile()
Gets the connection file.
|
java.lang.String |
getEditPage()
Deprecated.
Use WebQueryConnection.EditWebPage property instead.
|
java.lang.String |
getEditWebPage()
The URL of the user-facing web page showing the web query data.
|
int |
getHtmlFormat()
How to handle formatting from the HTML source when bringing web query data into the
worksheet.
|
java.lang.String |
getPost()
Returns or sets the string used with the post method of inputting data into a web server
to return data from a web query.
|
java.lang.String |
getUrl()
URL to use to refresh external data.
|
boolean |
isConsecutive()
Flag indicating whether consecutive delimiters should be treated as just one delimiter.
|
boolean |
isHtmlTables()
Flag indicating whether web queries should only work on HTML tables.
|
boolean |
isParsePre()
Flag indicating whether data contained within HTML PRE tags in the web page is
parsed into columns when you import the page into a query table.
|
boolean |
isSameSettings()
Flag indicating whether to parse all tables inside a PRE block with the same width settings
as the first row.
|
boolean |
isTextDates()
Flag indicating whether dates should be imported into cells in the worksheet as text rather than dates.
|
boolean |
isXl2000()
This flag exists for backward compatibility with older existing spreadsheet files, and is set
to true if this web query was refreshed in a spreadsheet application newer than or equal
to Microsoft Excel 2000.
|
boolean |
isXl97()
This flag exists for backward compatibility with older existing spreadsheet files, and is set
to true if this web query was created in Microsoft Excel 97.
|
boolean |
isXml()
true if the web query source is XML (versus HTML), otherwise false.
|
boolean |
isXmlSourceData()
Flag indicating that XML source data should be imported instead of the HTML table itself.
|
void |
setConsecutive(boolean value)
Flag indicating whether consecutive delimiters should be treated as just one delimiter.
|
void |
setEditPage(java.lang.String value)
Deprecated.
Use WebQueryConnection.EditWebPage property instead.
|
void |
setEditWebPage(java.lang.String value)
The URL of the user-facing web page showing the web query data.
|
void |
setHtmlFormat(int value)
How to handle formatting from the HTML source when bringing web query data into the
worksheet.
|
void |
setHtmlTables(boolean value)
Flag indicating whether web queries should only work on HTML tables.
|
void |
setParsePre(boolean value)
Flag indicating whether data contained within HTML PRE tags in the web page is
parsed into columns when you import the page into a query table.
|
void |
setPost(java.lang.String value)
Returns or sets the string used with the post method of inputting data into a web server
to return data from a web query.
|
void |
setSameSettings(boolean value)
Flag indicating whether to parse all tables inside a PRE block with the same width settings
as the first row.
|
void |
setTextDates(boolean value)
Flag indicating whether dates should be imported into cells in the worksheet as text rather than dates.
|
void |
setUrl(java.lang.String value)
URL to use to refresh external data.
|
void |
setXl2000(boolean value)
This flag exists for backward compatibility with older existing spreadsheet files, and is set
to true if this web query was refreshed in a spreadsheet application newer than or equal
to Microsoft Excel 2000.
|
void |
setXl97(boolean value)
This flag exists for backward compatibility with older existing spreadsheet files, and is set
to true if this web query was created in Microsoft Excel 97.
|
void |
setXml(boolean value)
true if the web query source is XML (versus HTML), otherwise false.
|
void |
setXmlSourceData(boolean value)
Flag indicating that XML source data should be imported instead of the HTML table itself.
|
getBackgroundRefresh, getCommand, getCommandType, getConnectionDescription, getConnectionId, getConnectionString, getCredentials, getCredentialsMethodType, getId, getKeepAlive, getName, getOdcFile, getOnlyUseConnectionFile, getParameters, getPowerQueryFormula, getReconnectionMethod, getReconnectionMethodType, getRefreshInternal, getRefreshOnLoad, getSaveData, getSavePassword, getSecondCommand, getSourceFile, getSourceType, getSSOId, getType, isDeleted, isNew, setBackgroundRefresh, setCommand, setCommandType, setConnectionDescription, setConnectionString, setCredentials, setCredentialsMethodType, setDeleted, setKeepAlive, setName, setNew, setOdcFile, setOnlyUseConnectionFile, setReconnectionMethod, setReconnectionMethodType, setRefreshInternal, setRefreshOnLoad, setSaveData, setSavePassword, setSecondCommand, setSourceFile, setSourceType, setSSOId, setTypepublic int getClassType()
ExternalConnection object.
getClassType in class ExternalConnectionpublic boolean isXml()
public void setXml(boolean value)
public boolean isXl97()
public void setXl97(boolean value)
public boolean isXl2000()
public void setXl2000(boolean value)
public java.lang.String getUrl()
public void setUrl(java.lang.String value)
public java.lang.String getConnectionFile()
getConnectionFile in class ExternalConnectionpublic boolean isTextDates()
public void setTextDates(boolean value)
public boolean isXmlSourceData()
public void setXmlSourceData(boolean value)
public java.lang.String getPost()
public void setPost(java.lang.String value)
public boolean isParsePre()
public void setParsePre(boolean value)
public boolean isHtmlTables()
public void setHtmlTables(boolean value)
public int getHtmlFormat()
public void setHtmlFormat(int value)
public boolean isSameSettings()
public void setSameSettings(boolean value)
public java.lang.String getEditWebPage()
public void setEditWebPage(java.lang.String value)
public java.lang.String getEditPage()
Remarks
NOTE: This property is now obsolete. Instead, please use WebQueryConnection.EditWebPage property. This property will be removed 12 months later since October 2017. Aspose apologizes for any inconvenience you may have experienced.public void setEditPage(java.lang.String value)
Remarks
NOTE: This property is now obsolete. Instead, please use WebQueryConnection.EditWebPage property. This property will be removed 12 months later since October 2017. Aspose apologizes for any inconvenience you may have experienced.public boolean isConsecutive()
public void setConsecutive(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.