Package org.docx4j.wml
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>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCTWebSettings.EncodingJava class for anonymous complex type.static classCTWebSettings.PixelsPerInchJava class for anonymous complex type. -
Field Summary
Fields Modifier and Type Field Description protected BooleanDefaultTrueallowPNGprotected CTDivsdivsprotected BooleanDefaultTruedoNotOrganizeInFolderprotected BooleanDefaultTruedoNotRelyOnCSSprotected BooleanDefaultTruedoNotSaveAsSingleFileprotected BooleanDefaultTruedoNotUseLongFileNamesprotected CTWebSettings.Encodingencodingprotected CTFramesetframesetprotected BooleanDefaultTrueoptimizeForBrowserprotected CTWebSettings.PixelsPerInchpixelsPerInchprotected BooleanDefaultTruerelyOnVMLprotected BooleanDefaultTruesaveSmartTagsAsXmlprotected CTTargetScreenSztargetScreenSz -
Constructor Summary
Constructors Constructor Description CTWebSettings() -
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.BooleanDefaultTruegetAllowPNG()Gets the value of the allowPNG property.CTDivsgetDivs()Gets the value of the divs property.BooleanDefaultTruegetDoNotOrganizeInFolder()Gets the value of the doNotOrganizeInFolder property.BooleanDefaultTruegetDoNotRelyOnCSS()Gets the value of the doNotRelyOnCSS property.BooleanDefaultTruegetDoNotSaveAsSingleFile()Gets the value of the doNotSaveAsSingleFile property.BooleanDefaultTruegetDoNotUseLongFileNames()Gets the value of the doNotUseLongFileNames property.CTWebSettings.EncodinggetEncoding()Gets the value of the encoding property.CTFramesetgetFrameset()Gets the value of the frameset property.BooleanDefaultTruegetOptimizeForBrowser()Gets the value of the optimizeForBrowser property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.CTWebSettings.PixelsPerInchgetPixelsPerInch()Gets the value of the pixelsPerInch property.BooleanDefaultTruegetRelyOnVML()Gets the value of the relyOnVML property.BooleanDefaultTruegetSaveSmartTagsAsXml()Gets the value of the saveSmartTagsAsXml property.CTTargetScreenSzgetTargetScreenSz()Gets the value of the targetScreenSz property.voidsetAllowPNG(BooleanDefaultTrue value)Sets the value of the allowPNG property.voidsetDivs(CTDivs value)Sets the value of the divs property.voidsetDoNotOrganizeInFolder(BooleanDefaultTrue value)Sets the value of the doNotOrganizeInFolder property.voidsetDoNotRelyOnCSS(BooleanDefaultTrue value)Sets the value of the doNotRelyOnCSS property.voidsetDoNotSaveAsSingleFile(BooleanDefaultTrue value)Sets the value of the doNotSaveAsSingleFile property.voidsetDoNotUseLongFileNames(BooleanDefaultTrue value)Sets the value of the doNotUseLongFileNames property.voidsetEncoding(CTWebSettings.Encoding value)Sets the value of the encoding property.voidsetFrameset(CTFrameset value)Sets the value of the frameset property.voidsetOptimizeForBrowser(BooleanDefaultTrue value)Sets the value of the optimizeForBrowser property.voidsetParent(java.lang.Object parent)voidsetPixelsPerInch(CTWebSettings.PixelsPerInch value)Sets the value of the pixelsPerInch property.voidsetRelyOnVML(BooleanDefaultTrue value)Sets the value of the relyOnVML property.voidsetSaveSmartTagsAsXml(BooleanDefaultTrue value)Sets the value of the saveSmartTagsAsXml property.voidsetTargetScreenSz(CTTargetScreenSz value)Sets the value of the targetScreenSz property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
frameset
-
divs
-
encoding
-
optimizeForBrowser
-
relyOnVML
-
allowPNG
-
doNotRelyOnCSS
-
doNotSaveAsSingleFile
-
doNotOrganizeInFolder
-
doNotUseLongFileNames
-
pixelsPerInch
-
targetScreenSz
-
saveSmartTagsAsXml
-
-
Constructor Details
-
CTWebSettings
public CTWebSettings()
-
-
Method Details
-
getFrameset
Gets the value of the frameset property.- Returns:
- possible object is
CTFrameset
-
setFrameset
Sets the value of the frameset property.- Parameters:
value- allowed object isCTFrameset
-
getDivs
Gets the value of the divs property.- Returns:
- possible object is
CTDivs
-
setDivs
Sets the value of the divs property.- Parameters:
value- allowed object isCTDivs
-
getEncoding
Gets the value of the encoding property.- Returns:
- possible object is
CTWebSettings.Encoding
-
setEncoding
Sets the value of the encoding property.- Parameters:
value- allowed object isCTWebSettings.Encoding
-
getOptimizeForBrowser
Gets the value of the optimizeForBrowser property.- Returns:
- possible object is
BooleanDefaultTrue
-
setOptimizeForBrowser
Sets the value of the optimizeForBrowser property.- Parameters:
value- allowed object isBooleanDefaultTrue
-
getRelyOnVML
Gets the value of the relyOnVML property.- Returns:
- possible object is
BooleanDefaultTrue
-
setRelyOnVML
Sets the value of the relyOnVML property.- Parameters:
value- allowed object isBooleanDefaultTrue
-
getAllowPNG
Gets the value of the allowPNG property.- Returns:
- possible object is
BooleanDefaultTrue
-
setAllowPNG
Sets the value of the allowPNG property.- Parameters:
value- allowed object isBooleanDefaultTrue
-
getDoNotRelyOnCSS
Gets the value of the doNotRelyOnCSS property.- Returns:
- possible object is
BooleanDefaultTrue
-
setDoNotRelyOnCSS
Sets the value of the doNotRelyOnCSS property.- Parameters:
value- allowed object isBooleanDefaultTrue
-
getDoNotSaveAsSingleFile
Gets the value of the doNotSaveAsSingleFile property.- Returns:
- possible object is
BooleanDefaultTrue
-
setDoNotSaveAsSingleFile
Sets the value of the doNotSaveAsSingleFile property.- Parameters:
value- allowed object isBooleanDefaultTrue
-
getDoNotOrganizeInFolder
Gets the value of the doNotOrganizeInFolder property.- Returns:
- possible object is
BooleanDefaultTrue
-
setDoNotOrganizeInFolder
Sets the value of the doNotOrganizeInFolder property.- Parameters:
value- allowed object isBooleanDefaultTrue
-
getDoNotUseLongFileNames
Gets the value of the doNotUseLongFileNames property.- Returns:
- possible object is
BooleanDefaultTrue
-
setDoNotUseLongFileNames
Sets the value of the doNotUseLongFileNames property.- Parameters:
value- allowed object isBooleanDefaultTrue
-
getPixelsPerInch
Gets the value of the pixelsPerInch property.- Returns:
- possible object is
CTWebSettings.PixelsPerInch
-
setPixelsPerInch
Sets the value of the pixelsPerInch property.- Parameters:
value- allowed object isCTWebSettings.PixelsPerInch
-
getTargetScreenSz
Gets the value of the targetScreenSz property.- Returns:
- possible object is
CTTargetScreenSz
-
setTargetScreenSz
Sets the value of the targetScreenSz property.- Parameters:
value- allowed object isCTTargetScreenSz
-
getSaveSmartTagsAsXml
Gets the value of the saveSmartTagsAsXml property.- Returns:
- possible object is
BooleanDefaultTrue
-
setSaveSmartTagsAsXml
Sets the value of the saveSmartTagsAsXml 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.
-