linkformat.java

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

JAVA
100
字号
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.word11;import com.jacob.com.*;public class LinkFormat extends Dispatch {	public static final String componentName = "Word.LinkFormat";	public LinkFormat() {		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 LinkFormat(Dispatch d) {		// take over the IDispatch pointer		m_pDispatch = d.m_pDispatch;		// null out the input's pointer		d.m_pDispatch = 0;	}	public LinkFormat(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 boolean getAutoUpdate() {		return Dispatch.get(this, "AutoUpdate").toBoolean();	}	public void setAutoUpdate(boolean lastParam) {		Dispatch.put(this, "AutoUpdate", new Variant(lastParam));	}	public String getSourceName() {		return Dispatch.get(this, "SourceName").toString();	}	public String getSourcePath() {		return Dispatch.get(this, "SourcePath").toString();	}	public boolean getLocked() {		return Dispatch.get(this, "Locked").toBoolean();	}	public void setLocked(boolean lastParam) {		Dispatch.put(this, "Locked", new Variant(lastParam));	}	public int getType() {		return Dispatch.get(this, "Type").toInt();	}	public String getSourceFullName() {		return Dispatch.get(this, "SourceFullName").toString();	}	public void setSourceFullName(String lastParam) {		Dispatch.put(this, "SourceFullName", lastParam);	}	public boolean getSavePictureWithDocument() {		return Dispatch.get(this, "SavePictureWithDocument").toBoolean();	}	public void setSavePictureWithDocument(boolean lastParam) {		Dispatch.put(this, "SavePictureWithDocument", new Variant(lastParam));	}	public void breakLink() {		Dispatch.call(this, "BreakLink");	}	public void update() {		Dispatch.call(this, "Update");	}}

⌨️ 快捷键说明

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