Package org.docx4j.vml
Class CTStroke
java.lang.Object
org.docx4j.vml.CTStroke
- All Implemented Interfaces:
Child
public class CTStroke extends java.lang.Object implements Child
Java class for CT_Stroke complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_Stroke">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{urn:schemas-microsoft-com:office:office}left" minOccurs="0"/>
<element ref="{urn:schemas-microsoft-com:office:office}top" minOccurs="0"/>
<element ref="{urn:schemas-microsoft-com:office:office}right" minOccurs="0"/>
<element ref="{urn:schemas-microsoft-com:office:office}bottom" minOccurs="0"/>
<element ref="{urn:schemas-microsoft-com:office:office}column" minOccurs="0"/>
</sequence>
<attGroup ref="{urn:schemas-microsoft-com:vml}AG_Id"/>
<attGroup ref="{urn:schemas-microsoft-com:vml}AG_StrokeAttributes"/>
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringalthrefprotected CTStrokeChildbottomprotected java.lang.Stringcolorprotected java.lang.Stringcolor2protected CTStrokeChildcolumnprotected java.lang.Stringdashstyleprotected STStrokeArrowTypeendarrowprotected STStrokeArrowLengthendarrowlengthprotected STStrokeArrowWidthendarrowwidthprotected STStrokeEndCapendcapprotected STFillTypefilltypeprotected STTrueFalseforcedashprotected java.lang.Stringhrefprotected java.lang.Stringidprotected STTrueFalseimagealignshapeprotected STImageAspectimageaspectprotected java.lang.Stringimagesizeprotected STTrueFalseinsetpenprotected STStrokeJoinStylejoinstyleprotected CTStrokeChildleftprotected STStrokeLineStylelinestyleprotected java.lang.Stringmiterlimitprotected STTrueFalseonprotected java.lang.Stringopacityprotected java.lang.Stringrelidprotected CTStrokeChildrightprotected java.lang.Stringsrcprotected STStrokeArrowTypestartarrowprotected STStrokeArrowLengthstartarrowlengthprotected STStrokeArrowWidthstartarrowwidthprotected java.lang.Stringtitleprotected CTStrokeChildtopprotected java.lang.StringvmlIdprotected java.lang.Stringweight -
Constructor Summary
Constructors Constructor Description CTStroke() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.java.lang.StringgetAlthref()Alternate Image ReferenceCTStrokeChildgetBottom()Gets the value of the bottom property.java.lang.StringgetColor()Gets the value of the color property.java.lang.StringgetColor2()Gets the value of the color2 property.CTStrokeChildgetColumn()Gets the value of the column property.java.lang.StringgetDashstyle()Gets the value of the dashstyle property.STStrokeArrowTypegetEndarrow()Gets the value of the endarrow property.STStrokeArrowLengthgetEndarrowlength()Gets the value of the endarrowlength property.STStrokeArrowWidthgetEndarrowwidth()Gets the value of the endarrowwidth property.STStrokeEndCapgetEndcap()Gets the value of the endcap property.STFillTypegetFilltype()Gets the value of the filltype property.STTrueFalsegetForcedash()Force Dashed Outlinejava.lang.StringgetHref()Original Image Referencejava.lang.StringgetId()RelationshipSTTrueFalsegetImagealignshape()Gets the value of the imagealignshape property.STImageAspectgetImageaspect()Gets the value of the imageaspect property.java.lang.StringgetImagesize()Gets the value of the imagesize property.STTrueFalsegetInsetpen()Gets the value of the insetpen property.STStrokeJoinStylegetJoinstyle()Gets the value of the joinstyle property.CTStrokeChildgetLeft()Gets the value of the left property.STStrokeLineStylegetLinestyle()Gets the value of the linestyle property.java.lang.StringgetMiterlimit()Gets the value of the miterlimit property.STTrueFalsegetOn()Gets the value of the on property.java.lang.StringgetOpacity()Gets the value of the opacity property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.java.lang.StringgetRelid()Relationship to PartCTStrokeChildgetRight()Gets the value of the right property.java.lang.StringgetSrc()Gets the value of the src property.STStrokeArrowTypegetStartarrow()Gets the value of the startarrow property.STStrokeArrowLengthgetStartarrowlength()Gets the value of the startarrowlength property.STStrokeArrowWidthgetStartarrowwidth()Gets the value of the startarrowwidth property.java.lang.StringgetTitle()Stroke TitleCTStrokeChildgetTop()Gets the value of the top property.java.lang.StringgetVmlId()Gets the value of the vmlId property.java.lang.StringgetWeight()Gets the value of the weight property.voidsetAlthref(java.lang.String value)Sets the value of the althref property.voidsetBottom(CTStrokeChild value)Sets the value of the bottom property.voidsetColor(java.lang.String value)Sets the value of the color property.voidsetColor2(java.lang.String value)Sets the value of the color2 property.voidsetColumn(CTStrokeChild value)Sets the value of the column property.voidsetDashstyle(java.lang.String value)Sets the value of the dashstyle property.voidsetEndarrow(STStrokeArrowType value)Sets the value of the endarrow property.voidsetEndarrowlength(STStrokeArrowLength value)Sets the value of the endarrowlength property.voidsetEndarrowwidth(STStrokeArrowWidth value)Sets the value of the endarrowwidth property.voidsetEndcap(STStrokeEndCap value)Sets the value of the endcap property.voidsetFilltype(STFillType value)Sets the value of the filltype property.voidsetForcedash(STTrueFalse value)Sets the value of the forcedash property.voidsetHref(java.lang.String value)Sets the value of the href property.voidsetId(java.lang.String value)Sets the value of the id property.voidsetImagealignshape(STTrueFalse value)Sets the value of the imagealignshape property.voidsetImageaspect(STImageAspect value)Sets the value of the imageaspect property.voidsetImagesize(java.lang.String value)Sets the value of the imagesize property.voidsetInsetpen(STTrueFalse value)Sets the value of the insetpen property.voidsetJoinstyle(STStrokeJoinStyle value)Sets the value of the joinstyle property.voidsetLeft(CTStrokeChild value)Sets the value of the left property.voidsetLinestyle(STStrokeLineStyle value)Sets the value of the linestyle property.voidsetMiterlimit(java.lang.String value)Sets the value of the miterlimit property.voidsetOn(STTrueFalse value)Sets the value of the on property.voidsetOpacity(java.lang.String value)Sets the value of the opacity property.voidsetParent(java.lang.Object parent)voidsetRelid(java.lang.String value)Sets the value of the relid property.voidsetRight(CTStrokeChild value)Sets the value of the right property.voidsetSrc(java.lang.String value)Sets the value of the src property.voidsetStartarrow(STStrokeArrowType value)Sets the value of the startarrow property.voidsetStartarrowlength(STStrokeArrowLength value)Sets the value of the startarrowlength property.voidsetStartarrowwidth(STStrokeArrowWidth value)Sets the value of the startarrowwidth property.voidsetTitle(java.lang.String value)Sets the value of the title property.voidsetTop(CTStrokeChild value)Sets the value of the top property.voidsetVmlId(java.lang.String value)Sets the value of the vmlId property.voidsetWeight(java.lang.String value)Sets the value of the weight property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
left
-
top
-
right
-
bottom
-
column
-
vmlId
protected java.lang.String vmlId -
on
-
weight
protected java.lang.String weight -
color
protected java.lang.String color -
opacity
protected java.lang.String opacity -
linestyle
-
miterlimit
protected java.lang.String miterlimit -
joinstyle
-
endcap
-
dashstyle
protected java.lang.String dashstyle -
filltype
-
src
protected java.lang.String src -
imageaspect
-
imagesize
protected java.lang.String imagesize -
imagealignshape
-
color2
protected java.lang.String color2 -
startarrow
-
startarrowwidth
-
startarrowlength
-
endarrow
-
endarrowwidth
-
endarrowlength
-
href
protected java.lang.String href -
althref
protected java.lang.String althref -
title
protected java.lang.String title -
forcedash
-
id
protected java.lang.String id -
insetpen
-
relid
protected java.lang.String relid
-
-
Constructor Details
-
CTStroke
public CTStroke()
-
-
Method Details
-
getLeft
Gets the value of the left property.- Returns:
- possible object is
CTStrokeChild
-
setLeft
Sets the value of the left property.- Parameters:
value- allowed object isCTStrokeChild
-
getTop
Gets the value of the top property.- Returns:
- possible object is
CTStrokeChild
-
setTop
Sets the value of the top property.- Parameters:
value- allowed object isCTStrokeChild
-
getRight
Gets the value of the right property.- Returns:
- possible object is
CTStrokeChild
-
setRight
Sets the value of the right property.- Parameters:
value- allowed object isCTStrokeChild
-
getBottom
Gets the value of the bottom property.- Returns:
- possible object is
CTStrokeChild
-
setBottom
Sets the value of the bottom property.- Parameters:
value- allowed object isCTStrokeChild
-
getColumn
Gets the value of the column property.- Returns:
- possible object is
CTStrokeChild
-
setColumn
Sets the value of the column property.- Parameters:
value- allowed object isCTStrokeChild
-
getVmlId
public java.lang.String getVmlId()Gets the value of the vmlId property.- Returns:
- possible object is
String
-
setVmlId
public void setVmlId(java.lang.String value)Sets the value of the vmlId property.- Parameters:
value- allowed object isString
-
getOn
Gets the value of the on property.- Returns:
- possible object is
STTrueFalse
-
setOn
Sets the value of the on property.- Parameters:
value- allowed object isSTTrueFalse
-
getWeight
public java.lang.String getWeight()Gets the value of the weight property.- Returns:
- possible object is
String
-
setWeight
public void setWeight(java.lang.String value)Sets the value of the weight property.- Parameters:
value- allowed object isString
-
getColor
public java.lang.String getColor()Gets the value of the color property.- Returns:
- possible object is
String
-
setColor
public void setColor(java.lang.String value)Sets the value of the color property.- Parameters:
value- allowed object isString
-
getOpacity
public java.lang.String getOpacity()Gets the value of the opacity property.- Returns:
- possible object is
String
-
setOpacity
public void setOpacity(java.lang.String value)Sets the value of the opacity property.- Parameters:
value- allowed object isString
-
getLinestyle
Gets the value of the linestyle property.- Returns:
- possible object is
STStrokeLineStyle
-
setLinestyle
Sets the value of the linestyle property.- Parameters:
value- allowed object isSTStrokeLineStyle
-
getMiterlimit
public java.lang.String getMiterlimit()Gets the value of the miterlimit property.- Returns:
- possible object is
BigDecimal
-
setMiterlimit
public void setMiterlimit(java.lang.String value)Sets the value of the miterlimit property.- Parameters:
value- allowed object isBigDecimal
-
getJoinstyle
Gets the value of the joinstyle property.- Returns:
- possible object is
STStrokeJoinStyle
-
setJoinstyle
Sets the value of the joinstyle property.- Parameters:
value- allowed object isSTStrokeJoinStyle
-
getEndcap
Gets the value of the endcap property.- Returns:
- possible object is
STStrokeEndCap
-
setEndcap
Sets the value of the endcap property.- Parameters:
value- allowed object isSTStrokeEndCap
-
getDashstyle
public java.lang.String getDashstyle()Gets the value of the dashstyle property.- Returns:
- possible object is
String
-
setDashstyle
public void setDashstyle(java.lang.String value)Sets the value of the dashstyle property.- Parameters:
value- allowed object isString
-
getFilltype
Gets the value of the filltype property.- Returns:
- possible object is
STFillType
-
setFilltype
Sets the value of the filltype property.- Parameters:
value- allowed object isSTFillType
-
getSrc
public java.lang.String getSrc()Gets the value of the src property.- Returns:
- possible object is
String
-
setSrc
public void setSrc(java.lang.String value)Sets the value of the src property.- Parameters:
value- allowed object isString
-
getImageaspect
Gets the value of the imageaspect property.- Returns:
- possible object is
STImageAspect
-
setImageaspect
Sets the value of the imageaspect property.- Parameters:
value- allowed object isSTImageAspect
-
getImagesize
public java.lang.String getImagesize()Gets the value of the imagesize property.- Returns:
- possible object is
String
-
setImagesize
public void setImagesize(java.lang.String value)Sets the value of the imagesize property.- Parameters:
value- allowed object isString
-
getImagealignshape
Gets the value of the imagealignshape property.- Returns:
- possible object is
STTrueFalse
-
setImagealignshape
Sets the value of the imagealignshape property.- Parameters:
value- allowed object isSTTrueFalse
-
getColor2
public java.lang.String getColor2()Gets the value of the color2 property.- Returns:
- possible object is
String
-
setColor2
public void setColor2(java.lang.String value)Sets the value of the color2 property.- Parameters:
value- allowed object isString
-
getStartarrow
Gets the value of the startarrow property.- Returns:
- possible object is
STStrokeArrowType
-
setStartarrow
Sets the value of the startarrow property.- Parameters:
value- allowed object isSTStrokeArrowType
-
getStartarrowwidth
Gets the value of the startarrowwidth property.- Returns:
- possible object is
STStrokeArrowWidth
-
setStartarrowwidth
Sets the value of the startarrowwidth property.- Parameters:
value- allowed object isSTStrokeArrowWidth
-
getStartarrowlength
Gets the value of the startarrowlength property.- Returns:
- possible object is
STStrokeArrowLength
-
setStartarrowlength
Sets the value of the startarrowlength property.- Parameters:
value- allowed object isSTStrokeArrowLength
-
getEndarrow
Gets the value of the endarrow property.- Returns:
- possible object is
STStrokeArrowType
-
setEndarrow
Sets the value of the endarrow property.- Parameters:
value- allowed object isSTStrokeArrowType
-
getEndarrowwidth
Gets the value of the endarrowwidth property.- Returns:
- possible object is
STStrokeArrowWidth
-
setEndarrowwidth
Sets the value of the endarrowwidth property.- Parameters:
value- allowed object isSTStrokeArrowWidth
-
getEndarrowlength
Gets the value of the endarrowlength property.- Returns:
- possible object is
STStrokeArrowLength
-
setEndarrowlength
Sets the value of the endarrowlength property.- Parameters:
value- allowed object isSTStrokeArrowLength
-
getHref
public java.lang.String getHref()Original Image Reference- Returns:
- possible object is
String
-
setHref
public void setHref(java.lang.String value)Sets the value of the href property.- Parameters:
value- allowed object isString
-
getAlthref
public java.lang.String getAlthref()Alternate Image Reference- Returns:
- possible object is
String
-
setAlthref
public void setAlthref(java.lang.String value)Sets the value of the althref property.- Parameters:
value- allowed object isString
-
getTitle
public java.lang.String getTitle()Stroke Title- Returns:
- possible object is
String
-
setTitle
public void setTitle(java.lang.String value)Sets the value of the title property.- Parameters:
value- allowed object isString
-
getForcedash
Force Dashed Outline- Returns:
- possible object is
STTrueFalse
-
setForcedash
Sets the value of the forcedash property.- Parameters:
value- allowed object isSTTrueFalse
-
getId
public java.lang.String getId()Relationship- Returns:
- possible object is
String
-
setId
public void setId(java.lang.String value)Sets the value of the id property.- Parameters:
value- allowed object isString
-
getInsetpen
Gets the value of the insetpen property.- Returns:
- possible object is
STTrueFalse
-
setInsetpen
Sets the value of the insetpen property.- Parameters:
value- allowed object isSTTrueFalse
-
getRelid
public java.lang.String getRelid()Relationship to Part- Returns:
- possible object is
String
-
setRelid
public void setRelid(java.lang.String value)Sets the value of the relid property.- Parameters:
value- allowed object isString
-
getParent
public java.lang.Object getParent()Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
public void setParent(java.lang.Object parent) -
afterUnmarshal
public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.- Parameters:
parent- The parent object in the object tree.unmarshaller- The unmarshaller that generated the instance.
-