inlineshape.java
来自「将Excel和Word的类型库都转换过来了」· Java 代码 · 共 188 行
JAVA
188 行
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.word11;import com.jacob.com.*;public class InlineShape extends Dispatch { public static final String componentName = "Word.InlineShape"; public InlineShape() { 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 InlineShape(Dispatch d) { // take over the IDispatch pointer m_pDispatch = d.m_pDispatch; // null out the input's pointer d.m_pDispatch = 0; } public InlineShape(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 Borders getBorders() { return new Borders(Dispatch.get(this, "Borders").toDispatch()); } public void setBorders(Borders lastParam) { Dispatch.put(this, "Borders", lastParam); } public Range getRange() { return new Range(Dispatch.get(this, "Range").toDispatch()); } public LinkFormat getLinkFormat() { return new LinkFormat(Dispatch.get(this, "LinkFormat").toDispatch()); } public int getField() { return Dispatch.get(this, "Field").toInt(); } public OLEFormat getOLEFormat() { return new OLEFormat(Dispatch.get(this, "OLEFormat").toDispatch()); } public int getType() { return Dispatch.get(this, "Type").toInt(); } public Hyperlink getHyperlink() { return new Hyperlink(Dispatch.get(this, "Hyperlink").toDispatch()); } public float getHeight() { return Dispatch.get(this, "Height").toFloat(); } public void setHeight(float lastParam) { Dispatch.put(this, "Height", new Variant(lastParam)); } public float getWidth() { return Dispatch.get(this, "Width").toFloat(); } public void setWidth(float lastParam) { Dispatch.put(this, "Width", new Variant(lastParam)); } public float getScaleHeight() { return Dispatch.get(this, "ScaleHeight").toFloat(); } public void setScaleHeight(float lastParam) { Dispatch.put(this, "ScaleHeight", new Variant(lastParam)); } public float getScaleWidth() { return Dispatch.get(this, "ScaleWidth").toFloat(); } public void setScaleWidth(float lastParam) { Dispatch.put(this, "ScaleWidth", new Variant(lastParam)); } public int getLockAspectRatio() { return Dispatch.get(this, "LockAspectRatio").toInt(); } public void setLockAspectRatio(int lastParam) { Dispatch.put(this, "LockAspectRatio", new Variant(lastParam)); } public org.nethawker.office11.LineFormat getLine() { return new org.nethawker.office11.LineFormat(Dispatch.get(this, "Line").toDispatch()); } public org.nethawker.office11.FillFormat getFill() { return new org.nethawker.office11.FillFormat(Dispatch.get(this, "Fill").toDispatch()); } public org.nethawker.office11.PictureFormat getPictureFormat() { return new org.nethawker.office11.PictureFormat(Dispatch.get(this, "PictureFormat").toDispatch()); } public void setPictureFormat(org.nethawker.office11.PictureFormat lastParam) { Dispatch.put(this, "PictureFormat", lastParam); } public void activate() { Dispatch.call(this, "Activate"); } public void reset() { Dispatch.call(this, "Reset"); } public void delete() { Dispatch.call(this, "Delete"); } public void select() { Dispatch.call(this, "Select"); } public org.nethawker.office11.Shape convertToShape() { return new org.nethawker.office11.Shape(Dispatch.call(this, "ConvertToShape").toDispatch()); } public HorizontalLineFormat getHorizontalLineFormat() { return new HorizontalLineFormat(Dispatch.get(this, "HorizontalLineFormat").toDispatch()); } public org.nethawker.office11.Script getScript() { return new org.nethawker.office11.Script(Dispatch.get(this, "Script").toDispatch()); } public int getOWSAnchor() { return Dispatch.get(this, "OWSAnchor").toInt(); } public org.nethawker.office11.TextEffectFormat getTextEffect() { return new org.nethawker.office11.TextEffectFormat(Dispatch.get(this, "TextEffect").toDispatch()); } public void setTextEffect(org.nethawker.office11.TextEffectFormat lastParam) { Dispatch.put(this, "TextEffect", lastParam); } public String getAlternativeText() { return Dispatch.get(this, "AlternativeText").toString(); } public void setAlternativeText(String lastParam) { Dispatch.put(this, "AlternativeText", lastParam); } public boolean getIsPictureBullet() { return Dispatch.get(this, "IsPictureBullet").toBoolean(); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?