Package org.docx4j.wml
Class CTFrame
java.lang.Object
org.docx4j.wml.CTFrame
- All Implemented Interfaces:
Child
public class CTFrame extends java.lang.Object implements Child
Java class for CT_Frame complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_Frame">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="sz" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="val" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="name" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="val" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="sourceFileName" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Rel" minOccurs="0"/>
<element name="marW" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_PixelsMeasure" minOccurs="0"/>
<element name="marH" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_PixelsMeasure" minOccurs="0"/>
<element name="scrollbar" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_FrameScrollbar" minOccurs="0"/>
<element name="noResizeAllowed" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/>
<element name="linkedToFile" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCTFrame.NameJava class for anonymous complex type.static classCTFrame.SzJava class for anonymous complex type. -
Field Summary
Fields Modifier and Type Field Description protected BooleanDefaultTruelinkedToFileprotected CTPixelsMeasuremarHprotected CTPixelsMeasuremarWprotected CTFrame.Namenameprotected BooleanDefaultTruenoResizeAllowedprotected CTFrameScrollbarscrollbarprotected CTRelsourceFileNameprotected CTFrame.Szsz -
Constructor Summary
Constructors Constructor Description CTFrame() -
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.BooleanDefaultTruegetLinkedToFile()Gets the value of the linkedToFile property.CTPixelsMeasuregetMarH()Gets the value of the marH property.CTPixelsMeasuregetMarW()Gets the value of the marW property.CTFrame.NamegetName()Gets the value of the name property.BooleanDefaultTruegetNoResizeAllowed()Gets the value of the noResizeAllowed property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.CTFrameScrollbargetScrollbar()Gets the value of the scrollbar property.CTRelgetSourceFileName()Gets the value of the sourceFileName property.CTFrame.SzgetSz()Gets the value of the sz property.voidsetLinkedToFile(BooleanDefaultTrue value)Sets the value of the linkedToFile property.voidsetMarH(CTPixelsMeasure value)Sets the value of the marH property.voidsetMarW(CTPixelsMeasure value)Sets the value of the marW property.voidsetName(CTFrame.Name value)Sets the value of the name property.voidsetNoResizeAllowed(BooleanDefaultTrue value)Sets the value of the noResizeAllowed property.voidsetParent(java.lang.Object parent)voidsetScrollbar(CTFrameScrollbar value)Sets the value of the scrollbar property.voidsetSourceFileName(CTRel value)Sets the value of the sourceFileName property.voidsetSz(CTFrame.Sz value)Sets the value of the sz property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
sz
-
name
-
sourceFileName
-
marW
-
marH
-
scrollbar
-
noResizeAllowed
-
linkedToFile
-
-
Constructor Details
-
CTFrame
public CTFrame()
-
-
Method Details
-
getSz
Gets the value of the sz property.- Returns:
- possible object is
CTFrame.Sz
-
setSz
Sets the value of the sz property.- Parameters:
value- allowed object isCTFrame.Sz
-
getName
Gets the value of the name property.- Returns:
- possible object is
CTFrame.Name
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isCTFrame.Name
-
getSourceFileName
Gets the value of the sourceFileName property.- Returns:
- possible object is
CTRel
-
setSourceFileName
Sets the value of the sourceFileName property.- Parameters:
value- allowed object isCTRel
-
getMarW
Gets the value of the marW property.- Returns:
- possible object is
CTPixelsMeasure
-
setMarW
Sets the value of the marW property.- Parameters:
value- allowed object isCTPixelsMeasure
-
getMarH
Gets the value of the marH property.- Returns:
- possible object is
CTPixelsMeasure
-
setMarH
Sets the value of the marH property.- Parameters:
value- allowed object isCTPixelsMeasure
-
getScrollbar
Gets the value of the scrollbar property.- Returns:
- possible object is
CTFrameScrollbar
-
setScrollbar
Sets the value of the scrollbar property.- Parameters:
value- allowed object isCTFrameScrollbar
-
getNoResizeAllowed
Gets the value of the noResizeAllowed property.- Returns:
- possible object is
BooleanDefaultTrue
-
setNoResizeAllowed
Sets the value of the noResizeAllowed property.- Parameters:
value- allowed object isBooleanDefaultTrue
-
getLinkedToFile
Gets the value of the linkedToFile property.- Returns:
- possible object is
BooleanDefaultTrue
-
setLinkedToFile
Sets the value of the linkedToFile property.- Parameters:
value- allowed object isBooleanDefaultTrue
-
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.
-