addin.java
来自「将Excel和Word的类型库都转换过来了」· Java 代码 · 共 88 行
JAVA
88 行
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.excel11;import com.jacob.com.*;public class AddIn extends Dispatch { public static final String componentName = "Excel.AddIn"; public AddIn() { 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 AddIn(Dispatch d) { // take over the IDispatch pointer m_pDispatch = d.m_pDispatch; // null out the input's pointer d.m_pDispatch = 0; } public AddIn(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 getAuthor() { return Dispatch.get(this, "Author").toString(); } public String getComments() { return Dispatch.get(this, "Comments").toString(); } public String getFullName() { return Dispatch.get(this, "FullName").toString(); } public boolean getInstalled() { return Dispatch.get(this, "Installed").toBoolean(); } public void setInstalled(boolean lastParam) { Dispatch.put(this, "Installed", new Variant(lastParam)); } public String getKeywords() { return Dispatch.get(this, "Keywords").toString(); } public String getName() { return Dispatch.get(this, "Name").toString(); } public String getPath() { return Dispatch.get(this, "Path").toString(); } public String getSubject() { return Dispatch.get(this, "Subject").toString(); } public String getTitle() { return Dispatch.get(this, "Title").toString(); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?