Package org.docx4j.vml
Class CTFill
java.lang.Object
org.docx4j.vml.CTFill
- All Implemented Interfaces:
Child
public class CTFill extends java.lang.Object implements Child
Java class for CT_Fill complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_Fill">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{urn:schemas-microsoft-com:office:office}fill" minOccurs="0"/>
</sequence>
<attGroup ref="{urn:schemas-microsoft-com:vml}AG_Id"/>
<attribute name="type" type="{urn:schemas-microsoft-com:vml}ST_FillType" />
<attribute name="on" type="{urn:schemas-microsoft-com:vml}ST_TrueFalse" />
<attribute name="color" type="{urn:schemas-microsoft-com:vml}ST_ColorType" />
<attribute name="opacity" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="color2" type="{urn:schemas-microsoft-com:vml}ST_ColorType" />
<attribute name="src" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute ref="{urn:schemas-microsoft-com:office:office}href"/>
<attribute ref="{urn:schemas-microsoft-com:office:office}althref"/>
<attribute name="size" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="origin" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="position" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="aspect" type="{urn:schemas-microsoft-com:vml}ST_ImageAspect" />
<attribute name="colors" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="angle" type="{http://www.w3.org/2001/XMLSchema}decimal" />
<attribute name="alignshape" type="{urn:schemas-microsoft-com:vml}ST_TrueFalse" />
<attribute name="focus" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="focussize" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="focusposition" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="method" type="{urn:schemas-microsoft-com:vml}ST_FillMethod" />
<attribute ref="{urn:schemas-microsoft-com:office:office}detectmouseclick"/>
<attribute ref="{urn:schemas-microsoft-com:office:office}title"/>
<attribute ref="{urn:schemas-microsoft-com:office:office}opacity2"/>
<attribute name="recolor" type="{urn:schemas-microsoft-com:vml}ST_TrueFalse" />
<attribute name="rotate" type="{urn:schemas-microsoft-com:vml}ST_TrueFalse" />
<attribute ref="{http://schemas.openxmlformats.org/officeDocument/2006/relationships}id"/>
<attribute ref="{urn:schemas-microsoft-com:office:office}relid"/>
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected STTrueFalsealignshapeprotected java.lang.Stringalthrefprotected java.math.BigDecimalangleprotected STImageAspectaspectprotected java.lang.Stringcolorprotected java.lang.Stringcolor2protected java.lang.Stringcolorsprotected STTrueFalsedetectmouseclickprotected CTFillfillprotected java.lang.Stringfocusprotected java.lang.Stringfocuspositionprotected java.lang.Stringfocussizeprotected java.lang.Stringhrefprotected java.lang.Stringidprotected STFillMethodmethodprotected STTrueFalseonprotected java.lang.Stringopacityprotected java.lang.Stringopacity2protected java.lang.Stringoriginprotected java.lang.Stringpositionprotected STTrueFalserecolorprotected java.lang.Stringrelidprotected STTrueFalserotateprotected java.lang.Stringsizeprotected java.lang.Stringsrcprotected java.lang.Stringtitleprotected STFillTypetypeprotected java.lang.StringvmlId -
Constructor Summary
Constructors Constructor Description CTFill() -
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.STTrueFalsegetAlignshape()Gets the value of the alignshape property.java.lang.StringgetAlthref()Alternate Image Reference Locationjava.math.BigDecimalgetAngle()Gets the value of the angle property.STImageAspectgetAspect()Gets the value of the aspect property.java.lang.StringgetColor()Gets the value of the color property.java.lang.StringgetColor2()Gets the value of the color2 property.java.lang.StringgetColors()Gets the value of the colors property.STTrueFalsegetDetectmouseclick()Detect Mouse ClickCTFillgetFill()Gets the value of the fill property.java.lang.StringgetFocus()Gets the value of the focus property.java.lang.StringgetFocusposition()Gets the value of the focusposition property.java.lang.StringgetFocussize()Gets the value of the focussize property.java.lang.StringgetHref()Hyperlink Targetjava.lang.StringgetId()Relationship to PartSTFillMethodgetMethod()Gets the value of the method property.STTrueFalsegetOn()Gets the value of the on property.java.lang.StringgetOpacity()Gets the value of the opacity property.java.lang.StringgetOpacity2()Secondary Color Opacityjava.lang.StringgetOrigin()Gets the value of the origin property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.java.lang.StringgetPosition()Gets the value of the position property.STTrueFalsegetRecolor()Gets the value of the recolor property.java.lang.StringgetRelid()Relationship to PartSTTrueFalsegetRotate()Gets the value of the rotate property.java.lang.StringgetSize()Gets the value of the size property.java.lang.StringgetSrc()Gets the value of the src property.java.lang.StringgetTitle()TitleSTFillTypegetType()Gets the value of the type property.java.lang.StringgetVmlId()Gets the value of the vmlId property.voidsetAlignshape(STTrueFalse value)Sets the value of the alignshape property.voidsetAlthref(java.lang.String value)Sets the value of the althref property.voidsetAngle(java.math.BigDecimal value)Sets the value of the angle property.voidsetAspect(STImageAspect value)Sets the value of the aspect 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.voidsetColors(java.lang.String value)Sets the value of the colors property.voidsetDetectmouseclick(STTrueFalse value)Sets the value of the detectmouseclick property.voidsetFill(CTFill value)Sets the value of the fill property.voidsetFocus(java.lang.String value)Sets the value of the focus property.voidsetFocusposition(java.lang.String value)Sets the value of the focusposition property.voidsetFocussize(java.lang.String value)Sets the value of the focussize 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.voidsetMethod(STFillMethod value)Sets the value of the method property.voidsetOn(STTrueFalse value)Sets the value of the on property.voidsetOpacity(java.lang.String value)Sets the value of the opacity property.voidsetOpacity2(java.lang.String value)Sets the value of the opacity2 property.voidsetOrigin(java.lang.String value)Sets the value of the origin property.voidsetParent(java.lang.Object parent)voidsetPosition(java.lang.String value)Sets the value of the position property.voidsetRecolor(STTrueFalse value)Sets the value of the recolor property.voidsetRelid(java.lang.String value)Sets the value of the relid property.voidsetRotate(STTrueFalse value)Sets the value of the rotate property.voidsetSize(java.lang.String value)Sets the value of the size property.voidsetSrc(java.lang.String value)Sets the value of the src property.voidsetTitle(java.lang.String value)Sets the value of the title property.voidsetType(STFillType value)Sets the value of the type property.voidsetVmlId(java.lang.String value)Sets the value of the vmlId property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
fill
-
type
-
on
-
color
protected java.lang.String color -
opacity
protected java.lang.String opacity -
color2
protected java.lang.String color2 -
src
protected java.lang.String src -
href
protected java.lang.String href -
althref
protected java.lang.String althref -
size
protected java.lang.String size -
origin
protected java.lang.String origin -
position
protected java.lang.String position -
aspect
-
colors
protected java.lang.String colors -
angle
protected java.math.BigDecimal angle -
alignshape
-
focus
protected java.lang.String focus -
focussize
protected java.lang.String focussize -
focusposition
protected java.lang.String focusposition -
method
-
detectmouseclick
-
title
protected java.lang.String title -
opacity2
protected java.lang.String opacity2 -
recolor
-
rotate
-
id
protected java.lang.String id -
relid
protected java.lang.String relid -
vmlId
protected java.lang.String vmlId
-
-
Constructor Details
-
CTFill
public CTFill()
-
-
Method Details
-
getFill
Gets the value of the fill property.- Returns:
- possible object is
CTFill
-
setFill
Sets the value of the fill property.- Parameters:
value- allowed object isCTFill
-
getType
Gets the value of the type property.- Returns:
- possible object is
STFillType
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isSTFillType
-
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
-
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
-
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
-
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
-
getHref
public java.lang.String getHref()Hyperlink Target- 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 Location- 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
-
getSize
public java.lang.String getSize()Gets the value of the size property.- Returns:
- possible object is
String
-
setSize
public void setSize(java.lang.String value)Sets the value of the size property.- Parameters:
value- allowed object isString
-
getOrigin
public java.lang.String getOrigin()Gets the value of the origin property.- Returns:
- possible object is
String
-
setOrigin
public void setOrigin(java.lang.String value)Sets the value of the origin property.- Parameters:
value- allowed object isString
-
getPosition
public java.lang.String getPosition()Gets the value of the position property.- Returns:
- possible object is
String
-
setPosition
public void setPosition(java.lang.String value)Sets the value of the position property.- Parameters:
value- allowed object isString
-
getAspect
Gets the value of the aspect property.- Returns:
- possible object is
STImageAspect
-
setAspect
Sets the value of the aspect property.- Parameters:
value- allowed object isSTImageAspect
-
getColors
public java.lang.String getColors()Gets the value of the colors property.- Returns:
- possible object is
String
-
setColors
public void setColors(java.lang.String value)Sets the value of the colors property.- Parameters:
value- allowed object isString
-
getAngle
public java.math.BigDecimal getAngle()Gets the value of the angle property.- Returns:
- possible object is
BigDecimal
-
setAngle
public void setAngle(java.math.BigDecimal value)Sets the value of the angle property.- Parameters:
value- allowed object isBigDecimal
-
getAlignshape
Gets the value of the alignshape property.- Returns:
- possible object is
STTrueFalse
-
setAlignshape
Sets the value of the alignshape property.- Parameters:
value- allowed object isSTTrueFalse
-
getFocus
public java.lang.String getFocus()Gets the value of the focus property.- Returns:
- possible object is
String
-
setFocus
public void setFocus(java.lang.String value)Sets the value of the focus property.- Parameters:
value- allowed object isString
-
getFocussize
public java.lang.String getFocussize()Gets the value of the focussize property.- Returns:
- possible object is
String
-
setFocussize
public void setFocussize(java.lang.String value)Sets the value of the focussize property.- Parameters:
value- allowed object isString
-
getFocusposition
public java.lang.String getFocusposition()Gets the value of the focusposition property.- Returns:
- possible object is
String
-
setFocusposition
public void setFocusposition(java.lang.String value)Sets the value of the focusposition property.- Parameters:
value- allowed object isString
-
getMethod
Gets the value of the method property.- Returns:
- possible object is
STFillMethod
-
setMethod
Sets the value of the method property.- Parameters:
value- allowed object isSTFillMethod
-
getDetectmouseclick
Detect Mouse Click- Returns:
- possible object is
STTrueFalse
-
setDetectmouseclick
Sets the value of the detectmouseclick property.- Parameters:
value- allowed object isSTTrueFalse
-
getTitle
public java.lang.String getTitle()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
-
getOpacity2
public java.lang.String getOpacity2()Secondary Color Opacity- Returns:
- possible object is
String
-
setOpacity2
public void setOpacity2(java.lang.String value)Sets the value of the opacity2 property.- Parameters:
value- allowed object isString
-
getRecolor
Gets the value of the recolor property.- Returns:
- possible object is
STTrueFalse
-
setRecolor
Sets the value of the recolor property.- Parameters:
value- allowed object isSTTrueFalse
-
getRotate
Gets the value of the rotate property.- Returns:
- possible object is
STTrueFalse
-
setRotate
Sets the value of the rotate property.- Parameters:
value- allowed object isSTTrueFalse
-
getId
public java.lang.String getId()Relationship to Part- 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
-
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
-
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
-
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.
-