|
|||||||||
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 class. |
|
ParagraphFormat(IDocument document)
Initializes a new instance of the ParagraphFormat class. |
Method Summary | |
---|---|
boolean |
getAfterAutoSpacing()
Gets a value indicating whether spacing after is automatic. |
float |
getAfterSpacing()
Returns the spacing (in points) after the paragraph. |
boolean |
getAutoSpaceDE()
Gets the value that determines whether the space is automatically adjusted between Asian and Latin text. |
boolean |
getAutoSpaceDN()
Gets the value that determines whether the space is automatically adjusted between Asian text and numbers. |
java.awt.Color |
getBackColor()
Gets background color of the paragraph |
boolean |
getBeforeAutoSpacing()
Gets a value indicating whether spacing before is automatic. |
float |
getBeforeSpacing()
Returns the spacing (in points) before the paragraph. |
Borders |
getBorders()
Gets collection of borders in the paragraph |
float |
getFirstLineIndent()
Gets first paragraph line indent |
HorizontalAlignment |
getHorizontalAlignment()
Returns 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 the value that represents the left indent for paragraph. |
float |
getLineSpacing()
Returns line spacing property of the paragraph. |
LineSpacingRule |
getLineSpacingRule()
Returns line spacing rule property of the paragraph. |
boolean |
getMirrorIndents()
Gets a value indicating whether indentation type is mirror indents. |
OutlineLevel |
getOutlineLevel()
Gets the outline level. |
boolean |
getOverflowPunc()
Gets 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 the value that represents the right indent for paragraph. |
boolean |
getSuppressAutoHyphens()
Indicates whether to suppress automatic hyphenation for the paragraph. |
TabCollection |
getTabs()
Gets the tabs info. |
TextAlignment |
getTextAlignment()
Gets the style of textalignment |
boolean |
isBidi()
Returns right-to-left property of the paragraph. |
void |
isBidi(boolean value)
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 a value that determines whether use Asian rules for controlling first and last characters. |
void |
isKinSoku(boolean value)
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)
Sets a value indicating whether spacing after is automatic. |
void |
setAfterSpacing(float value)
Sets the spacing (in points) after the paragraph. |
void |
setAutoSpaceDE(boolean value)
Sets the value that determines whether the space is automatically adjusted between Asian and Latin text. |
void |
setAutoSpaceDN(boolean value)
Sets the value that determines whether the space is automatically adjusted between Asian text and numbers. |
void |
setBackColor(java.awt.Color value)
Sets background color of the paragraph |
void |
setBeforeAutoSpacing(boolean value)
Sets a value indicating whether spacing before is automatic. |
void |
setBeforeSpacing(float value)
Sets the spacing (in points) before the paragraph. |
void |
setFirstLineIndent(float value)
Sets first paragraph line indent |
void |
setFirstLineIndentEx(float firstLineIndent)
Sets the value that represents the first line indent for paragraph. |
void |
setHorizontalAlignment(HorizontalAlignment value)
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)
Sets the value that represents the left indent for paragraph. |
void |
setLeftIndentEx(float leftIndent)
Sets the value that represents the left indent for paragraph. |
void |
setLineSpacing(float value)
Sets line spacing property of the paragraph. |
void |
setLineSpacingRule(LineSpacingRule value)
Sets line spacing rule property of the paragraph. |
void |
setMirrorIndents(boolean value)
Sets a value indicating whether indentation type is mirror indents. |
void |
setOutlineLevel(OutlineLevel value)
Sets the outline level. |
void |
setOverflowPunc(boolean value)
Sets 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)
Sets the value that represents the right indent for paragraph. |
void |
setRightIndentEx(float rightIndent)
Sets the value that represents the right indent for paragraph. |
void |
setSuppressAutoHyphens(boolean value)
Indicates whether to suppress automatic hyphenation for the paragraph. |
void |
setTextAlignment(TextAlignment value)
Sets the style of textalignment |
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()
ParagraphFormat
class.
public ParagraphFormat(IDocument document)
ParagraphFormat
class.
document
- IDocumentMethod Detail |
---|
public boolean isKinSoku()
public void isKinSoku(boolean value)
value
- booleanpublic boolean isBidi()
public void isBidi(boolean value)
value
- if bidi, set to true.public TabCollection getTabs()
public boolean getKeepLines()
public void setKeepLines(boolean value)
value
- KeepLinespublic boolean getKeepFollow()
public void setKeepFollow(boolean value)
value
- KeepFollowpublic boolean getPageBreakBefore()
public void setPageBreakBefore(boolean value)
value
- PageBreakBeforepublic boolean getPageBreakAfter()
public void setPageBreakAfter(boolean value)
value
- PageBreakAfterpublic boolean isWidowControl()
public void isWidowControl(boolean value)
value
- WidowControlpublic boolean getAutoSpaceDN()
public void setAutoSpaceDN(boolean value)
value
- booleanpublic boolean getAutoSpaceDE()
public void setAutoSpaceDE(boolean value)
value
- booleanpublic HorizontalAlignment getHorizontalAlignment()
public void setHorizontalAlignment(HorizontalAlignment value)
value
- HorizontalAlignmentpublic float getLeftIndent()
public void setLeftIndent(float value)
value
- floatpublic float getRightIndent()
public void setRightIndent(float value)
value
- floatpublic float getFirstLineIndent()
public void setFirstLineIndent(float value)
value
- floatpublic float getBeforeSpacing()
public void setBeforeSpacing(float value)
value
- floatpublic float getAfterSpacing()
public void setAfterSpacing(float value)
value
- floatpublic Borders getBorders()
public java.awt.Color getBackColor()
public void setBackColor(java.awt.Color value)
value
- Colorpublic boolean isColumnBreakAfter()
public void isColumnBreakAfter(boolean value)
value
- is ColumnBreakAfter or notpublic float getLineSpacing()
public void setLineSpacing(float value)
value
- LineSpacingpublic LineSpacingRule getLineSpacingRule()
public void setLineSpacingRule(LineSpacingRule value)
value
- LineSpacingRulepublic boolean getBeforeAutoSpacing()
public void setBeforeAutoSpacing(boolean value)
value
- if spacing before is automatic, set to true.public boolean getAfterAutoSpacing()
public void setAfterAutoSpacing(boolean value)
value
- if spacing after is automatic, set to true.public OutlineLevel getOutlineLevel()
public void setOutlineLevel(OutlineLevel value)
value
- the outline level.public boolean getOverflowPunc()
public void setOverflowPunc(boolean value)
value
- OverflowPuncpublic boolean isFrame()
public TextAlignment getTextAlignment()
public void setTextAlignment(TextAlignment value)
value
- TextAlignmentpublic boolean getMirrorIndents()
public void setMirrorIndents(boolean value)
value
- is MirrorIndents or notpublic boolean getSuppressAutoHyphens()
public void setSuppressAutoHyphens(boolean value)
value
- is SuppressAutoHyphens or notpublic 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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |