📄 selection.java
字号:
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.word11;import com.jacob.com.*;public class Selection extends Dispatch { public static final String componentName = "Word.Selection"; public Selection() { 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 Selection(Dispatch d) { // take over the IDispatch pointer m_pDispatch = d.m_pDispatch; // null out the input's pointer d.m_pDispatch = 0; } public Selection(String compName) { super(compName); } public String getText() { return Dispatch.get(this, "Text").toString(); } public void setText(String lastParam) { Dispatch.put(this, "Text", lastParam); } public Range getFormattedText() { return new Range(Dispatch.get(this, "FormattedText").toDispatch()); } public void setFormattedText(Range lastParam) { Dispatch.put(this, "FormattedText", lastParam); } public int getStart() { return Dispatch.get(this, "Start").toInt(); } public void setStart(int lastParam) { Dispatch.put(this, "Start", new Variant(lastParam)); } public int getEnd() { return Dispatch.get(this, "End").toInt(); } public void setEnd(int lastParam) { Dispatch.put(this, "End", new Variant(lastParam)); } public Font getFont() { return new Font(Dispatch.get(this, "Font").toDispatch()); } public void setFont(Font lastParam) { Dispatch.put(this, "Font", lastParam); } public int getType() { return Dispatch.get(this, "Type").toInt(); } public int getStoryType() { return Dispatch.get(this, "StoryType").toInt(); } public Variant getStyle() { return Dispatch.get(this, "Style"); } public void setStyle(Variant lastParam) { Dispatch.put(this, "Style", lastParam); } public Tables getTables() { return new Tables(Dispatch.get(this, "Tables").toDispatch()); } public Words getWords() { return new Words(Dispatch.get(this, "Words").toDispatch()); } public Sentences getSentences() { return new Sentences(Dispatch.get(this, "Sentences").toDispatch()); } public Characters getCharacters() { return new Characters(Dispatch.get(this, "Characters").toDispatch()); } public Footnotes getFootnotes() { return new Footnotes(Dispatch.get(this, "Footnotes").toDispatch()); } public Endnotes getEndnotes() { return new Endnotes(Dispatch.get(this, "Endnotes").toDispatch()); } public Comments getComments() { return new Comments(Dispatch.get(this, "Comments").toDispatch()); } public Cells getCells() { return new Cells(Dispatch.get(this, "Cells").toDispatch()); } public Sections getSections() { return new Sections(Dispatch.get(this, "Sections").toDispatch()); } public Paragraphs getParagraphs() { return new Paragraphs(Dispatch.get(this, "Paragraphs").toDispatch()); } public Borders getBorders() { return new Borders(Dispatch.get(this, "Borders").toDispatch()); } public void setBorders(Borders lastParam) { Dispatch.put(this, "Borders", lastParam); } public Shading getShading() { return new Shading(Dispatch.get(this, "Shading").toDispatch()); } public Fields getFields() { return new Fields(Dispatch.get(this, "Fields").toDispatch()); } public FormFields getFormFields() { return new FormFields(Dispatch.get(this, "FormFields").toDispatch()); } public Frames getFrames() { return new Frames(Dispatch.get(this, "Frames").toDispatch()); } public ParagraphFormat getParagraphFormat() { return new ParagraphFormat(Dispatch.get(this, "ParagraphFormat").toDispatch()); } public void setParagraphFormat(ParagraphFormat lastParam) { Dispatch.put(this, "ParagraphFormat", lastParam); } public PageSetup getPageSetup() { return new PageSetup(Dispatch.get(this, "PageSetup").toDispatch()); } public void setPageSetup(PageSetup lastParam) { Dispatch.put(this, "PageSetup", lastParam); } public Bookmarks getBookmarks() { return new Bookmarks(Dispatch.get(this, "Bookmarks").toDispatch()); } public int getStoryLength() { return Dispatch.get(this, "StoryLength").toInt(); } public int getLanguageID() { return Dispatch.get(this, "LanguageID").toInt(); } public void setLanguageID(int lastParam) { Dispatch.put(this, "LanguageID", new Variant(lastParam)); } public int getLanguageIDFarEast() { return Dispatch.get(this, "LanguageIDFarEast").toInt(); } public void setLanguageIDFarEast(int lastParam) { Dispatch.put(this, "LanguageIDFarEast", new Variant(lastParam)); } public int getLanguageIDOther() { return Dispatch.get(this, "LanguageIDOther").toInt(); } public void setLanguageIDOther(int lastParam) { Dispatch.put(this, "LanguageIDOther", new Variant(lastParam)); } public Hyperlinks getHyperlinks() { return new Hyperlinks(Dispatch.get(this, "Hyperlinks").toDispatch()); } public Columns getColumns() { return new Columns(Dispatch.get(this, "Columns").toDispatch()); } public Rows getRows() { return new Rows(Dispatch.get(this, "Rows").toDispatch()); } public HeaderFooter getHeaderFooter() { return new HeaderFooter(Dispatch.get(this, "HeaderFooter").toDispatch()); } public boolean getIsEndOfRowMark() { return Dispatch.get(this, "IsEndOfRowMark").toBoolean(); } public int getBookmarkID() { return Dispatch.get(this, "BookmarkID").toInt(); } public int getPreviousBookmarkID() { return Dispatch.get(this, "PreviousBookmarkID").toInt(); } public Find getFind() { return new Find(Dispatch.get(this, "Find").toDispatch()); } public Range getRange() { return new Range(Dispatch.get(this, "Range").toDispatch()); } public Variant getInformation(int lastParam) { return Dispatch.call(this, "Information", new Variant(lastParam)); } public int getFlags() { return Dispatch.get(this, "Flags").toInt(); } public void setFlags(int lastParam) { Dispatch.put(this, "Flags", new Variant(lastParam)); } public boolean getActive() { return Dispatch.get(this, "Active").toBoolean(); } public boolean getStartIsActive() { return Dispatch.get(this, "StartIsActive").toBoolean(); } public void setStartIsActive(boolean lastParam) { Dispatch.put(this, "StartIsActive", new Variant(lastParam)); } public boolean getIPAtEndOfLine() { return Dispatch.get(this, "IPAtEndOfLine").toBoolean(); } public boolean getExtendMode() { return Dispatch.get(this, "ExtendMode").toBoolean(); } public void setExtendMode(boolean lastParam) { Dispatch.put(this, "ExtendMode", new Variant(lastParam)); } public boolean getColumnSelectMode() { return Dispatch.get(this, "ColumnSelectMode").toBoolean(); } public void setColumnSelectMode(boolean lastParam) { Dispatch.put(this, "ColumnSelectMode", new Variant(lastParam)); } public int getOrientation() { return Dispatch.get(this, "Orientation").toInt(); } public void setOrientation(int lastParam) { Dispatch.put(this, "Orientation", new Variant(lastParam)); } public InlineShapes getInlineShapes() { return new InlineShapes(Dispatch.get(this, "InlineShapes").toDispatch()); } public Application getApplication() { return new Application(Dispatch.get(this, "Application").toDispatch()); }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -