name.java
来自「将Excel和Word的类型库都转换过来了」· Java 代码 · 共 160 行
JAVA
160 行
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.excel11;import com.jacob.com.*;public class Name extends Dispatch { public static final String componentName = "Excel.Name"; public Name() { 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 Name(Dispatch d) { // take over the IDispatch pointer m_pDispatch = d.m_pDispatch; // null out the input's pointer d.m_pDispatch = 0; } public Name(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 get_Default() { return Dispatch.get(this, "_Default").toString(); } public int getIndex() { return Dispatch.get(this, "Index").toInt(); } public String getCategory() { return Dispatch.get(this, "Category").toString(); } public void setCategory(String lastParam) { Dispatch.put(this, "Category", lastParam); } public String getCategoryLocal() { return Dispatch.get(this, "CategoryLocal").toString(); } public void setCategoryLocal(String lastParam) { Dispatch.put(this, "CategoryLocal", lastParam); } public void delete() { Dispatch.call(this, "Delete"); } public int getMacroType() { return Dispatch.get(this, "MacroType").toInt(); } public void setMacroType(int lastParam) { Dispatch.put(this, "MacroType", new Variant(lastParam)); } public String getName() { return Dispatch.get(this, "Name").toString(); } public void setName(String lastParam) { Dispatch.put(this, "Name", lastParam); } public Variant getRefersTo() { return Dispatch.get(this, "RefersTo"); } public void setRefersTo(Variant lastParam) { Dispatch.put(this, "RefersTo", lastParam); } public String getShortcutKey() { return Dispatch.get(this, "ShortcutKey").toString(); } public void setShortcutKey(String lastParam) { Dispatch.put(this, "ShortcutKey", lastParam); } public String getValue() { return Dispatch.get(this, "Value").toString(); } public void setValue(String lastParam) { Dispatch.put(this, "Value", lastParam); } public boolean getVisible() { return Dispatch.get(this, "Visible").toBoolean(); } public void setVisible(boolean lastParam) { Dispatch.put(this, "Visible", new Variant(lastParam)); } public String getNameLocal() { return Dispatch.get(this, "NameLocal").toString(); } public void setNameLocal(String lastParam) { Dispatch.put(this, "NameLocal", lastParam); } public Variant getRefersToLocal() { return Dispatch.get(this, "RefersToLocal"); } public void setRefersToLocal(Variant lastParam) { Dispatch.put(this, "RefersToLocal", lastParam); } public Variant getRefersToR1C1() { return Dispatch.get(this, "RefersToR1C1"); } public void setRefersToR1C1(Variant lastParam) { Dispatch.put(this, "RefersToR1C1", lastParam); } public Variant getRefersToR1C1Local() { return Dispatch.get(this, "RefersToR1C1Local"); } public void setRefersToR1C1Local(Variant lastParam) { Dispatch.put(this, "RefersToR1C1Local", lastParam); } public Range getRefersToRange() { return new Range(Dispatch.get(this, "RefersToRange").toDispatch()); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?