Package com.independentsoft.office.vml
Class ShapeStyle
java.lang.Object
com.independentsoft.office.vml.ShapeStyle
The Class ShapeStyle.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new shape style.ShapeStyle(String style)Instantiates a new shape style. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the alternate text direction.Gets the alternate text layout flow.Gets the bottom margin.Gets the bottom wrap distance.getFlip()Gets the flip.Gets the font family.Gets the font size.Gets the font style.Gets the font variant.Gets the font weight.Gets the height.Gets the horizontal position.getLeft()Gets the left.Gets the left margin.Gets the left wrap distance.Gets the next text box.Gets the position.Gets the relative horizontal position.Gets the relative vertical position.Gets the right margin.Gets the right wrap distance.Gets the rotation.Gets the text alignment.Gets the text decoration.Gets the text direction.Gets the text layout flow.Gets the text rotation.Gets the text scale.Gets the text spacing.Gets the text spacing mode.getTop()Gets the top.Gets the top margin.Gets the top wrap distance.Gets the vertical position.Gets the vertical text anchor.Gets the visibility.getWidth()Gets the width.Gets the wrap style.Gets the z index.booleanChecks for enable kerning.booleanChecks for shadow.booleanChecks if is fit shape to text.booleanChecks if is fit text to shape.booleanChecks if is reverse.booleanChecks if is rotate letters.booleanChecks if is same letter heights.booleanChecks if is wrap edited.voidsetAlternateTextDirection(AlternateTextDirection alternateTextDirection)Sets the alternate text direction.voidsetAlternateTextLayoutFlow(AlternateTextLayoutFlow alternateTextLayoutFlow)Sets the alternate text layout flow.voidsetBottomMargin(String bottomMargin)Sets the bottom margin.voidsetBottomWrapDistance(String bottomWrapDistance)Sets the bottom wrap distance.voidsetEnableKerning(boolean enableKerning)Sets the enable kerning.voidsetFitShapeToText(boolean fitShapeToText)Sets the fit shape to text.voidsetFitTextToShape(boolean fitTextToShape)Sets the fit text to shape.voidSets the flip.voidsetFontFamily(String fontFamily)Sets the font family.voidsetFontSize(String fontSize)Sets the font size.voidsetFontStyle(FontStyle fontStyle)Sets the font style.voidsetFontVariant(FontVariant fontVariant)Sets the font variant.voidsetFontWeight(FontWeight fontWeight)Sets the font weight.voidSets the height.voidsetHorizontalPosition(HorizontalPosition horizontalPosition)Sets the horizontal position.voidSets the left.voidsetLeftMargin(String leftMargin)Sets the left margin.voidsetLeftWrapDistance(String leftWrapDistance)Sets the left wrap distance.voidsetNextTextBox(String nextTextBox)Sets the next text box.voidsetPosition(Position position)Sets the position.voidsetRelativeHorizontalPosition(RelativeHorizontalPosition relativeHorizontalPosition)Sets the relative horizontal position.voidsetRelativeVerticalPosition(RelativeVerticalPosition relativeVerticalPosition)Sets the relative vertical position.voidsetReverse(boolean isReverse)Sets the reverse.voidsetRightMargin(String rightMargin)Sets the right margin.voidsetRightWrapDistance(String rightWrapDistance)Sets the right wrap distance.voidsetRotateLetters(boolean rotateLetters)Sets the rotate letters.voidsetRotation(String rotation)Sets the rotation.voidsetSameLetterHeights(boolean sameLetterHeights)Sets the same letter heights.voidsetShadow(boolean hasShadow)Sets the shadow.voidsetTextAlignment(TextAlignment textAlignment)Sets the text alignment.voidsetTextDecoration(TextDecoration textDecoration)Sets the text decoration.voidsetTextDirection(TextDirection textDirection)Sets the text direction.voidsetTextLayoutFlow(TextLayoutFlow textLayoutFlow)Sets the text layout flow.voidsetTextRotation(TextRotation textRotation)Sets the text rotation.voidsetTextScale(String textScale)Sets the text scale.voidsetTextSpacing(String textSpacing)Sets the text spacing.voidsetTextSpacingMode(TextSpacingMode textSpacingMode)Sets the text spacing mode.voidSets the top.voidsetTopMargin(String topMargin)Sets the top margin.voidsetTopWrapDistance(String topWrapDistance)Sets the top wrap distance.voidsetVerticalPosition(VerticalPosition verticalPosition)Sets the vertical position.voidsetVerticalTextAnchor(VerticalTextAnchor verticalTextAnchor)Sets the vertical text anchor.voidsetVisibility(Visibility visibility)Sets the visibility.voidSets the width.voidsetWrapEdited(boolean isWrapEdited)Sets the wrap edited.voidsetWrapStyle(WrapStyle wrapStyle)Sets the wrap style.voidSets the z index.toString()
-
Constructor Details
-
ShapeStyle
public ShapeStyle()Instantiates a new shape style. -
ShapeStyle
Instantiates a new shape style.- Parameters:
style- the style
-
-
Method Details
-
clone
-
toString
-
getFlip
Gets the flip.- Returns:
- the flip
-
setFlip
Sets the flip.- Parameters:
flip- the new flip
-
getHeight
Gets the height.- Returns:
- the height
-
setHeight
Sets the height.- Parameters:
height- the new height
-
getLeft
Gets the left.- Returns:
- the left
-
setLeft
Sets the left.- Parameters:
left- the new left
-
getBottomMargin
Gets the bottom margin.- Returns:
- the bottom margin
-
setBottomMargin
Sets the bottom margin.- Parameters:
bottomMargin- the new bottom margin
-
getLeftMargin
Gets the left margin.- Returns:
- the left margin
-
setLeftMargin
Sets the left margin.- Parameters:
leftMargin- the new left margin
-
getRightMargin
Gets the right margin.- Returns:
- the right margin
-
setRightMargin
Sets the right margin.- Parameters:
rightMargin- the new right margin
-
getTopMargin
Gets the top margin.- Returns:
- the top margin
-
setTopMargin
Sets the top margin.- Parameters:
topMargin- the new top margin
-
getHorizontalPosition
Gets the horizontal position.- Returns:
- the horizontal position
-
setHorizontalPosition
Sets the horizontal position.- Parameters:
horizontalPosition- the new horizontal position
-
getRelativeHorizontalPosition
Gets the relative horizontal position.- Returns:
- the relative horizontal position
-
setRelativeHorizontalPosition
Sets the relative horizontal position.- Parameters:
relativeHorizontalPosition- the new relative horizontal position
-
getVerticalPosition
Gets the vertical position.- Returns:
- the vertical position
-
setVerticalPosition
Sets the vertical position.- Parameters:
verticalPosition- the new vertical position
-
getRelativeVerticalPosition
Gets the relative vertical position.- Returns:
- the relative vertical position
-
setRelativeVerticalPosition
Sets the relative vertical position.- Parameters:
relativeVerticalPosition- the new relative vertical position
-
getBottomWrapDistance
Gets the bottom wrap distance.- Returns:
- the bottom wrap distance
-
setBottomWrapDistance
Sets the bottom wrap distance.- Parameters:
bottomWrapDistance- the new bottom wrap distance
-
getLeftWrapDistance
Gets the left wrap distance.- Returns:
- the left wrap distance
-
setLeftWrapDistance
Sets the left wrap distance.- Parameters:
leftWrapDistance- the new left wrap distance
-
getRightWrapDistance
Gets the right wrap distance.- Returns:
- the right wrap distance
-
setRightWrapDistance
Sets the right wrap distance.- Parameters:
rightWrapDistance- the new right wrap distance
-
getTopWrapDistance
Gets the top wrap distance.- Returns:
- the top wrap distance
-
setTopWrapDistance
Sets the top wrap distance.- Parameters:
topWrapDistance- the new top wrap distance
-
isWrapEdited
public boolean isWrapEdited()Checks if is wrap edited.- Returns:
- true, if is wrap edited
-
setWrapEdited
public void setWrapEdited(boolean isWrapEdited)Sets the wrap edited.- Parameters:
isWrapEdited- the new wrap edited
-
getWrapStyle
Gets the wrap style.- Returns:
- the wrap style
-
setWrapStyle
Sets the wrap style.- Parameters:
wrapStyle- the new wrap style
-
getPosition
Gets the position.- Returns:
- the position
-
setPosition
Sets the position.- Parameters:
position- the new position
-
getRotation
Gets the rotation.- Returns:
- the rotation
-
setRotation
Sets the rotation.- Parameters:
rotation- the new rotation
-
getTop
Gets the top.- Returns:
- the top
-
setTop
Sets the top.- Parameters:
top- the new top
-
getVisibility
Gets the visibility.- Returns:
- the visibility
-
setVisibility
Sets the visibility.- Parameters:
visibility- the new visibility
-
getWidth
Gets the width.- Returns:
- the width
-
setWidth
Sets the width.- Parameters:
width- the new width
-
getZIndex
Gets the z index.- Returns:
- the z index
-
setZIndex
Sets the z index.- Parameters:
zIndex- the new z index
-
getTextDirection
Gets the text direction.- Returns:
- the text direction
-
setTextDirection
Sets the text direction.- Parameters:
textDirection- the new text direction
-
getTextLayoutFlow
Gets the text layout flow.- Returns:
- the text layout flow
-
setTextLayoutFlow
Sets the text layout flow.- Parameters:
textLayoutFlow- the new text layout flow
-
getAlternateTextDirection
Gets the alternate text direction.- Returns:
- the alternate text direction
-
setAlternateTextDirection
Sets the alternate text direction.- Parameters:
alternateTextDirection- the new alternate text direction
-
isFitShapeToText
public boolean isFitShapeToText()Checks if is fit shape to text.- Returns:
- true, if is fit shape to text
-
setFitShapeToText
public void setFitShapeToText(boolean fitShapeToText)Sets the fit shape to text.- Parameters:
fitShapeToText- the new fit shape to text
-
isFitTextToShape
public boolean isFitTextToShape()Checks if is fit text to shape.- Returns:
- true, if is fit text to shape
-
setFitTextToShape
public void setFitTextToShape(boolean fitTextToShape)Sets the fit text to shape.- Parameters:
fitTextToShape- the new fit text to shape
-
getAlternateTextLayoutFlow
Gets the alternate text layout flow.- Returns:
- the alternate text layout flow
-
setAlternateTextLayoutFlow
Sets the alternate text layout flow.- Parameters:
alternateTextLayoutFlow- the new alternate text layout flow
-
getNextTextBox
Gets the next text box.- Returns:
- the next text box
-
setNextTextBox
Sets the next text box.- Parameters:
nextTextBox- the new next text box
-
getTextRotation
Gets the text rotation.- Returns:
- the text rotation
-
setTextRotation
Sets the text rotation.- Parameters:
textRotation- the new text rotation
-
getTextScale
Gets the text scale.- Returns:
- the text scale
-
setTextScale
Sets the text scale.- Parameters:
textScale- the new text scale
-
getVerticalTextAnchor
Gets the vertical text anchor.- Returns:
- the vertical text anchor
-
setVerticalTextAnchor
Sets the vertical text anchor.- Parameters:
verticalTextAnchor- the new vertical text anchor
-
getFontFamily
Gets the font family.- Returns:
- the font family
-
setFontFamily
Sets the font family.- Parameters:
fontFamily- the new font family
-
getFontSize
Gets the font size.- Returns:
- the font size
-
setFontSize
Sets the font size.- Parameters:
fontSize- the new font size
-
getFontStyle
Gets the font style.- Returns:
- the font style
-
setFontStyle
Sets the font style.- Parameters:
fontStyle- the new font style
-
getFontVariant
Gets the font variant.- Returns:
- the font variant
-
setFontVariant
Sets the font variant.- Parameters:
fontVariant- the new font variant
-
getFontWeight
Gets the font weight.- Returns:
- the font weight
-
setFontWeight
Sets the font weight.- Parameters:
fontWeight- the new font weight
-
hasShadow
public boolean hasShadow()Checks for shadow.- Returns:
- true, if successful
-
setShadow
public void setShadow(boolean hasShadow)Sets the shadow.- Parameters:
hasShadow- the new shadow
-
getTextDecoration
Gets the text decoration.- Returns:
- the text decoration
-
setTextDecoration
Sets the text decoration.- Parameters:
textDecoration- the new text decoration
-
isRotateLetters
public boolean isRotateLetters()Checks if is rotate letters.- Returns:
- true, if is rotate letters
-
setRotateLetters
public void setRotateLetters(boolean rotateLetters)Sets the rotate letters.- Parameters:
rotateLetters- the new rotate letters
-
isSameLetterHeights
public boolean isSameLetterHeights()Checks if is same letter heights.- Returns:
- true, if is same letter heights
-
setSameLetterHeights
public void setSameLetterHeights(boolean sameLetterHeights)Sets the same letter heights.- Parameters:
sameLetterHeights- the new same letter heights
-
getTextAlignment
Gets the text alignment.- Returns:
- the text alignment
-
setTextAlignment
Sets the text alignment.- Parameters:
textAlignment- the new text alignment
-
hasEnableKerning
public boolean hasEnableKerning()Checks for enable kerning.- Returns:
- true, if successful
-
setEnableKerning
public void setEnableKerning(boolean enableKerning)Sets the enable kerning.- Parameters:
enableKerning- the new enable kerning
-
isReverse
public boolean isReverse()Checks if is reverse.- Returns:
- true, if is reverse
-
setReverse
public void setReverse(boolean isReverse)Sets the reverse.- Parameters:
isReverse- the new reverse
-
getTextSpacingMode
Gets the text spacing mode.- Returns:
- the text spacing mode
-
setTextSpacingMode
Sets the text spacing mode.- Parameters:
textSpacingMode- the new text spacing mode
-
getTextSpacing
Gets the text spacing.- Returns:
- the text spacing
-
setTextSpacing
Sets the text spacing.- Parameters:
textSpacing- the new text spacing
-