_document.java
来自「将Excel和Word的类型库都转换过来了」· Java 代码 · 共 1,463 行 · 第 1/5 页
JAVA
1,463 行
public void setSaveSubsetFonts(boolean lastParam) { Dispatch.put(this, "SaveSubsetFonts", new Variant(lastParam)); } public boolean getCompatibility(int lastParam) { return Dispatch.call(this, "Compatibility", new Variant(lastParam)).toBoolean(); } public void setCompatibility(int type, boolean lastParam) { Dispatch.call(this, "Compatibility", new Variant(type), new Variant(lastParam)); } public StoryRanges getStoryRanges() { return new StoryRanges(Dispatch.get(this, "StoryRanges").toDispatch()); } public org.nethawker.office11.CommandBars getCommandBars() { return new org.nethawker.office11.CommandBars(Dispatch.get(this, "CommandBars").toDispatch()); } public boolean getIsSubdocument() { return Dispatch.get(this, "IsSubdocument").toBoolean(); } public int getSaveFormat() { return Dispatch.get(this, "SaveFormat").toInt(); } public int getProtectionType() { return Dispatch.get(this, "ProtectionType").toInt(); } public Hyperlinks getHyperlinks() { return new Hyperlinks(Dispatch.get(this, "Hyperlinks").toDispatch()); } public org.nethawker.office11.Shapes getShapes() { return new org.nethawker.office11.Shapes(Dispatch.get(this, "Shapes").toDispatch()); } public ListTemplates getListTemplates() { return new ListTemplates(Dispatch.get(this, "ListTemplates").toDispatch()); } public Lists getLists() { return new Lists(Dispatch.get(this, "Lists").toDispatch()); } public boolean getUpdateStylesOnOpen() { return Dispatch.get(this, "UpdateStylesOnOpen").toBoolean(); } public void setUpdateStylesOnOpen(boolean lastParam) { Dispatch.put(this, "UpdateStylesOnOpen", new Variant(lastParam)); } public Variant getAttachedTemplate() { return Dispatch.get(this, "AttachedTemplate"); } public void setAttachedTemplate(Variant lastParam) { Dispatch.put(this, "AttachedTemplate", lastParam); } public InlineShapes getInlineShapes() { return new InlineShapes(Dispatch.get(this, "InlineShapes").toDispatch()); } public org.nethawker.office11.Shape getBackground() { return new org.nethawker.office11.Shape(Dispatch.get(this, "Background").toDispatch()); } public void setBackground(org.nethawker.office11.Shape lastParam) { Dispatch.put(this, "Background", lastParam); } public boolean getGrammarChecked() { return Dispatch.get(this, "GrammarChecked").toBoolean(); } public void setGrammarChecked(boolean lastParam) { Dispatch.put(this, "GrammarChecked", new Variant(lastParam)); } public boolean getSpellingChecked() { return Dispatch.get(this, "SpellingChecked").toBoolean(); } public void setSpellingChecked(boolean lastParam) { Dispatch.put(this, "SpellingChecked", new Variant(lastParam)); } public boolean getShowGrammaticalErrors() { return Dispatch.get(this, "ShowGrammaticalErrors").toBoolean(); } public void setShowGrammaticalErrors(boolean lastParam) { Dispatch.put(this, "ShowGrammaticalErrors", new Variant(lastParam)); } public boolean getShowSpellingErrors() { return Dispatch.get(this, "ShowSpellingErrors").toBoolean(); } public void setShowSpellingErrors(boolean lastParam) { Dispatch.put(this, "ShowSpellingErrors", new Variant(lastParam)); } public Versions getVersions() { return new Versions(Dispatch.get(this, "Versions").toDispatch()); } public boolean getShowSummary() { return Dispatch.get(this, "ShowSummary").toBoolean(); } public void setShowSummary(boolean lastParam) { Dispatch.put(this, "ShowSummary", new Variant(lastParam)); } public int getSummaryViewMode() { return Dispatch.get(this, "SummaryViewMode").toInt(); } public void setSummaryViewMode(int lastParam) { Dispatch.put(this, "SummaryViewMode", new Variant(lastParam)); } public int getSummaryLength() { return Dispatch.get(this, "SummaryLength").toInt(); } public void setSummaryLength(int lastParam) { Dispatch.put(this, "SummaryLength", new Variant(lastParam)); } public boolean getPrintFractionalWidths() { return Dispatch.get(this, "PrintFractionalWidths").toBoolean(); } public void setPrintFractionalWidths(boolean lastParam) { Dispatch.put(this, "PrintFractionalWidths", new Variant(lastParam)); } public boolean getPrintPostScriptOverText() { return Dispatch.get(this, "PrintPostScriptOverText").toBoolean(); } public void setPrintPostScriptOverText(boolean lastParam) { Dispatch.put(this, "PrintPostScriptOverText", new Variant(lastParam)); } public Object getContainer() { return Dispatch.get(this, "Container"); } public boolean getPrintFormsData() { return Dispatch.get(this, "PrintFormsData").toBoolean(); } public void setPrintFormsData(boolean lastParam) { Dispatch.put(this, "PrintFormsData", new Variant(lastParam)); } public ListParagraphs getListParagraphs() { return new ListParagraphs(Dispatch.get(this, "ListParagraphs").toDispatch()); } public void setPassword(String lastParam) { Dispatch.put(this, "Password", lastParam); } public void setWritePassword(String lastParam) { Dispatch.put(this, "WritePassword", lastParam); } public boolean getHasPassword() { return Dispatch.get(this, "HasPassword").toBoolean(); } public boolean getWriteReserved() { return Dispatch.get(this, "WriteReserved").toBoolean(); } public String getActiveWritingStyle(Variant lastParam) { return Dispatch.call(this, "ActiveWritingStyle", lastParam).toString(); } public void setActiveWritingStyle(Variant languageID, String lastParam) { Dispatch.call(this, "ActiveWritingStyle", languageID, lastParam); } public boolean getUserControl() { return Dispatch.get(this, "UserControl").toBoolean(); } public void setUserControl(boolean lastParam) { Dispatch.put(this, "UserControl", new Variant(lastParam)); } public boolean getHasMailer() { return Dispatch.get(this, "HasMailer").toBoolean(); } public void setHasMailer(boolean lastParam) { Dispatch.put(this, "HasMailer", new Variant(lastParam)); } public Mailer getMailer() { return new Mailer(Dispatch.get(this, "Mailer").toDispatch()); } public ReadabilityStatistics getReadabilityStatistics() { return new ReadabilityStatistics(Dispatch.get(this, "ReadabilityStatistics").toDispatch()); } public ProofreadingErrors getGrammaticalErrors() { return new ProofreadingErrors(Dispatch.get(this, "GrammaticalErrors").toDispatch()); } public ProofreadingErrors getSpellingErrors() { return new ProofreadingErrors(Dispatch.get(this, "SpellingErrors").toDispatch()); } public VBProject getVBProject() { return new VBProject(Dispatch.get(this, "VBProject").toDispatch()); } public boolean getFormsDesign() { return Dispatch.get(this, "FormsDesign").toBoolean(); } public String get_CodeName() { return Dispatch.get(this, "_CodeName").toString(); } public void set_CodeName(String lastParam) { Dispatch.put(this, "_CodeName", lastParam); } public String getCodeName() { return Dispatch.get(this, "CodeName").toString(); } public boolean getSnapToGrid() { return Dispatch.get(this, "SnapToGrid").toBoolean(); } public void setSnapToGrid(boolean lastParam) { Dispatch.put(this, "SnapToGrid", new Variant(lastParam)); } public boolean getSnapToShapes() { return Dispatch.get(this, "SnapToShapes").toBoolean(); } public void setSnapToShapes(boolean lastParam) { Dispatch.put(this, "SnapToShapes", new Variant(lastParam)); } public float getGridDistanceHorizontal() { return Dispatch.get(this, "GridDistanceHorizontal").toFloat(); } public void setGridDistanceHorizontal(float lastParam) { Dispatch.put(this, "GridDistanceHorizontal", new Variant(lastParam)); } public float getGridDistanceVertical() { return Dispatch.get(this, "GridDistanceVertical").toFloat(); } public void setGridDistanceVertical(float lastParam) { Dispatch.put(this, "GridDistanceVertical", new Variant(lastParam)); } public float getGridOriginHorizontal() { return Dispatch.get(this, "GridOriginHorizontal").toFloat(); } public void setGridOriginHorizontal(float lastParam) { Dispatch.put(this, "GridOriginHorizontal", new Variant(lastParam)); } public float getGridOriginVertical() { return Dispatch.get(this, "GridOriginVertical").toFloat(); } public void setGridOriginVertical(float lastParam) { Dispatch.put(this, "GridOriginVertical", new Variant(lastParam)); }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?