headerfooter.java

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

JAVA
84
字号
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.word11;import com.jacob.com.*;public class HeaderFooter extends Dispatch {	public static final String componentName = "Word.HeaderFooter";	public HeaderFooter() {		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 HeaderFooter(Dispatch d) {		// take over the IDispatch pointer		m_pDispatch = d.m_pDispatch;		// null out the input's pointer		d.m_pDispatch = 0;	}	public HeaderFooter(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 Range getRange() {		return new Range(Dispatch.get(this, "Range").toDispatch());	}	public int getIndex() {		return Dispatch.get(this, "Index").toInt();	}	public boolean getIsHeader() {		return Dispatch.get(this, "IsHeader").toBoolean();	}	public boolean getExists() {		return Dispatch.get(this, "Exists").toBoolean();	}	public void setExists(boolean lastParam) {		Dispatch.put(this, "Exists", new Variant(lastParam));	}	public PageNumbers getPageNumbers() {		return new PageNumbers(Dispatch.get(this, "PageNumbers").toDispatch());	}	public boolean getLinkToPrevious() {		return Dispatch.get(this, "LinkToPrevious").toBoolean();	}	public void setLinkToPrevious(boolean lastParam) {		Dispatch.put(this, "LinkToPrevious", new Variant(lastParam));	}	public org.nethawker.office11.Shapes getShapes() {		return new org.nethawker.office11.Shapes(Dispatch.get(this, "Shapes").toDispatch());	}}

⌨️ 快捷键说明

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