language.java
来自「将Excel和Word的类型库都转换过来了」· Java 代码 · 共 96 行
JAVA
96 行
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.word11;import com.jacob.com.*;public class Language extends Dispatch { public static final String componentName = "Word.Language"; public Language() { 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 Language(Dispatch d) { // take over the IDispatch pointer m_pDispatch = d.m_pDispatch; // null out the input's pointer d.m_pDispatch = 0; } public Language(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 int getID() { return Dispatch.get(this, "ID").toInt(); } public String getNameLocal() { return Dispatch.get(this, "NameLocal").toString(); } public String getName() { return Dispatch.get(this, "Name").toString(); } public Dictionary getActiveGrammarDictionary() { return new Dictionary(Dispatch.get(this, "ActiveGrammarDictionary").toDispatch()); } public Dictionary getActiveHyphenationDictionary() { return new Dictionary(Dispatch.get(this, "ActiveHyphenationDictionary").toDispatch()); } public Dictionary getActiveSpellingDictionary() { return new Dictionary(Dispatch.get(this, "ActiveSpellingDictionary").toDispatch()); } public Dictionary getActiveThesaurusDictionary() { return new Dictionary(Dispatch.get(this, "ActiveThesaurusDictionary").toDispatch()); } public String getDefaultWritingStyle() { return Dispatch.get(this, "DefaultWritingStyle").toString(); } public void setDefaultWritingStyle(String lastParam) { Dispatch.put(this, "DefaultWritingStyle", lastParam); } public Variant getWritingStyleList() { return Dispatch.get(this, "WritingStyleList"); } public int getSpellingDictionaryType() { return Dispatch.get(this, "SpellingDictionaryType").toInt(); } public void setSpellingDictionaryType(int lastParam) { Dispatch.put(this, "SpellingDictionaryType", new Variant(lastParam)); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?