Class CTWebSettings

java.lang.Object
org.docx4j.wml.CTWebSettings
All Implemented Interfaces:
Child

public class CTWebSettings
extends java.lang.Object
implements Child

Java class for CT_WebSettings complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CT_WebSettings">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="frameset" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Frameset" minOccurs="0"/>
         <element name="divs" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Divs" minOccurs="0"/>
         <element name="encoding" 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="optimizeForBrowser" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/>
         <element name="relyOnVML" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/>
         <element name="allowPNG" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/>
         <element name="doNotRelyOnCSS" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/>
         <element name="doNotSaveAsSingleFile" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/>
         <element name="doNotOrganizeInFolder" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/>
         <element name="doNotUseLongFileNames" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/>
         <element name="pixelsPerInch" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="val" use="required">
                   <simpleType>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}integer">
                     </restriction>
                   </simpleType>
                 </attribute>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="targetScreenSz" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_TargetScreenSz" minOccurs="0"/>
         <element name="saveSmartTagsAsXml" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}BooleanDefaultTrue" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • CTWebSettings

      public CTWebSettings()
  • Method Details

    • getFrameset

      public CTFrameset getFrameset()
      Gets the value of the frameset property.
      Returns:
      possible object is CTFrameset
    • setFrameset

      public void setFrameset​(CTFrameset value)
      Sets the value of the frameset property.
      Parameters:
      value - allowed object is CTFrameset
    • getDivs

      public CTDivs getDivs()
      Gets the value of the divs property.
      Returns:
      possible object is CTDivs
    • setDivs

      public void setDivs​(CTDivs value)
      Sets the value of the divs property.
      Parameters:
      value - allowed object is CTDivs
    • getEncoding

      public CTWebSettings.Encoding getEncoding()
      Gets the value of the encoding property.
      Returns:
      possible object is CTWebSettings.Encoding
    • setEncoding

      public void setEncoding​(CTWebSettings.Encoding value)
      Sets the value of the encoding property.
      Parameters:
      value - allowed object is CTWebSettings.Encoding
    • getOptimizeForBrowser

      public BooleanDefaultTrue getOptimizeForBrowser()
      Gets the value of the optimizeForBrowser property.
      Returns:
      possible object is BooleanDefaultTrue
    • setOptimizeForBrowser

      public void setOptimizeForBrowser​(BooleanDefaultTrue value)
      Sets the value of the optimizeForBrowser property.
      Parameters:
      value - allowed object is BooleanDefaultTrue
    • getRelyOnVML

      public BooleanDefaultTrue getRelyOnVML()
      Gets the value of the relyOnVML property.
      Returns:
      possible object is BooleanDefaultTrue
    • setRelyOnVML

      public void setRelyOnVML​(BooleanDefaultTrue value)
      Sets the value of the relyOnVML property.
      Parameters:
      value - allowed object is BooleanDefaultTrue
    • getAllowPNG

      public BooleanDefaultTrue getAllowPNG()
      Gets the value of the allowPNG property.
      Returns:
      possible object is BooleanDefaultTrue
    • setAllowPNG

      public void setAllowPNG​(BooleanDefaultTrue value)
      Sets the value of the allowPNG property.
      Parameters:
      value - allowed object is BooleanDefaultTrue
    • getDoNotRelyOnCSS

      public BooleanDefaultTrue getDoNotRelyOnCSS()
      Gets the value of the doNotRelyOnCSS property.
      Returns:
      possible object is BooleanDefaultTrue
    • setDoNotRelyOnCSS

      public void setDoNotRelyOnCSS​(BooleanDefaultTrue value)
      Sets the value of the doNotRelyOnCSS property.
      Parameters:
      value - allowed object is BooleanDefaultTrue
    • getDoNotSaveAsSingleFile

      public BooleanDefaultTrue getDoNotSaveAsSingleFile()
      Gets the value of the doNotSaveAsSingleFile property.
      Returns:
      possible object is BooleanDefaultTrue
    • setDoNotSaveAsSingleFile

      public void setDoNotSaveAsSingleFile​(BooleanDefaultTrue value)
      Sets the value of the doNotSaveAsSingleFile property.
      Parameters:
      value - allowed object is BooleanDefaultTrue
    • getDoNotOrganizeInFolder

      public BooleanDefaultTrue getDoNotOrganizeInFolder()
      Gets the value of the doNotOrganizeInFolder property.
      Returns:
      possible object is BooleanDefaultTrue
    • setDoNotOrganizeInFolder

      public void setDoNotOrganizeInFolder​(BooleanDefaultTrue value)
      Sets the value of the doNotOrganizeInFolder property.
      Parameters:
      value - allowed object is BooleanDefaultTrue
    • getDoNotUseLongFileNames

      public BooleanDefaultTrue getDoNotUseLongFileNames()
      Gets the value of the doNotUseLongFileNames property.
      Returns:
      possible object is BooleanDefaultTrue
    • setDoNotUseLongFileNames

      public void setDoNotUseLongFileNames​(BooleanDefaultTrue value)
      Sets the value of the doNotUseLongFileNames property.
      Parameters:
      value - allowed object is BooleanDefaultTrue
    • getPixelsPerInch

      public CTWebSettings.PixelsPerInch getPixelsPerInch()
      Gets the value of the pixelsPerInch property.
      Returns:
      possible object is CTWebSettings.PixelsPerInch
    • setPixelsPerInch

      public void setPixelsPerInch​(CTWebSettings.PixelsPerInch value)
      Sets the value of the pixelsPerInch property.
      Parameters:
      value - allowed object is CTWebSettings.PixelsPerInch
    • getTargetScreenSz

      public CTTargetScreenSz getTargetScreenSz()
      Gets the value of the targetScreenSz property.
      Returns:
      possible object is CTTargetScreenSz
    • setTargetScreenSz

      public void setTargetScreenSz​(CTTargetScreenSz value)
      Sets the value of the targetScreenSz property.
      Parameters:
      value - allowed object is CTTargetScreenSz
    • getSaveSmartTagsAsXml

      public BooleanDefaultTrue getSaveSmartTagsAsXml()
      Gets the value of the saveSmartTagsAsXml property.
      Returns:
      possible object is BooleanDefaultTrue
    • setSaveSmartTagsAsXml

      public void setSaveSmartTagsAsXml​(BooleanDefaultTrue value)
      Sets the value of the saveSmartTagsAsXml 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.