pane.java

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

JAVA
208
字号
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.word11;import com.jacob.com.*;public class Pane extends Dispatch {	public static final String componentName = "Word.Pane";	public Pane() {		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 Pane(Dispatch d) {		// take over the IDispatch pointer		m_pDispatch = d.m_pDispatch;		// null out the input's pointer		d.m_pDispatch = 0;	}	public Pane(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 Document getDocument() {		return new Document(Dispatch.get(this, "Document").toDispatch());	}	public Selection getSelection() {		return new Selection(Dispatch.get(this, "Selection").toDispatch());	}	public boolean getDisplayRulers() {		return Dispatch.get(this, "DisplayRulers").toBoolean();	}	public void setDisplayRulers(boolean lastParam) {		Dispatch.put(this, "DisplayRulers", new Variant(lastParam));	}	public boolean getDisplayVerticalRuler() {		return Dispatch.get(this, "DisplayVerticalRuler").toBoolean();	}	public void setDisplayVerticalRuler(boolean lastParam) {		Dispatch.put(this, "DisplayVerticalRuler", new Variant(lastParam));	}	public Zooms getZooms() {		return new Zooms(Dispatch.get(this, "Zooms").toDispatch());	}	public int getIndex() {		return Dispatch.get(this, "Index").toInt();	}	public View getView() {		return new View(Dispatch.get(this, "View").toDispatch());	}	public Pane getNext() {		return new Pane(Dispatch.get(this, "Next").toDispatch());	}	public Pane getPrevious() {		return new Pane(Dispatch.get(this, "Previous").toDispatch());	}	public int getHorizontalPercentScrolled() {		return Dispatch.get(this, "HorizontalPercentScrolled").toInt();	}	public void setHorizontalPercentScrolled(int lastParam) {		Dispatch.put(this, "HorizontalPercentScrolled", new Variant(lastParam));	}	public int getVerticalPercentScrolled() {		return Dispatch.get(this, "VerticalPercentScrolled").toInt();	}	public void setVerticalPercentScrolled(int lastParam) {		Dispatch.put(this, "VerticalPercentScrolled", new Variant(lastParam));	}	public int getMinimumFontSize() {		return Dispatch.get(this, "MinimumFontSize").toInt();	}	public void setMinimumFontSize(int lastParam) {		Dispatch.put(this, "MinimumFontSize", new Variant(lastParam));	}	public boolean getBrowseToWindow() {		return Dispatch.get(this, "BrowseToWindow").toBoolean();	}	public void setBrowseToWindow(boolean lastParam) {		Dispatch.put(this, "BrowseToWindow", new Variant(lastParam));	}	public int getBrowseWidth() {		return Dispatch.get(this, "BrowseWidth").toInt();	}	public void activate() {		Dispatch.call(this, "Activate");	}	public void close() {		Dispatch.call(this, "Close");	}	public void largeScroll(Variant down, Variant up, Variant toRight, Variant lastParam) {		Dispatch.call(this, "LargeScroll", down, up, toRight, lastParam);	}	public void largeScroll(Variant down, Variant up, Variant toRight) {		Dispatch.call(this, "LargeScroll", down, up, toRight);	}	public void largeScroll(Variant down, Variant up) {		Dispatch.call(this, "LargeScroll", down, up);	}	public void largeScroll(Variant down) {		Dispatch.call(this, "LargeScroll", down);	}	public void largeScroll() {		Dispatch.call(this, "LargeScroll");	}	public void smallScroll(Variant down, Variant up, Variant toRight, Variant lastParam) {		Dispatch.call(this, "SmallScroll", down, up, toRight, lastParam);	}	public void smallScroll(Variant down, Variant up, Variant toRight) {		Dispatch.call(this, "SmallScroll", down, up, toRight);	}	public void smallScroll(Variant down, Variant up) {		Dispatch.call(this, "SmallScroll", down, up);	}	public void smallScroll(Variant down) {		Dispatch.call(this, "SmallScroll", down);	}	public void smallScroll() {		Dispatch.call(this, "SmallScroll");	}	public void autoScroll(int lastParam) {		Dispatch.call(this, "AutoScroll", new Variant(lastParam));	}	public void pageScroll(Variant down, Variant lastParam) {		Dispatch.call(this, "PageScroll", down, lastParam);	}	public void pageScroll(Variant down) {		Dispatch.call(this, "PageScroll", down);	}	public void pageScroll() {		Dispatch.call(this, "PageScroll");	}	public void newFrameset() {		Dispatch.call(this, "NewFrameset");	}	public void tOCInFrameset() {		Dispatch.call(this, "TOCInFrameset");	}	public Frameset getFrameset() {		return new Frameset(Dispatch.get(this, "Frameset").toDispatch());	}	public Pages getPages() {		return new Pages(Dispatch.get(this, "Pages").toDispatch());	}}

⌨️ 快捷键说明

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