|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.doc.OwnerHolder
com.spire.doc.documents.xml.DocumentSerializable
com.spire.doc.formatting.FormatBase
com.spire.doc.formatting.AttrCollection
com.spire.doc.formatting.WordAttrCollection
com.spire.doc.formatting.ParagraphFormat
public class ParagraphFormat
Constructor Summary | |
---|---|
ParagraphFormat()
Initializes a new instance of the |
|
ParagraphFormat(IDocument document)
Initializes a new instance of the |
Method Summary | |
---|---|
void |
clearBackground()
Clears paragraph background. |
boolean |
getAfterAutoSpacing()
Gets or sets a value indicating whether spacing after is automatic. |
float |
getAfterSpacing()
Returns or sets the spacing (in points) after the paragraph. |
float |
getAfterSpacingLines()
Gets or sets a value specifies the spacing that should be added after the last line in this paragraph in the document in line units. |
boolean |
getAutoSpaceDE()
Gets or sets the value that determines whether the space is automatically adjusted between Asian and Latin text. |
boolean |
getAutoSpaceDN()
Gets or sets the value that determines whether the space is automatically adjusted between Asian text and numbers. |
java.awt.Color |
getBackColor()
Gets or sets background color of the paragraph |
boolean |
getBeforeAutoSpacing()
Gets or sets a value indicating whether spacing before is automatic. |
float |
getBeforeSpacing()
Returns or sets the spacing (in points) before the paragraph. |
float |
getBeforeSpacingLines()
Gets or sets a value specifies the spacing that should be added before the first line in this paragraph in the document in line units. |
Borders |
getBorders()
Gets collection of borders in the paragraph |
float |
getFirstLineIndent()
Gets or sets the value(in points) for first line or hanging indent.Positive value represents first-line indent, and Negative value represents hanging indent. |
float |
getFirstLineIndentChars()
Gets or sets the value that represents the paragraph first line indent in character units. |
Frame |
getFrame()
|
HorizontalAlignment |
getHorizontalAlignment()
Returns or sets horizontal alignment for the paragraph. |
boolean |
getKeepFollow()
True if the paragraph is to remains on the same page as the paragraph that follows it. |
boolean |
getKeepLines()
True if all lines in the paragraph are to remain on the same page. |
float |
getLeftIndent()
Returns or set sthe value that represents the left indent for paragraph. |
float |
getLeftIndentChars()
Gets the value that represents the paragraph left indent in character units. |
float |
getLineSpacing()
Returns or sets line spacing property of the paragraph. |
LineSpacingRule |
getLineSpacingRule()
Returns or sets line spacing rule property of the paragraph. |
boolean |
getMirrorIndents()
Gets a value indicating whether indentation type is mirror indents. |
OutlineLevel |
getOutlineLevel()
Gets or sets the outline level. |
boolean |
getOverflowPunc()
Gets or set allow punctuation to extend past text extents. |
boolean |
getPageBreakAfter()
True if a page break is forced after the paragraph |
boolean |
getPageBreakBefore()
True if a page break is forced before the paragraph |
float |
getRightIndent()
Returns or sets the value that represents the right indent for paragraph. |
float |
getRightIndentChars()
Gets the value that represents the paragraph right indent in character units. |
boolean |
getSnapToGrid()
Gets or sets a value specifies whether the current paragraph snaps to grid when document grid is defined. |
boolean |
getSuppressAutoHyphens()
Indicates whether to suppress automatic hyphenation for the paragraph. |
TabCollection |
getTabs()
Gets the tabs info. |
TextAlignment |
getTextAlignment()
Gets or sets the style of textalignment |
boolean |
getWordWrap()
Gets or sets a value that determines whether allow Latin text to wrap in the middle of a word. |
boolean |
isBidi()
Returns or sets right-to-left property of the paragraph. |
void |
isBidi(boolean value)
Returns or sets right-to-left property of the paragraph. |
boolean |
isColumnBreakAfter()
True if a column break is forced after the paragraph |
void |
isColumnBreakAfter(boolean value)
True if a column break is forced after the paragraph |
boolean |
isFrame()
Gets a value indicating whether this instance is frame. |
boolean |
isKinSoku()
Get or Set a value that determines whether use Asian rules for controlling first and last characters. |
void |
isKinSoku(boolean value)
Get or Set a value that determines whether use Asian rules for controlling first and last characters. |
boolean |
isWidowControl()
True if the first and last lines in the paragraph are to remain on the same page as the rest of the paragraph. |
void |
isWidowControl(boolean value)
True if the first and last lines in the paragraph are to remain on the same page as the rest of the paragraph. |
void |
setAfterAutoSpacing(boolean value)
Gets or sets a value indicating whether spacing after is automatic. |
void |
setAfterSpacing(float value)
Returns or sets the spacing (in points) after the paragraph. |
void |
setAfterSpacingLines(float value)
Gets or sets a value specifies the spacing that should be added after the last line in this paragraph in the document in line units. |
void |
setAutoSpaceDE(boolean value)
Gets or sets the value that determines whether the space is automatically adjusted between Asian and Latin text. |
void |
setAutoSpaceDN(boolean value)
Gets or sets the value that determines whether the space is automatically adjusted between Asian text and numbers. |
void |
setBackColor(java.awt.Color value)
Gets or sets background color of the paragraph |
void |
setBeforeAutoSpacing(boolean value)
Gets or sets a value indicating whether spacing before is automatic. |
void |
setBeforeSpacing(float value)
Returns or sets the spacing (in points) before the paragraph. |
void |
setBeforeSpacingLines(float value)
Gets or sets a value specifies the spacing that should be added before the first line in this paragraph in the document in line units. |
void |
setFirstLineIndent(float value)
Gets or sets the value(in points) for first line or hanging indent.Positive value represents first-line indent, and Negative value represents hanging indent. |
void |
setFirstLineIndentChars(float value)
Gets or sets the value that represents the paragraph first line indent in character units. |
void |
setFirstLineIndentCharsEx(float firstLineIndentChars)
Sets the value that represents the first line indent chars for paragraph. |
void |
setFirstLineIndentEx(float firstLineIndent)
Sets the value that represents the first line indent for paragraph. |
void |
setHorizontalAlignment(HorizontalAlignment value)
Returns or sets horizontal alignment for the paragraph. |
void |
setKeepFollow(boolean value)
True if the paragraph is to remains on the same page as the paragraph that follows it. |
void |
setKeepLines(boolean value)
True if all lines in the paragraph are to remain on the same page. |
void |
setLeftIndent(float value)
Returns or set sthe value that represents the left indent for paragraph. |
void |
setLeftIndentChars(float value)
Sets the value that represents the paragraph left indent in character units. |
void |
setLeftIndentEx(float leftIndent)
Sets the value that represents the left indent for paragraph. |
void |
setLineSpacing(float value)
Returns or sets line spacing property of the paragraph. |
void |
setLineSpacingRule(LineSpacingRule value)
Returns or sets line spacing rule property of the paragraph. |
void |
setMirrorIndents(boolean value)
Gets a value indicating whether indentation type is mirror indents. |
void |
setOutlineLevel(OutlineLevel value)
Gets or sets the outline level. |
void |
setOverflowPunc(boolean value)
Gets or set allow punctuation to extend past text extents. |
void |
setPageBreakAfter(boolean value)
True if a page break is forced after the paragraph |
void |
setPageBreakBefore(boolean value)
True if a page break is forced before the paragraph |
void |
setRightIndent(float value)
Returns or sets the value that represents the right indent for paragraph. |
void |
setRightIndentChars(float value)
Sets the value that represents the paragraph right indent in character units. |
void |
setRightIndentEx(float rightIndent)
Sets the value that represents the right indent for paragraph. |
void |
setSnapToGrid(boolean value)
Gets or sets a value specifies whether the current paragraph snaps to grid when document grid is defined. |
void |
setSuppressAutoHyphens(boolean value)
Indicates whether to suppress automatic hyphenation for the paragraph. |
void |
setTextAlignment(TextAlignment value)
Gets or sets the style of textalignment |
void |
setWordWrap(boolean value)
Gets or sets a value that determines whether allow Latin text to wrap in the middle of a word. |
Methods inherited from class com.spire.doc.formatting.FormatBase |
---|
clearFormatting, hasKey, isDefault |
Methods inherited from class com.spire.doc.OwnerHolder |
---|
getDocument |
Constructor Detail |
---|
public ParagraphFormat()
public ParagraphFormat(IDocument document)
document
- The document.Method Detail |
---|
public boolean isKinSoku()
public void isKinSoku(boolean value)
public float getFirstLineIndentChars()
public void setFirstLineIndentChars(float value)
public float getLeftIndentChars()
public void setLeftIndentChars(float value)
public float getRightIndentChars()
public void setRightIndentChars(float value)
public boolean isBidi()
public void isBidi(boolean value)
public TabCollection getTabs()
public boolean getKeepLines()
public void setKeepLines(boolean value)
public boolean getKeepFollow()
public void setKeepFollow(boolean value)
public boolean getPageBreakBefore()
public void setPageBreakBefore(boolean value)
public boolean getPageBreakAfter()
public void setPageBreakAfter(boolean value)
public boolean isWidowControl()
public void isWidowControl(boolean value)
public boolean getAutoSpaceDN()
public void setAutoSpaceDN(boolean value)
public boolean getAutoSpaceDE()
public void setAutoSpaceDE(boolean value)
public HorizontalAlignment getHorizontalAlignment()
public void setHorizontalAlignment(HorizontalAlignment value)
public float getLeftIndent()
public void setLeftIndent(float value)
public float getRightIndent()
public void setRightIndent(float value)
public float getFirstLineIndent()
public void setFirstLineIndent(float value)
public float getBeforeSpacing()
public void setBeforeSpacing(float value)
public float getAfterSpacing()
public void setAfterSpacing(float value)
public Borders getBorders()
public java.awt.Color getBackColor()
public void setBackColor(java.awt.Color value)
public boolean isColumnBreakAfter()
public void isColumnBreakAfter(boolean value)
public float getLineSpacing()
public void setLineSpacing(float value)
public LineSpacingRule getLineSpacingRule()
public void setLineSpacingRule(LineSpacingRule value)
public boolean getBeforeAutoSpacing()
public void setBeforeAutoSpacing(boolean value)
public boolean getAfterAutoSpacing()
public void setAfterAutoSpacing(boolean value)
public boolean getSnapToGrid()
public void setSnapToGrid(boolean value)
public OutlineLevel getOutlineLevel()
public void setOutlineLevel(OutlineLevel value)
public boolean getOverflowPunc()
public void setOverflowPunc(boolean value)
public boolean isFrame()
public Frame getFrame()
public boolean getWordWrap()
public void setWordWrap(boolean value)
public float getBeforeSpacingLines()
public void setBeforeSpacingLines(float value)
public float getAfterSpacingLines()
public void setAfterSpacingLines(float value)
public TextAlignment getTextAlignment()
public void setTextAlignment(TextAlignment value)
public boolean getMirrorIndents()
public void setMirrorIndents(boolean value)
public boolean getSuppressAutoHyphens()
public void setSuppressAutoHyphens(boolean value)
public void setLeftIndentEx(float leftIndent)
leftIndent
- The left indent.public void setRightIndentEx(float rightIndent)
rightIndent
- The right indent.public void setFirstLineIndentEx(float firstLineIndent)
firstLineIndent
- The first line indent.public void setFirstLineIndentCharsEx(float firstLineIndentChars)
firstLineIndentChars
- The first line indent chars.public void clearBackground()
clearBackground
in class FormatBase
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |