Package org.docx4j.wml
Class CTWebSettings
java.lang.Object
org.docx4j.wml.CTWebSettings
- All Implemented Interfaces:
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 ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex type.static classJava class for anonymous complex type. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BooleanDefaultTrueprotected CTDivsprotected BooleanDefaultTrueprotected BooleanDefaultTrueprotected BooleanDefaultTrueprotected BooleanDefaultTrueprotected CTWebSettings.Encodingprotected CTFramesetprotected BooleanDefaultTrueprotected CTWebSettings.PixelsPerInchprotected BooleanDefaultTrueprotected BooleanDefaultTrueprotected CTTargetScreenSz -
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 allowPNG property.getDivs()Gets the value of the divs property.Gets the value of the doNotOrganizeInFolder property.Gets the value of the doNotRelyOnCSS property.Gets the value of the doNotSaveAsSingleFile property.Gets the value of the doNotUseLongFileNames property.Gets the value of the encoding property.Gets the value of the frameset property.Gets the value of the optimizeForBrowser property.Gets the parent object in the object tree representing the unmarshalled xml document.Gets the value of the pixelsPerInch property.Gets the value of the relyOnVML property.Gets the value of the saveSmartTagsAsXml property.Gets the value of the targetScreenSz property.voidsetAllowPNG(BooleanDefaultTrue value) Sets the value of the allowPNG property.voidSets the value of the divs property.voidSets the value of the doNotOrganizeInFolder property.voidSets the value of the doNotRelyOnCSS property.voidSets the value of the doNotSaveAsSingleFile property.voidSets the value of the doNotUseLongFileNames property.voidSets the value of the encoding property.voidsetFrameset(CTFrameset value) Sets the value of the frameset property.voidSets the value of the optimizeForBrowser property.voidvoidSets the value of the pixelsPerInch property.voidsetRelyOnVML(BooleanDefaultTrue value) Sets the value of the relyOnVML property.voidSets the value of the saveSmartTagsAsXml property.voidSets the value of the targetScreenSz property.
-
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
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.
-