webcomponentformat.java

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

JAVA
96
字号
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.office11;import com.jacob.com.*;public class WebComponentFormat extends Dispatch {	public static final String componentName = "Office.WebComponentFormat";	public WebComponentFormat() {		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 WebComponentFormat(Dispatch d) {		// take over the IDispatch pointer		m_pDispatch = d.m_pDispatch;		// null out the input's pointer		d.m_pDispatch = 0;	}	public WebComponentFormat(String compName) {		super(compName);	}	public Object getApplication() {		return Dispatch.get(this, "Application");	}	public Object getParent() {		return Dispatch.get(this, "Parent");	}	public String getURL() {		return Dispatch.get(this, "URL").toString();	}	public void setURL(String lastParam) {		Dispatch.put(this, "URL", lastParam);	}	public String getHTML() {		return Dispatch.get(this, "HTML").toString();	}	public void setHTML(String lastParam) {		Dispatch.put(this, "HTML", lastParam);	}	public String getName() {		return Dispatch.get(this, "Name").toString();	}	public void setName(String lastParam) {		Dispatch.put(this, "Name", lastParam);	}	public int getWidth() {		return Dispatch.get(this, "Width").toInt();	}	public void setWidth(int lastParam) {		Dispatch.put(this, "Width", new Variant(lastParam));	}	public int getHeight() {		return Dispatch.get(this, "Height").toInt();	}	public void setHeight(int lastParam) {		Dispatch.put(this, "Height", new Variant(lastParam));	}	public String getPreviewGraphic() {		return Dispatch.get(this, "PreviewGraphic").toString();	}	public void setPreviewGraphic(String lastParam) {		Dispatch.put(this, "PreviewGraphic", lastParam);	}	public void launchPropertiesWindow() {		Dispatch.call(this, "LaunchPropertiesWindow");	}}

⌨️ 快捷键说明

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