📄 fields.java
字号:
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.word11;import com.jacob.com.*;public class Fields extends Dispatch { public static final String componentName = "Word.Fields"; public Fields() { 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 Fields(Dispatch d) { // take over the IDispatch pointer m_pDispatch = d.m_pDispatch; // null out the input's pointer d.m_pDispatch = 0; } public Fields(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 getCount() { return Dispatch.get(this, "Count").toInt(); } public int getLocked() { return Dispatch.get(this, "Locked").toInt(); } public void setLocked(int lastParam) { Dispatch.put(this, "Locked", new Variant(lastParam)); } public Variant get_NewEnum() { return Dispatch.get(this, "_NewEnum"); } public int item(int lastParam) { return Dispatch.call(this, "Item", new Variant(lastParam)).toInt(); } public void toggleShowCodes() { Dispatch.call(this, "ToggleShowCodes"); } public int update() { return Dispatch.call(this, "Update").toInt(); } public void unlink() { Dispatch.call(this, "Unlink"); } public void updateSource() { Dispatch.call(this, "UpdateSource"); } public int add(Range range, Variant type, Variant text, Variant lastParam) { return Dispatch.call(this, "Add", range, type, text, lastParam).toInt(); } public int add(Range range, Variant type, Variant text) { return Dispatch.call(this, "Add", range, type, text).toInt(); } public int add(Range range, Variant type) { return Dispatch.call(this, "Add", range, type).toInt(); } public int add(Range range) { return Dispatch.call(this, "Add", range).toInt(); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -