Class WrapSquare
java.lang.Object
com.independentsoft.office.word.drawing.WrapType
com.independentsoft.office.word.drawing.WrapSquare
The Class WrapSquare.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new wrap square.WrapSquare(WrapText wrapText)Instantiates a new wrap square. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the distance between text and bottom edge.Gets the distance between text and left edge.Gets the distance between text and right edge.Gets the distance between text and top edge.Gets the effect extent.Gets the wrap text.voidsetDistanceBetweenTextAndBottomEdge(Unit distanceBetweenTextAndBottomEdge)Sets the distance between text and bottom edge.voidsetDistanceBetweenTextAndLeftEdge(Unit distanceBetweenTextAndLeftEdge)Sets the distance between text and left edge.voidsetDistanceBetweenTextAndRightEdge(Unit distanceBetweenTextAndRightEdge)Sets the distance between text and right edge.voidsetDistanceBetweenTextAndTopEdge(Unit distanceBetweenTextAndTopEdge)Sets the distance between text and top edge.voidsetEffectExtent(EffectExtent effectExtent)Sets the effect extent.voidsetWrapText(WrapText wrapText)Sets the wrap text.toString()
-
Constructor Details
-
WrapSquare
public WrapSquare()Instantiates a new wrap square. -
WrapSquare
Instantiates a new wrap square.- Parameters:
wrapText- the wrap text
-
-
Method Details
-
clone
-
toString
-
getWrapText
Gets the wrap text.- Returns:
- the wrap text
-
setWrapText
Sets the wrap text.- Parameters:
wrapText- the new wrap text
-
getDistanceBetweenTextAndBottomEdge
Gets the distance between text and bottom edge.- Returns:
- the distance between text and bottom edge
-
setDistanceBetweenTextAndBottomEdge
Sets the distance between text and bottom edge.- Parameters:
distanceBetweenTextAndBottomEdge- the new distance between text and bottom edge
-
getDistanceBetweenTextAndLeftEdge
Gets the distance between text and left edge.- Returns:
- the distance between text and left edge
-
setDistanceBetweenTextAndLeftEdge
Sets the distance between text and left edge.- Parameters:
distanceBetweenTextAndLeftEdge- the new distance between text and left edge
-
getDistanceBetweenTextAndRightEdge
Gets the distance between text and right edge.- Returns:
- the distance between text and right edge
-
setDistanceBetweenTextAndRightEdge
Sets the distance between text and right edge.- Parameters:
distanceBetweenTextAndRightEdge- the new distance between text and right edge
-
getDistanceBetweenTextAndTopEdge
Gets the distance between text and top edge.- Returns:
- the distance between text and top edge
-
setDistanceBetweenTextAndTopEdge
Sets the distance between text and top edge.- Parameters:
distanceBetweenTextAndTopEdge- the new distance between text and top edge
-
getEffectExtent
Gets the effect extent.- Returns:
- the effect extent
-
setEffectExtent
Sets the effect extent.- Parameters:
effectExtent- the new effect extent
-