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>
 
  • Field Details

  • Constructor Details

    • CTFrame

      public CTFrame()
  • Method Details

    • getSz

      public CTFrame.Sz getSz()
      Gets the value of the sz property.
      Returns:
      possible object is CTFrame.Sz
    • setSz

      public void setSz​(CTFrame.Sz value)
      Sets the value of the sz property.
      Parameters:
      value - allowed object is CTFrame.Sz
    • getName

      public CTFrame.Name getName()
      Gets the value of the name property.
      Returns:
      possible object is CTFrame.Name
    • setName

      public void setName​(CTFrame.Name value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is CTFrame.Name
    • getSourceFileName

      public CTRel getSourceFileName()
      Gets the value of the sourceFileName property.
      Returns:
      possible object is CTRel
    • setSourceFileName

      public void setSourceFileName​(CTRel value)
      Sets the value of the sourceFileName property.
      Parameters:
      value - allowed object is CTRel
    • getMarW

      public CTPixelsMeasure getMarW()
      Gets the value of the marW property.
      Returns:
      possible object is CTPixelsMeasure
    • setMarW

      public void setMarW​(CTPixelsMeasure value)
      Sets the value of the marW property.
      Parameters:
      value - allowed object is CTPixelsMeasure
    • getMarH

      public CTPixelsMeasure getMarH()
      Gets the value of the marH property.
      Returns:
      possible object is CTPixelsMeasure
    • setMarH

      public void setMarH​(CTPixelsMeasure value)
      Sets the value of the marH property.
      Parameters:
      value - allowed object is CTPixelsMeasure
    • getScrollbar

      public CTFrameScrollbar getScrollbar()
      Gets the value of the scrollbar property.
      Returns:
      possible object is CTFrameScrollbar
    • setScrollbar

      public void setScrollbar​(CTFrameScrollbar value)
      Sets the value of the scrollbar property.
      Parameters:
      value - allowed object is CTFrameScrollbar
    • getNoResizeAllowed

      public BooleanDefaultTrue getNoResizeAllowed()
      Gets the value of the noResizeAllowed property.
      Returns:
      possible object is BooleanDefaultTrue
    • setNoResizeAllowed

      public void setNoResizeAllowed​(BooleanDefaultTrue value)
      Sets the value of the noResizeAllowed property.
      Parameters:
      value - allowed object is BooleanDefaultTrue
    • getLinkedToFile

      public BooleanDefaultTrue getLinkedToFile()
      Gets the value of the linkedToFile property.
      Returns:
      possible object is BooleanDefaultTrue
    • setLinkedToFile

      public void setLinkedToFile​(BooleanDefaultTrue value)
      Sets the value of the linkedToFile property.
      Parameters:
      value - allowed object is BooleanDefaultTrue
    • getParent

      public java.lang.Object getParent()
      Gets the parent object in the object tree representing the unmarshalled xml document.
      Specified by:
      getParent in interface Child
      Returns:
      The parent object.
    • setParent

      public void setParent​(java.lang.Object parent)
      Specified by:
      setParent in interface Child
    • 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.