将Excel和Word的类型库都转换过来了

源代码在线查看: script.java

软件大小: 1946 K
上传用户: suroot2005
关键词: Excel Word 转换
下载地址: 免注册下载 普通下载 VIP

相关代码

				/**				 * 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);					}								}							

相关资源