sections.java

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

JAVA
88
字号
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.word11;import com.jacob.com.*;public class Sections extends Dispatch {	public static final String componentName = "Word.Sections";	public Sections() {		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 Sections(Dispatch d) {		// take over the IDispatch pointer		m_pDispatch = d.m_pDispatch;		// null out the input's pointer		d.m_pDispatch = 0;	}	public Sections(String compName) {		super(compName);	}	public Variant get_NewEnum() {		return Dispatch.get(this, "_NewEnum");	}	public int getCount() {		return Dispatch.get(this, "Count").toInt();	}	public Section getFirst() {		return new Section(Dispatch.get(this, "First").toDispatch());	}	public Section getLast() {		return new Section(Dispatch.get(this, "Last").toDispatch());	}	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 PageSetup getPageSetup() {		return new PageSetup(Dispatch.get(this, "PageSetup").toDispatch());	}	public void setPageSetup(PageSetup lastParam) {		Dispatch.put(this, "PageSetup", lastParam);	}	public Section item(int lastParam) {		return new Section(Dispatch.call(this, "Item", new Variant(lastParam)).toDispatch());	}	public Section add(Variant range, Variant lastParam) {		return new Section(Dispatch.call(this, "Add", range, lastParam).toDispatch());	}	public Section add(Variant range) {		return new Section(Dispatch.call(this, "Add", range).toDispatch());	}	public Section add() {		return new Section(Dispatch.call(this, "Add").toDispatch());	}}

⌨️ 快捷键说明

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