📄 envelope.java
字号:
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.word11;import com.jacob.com.*;public class Envelope extends Dispatch { public static final String componentName = "Word.Envelope"; public Envelope() { 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 Envelope(Dispatch d) { // take over the IDispatch pointer m_pDispatch = d.m_pDispatch; // null out the input's pointer d.m_pDispatch = 0; } public Envelope(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 Range getAddress() { return new Range(Dispatch.get(this, "Address").toDispatch()); } public Range getReturnAddress() { return new Range(Dispatch.get(this, "ReturnAddress").toDispatch()); } public boolean getDefaultPrintBarCode() { return Dispatch.get(this, "DefaultPrintBarCode").toBoolean(); } public void setDefaultPrintBarCode(boolean lastParam) { Dispatch.put(this, "DefaultPrintBarCode", new Variant(lastParam)); } public boolean getDefaultPrintFIMA() { return Dispatch.get(this, "DefaultPrintFIMA").toBoolean(); } public void setDefaultPrintFIMA(boolean lastParam) { Dispatch.put(this, "DefaultPrintFIMA", new Variant(lastParam)); } public float getDefaultHeight() { return Dispatch.get(this, "DefaultHeight").toFloat(); } public void setDefaultHeight(float lastParam) { Dispatch.put(this, "DefaultHeight", new Variant(lastParam)); } public float getDefaultWidth() { return Dispatch.get(this, "DefaultWidth").toFloat(); } public void setDefaultWidth(float lastParam) { Dispatch.put(this, "DefaultWidth", new Variant(lastParam)); } public String getDefaultSize() { return Dispatch.get(this, "DefaultSize").toString(); } public void setDefaultSize(String lastParam) { Dispatch.put(this, "DefaultSize", lastParam); } public boolean getDefaultOmitReturnAddress() { return Dispatch.get(this, "DefaultOmitReturnAddress").toBoolean(); } public void setDefaultOmitReturnAddress(boolean lastParam) { Dispatch.put(this, "DefaultOmitReturnAddress", new Variant(lastParam)); } public int getFeedSource() { return Dispatch.get(this, "FeedSource").toInt(); } public void setFeedSource(int lastParam) { Dispatch.put(this, "FeedSource", new Variant(lastParam)); } public float getAddressFromLeft() { return Dispatch.get(this, "AddressFromLeft").toFloat(); } public void setAddressFromLeft(float lastParam) { Dispatch.put(this, "AddressFromLeft", new Variant(lastParam)); } public float getAddressFromTop() { return Dispatch.get(this, "AddressFromTop").toFloat(); } public void setAddressFromTop(float lastParam) { Dispatch.put(this, "AddressFromTop", new Variant(lastParam)); } public float getReturnAddressFromLeft() { return Dispatch.get(this, "ReturnAddressFromLeft").toFloat(); } public void setReturnAddressFromLeft(float lastParam) { Dispatch.put(this, "ReturnAddressFromLeft", new Variant(lastParam)); } public float getReturnAddressFromTop() { return Dispatch.get(this, "ReturnAddressFromTop").toFloat(); } public void setReturnAddressFromTop(float lastParam) { Dispatch.put(this, "ReturnAddressFromTop", new Variant(lastParam)); } public Style getAddressStyle() { return new Style(Dispatch.get(this, "AddressStyle").toDispatch()); } public Style getReturnAddressStyle() { return new Style(Dispatch.get(this, "ReturnAddressStyle").toDispatch()); } public int getDefaultOrientation() { return Dispatch.get(this, "DefaultOrientation").toInt(); } public void setDefaultOrientation(int lastParam) { Dispatch.put(this, "DefaultOrientation", new Variant(lastParam)); }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -