Class TextBodyProperties
java.lang.Object
com.independentsoft.office.drawing.TextBodyProperties
The Class TextBodyProperties.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new text body properties.Instantiates a new text body properties. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the anchor.Gets the bottom inset.intGets the column count.Gets the horizontal overflow.Gets the left inset.Gets the normal auto fit.Gets the no text in3 d scene.Gets the preset text warp.Gets the right inset.intGets the rotation.Gets the scene3 d.Gets the shape3 d.Gets the space between columns.Gets the top inset.Gets the vertical overflow.Gets the vertical text.Gets the wrapping.booleanChecks for enable paragraph spacing.booleanChecks if is auto fit.booleanChecks if is center anchor.booleanChecks if is columns right to left.booleanChecks if is compatible line spacing.booleanChecks if is force anti alias.booleanChecks if is from word art.booleanChecks if is no auto fit.booleanChecks if is text upright.voidsetAnchor(TextAnchoringType anchor)Sets the anchor.voidsetAutoFit(boolean autoFit)Sets the auto fit.voidsetBottomInset(Unit bottomInset)Sets the bottom inset.voidsetCenterAnchor(boolean centerAnchor)Sets the center anchor.voidsetColumnCount(int columnCount)Sets the column count.voidsetColumnsRightToLeft(boolean columnsRightToLeft)Sets the columns right to left.voidsetCompatibleLineSpacing(boolean compatibleLineSpacing)Sets the compatible line spacing.voidsetEnableParagraphSpacing(boolean enableParagraphSpacing)Sets the enable paragraph spacing.voidsetForceAntiAlias(boolean forceAntiAlias)Sets the force anti alias.voidsetFromWordArt(boolean fromWordArt)Sets the from word art.voidsetHorizontalOverflow(TextHorizontalOverflowType horizontalOverflow)Sets the horizontal overflow.voidsetLeftInset(Unit leftInset)Sets the left inset.voidsetNoAutoFit(boolean noAutoFit)Sets the no auto fit.voidsetNormalAutoFit(NormalAutoFit normalAutoFit)Sets the normal auto fit.voidsetNoTextIn3DScene(Unit noTextIn3DScene)Sets the no text in3 d scene.voidsetPresetTextWarp(PresetTextWarp presetTextWarp)Sets the preset text warp.voidsetRightInset(Unit rightInset)Sets the right inset.voidsetRotation(int rotation)Sets the rotation.voidsetScene3D(Scene3D scene3D)Sets the scene3 d.voidsetShape3D(Shape3D shape3D)Sets the shape3 d.voidsetSpaceBetweenColumns(Unit spaceBetweenColumns)Sets the space between columns.voidsetTextUpright(boolean textUpright)Sets the text upright.voidsetTopInset(Unit topInset)Sets the top inset.voidsetVerticalOverflow(TextVerticalOverflowType verticalOverflow)Sets the vertical overflow.voidsetVerticalText(VerticalTextType verticalText)Sets the vertical text.voidsetWrapping(TextWrappingType wrapping)Sets the wrapping.toString()
-
Constructor Details
-
TextBodyProperties
public TextBodyProperties()Instantiates a new text body properties. -
TextBodyProperties
Instantiates a new text body properties.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
clone
-
toString
-
isNoAutoFit
public boolean isNoAutoFit()Checks if is no auto fit.- Returns:
- true, if is no auto fit
-
setNoAutoFit
public void setNoAutoFit(boolean noAutoFit)Sets the no auto fit.- Parameters:
noAutoFit- the new no auto fit
-
isAutoFit
public boolean isAutoFit()Checks if is auto fit.- Returns:
- true, if is auto fit
-
setAutoFit
public void setAutoFit(boolean autoFit)Sets the auto fit.- Parameters:
autoFit- the new auto fit
-
getPresetTextWarp
Gets the preset text warp.- Returns:
- the preset text warp
-
setPresetTextWarp
Sets the preset text warp.- Parameters:
presetTextWarp- the new preset text warp
-
getShape3D
Gets the shape3 d.- Returns:
- the shape3 d
-
setShape3D
Sets the shape3 d.- Parameters:
shape3D- the new shape3 d
-
getScene3D
Gets the scene3 d.- Returns:
- the scene3 d
-
setScene3D
Sets the scene3 d.- Parameters:
scene3D- the new scene3 d
-
getNoTextIn3DScene
Gets the no text in3 d scene.- Returns:
- the no text in3 d scene
-
setNoTextIn3DScene
Sets the no text in3 d scene.- Parameters:
noTextIn3DScene- the new no text in3 d scene
-
getNormalAutoFit
Gets the normal auto fit.- Returns:
- the normal auto fit
-
setNormalAutoFit
Sets the normal auto fit.- Parameters:
normalAutoFit- the new normal auto fit
-
getAnchor
Gets the anchor.- Returns:
- the anchor
-
setAnchor
Sets the anchor.- Parameters:
anchor- the new anchor
-
isCenterAnchor
public boolean isCenterAnchor()Checks if is center anchor.- Returns:
- true, if is center anchor
-
setCenterAnchor
public void setCenterAnchor(boolean centerAnchor)Sets the center anchor.- Parameters:
centerAnchor- the new center anchor
-
getBottomInset
Gets the bottom inset.- Returns:
- the bottom inset
-
setBottomInset
Sets the bottom inset.- Parameters:
bottomInset- the new bottom inset
-
isCompatibleLineSpacing
public boolean isCompatibleLineSpacing()Checks if is compatible line spacing.- Returns:
- true, if is compatible line spacing
-
setCompatibleLineSpacing
public void setCompatibleLineSpacing(boolean compatibleLineSpacing)Sets the compatible line spacing.- Parameters:
compatibleLineSpacing- the new compatible line spacing
-
isForceAntiAlias
public boolean isForceAntiAlias()Checks if is force anti alias.- Returns:
- true, if is force anti alias
-
setForceAntiAlias
public void setForceAntiAlias(boolean forceAntiAlias)Sets the force anti alias.- Parameters:
forceAntiAlias- the new force anti alias
-
isFromWordArt
public boolean isFromWordArt()Checks if is from word art.- Returns:
- true, if is from word art
-
setFromWordArt
public void setFromWordArt(boolean fromWordArt)Sets the from word art.- Parameters:
fromWordArt- the new from word art
-
getHorizontalOverflow
Gets the horizontal overflow.- Returns:
- the horizontal overflow
-
setHorizontalOverflow
Sets the horizontal overflow.- Parameters:
horizontalOverflow- the new horizontal overflow
-
getLeftInset
Gets the left inset.- Returns:
- the left inset
-
setLeftInset
Sets the left inset.- Parameters:
leftInset- the new left inset
-
getColumnCount
public int getColumnCount()Gets the column count.- Returns:
- the column count
-
setColumnCount
public void setColumnCount(int columnCount)Sets the column count.- Parameters:
columnCount- the new column count
-
getRightInset
Gets the right inset.- Returns:
- the right inset
-
setRightInset
Sets the right inset.- Parameters:
rightInset- the new right inset
-
getRotation
public int getRotation()Gets the rotation.- Returns:
- the rotation
-
setRotation
public void setRotation(int rotation)Sets the rotation.- Parameters:
rotation- the new rotation
-
isColumnsRightToLeft
public boolean isColumnsRightToLeft()Checks if is columns right to left.- Returns:
- true, if is columns right to left
-
setColumnsRightToLeft
public void setColumnsRightToLeft(boolean columnsRightToLeft)Sets the columns right to left.- Parameters:
columnsRightToLeft- the new columns right to left
-
getSpaceBetweenColumns
Gets the space between columns.- Returns:
- the space between columns
-
setSpaceBetweenColumns
Sets the space between columns.- Parameters:
spaceBetweenColumns- the new space between columns
-
hasEnableParagraphSpacing
public boolean hasEnableParagraphSpacing()Checks for enable paragraph spacing.- Returns:
- true, if successful
-
setEnableParagraphSpacing
public void setEnableParagraphSpacing(boolean enableParagraphSpacing)Sets the enable paragraph spacing.- Parameters:
enableParagraphSpacing- the new enable paragraph spacing
-
getTopInset
Gets the top inset.- Returns:
- the top inset
-
setTopInset
Sets the top inset.- Parameters:
topInset- the new top inset
-
isTextUpright
public boolean isTextUpright()Checks if is text upright.- Returns:
- true, if is text upright
-
setTextUpright
public void setTextUpright(boolean textUpright)Sets the text upright.- Parameters:
textUpright- the new text upright
-
getVerticalText
Gets the vertical text.- Returns:
- the vertical text
-
setVerticalText
Sets the vertical text.- Parameters:
verticalText- the new vertical text
-
getVerticalOverflow
Gets the vertical overflow.- Returns:
- the vertical overflow
-
setVerticalOverflow
Sets the vertical overflow.- Parameters:
verticalOverflow- the new vertical overflow
-
getWrapping
Gets the wrapping.- Returns:
- the wrapping
-
setWrapping
Sets the wrapping.- Parameters:
wrapping- the new wrapping
-