calloutformat.java
来自「将Excel和Word的类型库都转换过来了」· Java 代码 · 共 128 行
JAVA
128 行
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.word11;import com.jacob.com.*;public class CalloutFormat extends Dispatch { public static final String componentName = "Word.CalloutFormat"; public CalloutFormat() { 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 CalloutFormat(Dispatch d) { // take over the IDispatch pointer m_pDispatch = d.m_pDispatch; // null out the input's pointer d.m_pDispatch = 0; } public CalloutFormat(String compName) { super(compName); } public Application getApplication() { return new Application(Dispatch.get(this, "Application").toDispatch()); } public int getCreator() { return Dispatch.get(this, "Creator").toInt(); } public Object getParent() { return Dispatch.get(this, "Parent"); } public int getAccent() { return Dispatch.get(this, "Accent").toInt(); } public void setAccent(int lastParam) { Dispatch.put(this, "Accent", new Variant(lastParam)); } public int getAngle() { return Dispatch.get(this, "Angle").toInt(); } public void setAngle(int lastParam) { Dispatch.put(this, "Angle", new Variant(lastParam)); } public int getAutoAttach() { return Dispatch.get(this, "AutoAttach").toInt(); } public void setAutoAttach(int lastParam) { Dispatch.put(this, "AutoAttach", new Variant(lastParam)); } public int getAutoLength() { return Dispatch.get(this, "AutoLength").toInt(); } public int getBorder() { return Dispatch.get(this, "Border").toInt(); } public void setBorder(int lastParam) { Dispatch.put(this, "Border", new Variant(lastParam)); } public float getDrop() { return Dispatch.get(this, "Drop").toFloat(); } public int getDropType() { return Dispatch.get(this, "DropType").toInt(); } public float getGap() { return Dispatch.get(this, "Gap").toFloat(); } public void setGap(float lastParam) { Dispatch.put(this, "Gap", new Variant(lastParam)); } public float getLength() { return Dispatch.get(this, "Length").toFloat(); } public int getType() { return Dispatch.get(this, "Type").toInt(); } public void setType(int lastParam) { Dispatch.put(this, "Type", new Variant(lastParam)); } public void automaticLength() { Dispatch.call(this, "AutomaticLength"); } public void customDrop(float lastParam) { Dispatch.call(this, "CustomDrop", new Variant(lastParam)); } public void customLength(float lastParam) { Dispatch.call(this, "CustomLength", new Variant(lastParam)); } public void presetDrop(int lastParam) { Dispatch.call(this, "PresetDrop", new Variant(lastParam)); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?