sync.java

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

JAVA
84
字号
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.office11;import com.jacob.com.*;public class Sync extends Dispatch {	public static final String componentName = "Office.Sync";	public Sync() {		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 Sync(Dispatch d) {		// take over the IDispatch pointer		m_pDispatch = d.m_pDispatch;		// null out the input's pointer		d.m_pDispatch = 0;	}	public Sync(String compName) {		super(compName);	}	public Object getApplication() {		return Dispatch.get(this, "Application");	}	public int getCreator() {		return Dispatch.get(this, "Creator").toInt();	}	public int getStatus() {		return Dispatch.get(this, "Status").toInt();	}	public String getWorkspaceLastChangedBy() {		return Dispatch.get(this, "WorkspaceLastChangedBy").toString();	}	public Variant getLastSyncTime() {		return Dispatch.get(this, "LastSyncTime");	}	public int getErrorType() {		return Dispatch.get(this, "ErrorType").toInt();	}	public void getUpdate() {		Dispatch.call(this, "GetUpdate");	}	public void putUpdate() {		Dispatch.call(this, "PutUpdate");	}	public void openVersion(int lastParam) {		Dispatch.call(this, "OpenVersion", new Variant(lastParam));	}	public void resolveConflict(int lastParam) {		Dispatch.call(this, "ResolveConflict", new Variant(lastParam));	}	public void unsuspend() {		Dispatch.call(this, "Unsuspend");	}	public Object getParent() {		return Dispatch.get(this, "Parent");	}}

⌨️ 快捷键说明

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