Package org.xlsx4j.sml
Class CTCommentPr
java.lang.Object
org.xlsx4j.sml.CTCommentPr
- All Implemented Interfaces:
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
FieldsModifier and TypeFieldDescriptionprotected Stringprotected CTObjectAnchorprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected STTextHAlignprotected STTextVAlign -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent) This method is invoked by the JAXB implementation on each instance when unmarshalling completes.Gets the value of the altText property.Gets the value of the anchor property.Gets the parent object in the object tree representing the unmarshalled xml document.Gets the value of the textHAlign property.Gets the value of the textVAlign property.booleanGets the value of the autoFill property.booleanGets the value of the autoLine property.booleanGets the value of the autoScale property.booleanGets the value of the defaultSize property.booleanGets the value of the disabled property.booleanGets the value of the justLastX property.booleanisLocked()Gets the value of the locked property.booleanGets the value of the lockText property.booleanisPrint()Gets the value of the print property.voidsetAltText(String value) Sets the value of the altText property.voidsetAnchor(CTObjectAnchor value) Sets the value of the anchor property.voidsetAutoFill(Boolean value) Sets the value of the autoFill property.voidsetAutoLine(Boolean value) Sets the value of the autoLine property.voidsetAutoScale(Boolean value) Sets the value of the autoScale property.voidsetDefaultSize(Boolean value) Sets the value of the defaultSize property.voidsetDisabled(Boolean value) Sets the value of the disabled property.voidsetJustLastX(Boolean value) Sets the value of the justLastX property.voidSets the value of the locked property.voidsetLockText(Boolean value) Sets the value of the lockText property.voidvoidSets 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.
-
Field Details
-
anchor
-
locked
-
defaultSize
-
print
-
disabled
-
autoFill
-
autoLine
-
altText
-
textHAlign
-
textVAlign
-
lockText
-
justLastX
-
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
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
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
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
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
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
Sets the value of the autoLine property.- Parameters:
value- allowed object isBoolean
-
getAltText
Gets the value of the altText property.- Returns:
- possible object is
String
-
setAltText
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
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
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
Sets the value of the autoScale property.- Parameters:
value- allowed object isBoolean
-
getParent
Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
-
afterUnmarshal
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.
-