shadowformat.java
来自「将Excel和Word的类型库都转换过来了」· Java 代码 · 共 112 行
JAVA
112 行
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.office11;import com.jacob.com.*;public class ShadowFormat extends Dispatch { public static final String componentName = "Office.ShadowFormat"; public ShadowFormat() { 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 ShadowFormat(Dispatch d) { // take over the IDispatch pointer m_pDispatch = d.m_pDispatch; // null out the input's pointer d.m_pDispatch = 0; } public ShadowFormat(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 void incrementOffsetX(float lastParam) { Dispatch.call(this, "IncrementOffsetX", new Variant(lastParam)); } public void incrementOffsetY(float lastParam) { Dispatch.call(this, "IncrementOffsetY", new Variant(lastParam)); } public ColorFormat getForeColor() { return new ColorFormat(Dispatch.get(this, "ForeColor").toDispatch()); } public void setForeColor(ColorFormat lastParam) { Dispatch.put(this, "ForeColor", lastParam); } public int getObscured() { return Dispatch.get(this, "Obscured").toInt(); } public void setObscured(int lastParam) { Dispatch.put(this, "Obscured", new Variant(lastParam)); } public float getOffsetX() { return Dispatch.get(this, "OffsetX").toFloat(); } public void setOffsetX(float lastParam) { Dispatch.put(this, "OffsetX", new Variant(lastParam)); } public float getOffsetY() { return Dispatch.get(this, "OffsetY").toFloat(); } public void setOffsetY(float lastParam) { Dispatch.put(this, "OffsetY", new Variant(lastParam)); } public float getTransparency() { return Dispatch.get(this, "Transparency").toFloat(); } public void setTransparency(float lastParam) { Dispatch.put(this, "Transparency", new Variant(lastParam)); } public int getType() { return Dispatch.get(this, "Type").toInt(); } public void setType(int lastParam) { Dispatch.put(this, "Type", new Variant(lastParam)); } public int getVisible() { return Dispatch.get(this, "Visible").toInt(); } public void setVisible(int lastParam) { Dispatch.put(this, "Visible", new Variant(lastParam)); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?