iapplicationevents2.java
来自「将Excel和Word的类型库都转换过来了」· Java 代码 · 共 88 行
JAVA
88 行
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.word11;import com.jacob.com.*;public class IApplicationEvents2 extends Dispatch { public static final String componentName = "Word.IApplicationEvents2"; public IApplicationEvents2() { 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 IApplicationEvents2(Dispatch d) { // take over the IDispatch pointer m_pDispatch = d.m_pDispatch; // null out the input's pointer d.m_pDispatch = 0; } public IApplicationEvents2(String compName) { super(compName); } public void startup() { Dispatch.call(this, "Startup"); } public void quit() { Dispatch.call(this, "Quit"); } public void documentChange() { Dispatch.call(this, "DocumentChange"); } public void documentOpen(Document lastParam) { Dispatch.call(this, "DocumentOpen", lastParam); } public void documentBeforeClose(Document doc, boolean lastParam) { Dispatch.call(this, "DocumentBeforeClose", doc, new Variant(lastParam)); } public void documentBeforePrint(Document doc, boolean lastParam) { Dispatch.call(this, "DocumentBeforePrint", doc, new Variant(lastParam)); } public void documentBeforeSave(Document doc, boolean saveAsUI, boolean lastParam) { Dispatch.call(this, "DocumentBeforeSave", doc, new Variant(saveAsUI), new Variant(lastParam)); } public void newDocument(Document lastParam) { Dispatch.call(this, "NewDocument", lastParam); } public void windowActivate(Document doc, Window lastParam) { Dispatch.call(this, "WindowActivate", doc, lastParam); } public void windowDeactivate(Document doc, Window lastParam) { Dispatch.call(this, "WindowDeactivate", doc, lastParam); } public void windowSelectionChange(Selection lastParam) { Dispatch.call(this, "WindowSelectionChange", lastParam); } public void windowBeforeRightClick(Selection sel, boolean lastParam) { Dispatch.call(this, "WindowBeforeRightClick", sel, new Variant(lastParam)); } public void windowBeforeDoubleClick(Selection sel, boolean lastParam) { Dispatch.call(this, "WindowBeforeDoubleClick", sel, new Variant(lastParam)); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?