_querytable.java
来自「将Excel和Word的类型库都转换过来了」· Java 代码 · 共 220 行
JAVA
220 行
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.excel11;import com.jacob.com.*;public class _QueryTable extends Dispatch { public static final String componentName = "Excel._QueryTable"; public _QueryTable() { super(componentName); } /** * This constructor is used instead of a case operation to * turn a Dispatch object into a wider object - it must exist * in every wrapper class whose instances may be returned from * method calls wrapped in VT_DISPATCH Variants. */ public _QueryTable(Dispatch d) { // take over the IDispatch pointer m_pDispatch = d.m_pDispatch; // null out the input's pointer d.m_pDispatch = 0; } public _QueryTable(String compName) { super(compName); } public Application getApplication() { return new Application(Dispatch.get(this, "Application").toDispatch()); } public int getCreator() { return Dispatch.get(this, "Creator").toInt(); } public Dispatch getParent() { return Dispatch.get(this, "Parent").toDispatch(); } public String getName() { return Dispatch.get(this, "Name").toString(); } public void setName(String lastParam) { Dispatch.put(this, "Name", lastParam); } public boolean getFieldNames() { return Dispatch.get(this, "FieldNames").toBoolean(); } public void setFieldNames(boolean lastParam) { Dispatch.put(this, "FieldNames", new Variant(lastParam)); } public boolean getRowNumbers() { return Dispatch.get(this, "RowNumbers").toBoolean(); } public void setRowNumbers(boolean lastParam) { Dispatch.put(this, "RowNumbers", new Variant(lastParam)); } public boolean getFillAdjacentFormulas() { return Dispatch.get(this, "FillAdjacentFormulas").toBoolean(); } public void setFillAdjacentFormulas(boolean lastParam) { Dispatch.put(this, "FillAdjacentFormulas", new Variant(lastParam)); } public boolean getHasAutoFormat() { return Dispatch.get(this, "HasAutoFormat").toBoolean(); } public void setHasAutoFormat(boolean lastParam) { Dispatch.put(this, "HasAutoFormat", new Variant(lastParam)); } public boolean getRefreshOnFileOpen() { return Dispatch.get(this, "RefreshOnFileOpen").toBoolean(); } public void setRefreshOnFileOpen(boolean lastParam) { Dispatch.put(this, "RefreshOnFileOpen", new Variant(lastParam)); } public boolean getRefreshing() { return Dispatch.get(this, "Refreshing").toBoolean(); } public boolean getFetchedRowOverflow() { return Dispatch.get(this, "FetchedRowOverflow").toBoolean(); } public boolean getBackgroundQuery() { return Dispatch.get(this, "BackgroundQuery").toBoolean(); } public void setBackgroundQuery(boolean lastParam) { Dispatch.put(this, "BackgroundQuery", new Variant(lastParam)); } public void cancelRefresh() { Dispatch.call(this, "CancelRefresh"); } public int getRefreshStyle() { return Dispatch.get(this, "RefreshStyle").toInt(); } public void setRefreshStyle(int lastParam) { Dispatch.put(this, "RefreshStyle", new Variant(lastParam)); } public boolean getEnableRefresh() { return Dispatch.get(this, "EnableRefresh").toBoolean(); } public void setEnableRefresh(boolean lastParam) { Dispatch.put(this, "EnableRefresh", new Variant(lastParam)); } public boolean getSavePassword() { return Dispatch.get(this, "SavePassword").toBoolean(); } public void setSavePassword(boolean lastParam) { Dispatch.put(this, "SavePassword", new Variant(lastParam)); } public Range getDestination() { return new Range(Dispatch.get(this, "Destination").toDispatch()); } public Variant getConnection() { return Dispatch.get(this, "Connection"); } public void setConnection(Variant lastParam) { Dispatch.put(this, "Connection", lastParam); } public Variant getSql() { return Dispatch.get(this, "Sql"); } public void setSql(Variant lastParam) { Dispatch.put(this, "Sql", lastParam); } public String getPostText() { return Dispatch.get(this, "PostText").toString(); } public void setPostText(String lastParam) { Dispatch.put(this, "PostText", lastParam); } public Range getResultRange() { return new Range(Dispatch.get(this, "ResultRange").toDispatch()); } public void delete() { Dispatch.call(this, "Delete"); } public boolean refresh(Variant lastParam) { return Dispatch.call(this, "Refresh", lastParam).toBoolean(); } public boolean refresh() { return Dispatch.call(this, "Refresh").toBoolean(); } public Parameters getParameters() { return new Parameters(Dispatch.get(this, "Parameters").toDispatch()); } public Dispatch getRecordset() { return Dispatch.get(this, "Recordset").toDispatch(); } public void setRecordset(Object lastParam) { Dispatch.put(this, "Recordset", lastParam); } public boolean getSaveData() { return Dispatch.get(this, "SaveData").toBoolean(); } public void setSaveData(boolean lastParam) { Dispatch.put(this, "SaveData", new Variant(lastParam)); } public boolean getTablesOnlyFromHTML() { return Dispatch.get(this, "TablesOnlyFromHTML").toBoolean(); } public void setTablesOnlyFromHTML(boolean lastParam) { Dispatch.put(this, "TablesOnlyFromHTML", new Variant(lastParam)); } public boolean getEnableEditing() { return Dispatch.get(this, "EnableEditing").toBoolean(); } public void setEnableEditing(boolean lastParam) { Dispatch.put(this, "EnableEditing", new Variant(lastParam)); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?