shaperange.java
来自「将Excel和Word的类型库都转换过来了」· Java 代码 · 共 308 行
JAVA
308 行
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.excel11;import com.jacob.com.*;public class ShapeRange extends Dispatch { public static final String componentName = "Excel.ShapeRange"; public ShapeRange() { 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 ShapeRange(Dispatch d) { // take over the IDispatch pointer m_pDispatch = d.m_pDispatch; // null out the input's pointer d.m_pDispatch = 0; } public ShapeRange(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 Dispatch getParent() { return Dispatch.get(this, "Parent").toDispatch(); } public int getCount() { return Dispatch.get(this, "Count").toInt(); } public org.nethawker.office11.Shape item(Variant lastParam) { return new org.nethawker.office11.Shape(Dispatch.call(this, "Item", lastParam).toDispatch()); } public org.nethawker.office11.Shape _Default(Variant lastParam) { return new org.nethawker.office11.Shape(Dispatch.call(this, "_Default", lastParam).toDispatch()); } public Variant get_NewEnum() { return Dispatch.get(this, "_NewEnum"); } public void align(int alignCmd, int lastParam) { Dispatch.call(this, "Align", new Variant(alignCmd), new Variant(lastParam)); } public void apply() { Dispatch.call(this, "Apply"); } public void delete() { Dispatch.call(this, "Delete"); } public void distribute(int distributeCmd, int lastParam) { Dispatch.call(this, "Distribute", new Variant(distributeCmd), new Variant(lastParam)); } public org.nethawker.office11.ShapeRange duplicate() { return new org.nethawker.office11.ShapeRange(Dispatch.call(this, "Duplicate").toDispatch()); } public void flip(int lastParam) { Dispatch.call(this, "Flip", new Variant(lastParam)); } public void incrementLeft(float lastParam) { Dispatch.call(this, "IncrementLeft", new Variant(lastParam)); } public void incrementRotation(float lastParam) { Dispatch.call(this, "IncrementRotation", new Variant(lastParam)); } public void incrementTop(float lastParam) { Dispatch.call(this, "IncrementTop", new Variant(lastParam)); } public org.nethawker.office11.Shape group() { return new org.nethawker.office11.Shape(Dispatch.call(this, "Group").toDispatch()); } public void pickUp() { Dispatch.call(this, "PickUp"); } public void rerouteConnections() { Dispatch.call(this, "RerouteConnections"); } public org.nethawker.office11.Shape regroup() { return new org.nethawker.office11.Shape(Dispatch.call(this, "Regroup").toDispatch()); } public void scaleHeight(float factor, int relativeToOriginalSize, Variant lastParam) { Dispatch.call(this, "ScaleHeight", new Variant(factor), new Variant(relativeToOriginalSize), lastParam); } public void scaleHeight(float factor, int relativeToOriginalSize) { Dispatch.call(this, "ScaleHeight", new Variant(factor), new Variant(relativeToOriginalSize)); } public void scaleWidth(float factor, int relativeToOriginalSize, Variant lastParam) { Dispatch.call(this, "ScaleWidth", new Variant(factor), new Variant(relativeToOriginalSize), lastParam); } public void scaleWidth(float factor, int relativeToOriginalSize) { Dispatch.call(this, "ScaleWidth", new Variant(factor), new Variant(relativeToOriginalSize)); } public void select(Variant lastParam) { Dispatch.call(this, "Select", lastParam); } public void select() { Dispatch.call(this, "Select"); } public void setShapesDefaultProperties() { Dispatch.call(this, "SetShapesDefaultProperties"); } public org.nethawker.office11.ShapeRange ungroup() { return new org.nethawker.office11.ShapeRange(Dispatch.call(this, "Ungroup").toDispatch()); } public void zOrder(int lastParam) { Dispatch.call(this, "ZOrder", new Variant(lastParam)); } public org.nethawker.office11.Adjustments getAdjustments() { return new org.nethawker.office11.Adjustments(Dispatch.get(this, "Adjustments").toDispatch()); } public org.nethawker.office11.TextFrame getTextFrame() { return new org.nethawker.office11.TextFrame(Dispatch.get(this, "TextFrame").toDispatch()); } public int getAutoShapeType() { return Dispatch.get(this, "AutoShapeType").toInt(); } public void setAutoShapeType(int lastParam) { Dispatch.put(this, "AutoShapeType", new Variant(lastParam)); } public org.nethawker.office11.CalloutFormat getCallout() { return new org.nethawker.office11.CalloutFormat(Dispatch.get(this, "Callout").toDispatch()); } public int getConnectionSiteCount() { return Dispatch.get(this, "ConnectionSiteCount").toInt(); } public int getConnector() { return Dispatch.get(this, "Connector").toInt(); } public org.nethawker.office11.ConnectorFormat getConnectorFormat() { return new org.nethawker.office11.ConnectorFormat(Dispatch.get(this, "ConnectorFormat").toDispatch()); } public org.nethawker.office11.FillFormat getFill() { return new org.nethawker.office11.FillFormat(Dispatch.get(this, "Fill").toDispatch()); } public org.nethawker.office11.GroupShapes getGroupItems() { return new org.nethawker.office11.GroupShapes(Dispatch.get(this, "GroupItems").toDispatch()); } public float getHeight() { return Dispatch.get(this, "Height").toFloat(); } public void setHeight(float lastParam) { Dispatch.put(this, "Height", new Variant(lastParam)); } public int getHorizontalFlip() { return Dispatch.get(this, "HorizontalFlip").toInt(); } public float getLeft() { return Dispatch.get(this, "Left").toFloat(); } public void setLeft(float lastParam) { Dispatch.put(this, "Left", new Variant(lastParam)); } public org.nethawker.office11.LineFormat getLine() { return new org.nethawker.office11.LineFormat(Dispatch.get(this, "Line").toDispatch()); } public int getLockAspectRatio() { return Dispatch.get(this, "LockAspectRatio").toInt(); } public void setLockAspectRatio(int lastParam) { Dispatch.put(this, "LockAspectRatio", new Variant(lastParam)); } public String getName() { return Dispatch.get(this, "Name").toString(); } public void setName(String lastParam) { Dispatch.put(this, "Name", lastParam); } public org.nethawker.office11.ShapeNodes getNodes() { return new org.nethawker.office11.ShapeNodes(Dispatch.get(this, "Nodes").toDispatch()); } public float getRotation() { return Dispatch.get(this, "Rotation").toFloat(); } public void setRotation(float lastParam) { Dispatch.put(this, "Rotation", new Variant(lastParam)); } public org.nethawker.office11.PictureFormat getPictureFormat() { return new org.nethawker.office11.PictureFormat(Dispatch.get(this, "PictureFormat").toDispatch()); } public org.nethawker.office11.ShadowFormat getShadow() { return new org.nethawker.office11.ShadowFormat(Dispatch.get(this, "Shadow").toDispatch()); } public org.nethawker.office11.TextEffectFormat getTextEffect() { return new org.nethawker.office11.TextEffectFormat(Dispatch.get(this, "TextEffect").toDispatch()); } public org.nethawker.office11.ThreeDFormat getThreeD() { return new org.nethawker.office11.ThreeDFormat(Dispatch.get(this, "ThreeD").toDispatch()); } public float getTop() { return Dispatch.get(this, "Top").toFloat(); } public void setTop(float lastParam) { Dispatch.put(this, "Top", new Variant(lastParam)); } public int getType() { return Dispatch.get(this, "Type").toInt(); } public int getVerticalFlip() { return Dispatch.get(this, "VerticalFlip").toInt(); } public Variant getVertices() { return Dispatch.get(this, "Vertices"); } public int getVisible() { return Dispatch.get(this, "Visible").toInt(); } public void setVisible(int lastParam) { Dispatch.put(this, "Visible", 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 int getZOrderPosition() { return Dispatch.get(this, "ZOrderPosition").toInt(); } public int getBlackWhiteMode() { return Dispatch.get(this, "BlackWhiteMode").toInt(); } public void setBlackWhiteMode(int lastParam) { Dispatch.put(this, "BlackWhiteMode", new Variant(lastParam)); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?