Package com.independentsoft.office.vml
Class TextPath
java.lang.Object
com.independentsoft.office.vml.TextPath
- All Implemented Interfaces:
IContentElement,IGroupElement,IShapeElement,IVmlElement
The Class TextPath.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()getID()Gets the id.getStyle()Gets the style.getText()Gets the text.booleanChecks if is display.booleanChecks if is fit path.booleanChecks if is fit shape.booleanisTrim()Checks if is trim.booleanChecks if is x scaling.voidsetDisplay(boolean display)Sets the display.voidsetFitPath(boolean fitPath)Sets the fit path.voidsetFitShape(boolean fitShape)Sets the fit shape.voidSets the id.voidsetStyle(ShapeStyle style)Sets the style.voidSets the text.voidsetTrim(boolean trim)Sets the trim.voidsetXScaling(boolean xScaling)Sets the x scaling.toString()
-
Constructor Details
-
TextPath
public TextPath()Instantiates a new text path.
-
-
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
-
isFitPath
public boolean isFitPath()Checks if is fit path.- Returns:
- true, if is fit path
-
setFitPath
public void setFitPath(boolean fitPath)Sets the fit path.- Parameters:
fitPath- the new fit path
-
isFitShape
public boolean isFitShape()Checks if is fit shape.- Returns:
- true, if is fit shape
-
setFitShape
public void setFitShape(boolean fitShape)Sets the fit shape.- Parameters:
fitShape- the new fit shape
-
getID
Gets the id.- Returns:
- the id
-
setID
Sets the id.- Parameters:
id- the new id
-
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
-
getText
Gets the text.- Returns:
- the text
-
setText
Sets the text.- Parameters:
text- the new text
-
getStyle
Gets the style.- Returns:
- the style
-
setStyle
Sets the style.- Parameters:
style- the new style
-
isTrim
public boolean isTrim()Checks if is trim.- Returns:
- true, if is trim
-
setTrim
public void setTrim(boolean trim)Sets the trim.- Parameters:
trim- the new trim
-
isXScaling
public boolean isXScaling()Checks if is x scaling.- Returns:
- true, if is x scaling
-
setXScaling
public void setXScaling(boolean xScaling)Sets the x scaling.- Parameters:
xScaling- the new x scaling
-