connectorformat.java

来自「将Excel和Word的类型库都转换过来了」· Java 代码 · 共 96 行

JAVA
96
字号
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.office11;import com.jacob.com.*;public class ConnectorFormat extends Dispatch {	public static final String componentName = "Office.ConnectorFormat";	public ConnectorFormat() {		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 ConnectorFormat(Dispatch d) {		// take over the IDispatch pointer		m_pDispatch = d.m_pDispatch;		// null out the input's pointer		d.m_pDispatch = 0;	}	public ConnectorFormat(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 beginConnect(Shape connectedShape, int lastParam) {		Dispatch.call(this, "BeginConnect", connectedShape, new Variant(lastParam));	}	public void beginDisconnect() {		Dispatch.call(this, "BeginDisconnect");	}	public void endConnect(Shape connectedShape, int lastParam) {		Dispatch.call(this, "EndConnect", connectedShape, new Variant(lastParam));	}	public void endDisconnect() {		Dispatch.call(this, "EndDisconnect");	}	public int getBeginConnected() {		return Dispatch.get(this, "BeginConnected").toInt();	}	public Shape getBeginConnectedShape() {		return new Shape(Dispatch.get(this, "BeginConnectedShape").toDispatch());	}	public int getBeginConnectionSite() {		return Dispatch.get(this, "BeginConnectionSite").toInt();	}	public int getEndConnected() {		return Dispatch.get(this, "EndConnected").toInt();	}	public Shape getEndConnectedShape() {		return new Shape(Dispatch.get(this, "EndConnectedShape").toDispatch());	}	public int getEndConnectionSite() {		return Dispatch.get(this, "EndConnectionSite").toInt();	}	public int getType() {		return Dispatch.get(this, "Type").toInt();	}	public void setType(int lastParam) {		Dispatch.put(this, "Type", new Variant(lastParam));	}}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?