parameter.java
来自「将Excel和Word的类型库都转换过来了」· Java 代码 · 共 84 行
JAVA
84 行
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.excel11;import com.jacob.com.*;public class Parameter extends Dispatch { public static final String componentName = "Excel.Parameter"; public Parameter() { 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 Parameter(Dispatch d) { // take over the IDispatch pointer m_pDispatch = d.m_pDispatch; // null out the input's pointer d.m_pDispatch = 0; } public Parameter(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 int getDataType() { return Dispatch.get(this, "DataType").toInt(); } public void setDataType(int lastParam) { Dispatch.put(this, "DataType", new Variant(lastParam)); } public int getType() { return Dispatch.get(this, "Type").toInt(); } public String getPromptString() { return Dispatch.get(this, "PromptString").toString(); } public Variant getValue() { return Dispatch.get(this, "Value"); } public Range getSourceRange() { return new Range(Dispatch.get(this, "SourceRange").toDispatch()); } public String getName() { return Dispatch.get(this, "Name").toString(); } public void setName(String lastParam) { Dispatch.put(this, "Name", lastParam); } public void setParam(int type, Variant lastParam) { Dispatch.call(this, "SetParam", new Variant(type), lastParam); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?