script.java

来自「将Excel和Word的类型库都转换过来了」· Java 代码 · 共 92 行

JAVA
92
字号
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.office11;import com.jacob.com.*;public class Script extends Dispatch {	public static final String componentName = "Office.Script";	public Script() {		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 Script(Dispatch d) {		// take over the IDispatch pointer		m_pDispatch = d.m_pDispatch;		// null out the input's pointer		d.m_pDispatch = 0;	}	public Script(String compName) {		super(compName);	}	public Object getApplication() {		return Dispatch.get(this, "Application");	}	public int getCreator() {		return Dispatch.get(this, "Creator").toInt();	}	public Object getParent() {		return Dispatch.get(this, "Parent");	}	public String getExtended() {		return Dispatch.get(this, "Extended").toString();	}	public void setExtended(String lastParam) {		Dispatch.put(this, "Extended", lastParam);	}	public String getId() {		return Dispatch.get(this, "Id").toString();	}	public void setId(String lastParam) {		Dispatch.put(this, "Id", lastParam);	}	public int getLanguage() {		return Dispatch.get(this, "Language").toInt();	}	public void setLanguage(int lastParam) {		Dispatch.put(this, "Language", new Variant(lastParam));	}	public int getLocation() {		return Dispatch.get(this, "Location").toInt();	}	public void delete() {		Dispatch.call(this, "Delete");	}	public Object getShape() {		return Dispatch.get(this, "Shape");	}	public String getScriptText() {		return Dispatch.get(this, "ScriptText").toString();	}	public void setScriptText(String lastParam) {		Dispatch.put(this, "ScriptText", lastParam);	}}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?