assistant.java

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

JAVA
276
字号
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.office11;import com.jacob.com.*;public class Assistant extends Dispatch {	public static final String componentName = "Office.Assistant";	public Assistant() {		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 Assistant(Dispatch d) {		// take over the IDispatch pointer		m_pDispatch = d.m_pDispatch;		// null out the input's pointer		d.m_pDispatch = 0;	}	public Assistant(String compName) {		super(compName);	}	public Object getApplication() {		return Dispatch.get(this, "Application");	}	public int getCreator() {		return Dispatch.get(this, "Creator").toInt();	}	public Object getParent() {		return Dispatch.get(this, "Parent");	}	public void move(int xLeft, int lastParam) {		Dispatch.call(this, "Move", new Variant(xLeft), new Variant(lastParam));	}	public void setTop(int lastParam) {		Dispatch.put(this, "Top", new Variant(lastParam));	}	public int getTop() {		return Dispatch.get(this, "Top").toInt();	}	public void setLeft(int lastParam) {		Dispatch.put(this, "Left", new Variant(lastParam));	}	public int getLeft() {		return Dispatch.get(this, "Left").toInt();	}	public void help() {		Dispatch.call(this, "Help");	}	public int startWizard(boolean on, String callback, int privateX, Variant animation, Variant customTeaser, Variant top, Variant left, Variant bottom, Variant lastParam) {		return Dispatch.callN(this, "StartWizard", new Object[] { new Variant(on), callback, new Variant(privateX), animation, customTeaser, top, left, bottom, lastParam}).toInt();	}	public int startWizard(boolean on, String callback, int privateX, Variant animation, Variant customTeaser, Variant top, Variant left, Variant bottom) {		return Dispatch.call(this, "StartWizard", new Variant(on), callback, new Variant(privateX), animation, customTeaser, top, left, bottom).toInt();	}	public int startWizard(boolean on, String callback, int privateX, Variant animation, Variant customTeaser, Variant top, Variant left) {		return Dispatch.call(this, "StartWizard", new Variant(on), callback, new Variant(privateX), animation, customTeaser, top, left).toInt();	}	public int startWizard(boolean on, String callback, int privateX, Variant animation, Variant customTeaser, Variant top) {		return Dispatch.call(this, "StartWizard", new Variant(on), callback, new Variant(privateX), animation, customTeaser, top).toInt();	}	public int startWizard(boolean on, String callback, int privateX, Variant animation, Variant customTeaser) {		return Dispatch.call(this, "StartWizard", new Variant(on), callback, new Variant(privateX), animation, customTeaser).toInt();	}	public int startWizard(boolean on, String callback, int privateX, Variant animation) {		return Dispatch.call(this, "StartWizard", new Variant(on), callback, new Variant(privateX), animation).toInt();	}	public int startWizard(boolean on, String callback, int privateX) {		return Dispatch.call(this, "StartWizard", new Variant(on), callback, new Variant(privateX)).toInt();	}	public void endWizard(int wizardID, boolean varfSuccess, Variant lastParam) {		Dispatch.call(this, "EndWizard", new Variant(wizardID), new Variant(varfSuccess), lastParam);	}	public void endWizard(int wizardID, boolean varfSuccess) {		Dispatch.call(this, "EndWizard", new Variant(wizardID), new Variant(varfSuccess));	}	public void activateWizard(int wizardID, int act, Variant lastParam) {		Dispatch.call(this, "ActivateWizard", new Variant(wizardID), new Variant(act), lastParam);	}	public void activateWizard(int wizardID, int act) {		Dispatch.call(this, "ActivateWizard", new Variant(wizardID), new Variant(act));	}	public void resetTips() {		Dispatch.call(this, "ResetTips");	}	public Balloon getNewBalloon() {		return new Balloon(Dispatch.get(this, "NewBalloon").toDispatch());	}	public int getBalloonError() {		return Dispatch.get(this, "BalloonError").toInt();	}	public boolean getVisible() {		return Dispatch.get(this, "Visible").toBoolean();	}	public void setVisible(boolean lastParam) {		Dispatch.put(this, "Visible", new Variant(lastParam));	}	public int getAnimation() {		return Dispatch.get(this, "Animation").toInt();	}	public void setAnimation(int lastParam) {		Dispatch.put(this, "Animation", new Variant(lastParam));	}	public boolean getReduced() {		return Dispatch.get(this, "Reduced").toBoolean();	}	public void setReduced(boolean lastParam) {		Dispatch.put(this, "Reduced", new Variant(lastParam));	}	public void setAssistWithHelp(boolean lastParam) {		Dispatch.put(this, "AssistWithHelp", new Variant(lastParam));	}	public boolean getAssistWithHelp() {		return Dispatch.get(this, "AssistWithHelp").toBoolean();	}	public void setAssistWithWizards(boolean lastParam) {		Dispatch.put(this, "AssistWithWizards", new Variant(lastParam));	}	public boolean getAssistWithWizards() {		return Dispatch.get(this, "AssistWithWizards").toBoolean();	}	public void setAssistWithAlerts(boolean lastParam) {		Dispatch.put(this, "AssistWithAlerts", new Variant(lastParam));	}	public boolean getAssistWithAlerts() {		return Dispatch.get(this, "AssistWithAlerts").toBoolean();	}	public void setMoveWhenInTheWay(boolean lastParam) {		Dispatch.put(this, "MoveWhenInTheWay", new Variant(lastParam));	}	public boolean getMoveWhenInTheWay() {		return Dispatch.get(this, "MoveWhenInTheWay").toBoolean();	}	public void setSounds(boolean lastParam) {		Dispatch.put(this, "Sounds", new Variant(lastParam));	}	public boolean getSounds() {		return Dispatch.get(this, "Sounds").toBoolean();	}	public void setFeatureTips(boolean lastParam) {		Dispatch.put(this, "FeatureTips", new Variant(lastParam));	}	public boolean getFeatureTips() {		return Dispatch.get(this, "FeatureTips").toBoolean();	}	public void setMouseTips(boolean lastParam) {		Dispatch.put(this, "MouseTips", new Variant(lastParam));	}	public boolean getMouseTips() {		return Dispatch.get(this, "MouseTips").toBoolean();	}	public void setKeyboardShortcutTips(boolean lastParam) {		Dispatch.put(this, "KeyboardShortcutTips", new Variant(lastParam));	}	public boolean getKeyboardShortcutTips() {		return Dispatch.get(this, "KeyboardShortcutTips").toBoolean();	}	public void setHighPriorityTips(boolean lastParam) {		Dispatch.put(this, "HighPriorityTips", new Variant(lastParam));	}	public boolean getHighPriorityTips() {		return Dispatch.get(this, "HighPriorityTips").toBoolean();	}	public void setTipOfDay(boolean lastParam) {		Dispatch.put(this, "TipOfDay", new Variant(lastParam));	}	public boolean getTipOfDay() {		return Dispatch.get(this, "TipOfDay").toBoolean();	}	public void setGuessHelp(boolean lastParam) {		Dispatch.put(this, "GuessHelp", new Variant(lastParam));	}	public boolean getGuessHelp() {		return Dispatch.get(this, "GuessHelp").toBoolean();	}	public void setSearchWhenProgramming(boolean lastParam) {		Dispatch.put(this, "SearchWhenProgramming", new Variant(lastParam));	}	public boolean getSearchWhenProgramming() {		return Dispatch.get(this, "SearchWhenProgramming").toBoolean();	}	public String getItem() {		return Dispatch.get(this, "Item").toString();	}	public String getFileName() {		return Dispatch.get(this, "FileName").toString();	}	public void setFileName(String lastParam) {		Dispatch.put(this, "FileName", lastParam);	}	public String getName() {		return Dispatch.get(this, "Name").toString();	}	public boolean getOn() {		return Dispatch.get(this, "On").toBoolean();	}	public void setOn(boolean lastParam) {		Dispatch.put(this, "On", new Variant(lastParam));	}	public int doAlert(String bstrAlertTitle, String bstrAlertText, int alb, int alc, int ald, int alq, boolean lastParam) {		return Dispatch.call(this, "DoAlert", bstrAlertTitle, bstrAlertText, new Variant(alb), new Variant(alc), new Variant(ald), new Variant(alq), new Variant(lastParam)).toInt();	}}

⌨️ 快捷键说明

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