captionlabel.java

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

JAVA
104
字号
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.word11;import com.jacob.com.*;public class CaptionLabel extends Dispatch {	public static final String componentName = "Word.CaptionLabel";	public CaptionLabel() {		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 CaptionLabel(Dispatch d) {		// take over the IDispatch pointer		m_pDispatch = d.m_pDispatch;		// null out the input's pointer		d.m_pDispatch = 0;	}	public CaptionLabel(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 String getName() {		return Dispatch.get(this, "Name").toString();	}	public boolean getBuiltIn() {		return Dispatch.get(this, "BuiltIn").toBoolean();	}	public int getID() {		return Dispatch.get(this, "ID").toInt();	}	public boolean getIncludeChapterNumber() {		return Dispatch.get(this, "IncludeChapterNumber").toBoolean();	}	public void setIncludeChapterNumber(boolean lastParam) {		Dispatch.put(this, "IncludeChapterNumber", new Variant(lastParam));	}	public int getNumberStyle() {		return Dispatch.get(this, "NumberStyle").toInt();	}	public void setNumberStyle(int lastParam) {		Dispatch.put(this, "NumberStyle", new Variant(lastParam));	}	public int getChapterStyleLevel() {		return Dispatch.get(this, "ChapterStyleLevel").toInt();	}	public void setChapterStyleLevel(int lastParam) {		Dispatch.put(this, "ChapterStyleLevel", new Variant(lastParam));	}	public int getSeparator() {		return Dispatch.get(this, "Separator").toInt();	}	public void setSeparator(int lastParam) {		Dispatch.put(this, "Separator", new Variant(lastParam));	}	public int getPosition() {		return Dispatch.get(this, "Position").toInt();	}	public void setPosition(int lastParam) {		Dispatch.put(this, "Position", new Variant(lastParam));	}	public void delete() {		Dispatch.call(this, "Delete");	}}

⌨️ 快捷键说明

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