Package com.independentsoft.office.word
Class WebSettings
java.lang.Object
com.independentsoft.office.word.WebSettings
The Class WebSettings.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new web settings.WebSettings(byte[] buffer)Instantiates a new web settings. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the allow png.getDivs()Gets the divs.Gets the do not organize in folder.Gets the do not rely on css.Gets the do not save as single file.Gets the do not use long file names.Gets the encoding.Gets the mc:Ignorable attribute value of the webSettings root, ornullif absent.Gets the optimize for browser.intGets the pixels per inch.Gets the rely on vml.Gets the save smart tags as xml.Gets the target screen size.voidsetAllowPng(ExtendedBoolean allowPng)Sets the allow png.voidsetDoNotOrganizeInFolder(ExtendedBoolean doNotOrganizeInFolder)Sets the do not organize in folder.voidsetDoNotRelyOnCss(ExtendedBoolean doNotRelyOnCss)Sets the do not rely on css.voidsetDoNotSaveAsSingleFile(ExtendedBoolean doNotSaveAsSingleFile)Sets the do not save as single file.voidsetDoNotUseLongFileNames(ExtendedBoolean doNotUseLongFileNames)Sets the do not use long file names.voidsetEncoding(String encoding)Sets the encoding.voidsetMarkupCompatibilityIgnorable(String markupCompatibilityIgnorable)Sets the mc:Ignorable attribute value of the webSettings root.voidsetOptimizeForBrowser(ExtendedBoolean optimizeForBrowser)Sets the optimize for browser.voidsetPixelsPerInch(int pixelsPerInch)Sets the pixels per inch.voidsetRelyOnVml(ExtendedBoolean relyOnVml)Sets the rely on vml.voidsetSaveSmartTagsAsXml(ExtendedBoolean saveSmartTagsAsXml)Sets the save smart tags as xml.voidsetTargetScreenSize(ScreenSize targetScreenSize)Sets the target screen size.toString()
-
Constructor Details
-
WebSettings
public WebSettings()Instantiates a new web settings. -
WebSettings
Instantiates a new web settings.- Parameters:
buffer- the buffer- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
clone
-
toString
-
getDivs
Gets the divs.- Returns:
- the divs
-
getAllowPng
Gets the allow png.- Returns:
- the allow png
-
setAllowPng
Sets the allow png.- Parameters:
allowPng- the new allow png
-
getMarkupCompatibilityIgnorable
Gets the mc:Ignorable attribute value of the webSettings root, ornullif absent.- Returns:
- the markup-compatibility ignorable prefixes
-
setMarkupCompatibilityIgnorable
Sets the mc:Ignorable attribute value of the webSettings root.- Parameters:
markupCompatibilityIgnorable- the new value
-
getDoNotOrganizeInFolder
Gets the do not organize in folder.- Returns:
- the do not organize in folder
-
setDoNotOrganizeInFolder
Sets the do not organize in folder.- Parameters:
doNotOrganizeInFolder- the new do not organize in folder
-
getDoNotRelyOnCss
Gets the do not rely on css.- Returns:
- the do not rely on css
-
setDoNotRelyOnCss
Sets the do not rely on css.- Parameters:
doNotRelyOnCss- the new do not rely on css
-
getDoNotSaveAsSingleFile
Gets the do not save as single file.- Returns:
- the do not save as single file
-
setDoNotSaveAsSingleFile
Sets the do not save as single file.- Parameters:
doNotSaveAsSingleFile- the new do not save as single file
-
getDoNotUseLongFileNames
Gets the do not use long file names.- Returns:
- the do not use long file names
-
setDoNotUseLongFileNames
Sets the do not use long file names.- Parameters:
doNotUseLongFileNames- the new do not use long file names
-
getEncoding
Gets the encoding.- Returns:
- the encoding
-
setEncoding
Sets the encoding.- Parameters:
encoding- the new encoding
-
getOptimizeForBrowser
Gets the optimize for browser.- Returns:
- the optimize for browser
-
setOptimizeForBrowser
Sets the optimize for browser.- Parameters:
optimizeForBrowser- the new optimize for browser
-
getPixelsPerInch
public int getPixelsPerInch()Gets the pixels per inch.- Returns:
- the pixels per inch
-
setPixelsPerInch
public void setPixelsPerInch(int pixelsPerInch)Sets the pixels per inch.- Parameters:
pixelsPerInch- the new pixels per inch
-
getRelyOnVml
Gets the rely on vml.- Returns:
- the rely on vml
-
setRelyOnVml
Sets the rely on vml.- Parameters:
relyOnVml- the new rely on vml
-
getSaveSmartTagsAsXml
Gets the save smart tags as xml.- Returns:
- the save smart tags as xml
-
setSaveSmartTagsAsXml
Sets the save smart tags as xml.- Parameters:
saveSmartTagsAsXml- the new save smart tags as xml
-
getTargetScreenSize
Gets the target screen size.- Returns:
- the target screen size
-
setTargetScreenSize
Sets the target screen size.- Parameters:
targetScreenSize- the new target screen size
-