Package com.independentsoft.office.vml
Class Callout
java.lang.Object
com.independentsoft.office.vml.Callout
- All Implemented Interfaces:
IContentElement,IGroupElement,IShapeElement,IVmlElement
The Class Callout.
-
Constructor Summary
ConstructorsConstructorDescriptionCallout()Instantiates a new callout.Callout(InternalXMLStreamReader reader)Instantiates a new callout. -
Method Summary
Modifier and TypeMethodDescriptionclone()getAngle()Gets the angle.Gets the drop distance.Gets the drop position.Gets the extension handling behavior.getGap()Gets the gap.Gets the length.getType()Gets the type.booleanChecks for accent bar.booleanChecks for auto drop.booleanhasFlipX()Checks for flip x.booleanhasFlipY()Checks for flip y.booleanChecks for text border.booleanChecks if is display.booleanChecks if is length specified.voidsetAccentBar(boolean hasAccentBar)Sets the accent bar.voidsetAngle(CalloutAngle angle)Sets the angle.voidsetAutoDrop(boolean hasAutoDrop)Sets the auto drop.voidsetDisplay(boolean display)Sets the display.voidsetDropDistance(Unit dropDistance)Sets the drop distance.voidsetDropPosition(String dropPosition)Sets the drop position.voidsetExtensionHandlingBehavior(ExtensionHandlingBehavior extensionHandlingBehavior)Sets the extension handling behavior.voidsetFlipX(boolean hasFlipX)Sets the flip x.voidsetFlipY(boolean hasFlipY)Sets the flip y.voidSets the gap.voidSets the length.voidsetLengthSpecified(boolean isLengthSpecified)Sets the length specified.voidsetTextBorder(boolean hasTextBorder)Sets the text border.voidsetType(CalloutType type)Sets the type.toString()
-
Constructor Details
-
Callout
public Callout()Instantiates a new callout. -
Callout
Instantiates a new callout.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
getContentElements
- Specified by:
getContentElementsin interfaceIContentElement
-
clone
- Specified by:
clonein interfaceIContentElement- Specified by:
clonein interfaceIGroupElement- Specified by:
clonein interfaceIShapeElement- Specified by:
clonein interfaceIVmlElement- Overrides:
clonein classObject
-
toString
-
hasAccentBar
public boolean hasAccentBar()Checks for accent bar.- Returns:
- true, if successful
-
setAccentBar
public void setAccentBar(boolean hasAccentBar)Sets the accent bar.- Parameters:
hasAccentBar- the new accent bar
-
getAngle
Gets the angle.- Returns:
- the angle
-
setAngle
Sets the angle.- Parameters:
angle- the new angle
-
getDropDistance
Gets the drop distance.- Returns:
- the drop distance
-
setDropDistance
Sets the drop distance.- Parameters:
dropDistance- the new drop distance
-
getDropPosition
Gets the drop position.- Returns:
- the drop position
-
setDropPosition
Sets the drop position.- Parameters:
dropPosition- the new drop position
-
hasAutoDrop
public boolean hasAutoDrop()Checks for auto drop.- Returns:
- true, if successful
-
setAutoDrop
public void setAutoDrop(boolean hasAutoDrop)Sets the auto drop.- Parameters:
hasAutoDrop- the new auto drop
-
getExtensionHandlingBehavior
Gets the extension handling behavior.- Returns:
- the extension handling behavior
-
setExtensionHandlingBehavior
Sets the extension handling behavior.- Parameters:
extensionHandlingBehavior- the new extension handling behavior
-
getGap
Gets the gap.- Returns:
- the gap
-
setGap
Sets the gap.- Parameters:
gap- the new gap
-
getLength
Gets the length.- Returns:
- the length
-
setLength
Sets the length.- Parameters:
length- the new length
-
isLengthSpecified
public boolean isLengthSpecified()Checks if is length specified.- Returns:
- true, if is length specified
-
setLengthSpecified
public void setLengthSpecified(boolean isLengthSpecified)Sets the length specified.- Parameters:
isLengthSpecified- the new length specified
-
hasFlipX
public boolean hasFlipX()Checks for flip x.- Returns:
- true, if successful
-
setFlipX
public void setFlipX(boolean hasFlipX)Sets the flip x.- Parameters:
hasFlipX- the new flip x
-
hasFlipY
public boolean hasFlipY()Checks for flip y.- Returns:
- true, if successful
-
setFlipY
public void setFlipY(boolean hasFlipY)Sets the flip y.- Parameters:
hasFlipY- the new flip y
-
isDisplay
public boolean isDisplay()Checks if is display.- Returns:
- true, if is display
-
setDisplay
public void setDisplay(boolean display)Sets the display.- Parameters:
display- the new display
-
hasTextBorder
public boolean hasTextBorder()Checks for text border.- Returns:
- true, if successful
-
setTextBorder
public void setTextBorder(boolean hasTextBorder)Sets the text border.- Parameters:
hasTextBorder- the new text border
-
getType
Gets the type.- Returns:
- the type
-
setType
Sets the type.- Parameters:
type- the new type
-