Package org.docx4j.wml
Class CTFramePr
java.lang.Object
org.docx4j.wml.CTFramePr
- All Implemented Interfaces:
Child
Java class for CT_FramePr complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_FramePr">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="dropCap" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_DropCap" />
<attribute name="lines" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_DecimalNumber" />
<attribute name="w" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_TwipsMeasure" />
<attribute name="h" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_TwipsMeasure" />
<attribute name="vSpace" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_TwipsMeasure" />
<attribute name="hSpace" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_TwipsMeasure" />
<attribute name="wrap" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_Wrap" />
<attribute name="hAnchor" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_HAnchor" />
<attribute name="vAnchor" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_VAnchor" />
<attribute name="x" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_SignedTwipsMeasure" />
<attribute name="xAlign" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_XAlign" />
<attribute name="y" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_SignedTwipsMeasure" />
<attribute name="yAlign" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_YAlign" />
<attribute name="hRule" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_HeightRule" />
<attribute name="anchorLock" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Booleanprotected STDropCapprotected BigIntegerprotected STHAnchorprotected STHeightRuleprotected BigIntegerprotected BigIntegerprotected STVAnchorprotected BigIntegerprotected BigIntegerprotected STWrapprotected BigIntegerprotected STXAlignprotected BigIntegerprotected STYAlign -
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 dropCap property.getH()Gets the value of the h property.Gets the value of the hAnchor property.getHRule()Gets the value of the hRule property.Gets the value of the hSpace property.getLines()Gets the value of the lines property.Gets the parent object in the object tree representing the unmarshalled xml document.Gets the value of the vAnchor property.Gets the value of the vSpace property.getW()Gets the value of the w property.getWrap()Gets the value of the wrap property.getX()Gets the value of the x property.Gets the value of the xAlign property.getY()Gets the value of the y property.Gets the value of the yAlign property.booleanGets the value of the anchorLock property.voidsetAnchorLock(Boolean value) Sets the value of the anchorLock property.voidsetDropCap(STDropCap value) Sets the value of the dropCap property.voidsetH(BigInteger value) Sets the value of the h property.voidsetHAnchor(STHAnchor value) Sets the value of the hAnchor property.voidsetHRule(STHeightRule value) Sets the value of the hRule property.voidsetHSpace(BigInteger value) Sets the value of the hSpace property.voidsetLines(BigInteger value) Sets the value of the lines property.voidvoidsetVAnchor(STVAnchor value) Sets the value of the vAnchor property.voidsetVSpace(BigInteger value) Sets the value of the vSpace property.voidsetW(BigInteger value) Sets the value of the w property.voidSets the value of the wrap property.voidsetX(BigInteger value) Sets the value of the x property.voidSets the value of the xAlign property.voidsetY(BigInteger value) Sets the value of the y property.voidSets the value of the yAlign property.
-
Field Details
-
dropCap
-
lines
-
w
-
h
-
vSpace
-
hSpace
-
wrap
-
hAnchor
-
vAnchor
-
x
-
xAlign
-
y
-
yAlign
-
hRule
-
anchorLock
-
-
Constructor Details
-
CTFramePr
public CTFramePr()
-
-
Method Details
-
getDropCap
Gets the value of the dropCap property.- Returns:
- possible object is
STDropCap
-
setDropCap
Sets the value of the dropCap property.- Parameters:
value- allowed object isSTDropCap
-
getLines
Gets the value of the lines property.- Returns:
- possible object is
BigInteger
-
setLines
Sets the value of the lines property.- Parameters:
value- allowed object isBigInteger
-
getW
Gets the value of the w property.- Returns:
- possible object is
BigInteger
-
setW
Sets the value of the w property.- Parameters:
value- allowed object isBigInteger
-
getH
Gets the value of the h property.- Returns:
- possible object is
BigInteger
-
setH
Sets the value of the h property.- Parameters:
value- allowed object isBigInteger
-
getVSpace
Gets the value of the vSpace property.- Returns:
- possible object is
BigInteger
-
setVSpace
Sets the value of the vSpace property.- Parameters:
value- allowed object isBigInteger
-
getHSpace
Gets the value of the hSpace property.- Returns:
- possible object is
BigInteger
-
setHSpace
Sets the value of the hSpace property.- Parameters:
value- allowed object isBigInteger
-
getWrap
Gets the value of the wrap property.- Returns:
- possible object is
STWrap
-
setWrap
Sets the value of the wrap property.- Parameters:
value- allowed object isSTWrap
-
getHAnchor
Gets the value of the hAnchor property.- Returns:
- possible object is
STHAnchor
-
setHAnchor
Sets the value of the hAnchor property.- Parameters:
value- allowed object isSTHAnchor
-
getVAnchor
Gets the value of the vAnchor property.- Returns:
- possible object is
STVAnchor
-
setVAnchor
Sets the value of the vAnchor property.- Parameters:
value- allowed object isSTVAnchor
-
getX
Gets the value of the x property.- Returns:
- possible object is
BigInteger
-
setX
Sets the value of the x property.- Parameters:
value- allowed object isBigInteger
-
getXAlign
Gets the value of the xAlign property.- Returns:
- possible object is
STXAlign
-
setXAlign
Sets the value of the xAlign property.- Parameters:
value- allowed object isSTXAlign
-
getY
Gets the value of the y property.- Returns:
- possible object is
BigInteger
-
setY
Sets the value of the y property.- Parameters:
value- allowed object isBigInteger
-
getYAlign
Gets the value of the yAlign property.- Returns:
- possible object is
STYAlign
-
setYAlign
Sets the value of the yAlign property.- Parameters:
value- allowed object isSTYAlign
-
getHRule
Gets the value of the hRule property.- Returns:
- possible object is
STHeightRule
-
setHRule
Sets the value of the hRule property.- Parameters:
value- allowed object isSTHeightRule
-
isAnchorLock
public boolean isAnchorLock()Gets the value of the anchorLock property.- Returns:
- possible object is
Boolean
-
setAnchorLock
Sets the value of the anchorLock 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.
-