index.java

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

JAVA
132
字号
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.word11;import com.jacob.com.*;public class Index extends Dispatch {	public static final String componentName = "Word.Index";	public Index() {		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 Index(Dispatch d) {		// take over the IDispatch pointer		m_pDispatch = d.m_pDispatch;		// null out the input's pointer		d.m_pDispatch = 0;	}	public Index(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 int getHeadingSeparator() {		return Dispatch.get(this, "HeadingSeparator").toInt();	}	public void setHeadingSeparator(int lastParam) {		Dispatch.put(this, "HeadingSeparator", new Variant(lastParam));	}	public boolean getRightAlignPageNumbers() {		return Dispatch.get(this, "RightAlignPageNumbers").toBoolean();	}	public void setRightAlignPageNumbers(boolean lastParam) {		Dispatch.put(this, "RightAlignPageNumbers", new Variant(lastParam));	}	public int getType() {		return Dispatch.get(this, "Type").toInt();	}	public void setType(int lastParam) {		Dispatch.put(this, "Type", new Variant(lastParam));	}	public int getNumberOfColumns() {		return Dispatch.get(this, "NumberOfColumns").toInt();	}	public void setNumberOfColumns(int lastParam) {		Dispatch.put(this, "NumberOfColumns", new Variant(lastParam));	}	public Range getRange() {		return new Range(Dispatch.get(this, "Range").toDispatch());	}	public int getTabLeader() {		return Dispatch.get(this, "TabLeader").toInt();	}	public void setTabLeader(int lastParam) {		Dispatch.put(this, "TabLeader", new Variant(lastParam));	}	public boolean getAccentedLetters() {		return Dispatch.get(this, "AccentedLetters").toBoolean();	}	public void setAccentedLetters(boolean lastParam) {		Dispatch.put(this, "AccentedLetters", new Variant(lastParam));	}	public int getSortBy() {		return Dispatch.get(this, "SortBy").toInt();	}	public void setSortBy(int lastParam) {		Dispatch.put(this, "SortBy", new Variant(lastParam));	}	public int getFilter() {		return Dispatch.get(this, "Filter").toInt();	}	public void setFilter(int lastParam) {		Dispatch.put(this, "Filter", new Variant(lastParam));	}	public void delete() {		Dispatch.call(this, "Delete");	}	public void update() {		Dispatch.call(this, "Update");	}	public int getIndexLanguage() {		return Dispatch.get(this, "IndexLanguage").toInt();	}	public void setIndexLanguage(int lastParam) {		Dispatch.put(this, "IndexLanguage", new Variant(lastParam));	}}

⌨️ 快捷键说明

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