Package org.xlsx4j.sml
Class CTCommentPr
java.lang.Object
org.xlsx4j.sml.CTCommentPr
- All Implemented Interfaces:
Child
public class CTCommentPr extends java.lang.Object implements Child
Java class for CT_CommentPr complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_CommentPr">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="anchor" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ObjectAnchor"/>
</sequence>
<attribute name="locked" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="defaultSize" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="print" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="disabled" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="autoFill" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="autoLine" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="altText" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
<attribute name="textHAlign" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_TextHAlign" default="left" />
<attribute name="textVAlign" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_TextVAlign" default="top" />
<attribute name="lockText" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="justLastX" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="autoScale" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringaltTextprotected CTObjectAnchoranchorprotected java.lang.BooleanautoFillprotected java.lang.BooleanautoLineprotected java.lang.BooleanautoScaleprotected java.lang.BooleandefaultSizeprotected java.lang.Booleandisabledprotected java.lang.BooleanjustLastXprotected java.lang.Booleanlockedprotected java.lang.BooleanlockTextprotected java.lang.Booleanprintprotected STTextHAligntextHAlignprotected STTextVAligntextVAlign -
Constructor Summary
Constructors Constructor Description CTCommentPr() -
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.StringgetAltText()Gets the value of the altText property.CTObjectAnchorgetAnchor()Gets the value of the anchor property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.STTextHAligngetTextHAlign()Gets the value of the textHAlign property.STTextVAligngetTextVAlign()Gets the value of the textVAlign property.booleanisAutoFill()Gets the value of the autoFill property.booleanisAutoLine()Gets the value of the autoLine property.booleanisAutoScale()Gets the value of the autoScale property.booleanisDefaultSize()Gets the value of the defaultSize property.booleanisDisabled()Gets the value of the disabled property.booleanisJustLastX()Gets the value of the justLastX property.booleanisLocked()Gets the value of the locked property.booleanisLockText()Gets the value of the lockText property.booleanisPrint()Gets the value of the print property.voidsetAltText(java.lang.String value)Sets the value of the altText property.voidsetAnchor(CTObjectAnchor value)Sets the value of the anchor property.voidsetAutoFill(java.lang.Boolean value)Sets the value of the autoFill property.voidsetAutoLine(java.lang.Boolean value)Sets the value of the autoLine property.voidsetAutoScale(java.lang.Boolean value)Sets the value of the autoScale property.voidsetDefaultSize(java.lang.Boolean value)Sets the value of the defaultSize property.voidsetDisabled(java.lang.Boolean value)Sets the value of the disabled property.voidsetJustLastX(java.lang.Boolean value)Sets the value of the justLastX property.voidsetLocked(java.lang.Boolean value)Sets the value of the locked property.voidsetLockText(java.lang.Boolean value)Sets the value of the lockText property.voidsetParent(java.lang.Object parent)voidsetPrint(java.lang.Boolean value)Sets the value of the print property.voidsetTextHAlign(STTextHAlign value)Sets the value of the textHAlign property.voidsetTextVAlign(STTextVAlign value)Sets the value of the textVAlign property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
anchor
-
locked
protected java.lang.Boolean locked -
defaultSize
protected java.lang.Boolean defaultSize -
print
protected java.lang.Boolean print -
disabled
protected java.lang.Boolean disabled -
autoFill
protected java.lang.Boolean autoFill -
autoLine
protected java.lang.Boolean autoLine -
altText
protected java.lang.String altText -
textHAlign
-
textVAlign
-
lockText
protected java.lang.Boolean lockText -
justLastX
protected java.lang.Boolean justLastX -
autoScale
protected java.lang.Boolean autoScale
-
-
Constructor Details
-
CTCommentPr
public CTCommentPr()
-
-
Method Details
-
getAnchor
Gets the value of the anchor property.- Returns:
- possible object is
CTObjectAnchor
-
setAnchor
Sets the value of the anchor property.- Parameters:
value- allowed object isCTObjectAnchor
-
isLocked
public boolean isLocked()Gets the value of the locked property.- Returns:
- possible object is
Boolean
-
setLocked
public void setLocked(java.lang.Boolean value)Sets the value of the locked property.- Parameters:
value- allowed object isBoolean
-
isDefaultSize
public boolean isDefaultSize()Gets the value of the defaultSize property.- Returns:
- possible object is
Boolean
-
setDefaultSize
public void setDefaultSize(java.lang.Boolean value)Sets the value of the defaultSize property.- Parameters:
value- allowed object isBoolean
-
isPrint
public boolean isPrint()Gets the value of the print property.- Returns:
- possible object is
Boolean
-
setPrint
public void setPrint(java.lang.Boolean value)Sets the value of the print property.- Parameters:
value- allowed object isBoolean
-
isDisabled
public boolean isDisabled()Gets the value of the disabled property.- Returns:
- possible object is
Boolean
-
setDisabled
public void setDisabled(java.lang.Boolean value)Sets the value of the disabled property.- Parameters:
value- allowed object isBoolean
-
isAutoFill
public boolean isAutoFill()Gets the value of the autoFill property.- Returns:
- possible object is
Boolean
-
setAutoFill
public void setAutoFill(java.lang.Boolean value)Sets the value of the autoFill property.- Parameters:
value- allowed object isBoolean
-
isAutoLine
public boolean isAutoLine()Gets the value of the autoLine property.- Returns:
- possible object is
Boolean
-
setAutoLine
public void setAutoLine(java.lang.Boolean value)Sets the value of the autoLine property.- Parameters:
value- allowed object isBoolean
-
getAltText
public java.lang.String getAltText()Gets the value of the altText property.- Returns:
- possible object is
String
-
setAltText
public void setAltText(java.lang.String value)Sets the value of the altText property.- Parameters:
value- allowed object isString
-
getTextHAlign
Gets the value of the textHAlign property.- Returns:
- possible object is
STTextHAlign
-
setTextHAlign
Sets the value of the textHAlign property.- Parameters:
value- allowed object isSTTextHAlign
-
getTextVAlign
Gets the value of the textVAlign property.- Returns:
- possible object is
STTextVAlign
-
setTextVAlign
Sets the value of the textVAlign property.- Parameters:
value- allowed object isSTTextVAlign
-
isLockText
public boolean isLockText()Gets the value of the lockText property.- Returns:
- possible object is
Boolean
-
setLockText
public void setLockText(java.lang.Boolean value)Sets the value of the lockText property.- Parameters:
value- allowed object isBoolean
-
isJustLastX
public boolean isJustLastX()Gets the value of the justLastX property.- Returns:
- possible object is
Boolean
-
setJustLastX
public void setJustLastX(java.lang.Boolean value)Sets the value of the justLastX property.- Parameters:
value- allowed object isBoolean
-
isAutoScale
public boolean isAutoScale()Gets the value of the autoScale property.- Returns:
- possible object is
Boolean
-
setAutoScale
public void setAutoScale(java.lang.Boolean value)Sets the value of the autoScale property.- Parameters:
value- allowed object isBoolean
-
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.
-