Package com.independentsoft.office.word
Class ParagraphProperties
java.lang.Object
com.independentsoft.office.word.ParagraphProperties
The Class ParagraphProperties.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new paragraph properties.Instantiates a new paragraph properties. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the adjust right indent.Gets the adjust space east asian and numbers.Gets the adjust space latin and east asian.Gets the allow punctuation.Gets the bar border.Gets the between border.Gets the bottom border.Gets the conditional formatting.longgetDivID()Gets the div id.getFrame()Gets the frame.Gets the horizontal text alignment.Gets the ignore space.Gets the indentation.Gets the keep lines.Gets the keep next.Gets the kinsoku.Gets the left border.Gets the mirror indents.Gets the numbering reference.intGets the outline level.Gets the page break before.Gets the paragraph mark run properties.Gets the revision.Gets the right border.Gets the right to left.Gets the section.Gets the shading.Gets the snap to grid.Gets the spacing.Gets the style name.Gets the suppress auto hyphens.Gets the suppress line numbers.Gets the suppress overlap.getTabs()Gets the tabs.Gets the textbox tight wrap.Gets the text direction.Gets the top border.Gets the top line punctuation.Gets the vertical text alignment.Gets the widow control.Gets the word wrap.static booleanChecks if is empty.voidsetAdjustRightIndent(ExtendedBoolean adjustRightIndent)Sets the adjust right indent.voidsetAdjustSpaceEastAsianAndNumbers(ExtendedBoolean adjustSpaceEastAsianAndNumbers)Sets the adjust space east asian and numbers.voidsetAdjustSpaceLatinAndEastAsian(ExtendedBoolean adjustSpaceLatinAndEastAsian)Sets the adjust space latin and east asian.voidsetAllowPunctuation(ExtendedBoolean allowPunctuation)Sets the allow punctuation.voidsetBarBorder(BarBorder barBorder)Sets the bar border.voidsetBetweenBorder(BetweenBorder betweenBorder)Sets the between border.voidsetBottomBorder(BottomBorder bottomBorder)Sets the bottom border.voidsetConditionalFormatting(ConditionalFormatting conditionalFormatting)Sets the conditional formatting.voidsetDivID(long divID)Sets the div id.voidSets the frame.voidsetHorizontalTextAlignment(HorizontalAlignmentType horizontalTextAlignment)Sets the horizontal text alignment.voidsetIgnoreSpace(ExtendedBoolean ignoreSpace)Sets the ignore space.voidsetIndentation(Indentation indentation)Sets the indentation.voidsetKeepLines(ExtendedBoolean keepLines)Sets the keep lines.voidsetKeepNext(ExtendedBoolean keepNext)Sets the keep next.voidsetKinsoku(ExtendedBoolean kinsoku)Sets the kinsoku.voidsetLeftBorder(LeftBorder leftBorder)Sets the left border.voidsetMirrorIndents(ExtendedBoolean mirrorIndents)Sets the mirror indents.voidsetNumberingReference(NumberingReference numberingReference)Sets the numbering reference.voidsetOutlineLevel(int outlineLevel)Sets the outline level.voidsetPageBreakBefore(ExtendedBoolean pageBreakBefore)Sets the page break before.voidsetRevision(ParagraphPropertiesRevision revision)Sets the revision.voidsetRightBorder(RightBorder rightBorder)Sets the right border.voidsetRightToLeft(ExtendedBoolean rightToLeft)Sets the right to left.voidsetSection(Section section)Sets the section.voidsetShading(Shading shading)Sets the shading.voidsetSnapToGrid(ExtendedBoolean snapToGrid)Sets the snap to grid.voidsetSpacing(Spacing spacing)Sets the spacing.voidsetStyleName(String styleName)Sets the style name.voidsetSuppressAutoHyphens(ExtendedBoolean suppressAutoHyphens)Sets the suppress auto hyphens.voidsetSuppressLineNumbers(ExtendedBoolean suppressLineNumbers)Sets the suppress line numbers.voidsetSuppressOverlap(ExtendedBoolean suppressOverlap)Sets the suppress overlap.voidsetTextboxTightWrap(TextboxTightWrap textboxTightWrap)Sets the textbox tight wrap.voidsetTextDirection(TextDirection textDirection)Sets the text direction.voidsetTopBorder(TopBorder topBorder)Sets the top border.voidsetTopLinePunctuation(ExtendedBoolean topLinePunctuation)Sets the top line punctuation.voidsetVerticalTextAlignment(VerticalTextAlignment verticalTextAlignment)Sets the vertical text alignment.voidsetWidowControl(ExtendedBoolean widowControl)Sets the widow control.voidsetWordWrap(ExtendedBoolean wordWrap)Sets the word wrap.toString()
-
Constructor Details
-
ParagraphProperties
public ParagraphProperties()Instantiates a new paragraph properties. -
ParagraphProperties
Instantiates a new paragraph properties.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
clone
-
toString
-
isEmpty
Checks if is empty.- Parameters:
value- the value- Returns:
- true, if is empty
-
getRightToLeft
Gets the right to left.- Returns:
- the right to left
-
setRightToLeft
Sets the right to left.- Parameters:
rightToLeft- the new right to left
-
getAdjustRightIndent
Gets the adjust right indent.- Returns:
- the adjust right indent
-
setAdjustRightIndent
Sets the adjust right indent.- Parameters:
adjustRightIndent- the new adjust right indent
-
getKeepLines
Gets the keep lines.- Returns:
- the keep lines
-
setKeepLines
Sets the keep lines.- Parameters:
keepLines- the new keep lines
-
getKeepNext
Gets the keep next.- Returns:
- the keep next
-
setKeepNext
Sets the keep next.- Parameters:
keepNext- the new keep next
-
getKinsoku
Gets the kinsoku.- Returns:
- the kinsoku
-
setKinsoku
Sets the kinsoku.- Parameters:
kinsoku- the new kinsoku
-
getPageBreakBefore
Gets the page break before.- Returns:
- the page break before
-
setPageBreakBefore
Sets the page break before.- Parameters:
pageBreakBefore- the new page break before
-
getIgnoreSpace
Gets the ignore space.- Returns:
- the ignore space
-
setIgnoreSpace
Sets the ignore space.- Parameters:
ignoreSpace- the new ignore space
-
getSnapToGrid
Gets the snap to grid.- Returns:
- the snap to grid
-
setSnapToGrid
Sets the snap to grid.- Parameters:
snapToGrid- the new snap to grid
-
getSuppressAutoHyphens
Gets the suppress auto hyphens.- Returns:
- the suppress auto hyphens
-
setSuppressAutoHyphens
Sets the suppress auto hyphens.- Parameters:
suppressAutoHyphens- the new suppress auto hyphens
-
getSuppressLineNumbers
Gets the suppress line numbers.- Returns:
- the suppress line numbers
-
setSuppressLineNumbers
Sets the suppress line numbers.- Parameters:
suppressLineNumbers- the new suppress line numbers
-
getSuppressOverlap
Gets the suppress overlap.- Returns:
- the suppress overlap
-
setSuppressOverlap
Sets the suppress overlap.- Parameters:
suppressOverlap- the new suppress overlap
-
getWordWrap
Gets the word wrap.- Returns:
- the word wrap
-
setWordWrap
Sets the word wrap.- Parameters:
wordWrap- the new word wrap
-
getTopLinePunctuation
Gets the top line punctuation.- Returns:
- the top line punctuation
-
setTopLinePunctuation
Sets the top line punctuation.- Parameters:
topLinePunctuation- the new top line punctuation
-
getWidowControl
Gets the widow control.- Returns:
- the widow control
-
setWidowControl
Sets the widow control.- Parameters:
widowControl- the new widow control
-
getMirrorIndents
Gets the mirror indents.- Returns:
- the mirror indents
-
setMirrorIndents
Sets the mirror indents.- Parameters:
mirrorIndents- the new mirror indents
-
getAllowPunctuation
Gets the allow punctuation.- Returns:
- the allow punctuation
-
setAllowPunctuation
Sets the allow punctuation.- Parameters:
allowPunctuation- the new allow punctuation
-
getAdjustSpaceLatinAndEastAsian
Gets the adjust space latin and east asian.- Returns:
- the adjust space latin and east asian
-
setAdjustSpaceLatinAndEastAsian
Sets the adjust space latin and east asian.- Parameters:
adjustSpaceLatinAndEastAsian- the new adjust space latin and east asian
-
getAdjustSpaceEastAsianAndNumbers
Gets the adjust space east asian and numbers.- Returns:
- the adjust space east asian and numbers
-
setAdjustSpaceEastAsianAndNumbers
Sets the adjust space east asian and numbers.- Parameters:
adjustSpaceEastAsianAndNumbers- the new adjust space east asian and numbers
-
getBarBorder
Gets the bar border.- Returns:
- the bar border
-
setBarBorder
Sets the bar border.- Parameters:
barBorder- the new bar border
-
getBetweenBorder
Gets the between border.- Returns:
- the between border
-
setBetweenBorder
Sets the between border.- Parameters:
betweenBorder- the new between border
-
getTopBorder
Gets the top border.- Returns:
- the top border
-
setTopBorder
Sets the top border.- Parameters:
topBorder- the new top border
-
getLeftBorder
Gets the left border.- Returns:
- the left border
-
setLeftBorder
Sets the left border.- Parameters:
leftBorder- the new left border
-
getBottomBorder
Gets the bottom border.- Returns:
- the bottom border
-
setBottomBorder
Sets the bottom border.- Parameters:
bottomBorder- the new bottom border
-
getRightBorder
Gets the right border.- Returns:
- the right border
-
setRightBorder
Sets the right border.- Parameters:
rightBorder- the new right border
-
getDivID
public long getDivID()Gets the div id.- Returns:
- the div id
-
setDivID
public void setDivID(long divID)Sets the div id.- Parameters:
divID- the new div id
-
getOutlineLevel
public int getOutlineLevel()Gets the outline level.- Returns:
- the outline level
-
setOutlineLevel
public void setOutlineLevel(int outlineLevel)Sets the outline level.- Parameters:
outlineLevel- the new outline level
-
getStyleName
Gets the style name.- Returns:
- the style name
-
setStyleName
Sets the style name.- Parameters:
styleName- the new style name
-
getSection
Gets the section.- Returns:
- the section
-
setSection
Sets the section.- Parameters:
section- the new section
-
getFrame
Gets the frame.- Returns:
- the frame
-
setFrame
Sets the frame.- Parameters:
frame- the new frame
-
getShading
Gets the shading.- Returns:
- the shading
-
setShading
Sets the shading.- Parameters:
shading- the new shading
-
getSpacing
Gets the spacing.- Returns:
- the spacing
-
setSpacing
Sets the spacing.- Parameters:
spacing- the new spacing
-
getNumberingReference
Gets the numbering reference.- Returns:
- the numbering reference
-
setNumberingReference
Sets the numbering reference.- Parameters:
numberingReference- the new numbering reference
-
getParagraphMarkRunProperties
Gets the paragraph mark run properties.- Returns:
- the paragraph mark run properties
-
getConditionalFormatting
Gets the conditional formatting.- Returns:
- the conditional formatting
-
setConditionalFormatting
Sets the conditional formatting.- Parameters:
conditionalFormatting- the new conditional formatting
-
getIndentation
Gets the indentation.- Returns:
- the indentation
-
setIndentation
Sets the indentation.- Parameters:
indentation- the new indentation
-
getHorizontalTextAlignment
Gets the horizontal text alignment.- Returns:
- the horizontal text alignment
-
setHorizontalTextAlignment
Sets the horizontal text alignment.- Parameters:
horizontalTextAlignment- the new horizontal text alignment
-
getTextDirection
Gets the text direction.- Returns:
- the text direction
-
setTextDirection
Sets the text direction.- Parameters:
textDirection- the new text direction
-
getTextboxTightWrap
Gets the textbox tight wrap.- Returns:
- the textbox tight wrap
-
setTextboxTightWrap
Sets the textbox tight wrap.- Parameters:
textboxTightWrap- the new textbox tight wrap
-
getVerticalTextAlignment
Gets the vertical text alignment.- Returns:
- the vertical text alignment
-
setVerticalTextAlignment
Sets the vertical text alignment.- Parameters:
verticalTextAlignment- the new vertical text alignment
-
getTabs
Gets the tabs.- Returns:
- the tabs
-
getRevision
Gets the revision.- Returns:
- the revision
-
setRevision
Sets the revision.- Parameters:
revision- the new revision
-