defaultweboptions.java
来自「将Excel和Word的类型库都转换过来了」· Java 代码 · 共 184 行
JAVA
184 行
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.word11;import com.jacob.com.*;public class DefaultWebOptions extends Dispatch { public static final String componentName = "Word.DefaultWebOptions"; public DefaultWebOptions() { 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 DefaultWebOptions(Dispatch d) { // take over the IDispatch pointer m_pDispatch = d.m_pDispatch; // null out the input's pointer d.m_pDispatch = 0; } public DefaultWebOptions(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 getUpdateLinksOnSave() { return Dispatch.get(this, "UpdateLinksOnSave").toBoolean(); } public void setUpdateLinksOnSave(boolean lastParam) { Dispatch.put(this, "UpdateLinksOnSave", 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 getCheckIfOfficeIsHTMLEditor() { return Dispatch.get(this, "CheckIfOfficeIsHTMLEditor").toBoolean(); } public void setCheckIfOfficeIsHTMLEditor(boolean lastParam) { Dispatch.put(this, "CheckIfOfficeIsHTMLEditor", new Variant(lastParam)); } public boolean getCheckIfWordIsDefaultHTMLEditor() { return Dispatch.get(this, "CheckIfWordIsDefaultHTMLEditor").toBoolean(); } public void setCheckIfWordIsDefaultHTMLEditor(boolean lastParam) { Dispatch.put(this, "CheckIfWordIsDefaultHTMLEditor", 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 boolean getAlwaysSaveInDefaultEncoding() { return Dispatch.get(this, "AlwaysSaveInDefaultEncoding").toBoolean(); } public void setAlwaysSaveInDefaultEncoding(boolean lastParam) { Dispatch.put(this, "AlwaysSaveInDefaultEncoding", new Variant(lastParam)); } public org.nethawker.office11.WebPageFonts getFonts() { return new org.nethawker.office11.WebPageFonts(Dispatch.get(this, "Fonts").toDispatch()); } public String getFolderSuffix() { return Dispatch.get(this, "FolderSuffix").toString(); } public int getTargetBrowser() { return Dispatch.get(this, "TargetBrowser").toInt(); } public void setTargetBrowser(int lastParam) { Dispatch.put(this, "TargetBrowser", new Variant(lastParam)); } public boolean getSaveNewWebPagesAsWebArchives() { return Dispatch.get(this, "SaveNewWebPagesAsWebArchives").toBoolean(); } public void setSaveNewWebPagesAsWebArchives(boolean lastParam) { Dispatch.put(this, "SaveNewWebPagesAsWebArchives", new Variant(lastParam)); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?