Package com.independentsoft.office.word
Class TextFrame
java.lang.Object
com.independentsoft.office.word.TextFrame
The Class TextFrame.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()intGets the absolute horizontal position.intGets the absolute vertical position.Gets the anchor lock.Gets the drop cap.intGets the height.Gets the height rule.Gets the horizontal anchor.intGets the horizontal space.intgetLines()Gets the lines.Gets the relative horizontal position.Gets the relative vertical position.Gets the vertical anchor.intGets the vertical space.intgetWidth()Gets the width.getWrap()Gets the wrap.voidsetAbsoluteHorizontalPosition(int absoluteHorizontalPosition)Sets the absolute horizontal position.voidsetAbsoluteVerticalPosition(int absoluteVerticalPosition)Sets the absolute vertical position.voidsetAnchorLock(ExtendedBoolean anchorLock)Sets the anchor lock.voidsetDropCap(DropCap dropCap)Sets the drop cap.voidsetHeight(int height)Sets the height.voidsetHeightRule(HeightRule heightRule)Sets the height rule.voidsetHorizontalAnchor(AnchorLocation horizontalAnchor)Sets the horizontal anchor.voidsetHorizontalSpace(int horizontalSpace)Sets the horizontal space.voidsetLines(int lines)Sets the lines.voidsetRelativeHorizontalPosition(HorizontalAlignmentLocation relativeHorizontalPosition)Sets the relative horizontal position.voidsetRelativeVerticalPosition(VerticalAlignmentLocation relativeVerticalPosition)Sets the relative vertical position.voidsetVerticalAnchor(AnchorLocation verticalAnchor)Sets the vertical anchor.voidsetVerticalSpace(int verticalSpace)Sets the vertical space.voidsetWidth(int width)Sets the width.voidSets the wrap.toString()
-
Constructor Details
-
TextFrame
public TextFrame()Instantiates a new text frame.
-
-
Method Details
-
clone
-
toString
-
getAnchorLock
Gets the anchor lock.- Returns:
- the anchor lock
-
setAnchorLock
Sets the anchor lock.- Parameters:
anchorLock- the new anchor lock
-
getDropCap
Gets the drop cap.- Returns:
- the drop cap
-
setDropCap
Sets the drop cap.- Parameters:
dropCap- the new drop cap
-
getHeight
public int getHeight()Gets the height.- Returns:
- the height
-
setHeight
public void setHeight(int height)Sets the height.- Parameters:
height- the new height
-
getHorizontalAnchor
Gets the horizontal anchor.- Returns:
- the horizontal anchor
-
setHorizontalAnchor
Sets the horizontal anchor.- Parameters:
horizontalAnchor- the new horizontal anchor
-
getVerticalAnchor
Gets the vertical anchor.- Returns:
- the vertical anchor
-
setVerticalAnchor
Sets the vertical anchor.- Parameters:
verticalAnchor- the new vertical anchor
-
getHeightRule
Gets the height rule.- Returns:
- the height rule
-
setHeightRule
Sets the height rule.- Parameters:
heightRule- the new height rule
-
getHorizontalSpace
public int getHorizontalSpace()Gets the horizontal space.- Returns:
- the horizontal space
-
setHorizontalSpace
public void setHorizontalSpace(int horizontalSpace)Sets the horizontal space.- Parameters:
horizontalSpace- the new horizontal space
-
getVerticalSpace
public int getVerticalSpace()Gets the vertical space.- Returns:
- the vertical space
-
setVerticalSpace
public void setVerticalSpace(int verticalSpace)Sets the vertical space.- Parameters:
verticalSpace- the new vertical space
-
getLines
public int getLines()Gets the lines.- Returns:
- the lines
-
setLines
public void setLines(int lines)Sets the lines.- Parameters:
lines- the new lines
-
getWidth
public int getWidth()Gets the width.- Returns:
- the width
-
setWidth
public void setWidth(int width)Sets the width.- Parameters:
width- the new width
-
getWrap
Gets the wrap.- Returns:
- the wrap
-
setWrap
Sets the wrap.- Parameters:
wrap- the new wrap
-
getAbsoluteHorizontalPosition
public int getAbsoluteHorizontalPosition()Gets the absolute horizontal position.- Returns:
- the absolute horizontal position
-
setAbsoluteHorizontalPosition
public void setAbsoluteHorizontalPosition(int absoluteHorizontalPosition)Sets the absolute horizontal position.- Parameters:
absoluteHorizontalPosition- the new absolute 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
-
getAbsoluteVerticalPosition
public int getAbsoluteVerticalPosition()Gets the absolute vertical position.- Returns:
- the absolute vertical position
-
setAbsoluteVerticalPosition
public void setAbsoluteVerticalPosition(int absoluteVerticalPosition)Sets the absolute vertical position.- Parameters:
absoluteVerticalPosition- the new absolute 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
-