webcomponentproperties.java
来自「将Excel和Word的类型库都转换过来了」· Java 代码 · 共 104 行
JAVA
104 行
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.office11;import com.jacob.com.*;public class WebComponentProperties extends Dispatch { public static final String componentName = "Office.WebComponentProperties"; public WebComponentProperties() { 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 WebComponentProperties(Dispatch d) { // take over the IDispatch pointer m_pDispatch = d.m_pDispatch; // null out the input's pointer d.m_pDispatch = 0; } public WebComponentProperties(String compName) { super(compName); } public Object getShape() { return Dispatch.get(this, "Shape"); } public String getName() { return Dispatch.get(this, "Name").toString(); } public void setName(String lastParam) { Dispatch.put(this, "Name", lastParam); } 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 getPreviewGraphic() { return Dispatch.get(this, "PreviewGraphic").toString(); } public void setPreviewGraphic(String lastParam) { Dispatch.put(this, "PreviewGraphic", lastParam); } public String getPreviewHTML() { return Dispatch.get(this, "PreviewHTML").toString(); } public void setPreviewHTML(String lastParam) { Dispatch.put(this, "PreviewHTML", 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 getTag() { return Dispatch.get(this, "Tag").toString(); } public void setTag(String lastParam) { Dispatch.put(this, "Tag", lastParam); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?