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