weboptions.java

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

JAVA
144
字号
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.word11;import com.jacob.com.*;public class WebOptions extends Dispatch {	public static final String componentName = "Word.WebOptions";	public WebOptions() {		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 WebOptions(Dispatch d) {		// take over the IDispatch pointer		m_pDispatch = d.m_pDispatch;		// null out the input's pointer		d.m_pDispatch = 0;	}	public WebOptions(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 boolean getOptimizeForBrowser() {		return Dispatch.get(this, "OptimizeForBrowser").toBoolean();	}	public void setOptimizeForBrowser(boolean lastParam) {		Dispatch.put(this, "OptimizeForBrowser", new Variant(lastParam));	}	public int getBrowserLevel() {		return Dispatch.get(this, "BrowserLevel").toInt();	}	public void setBrowserLevel(int lastParam) {		Dispatch.put(this, "BrowserLevel", new Variant(lastParam));	}	public boolean getRelyOnCSS() {		return Dispatch.get(this, "RelyOnCSS").toBoolean();	}	public void setRelyOnCSS(boolean lastParam) {		Dispatch.put(this, "RelyOnCSS", new Variant(lastParam));	}	public boolean getOrganizeInFolder() {		return Dispatch.get(this, "OrganizeInFolder").toBoolean();	}	public void setOrganizeInFolder(boolean lastParam) {		Dispatch.put(this, "OrganizeInFolder", new Variant(lastParam));	}	public boolean getUseLongFileNames() {		return Dispatch.get(this, "UseLongFileNames").toBoolean();	}	public void setUseLongFileNames(boolean lastParam) {		Dispatch.put(this, "UseLongFileNames", new Variant(lastParam));	}	public boolean getRelyOnVML() {		return Dispatch.get(this, "RelyOnVML").toBoolean();	}	public void setRelyOnVML(boolean lastParam) {		Dispatch.put(this, "RelyOnVML", new Variant(lastParam));	}	public boolean getAllowPNG() {		return Dispatch.get(this, "AllowPNG").toBoolean();	}	public void setAllowPNG(boolean lastParam) {		Dispatch.put(this, "AllowPNG", new Variant(lastParam));	}	public int getScreenSize() {		return Dispatch.get(this, "ScreenSize").toInt();	}	public void setScreenSize(int lastParam) {		Dispatch.put(this, "ScreenSize", new Variant(lastParam));	}	public int getPixelsPerInch() {		return Dispatch.get(this, "PixelsPerInch").toInt();	}	public void setPixelsPerInch(int lastParam) {		Dispatch.put(this, "PixelsPerInch", new Variant(lastParam));	}	public int getEncoding() {		return Dispatch.get(this, "Encoding").toInt();	}	public void setEncoding(int lastParam) {		Dispatch.put(this, "Encoding", new Variant(lastParam));	}	public String getFolderSuffix() {		return Dispatch.get(this, "FolderSuffix").toString();	}	public void useDefaultFolderSuffix() {		Dispatch.call(this, "UseDefaultFolderSuffix");	}	public int getTargetBrowser() {		return Dispatch.get(this, "TargetBrowser").toInt();	}	public void setTargetBrowser(int lastParam) {		Dispatch.put(this, "TargetBrowser", new Variant(lastParam));	}}

⌨️ 快捷键说明

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