tabstop.java
来自「将Excel和Word的类型库都转换过来了」· Java 代码 · 共 88 行
JAVA
88 行
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.word11;import com.jacob.com.*;public class TabStop extends Dispatch { public static final String componentName = "Word.TabStop"; public TabStop() { 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 TabStop(Dispatch d) { // take over the IDispatch pointer m_pDispatch = d.m_pDispatch; // null out the input's pointer d.m_pDispatch = 0; } public TabStop(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 getAlignment() { return Dispatch.get(this, "Alignment").toInt(); } public void setAlignment(int lastParam) { Dispatch.put(this, "Alignment", new Variant(lastParam)); } public int getLeader() { return Dispatch.get(this, "Leader").toInt(); } public void setLeader(int lastParam) { Dispatch.put(this, "Leader", new Variant(lastParam)); } public float getPosition() { return Dispatch.get(this, "Position").toFloat(); } public void setPosition(float lastParam) { Dispatch.put(this, "Position", new Variant(lastParam)); } public boolean getCustomTab() { return Dispatch.get(this, "CustomTab").toBoolean(); } public TabStop getNext() { return new TabStop(Dispatch.get(this, "Next").toDispatch()); } public TabStop getPrevious() { return new TabStop(Dispatch.get(this, "Previous").toDispatch()); } public void clear() { Dispatch.call(this, "Clear"); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?