⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 paragraph.java

📁 将Excel和Word的类型库都转换过来了
💻 JAVA
字号:
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.word11;import com.jacob.com.*;public class Paragraph extends Dispatch {	public static final String componentName = "Word.Paragraph";	public Paragraph() {		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 Paragraph(Dispatch d) {		// take over the IDispatch pointer		m_pDispatch = d.m_pDispatch;		// null out the input's pointer		d.m_pDispatch = 0;	}	public Paragraph(String compName) {		super(compName);	}	public Range getRange() {		return new Range(Dispatch.get(this, "Range").toDispatch());	}	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 ParagraphFormat getFormat() {		return new ParagraphFormat(Dispatch.get(this, "Format").toDispatch());	}	public void setFormat(ParagraphFormat lastParam) {		Dispatch.put(this, "Format", lastParam);	}	public TabStops getTabStops() {		return new TabStops(Dispatch.get(this, "TabStops").toDispatch());	}	public void setTabStops(TabStops lastParam) {		Dispatch.put(this, "TabStops", lastParam);	}	public Borders getBorders() {		return new Borders(Dispatch.get(this, "Borders").toDispatch());	}	public void setBorders(Borders lastParam) {		Dispatch.put(this, "Borders", lastParam);	}	public DropCap getDropCap() {		return new DropCap(Dispatch.get(this, "DropCap").toDispatch());	}	public Variant getStyle() {		return Dispatch.get(this, "Style");	}	public void setStyle(Variant lastParam) {		Dispatch.put(this, "Style", lastParam);	}	public int getAlignment() {		return Dispatch.get(this, "Alignment").toInt();	}	public void setAlignment(int lastParam) {		Dispatch.put(this, "Alignment", new Variant(lastParam));	}	public int getKeepTogether() {		return Dispatch.get(this, "KeepTogether").toInt();	}	public void setKeepTogether(int lastParam) {		Dispatch.put(this, "KeepTogether", new Variant(lastParam));	}	public int getKeepWithNext() {		return Dispatch.get(this, "KeepWithNext").toInt();	}	public void setKeepWithNext(int lastParam) {		Dispatch.put(this, "KeepWithNext", new Variant(lastParam));	}	public int getPageBreakBefore() {		return Dispatch.get(this, "PageBreakBefore").toInt();	}	public void setPageBreakBefore(int lastParam) {		Dispatch.put(this, "PageBreakBefore", new Variant(lastParam));	}	public int getNoLineNumber() {		return Dispatch.get(this, "NoLineNumber").toInt();	}	public void setNoLineNumber(int lastParam) {		Dispatch.put(this, "NoLineNumber", new Variant(lastParam));	}	public float getRightIndent() {		return Dispatch.get(this, "RightIndent").toFloat();	}	public void setRightIndent(float lastParam) {		Dispatch.put(this, "RightIndent", new Variant(lastParam));	}	public float getLeftIndent() {		return Dispatch.get(this, "LeftIndent").toFloat();	}	public void setLeftIndent(float lastParam) {		Dispatch.put(this, "LeftIndent", new Variant(lastParam));	}	public float getFirstLineIndent() {		return Dispatch.get(this, "FirstLineIndent").toFloat();	}	public void setFirstLineIndent(float lastParam) {		Dispatch.put(this, "FirstLineIndent", new Variant(lastParam));	}	public float getLineSpacing() {		return Dispatch.get(this, "LineSpacing").toFloat();	}	public void setLineSpacing(float lastParam) {		Dispatch.put(this, "LineSpacing", new Variant(lastParam));	}	public int getLineSpacingRule() {		return Dispatch.get(this, "LineSpacingRule").toInt();	}	public void setLineSpacingRule(int lastParam) {		Dispatch.put(this, "LineSpacingRule", new Variant(lastParam));	}	public float getSpaceBefore() {		return Dispatch.get(this, "SpaceBefore").toFloat();	}	public void setSpaceBefore(float lastParam) {		Dispatch.put(this, "SpaceBefore", new Variant(lastParam));	}	public float getSpaceAfter() {		return Dispatch.get(this, "SpaceAfter").toFloat();	}	public void setSpaceAfter(float lastParam) {		Dispatch.put(this, "SpaceAfter", new Variant(lastParam));	}	public int getHyphenation() {		return Dispatch.get(this, "Hyphenation").toInt();	}	public void setHyphenation(int lastParam) {		Dispatch.put(this, "Hyphenation", new Variant(lastParam));	}	public int getWidowControl() {		return Dispatch.get(this, "WidowControl").toInt();	}	public void setWidowControl(int lastParam) {		Dispatch.put(this, "WidowControl", new Variant(lastParam));	}	public Shading getShading() {		return new Shading(Dispatch.get(this, "Shading").toDispatch());	}	public int getFarEastLineBreakControl() {		return Dispatch.get(this, "FarEastLineBreakControl").toInt();	}	public void setFarEastLineBreakControl(int lastParam) {		Dispatch.put(this, "FarEastLineBreakControl", new Variant(lastParam));	}	public int getWordWrap() {		return Dispatch.get(this, "WordWrap").toInt();	}	public void setWordWrap(int lastParam) {		Dispatch.put(this, "WordWrap", new Variant(lastParam));	}	public int getHangingPunctuation() {		return Dispatch.get(this, "HangingPunctuation").toInt();	}	public void setHangingPunctuation(int lastParam) {		Dispatch.put(this, "HangingPunctuation", new Variant(lastParam));	}	public int getHalfWidthPunctuationOnTopOfLine() {		return Dispatch.get(this, "HalfWidthPunctuationOnTopOfLine").toInt();	}	public void setHalfWidthPunctuationOnTopOfLine(int lastParam) {		Dispatch.put(this, "HalfWidthPunctuationOnTopOfLine", new Variant(lastParam));	}	public int getAddSpaceBetweenFarEastAndAlpha() {		return Dispatch.get(this, "AddSpaceBetweenFarEastAndAlpha").toInt();	}	public void setAddSpaceBetweenFarEastAndAlpha(int lastParam) {		Dispatch.put(this, "AddSpaceBetweenFarEastAndAlpha", new Variant(lastParam));	}	public int getAddSpaceBetweenFarEastAndDigit() {		return Dispatch.get(this, "AddSpaceBetweenFarEastAndDigit").toInt();	}	public void setAddSpaceBetweenFarEastAndDigit(int lastParam) {		Dispatch.put(this, "AddSpaceBetweenFarEastAndDigit", new Variant(lastParam));	}	public int getBaseLineAlignment() {		return Dispatch.get(this, "BaseLineAlignment").toInt();	}	public void setBaseLineAlignment(int lastParam) {		Dispatch.put(this, "BaseLineAlignment", new Variant(lastParam));	}	public int getAutoAdjustRightIndent() {		return Dispatch.get(this, "AutoAdjustRightIndent").toInt();	}	public void setAutoAdjustRightIndent(int lastParam) {		Dispatch.put(this, "AutoAdjustRightIndent", new Variant(lastParam));	}	public int getDisableLineHeightGrid() {		return Dispatch.get(this, "DisableLineHeightGrid").toInt();	}	public void setDisableLineHeightGrid(int lastParam) {		Dispatch.put(this, "DisableLineHeightGrid", new Variant(lastParam));	}	public int getOutlineLevel() {		return Dispatch.get(this, "OutlineLevel").toInt();	}	public void setOutlineLevel(int lastParam) {		Dispatch.put(this, "OutlineLevel", new Variant(lastParam));	}	public void closeUp() {		Dispatch.call(this, "CloseUp");	}	public void openUp() {		Dispatch.call(this, "OpenUp");	}	public void openOrCloseUp() {		Dispatch.call(this, "OpenOrCloseUp");	}	public void tabHangingIndent(short lastParam) {		Dispatch.call(this, "TabHangingIndent", new Variant(lastParam));	}	public void tabIndent(short lastParam) {		Dispatch.call(this, "TabIndent", new Variant(lastParam));	}	public void reset() {		Dispatch.call(this, "Reset");	}	public void space1() {		Dispatch.call(this, "Space1");	}	public void space15() {		Dispatch.call(this, "Space15");	}	public void space2() {		Dispatch.call(this, "Space2");	}	public void indentCharWidth(short lastParam) {		Dispatch.call(this, "IndentCharWidth", new Variant(lastParam));	}	public void indentFirstLineCharWidth(short lastParam) {		Dispatch.call(this, "IndentFirstLineCharWidth", new Variant(lastParam));	}	public Paragraph next(Variant lastParam) {		return new Paragraph(Dispatch.call(this, "Next", lastParam).toDispatch());	}	public Paragraph next() {		return new Paragraph(Dispatch.call(this, "Next").toDispatch());	}	public Paragraph previous(Variant lastParam) {		return new Paragraph(Dispatch.call(this, "Previous", lastParam).toDispatch());	}	public Paragraph previous() {		return new Paragraph(Dispatch.call(this, "Previous").toDispatch());	}	public void outlinePromote() {		Dispatch.call(this, "OutlinePromote");	}	public void outlineDemote() {		Dispatch.call(this, "OutlineDemote");	}	public void outlineDemoteToBody() {		Dispatch.call(this, "OutlineDemoteToBody");	}	public void indent() {		Dispatch.call(this, "Indent");	}	public void outdent() {		Dispatch.call(this, "Outdent");	}	public float getCharacterUnitRightIndent() {		return Dispatch.get(this, "CharacterUnitRightIndent").toFloat();	}	public void setCharacterUnitRightIndent(float lastParam) {		Dispatch.put(this, "CharacterUnitRightIndent", new Variant(lastParam));	}	public float getCharacterUnitLeftIndent() {		return Dispatch.get(this, "CharacterUnitLeftIndent").toFloat();	}	public void setCharacterUnitLeftIndent(float lastParam) {		Dispatch.put(this, "CharacterUnitLeftIndent", new Variant(lastParam));	}	public float getCharacterUnitFirstLineIndent() {		return Dispatch.get(this, "CharacterUnitFirstLineIndent").toFloat();	}	public void setCharacterUnitFirstLineIndent(float lastParam) {		Dispatch.put(this, "CharacterUnitFirstLineIndent", new Variant(lastParam));	}	public float getLineUnitBefore() {		return Dispatch.get(this, "LineUnitBefore").toFloat();	}	public void setLineUnitBefore(float lastParam) {		Dispatch.put(this, "LineUnitBefore", new Variant(lastParam));	}	public float getLineUnitAfter() {		return Dispatch.get(this, "LineUnitAfter").toFloat();	}	public void setLineUnitAfter(float lastParam) {		Dispatch.put(this, "LineUnitAfter", new Variant(lastParam));	}	public int getReadingOrder() {		return Dispatch.get(this, "ReadingOrder").toInt();	}	public void setReadingOrder(int lastParam) {		Dispatch.put(this, "ReadingOrder", new Variant(lastParam));	}	public String getID() {		return Dispatch.get(this, "ID").toString();	}	public void setID(String lastParam) {		Dispatch.put(this, "ID", lastParam);	}	public int getSpaceBeforeAuto() {		return Dispatch.get(this, "SpaceBeforeAuto").toInt();	}	public void setSpaceBeforeAuto(int lastParam) {		Dispatch.put(this, "SpaceBeforeAuto", new Variant(lastParam));	}	public int getSpaceAfterAuto() {		return Dispatch.get(this, "SpaceAfterAuto").toInt();	}	public void setSpaceAfterAuto(int lastParam) {		Dispatch.put(this, "SpaceAfterAuto", new Variant(lastParam));	}	public boolean getIsStyleSeparator() {		return Dispatch.get(this, "IsStyleSeparator").toBoolean();	}	public void selectNumber() {		Dispatch.call(this, "SelectNumber");	}}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -