⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 window.java

📁 将Excel和Word的类型库都转换过来了
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.word11;import com.jacob.com.*;public class Window extends Dispatch {	public static final String componentName = "Word.Window";	public Window() {		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 Window(Dispatch d) {		// take over the IDispatch pointer		m_pDispatch = d.m_pDispatch;		// null out the input's pointer		d.m_pDispatch = 0;	}	public Window(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 Pane getActivePane() {		return new Pane(Dispatch.get(this, "ActivePane").toDispatch());	}	public Document getDocument() {		return new Document(Dispatch.get(this, "Document").toDispatch());	}	public Panes getPanes() {		return new Panes(Dispatch.get(this, "Panes").toDispatch());	}	public Selection getSelection() {		return new Selection(Dispatch.get(this, "Selection").toDispatch());	}	public int getLeft() {		return Dispatch.get(this, "Left").toInt();	}	public void setLeft(int lastParam) {		Dispatch.put(this, "Left", new Variant(lastParam));	}	public int getTop() {		return Dispatch.get(this, "Top").toInt();	}	public void setTop(int lastParam) {		Dispatch.put(this, "Top", new Variant(lastParam));	}	public int getWidth() {		return Dispatch.get(this, "Width").toInt();	}	public void setWidth(int lastParam) {		Dispatch.put(this, "Width", new Variant(lastParam));	}	public int getHeight() {		return Dispatch.get(this, "Height").toInt();	}	public void setHeight(int lastParam) {		Dispatch.put(this, "Height", new Variant(lastParam));	}	public boolean getSplit() {		return Dispatch.get(this, "Split").toBoolean();	}	public void setSplit(boolean lastParam) {		Dispatch.put(this, "Split", new Variant(lastParam));	}	public int getSplitVertical() {		return Dispatch.get(this, "SplitVertical").toInt();	}	public void setSplitVertical(int lastParam) {		Dispatch.put(this, "SplitVertical", new Variant(lastParam));	}	public String getCaption() {		return Dispatch.get(this, "Caption").toString();	}	public void setCaption(String lastParam) {		Dispatch.put(this, "Caption", lastParam);	}	public int getWindowState() {		return Dispatch.get(this, "WindowState").toInt();	}	public void setWindowState(int lastParam) {		Dispatch.put(this, "WindowState", new Variant(lastParam));	}	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 View getView() {		return new View(Dispatch.get(this, "View").toDispatch());	}	public int getType() {		return Dispatch.get(this, "Type").toInt();	}	public Window getNext() {		return new Window(Dispatch.get(this, "Next").toDispatch());	}	public Window getPrevious() {		return new Window(Dispatch.get(this, "Previous").toDispatch());	}	public int getWindowNumber() {		return Dispatch.get(this, "WindowNumber").toInt();	}	public boolean getDisplayVerticalScrollBar() {		return Dispatch.get(this, "DisplayVerticalScrollBar").toBoolean();	}	public void setDisplayVerticalScrollBar(boolean lastParam) {		Dispatch.put(this, "DisplayVerticalScrollBar", new Variant(lastParam));	}	public boolean getDisplayHorizontalScrollBar() {		return Dispatch.get(this, "DisplayHorizontalScrollBar").toBoolean();	}	public void setDisplayHorizontalScrollBar(boolean lastParam) {		Dispatch.put(this, "DisplayHorizontalScrollBar", new Variant(lastParam));	}	public float getStyleAreaWidth() {		return Dispatch.get(this, "StyleAreaWidth").toFloat();	}	public void setStyleAreaWidth(float lastParam) {		Dispatch.put(this, "StyleAreaWidth", new Variant(lastParam));	}	public boolean getDisplayScreenTips() {		return Dispatch.get(this, "DisplayScreenTips").toBoolean();	}	public void setDisplayScreenTips(boolean lastParam) {		Dispatch.put(this, "DisplayScreenTips", new Variant(lastParam));	}	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 boolean getDocumentMap() {		return Dispatch.get(this, "DocumentMap").toBoolean();	}	public void setDocumentMap(boolean lastParam) {		Dispatch.put(this, "DocumentMap", new Variant(lastParam));	}	public boolean getActive() {		return Dispatch.get(this, "Active").toBoolean();	}	public int getDocumentMapPercentWidth() {		return Dispatch.get(this, "DocumentMapPercentWidth").toInt();	}	public void setDocumentMapPercentWidth(int lastParam) {		Dispatch.put(this, "DocumentMapPercentWidth", new Variant(lastParam));	}	public int getIndex() {		return Dispatch.get(this, "Index").toInt();	}	public int getIMEMode() {		return Dispatch.get(this, "IMEMode").toInt();	}	public void setIMEMode(int lastParam) {		Dispatch.put(this, "IMEMode", new Variant(lastParam));	}	public void activate() {		Dispatch.call(this, "Activate");	}	public void close(Variant saveChanges, Variant lastParam) {		Dispatch.call(this, "Close", saveChanges, lastParam);	}	public void close(Variant saveChanges) {		Dispatch.call(this, "Close", saveChanges);	}	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 Window newWindow() {		return new Window(Dispatch.call(this, "NewWindow").toDispatch());

⌨️ 快捷键说明

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