Class ViewerPreferencesType
- java.lang.Object
-
- net.webpdf.wsclient.schema.operation.ViewerPreferencesType
-
public class ViewerPreferencesType extends Object
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p179664_="http://jaxb2-commons.dev.java.net/basic/simplify" xmlns:p388603_="https://jakarta.ee/xml/ns/jaxb" xmlns:p96940_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Allows to change PDF reader specific settings and dialog defaults. </p><?xml version="1.0" encoding="UTF-8"?><p xmlns:p179664_="http://jaxb2-commons.dev.java.net/basic/simplify" xmlns:p388603_="https://jakarta.ee/xml/ns/jaxb" xmlns:p96940_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema"><b>Important:</b> Whether these parameters actually have an effect, depends directly on their support in the application used to display the PDF. </p><?xml version="1.0" encoding="UTF-8"?><p xmlns:p179664_="http://jaxb2-commons.dev.java.net/basic/simplify" xmlns:p388603_="https://jakarta.ee/xml/ns/jaxb" xmlns:p96940_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema"><b>Important:</b> Only few of those settings are actually "enforced" and most PDF readers will provide the viewer with the means to circumvent or even alter those settings. </p>Java class for ViewerPreferencesType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ViewerPreferencesType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="hideToolbar" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="hideMenuBar" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="hideWindowUI" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="fitWindow" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="centerWindow" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="displayDocTitle" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="nonFullScreenPageMode" type="{http://schema.webpdf.de/1.0/operation}NonFullScreenPageModeType" default="none" /> <attribute name="textDirection" type="{http://schema.webpdf.de/1.0/operation}TextDirectionType" default="leftToRight" /> <attribute name="viewArea" type="{http://schema.webpdf.de/1.0/operation}PageBoxType" default="crop_box" /> <attribute name="viewClip" type="{http://schema.webpdf.de/1.0/operation}PageBoxType" default="crop_box" /> <attribute name="printArea" type="{http://schema.webpdf.de/1.0/operation}PageBoxType" default="crop_box" /> <attribute name="printClip" type="{http://schema.webpdf.de/1.0/operation}PageBoxType" default="crop_box" /> <attribute name="printScaling" type="{http://schema.webpdf.de/1.0/operation}PrintScaleType" default="readerDefault" /> <attribute name="duplex" type="{http://schema.webpdf.de/1.0/operation}DuplexType" default="none" /> <attribute name="printTraySelection" type="{http://schema.webpdf.de/1.0/operation}PrintTraySelectionType" default="readerDefault" /> <attribute name="printPageRange" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> <attribute name="numCopies" default="1"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> <minInclusive value="1"/> </restriction> </simpleType> </attribute> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected BooleancenterWindowprotected BooleandisplayDocTitleprotected DuplexTypeduplexprotected BooleanfitWindowprotected BooleanhideMenuBarprotected BooleanhideToolbarprotected BooleanhideWindowUIprotected NonFullScreenPageModeTypenonFullScreenPageModeprotected IntegernumCopiesprotected PageBoxTypeprintAreaprotected PageBoxTypeprintClipprotected StringprintPageRangeprotected PrintScaleTypeprintScalingprotected PrintTraySelectionTypeprintTraySelectionprotected TextDirectionTypetextDirectionprotected PageBoxTypeviewAreaprotected PageBoxTypeviewClip
-
Constructor Summary
Constructors Constructor Description ViewerPreferencesType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DuplexTypegetDuplex()Gets the value of the duplex property.NonFullScreenPageModeTypegetNonFullScreenPageMode()Gets the value of the nonFullScreenPageMode property.intgetNumCopies()Gets the value of the numCopies property.PageBoxTypegetPrintArea()Gets the value of the printArea property.PageBoxTypegetPrintClip()Gets the value of the printClip property.StringgetPrintPageRange()Gets the value of the printPageRange property.PrintScaleTypegetPrintScaling()Gets the value of the printScaling property.PrintTraySelectionTypegetPrintTraySelection()Gets the value of the printTraySelection property.TextDirectionTypegetTextDirection()Gets the value of the textDirection property.PageBoxTypegetViewArea()Gets the value of the viewArea property.PageBoxTypegetViewClip()Gets the value of the viewClip property.booleanisCenterWindow()Gets the value of the centerWindow property.booleanisDisplayDocTitle()Gets the value of the displayDocTitle property.booleanisFitWindow()Gets the value of the fitWindow property.booleanisHideMenuBar()Gets the value of the hideMenuBar property.booleanisHideToolbar()Gets the value of the hideToolbar property.booleanisHideWindowUI()Gets the value of the hideWindowUI property.booleanisSetCenterWindow()booleanisSetDisplayDocTitle()booleanisSetDuplex()booleanisSetFitWindow()booleanisSetHideMenuBar()booleanisSetHideToolbar()booleanisSetHideWindowUI()booleanisSetNonFullScreenPageMode()booleanisSetNumCopies()booleanisSetPrintArea()booleanisSetPrintClip()booleanisSetPrintPageRange()booleanisSetPrintScaling()booleanisSetPrintTraySelection()booleanisSetTextDirection()booleanisSetViewArea()booleanisSetViewClip()voidsetCenterWindow(boolean value)Sets the value of the centerWindow property.voidsetDisplayDocTitle(boolean value)Sets the value of the displayDocTitle property.voidsetDuplex(DuplexType value)Sets the value of the duplex property.voidsetFitWindow(boolean value)Sets the value of the fitWindow property.voidsetHideMenuBar(boolean value)Sets the value of the hideMenuBar property.voidsetHideToolbar(boolean value)Sets the value of the hideToolbar property.voidsetHideWindowUI(boolean value)Sets the value of the hideWindowUI property.voidsetNonFullScreenPageMode(NonFullScreenPageModeType value)Sets the value of the nonFullScreenPageMode property.voidsetNumCopies(int value)Sets the value of the numCopies property.voidsetPrintArea(PageBoxType value)Sets the value of the printArea property.voidsetPrintClip(PageBoxType value)Sets the value of the printClip property.voidsetPrintPageRange(String value)Sets the value of the printPageRange property.voidsetPrintScaling(PrintScaleType value)Sets the value of the printScaling property.voidsetPrintTraySelection(PrintTraySelectionType value)Sets the value of the printTraySelection property.voidsetTextDirection(TextDirectionType value)Sets the value of the textDirection property.voidsetViewArea(PageBoxType value)Sets the value of the viewArea property.voidsetViewClip(PageBoxType value)Sets the value of the viewClip property.voidunsetCenterWindow()voidunsetDisplayDocTitle()voidunsetFitWindow()voidunsetHideMenuBar()voidunsetHideToolbar()voidunsetHideWindowUI()voidunsetNumCopies()
-
-
-
Field Detail
-
hideToolbar
protected Boolean hideToolbar
-
hideMenuBar
protected Boolean hideMenuBar
-
hideWindowUI
protected Boolean hideWindowUI
-
fitWindow
protected Boolean fitWindow
-
centerWindow
protected Boolean centerWindow
-
displayDocTitle
protected Boolean displayDocTitle
-
nonFullScreenPageMode
protected NonFullScreenPageModeType nonFullScreenPageMode
-
textDirection
protected TextDirectionType textDirection
-
viewArea
protected PageBoxType viewArea
-
viewClip
protected PageBoxType viewClip
-
printArea
protected PageBoxType printArea
-
printClip
protected PageBoxType printClip
-
printScaling
protected PrintScaleType printScaling
-
duplex
protected DuplexType duplex
-
printTraySelection
protected PrintTraySelectionType printTraySelection
-
printPageRange
protected String printPageRange
-
numCopies
protected Integer numCopies
-
-
Method Detail
-
isHideToolbar
public boolean isHideToolbar()
Gets the value of the hideToolbar property.- Returns:
- possible object is
Boolean
-
setHideToolbar
public void setHideToolbar(boolean value)
Sets the value of the hideToolbar property.- Parameters:
value- allowed object isBoolean
-
isSetHideToolbar
public boolean isSetHideToolbar()
-
unsetHideToolbar
public void unsetHideToolbar()
-
isHideMenuBar
public boolean isHideMenuBar()
Gets the value of the hideMenuBar property.- Returns:
- possible object is
Boolean
-
setHideMenuBar
public void setHideMenuBar(boolean value)
Sets the value of the hideMenuBar property.- Parameters:
value- allowed object isBoolean
-
isSetHideMenuBar
public boolean isSetHideMenuBar()
-
unsetHideMenuBar
public void unsetHideMenuBar()
-
isHideWindowUI
public boolean isHideWindowUI()
Gets the value of the hideWindowUI property.- Returns:
- possible object is
Boolean
-
setHideWindowUI
public void setHideWindowUI(boolean value)
Sets the value of the hideWindowUI property.- Parameters:
value- allowed object isBoolean
-
isSetHideWindowUI
public boolean isSetHideWindowUI()
-
unsetHideWindowUI
public void unsetHideWindowUI()
-
isFitWindow
public boolean isFitWindow()
Gets the value of the fitWindow property.- Returns:
- possible object is
Boolean
-
setFitWindow
public void setFitWindow(boolean value)
Sets the value of the fitWindow property.- Parameters:
value- allowed object isBoolean
-
isSetFitWindow
public boolean isSetFitWindow()
-
unsetFitWindow
public void unsetFitWindow()
-
isCenterWindow
public boolean isCenterWindow()
Gets the value of the centerWindow property.- Returns:
- possible object is
Boolean
-
setCenterWindow
public void setCenterWindow(boolean value)
Sets the value of the centerWindow property.- Parameters:
value- allowed object isBoolean
-
isSetCenterWindow
public boolean isSetCenterWindow()
-
unsetCenterWindow
public void unsetCenterWindow()
-
isDisplayDocTitle
public boolean isDisplayDocTitle()
Gets the value of the displayDocTitle property.- Returns:
- possible object is
Boolean
-
setDisplayDocTitle
public void setDisplayDocTitle(boolean value)
Sets the value of the displayDocTitle property.- Parameters:
value- allowed object isBoolean
-
isSetDisplayDocTitle
public boolean isSetDisplayDocTitle()
-
unsetDisplayDocTitle
public void unsetDisplayDocTitle()
-
getNonFullScreenPageMode
public NonFullScreenPageModeType getNonFullScreenPageMode()
Gets the value of the nonFullScreenPageMode property.- Returns:
- possible object is
NonFullScreenPageModeType
-
setNonFullScreenPageMode
public void setNonFullScreenPageMode(NonFullScreenPageModeType value)
Sets the value of the nonFullScreenPageMode property.- Parameters:
value- allowed object isNonFullScreenPageModeType
-
isSetNonFullScreenPageMode
public boolean isSetNonFullScreenPageMode()
-
getTextDirection
public TextDirectionType getTextDirection()
Gets the value of the textDirection property.- Returns:
- possible object is
TextDirectionType
-
setTextDirection
public void setTextDirection(TextDirectionType value)
Sets the value of the textDirection property.- Parameters:
value- allowed object isTextDirectionType
-
isSetTextDirection
public boolean isSetTextDirection()
-
getViewArea
public PageBoxType getViewArea()
Gets the value of the viewArea property.- Returns:
- possible object is
PageBoxType
-
setViewArea
public void setViewArea(PageBoxType value)
Sets the value of the viewArea property.- Parameters:
value- allowed object isPageBoxType
-
isSetViewArea
public boolean isSetViewArea()
-
getViewClip
public PageBoxType getViewClip()
Gets the value of the viewClip property.- Returns:
- possible object is
PageBoxType
-
setViewClip
public void setViewClip(PageBoxType value)
Sets the value of the viewClip property.- Parameters:
value- allowed object isPageBoxType
-
isSetViewClip
public boolean isSetViewClip()
-
getPrintArea
public PageBoxType getPrintArea()
Gets the value of the printArea property.- Returns:
- possible object is
PageBoxType
-
setPrintArea
public void setPrintArea(PageBoxType value)
Sets the value of the printArea property.- Parameters:
value- allowed object isPageBoxType
-
isSetPrintArea
public boolean isSetPrintArea()
-
getPrintClip
public PageBoxType getPrintClip()
Gets the value of the printClip property.- Returns:
- possible object is
PageBoxType
-
setPrintClip
public void setPrintClip(PageBoxType value)
Sets the value of the printClip property.- Parameters:
value- allowed object isPageBoxType
-
isSetPrintClip
public boolean isSetPrintClip()
-
getPrintScaling
public PrintScaleType getPrintScaling()
Gets the value of the printScaling property.- Returns:
- possible object is
PrintScaleType
-
setPrintScaling
public void setPrintScaling(PrintScaleType value)
Sets the value of the printScaling property.- Parameters:
value- allowed object isPrintScaleType
-
isSetPrintScaling
public boolean isSetPrintScaling()
-
getDuplex
public DuplexType getDuplex()
Gets the value of the duplex property.- Returns:
- possible object is
DuplexType
-
setDuplex
public void setDuplex(DuplexType value)
Sets the value of the duplex property.- Parameters:
value- allowed object isDuplexType
-
isSetDuplex
public boolean isSetDuplex()
-
getPrintTraySelection
public PrintTraySelectionType getPrintTraySelection()
Gets the value of the printTraySelection property.- Returns:
- possible object is
PrintTraySelectionType
-
setPrintTraySelection
public void setPrintTraySelection(PrintTraySelectionType value)
Sets the value of the printTraySelection property.- Parameters:
value- allowed object isPrintTraySelectionType
-
isSetPrintTraySelection
public boolean isSetPrintTraySelection()
-
getPrintPageRange
public String getPrintPageRange()
Gets the value of the printPageRange property.- Returns:
- possible object is
String
-
setPrintPageRange
public void setPrintPageRange(String value)
Sets the value of the printPageRange property.- Parameters:
value- allowed object isString
-
isSetPrintPageRange
public boolean isSetPrintPageRange()
-
getNumCopies
public int getNumCopies()
Gets the value of the numCopies property.- Returns:
- possible object is
Integer
-
setNumCopies
public void setNumCopies(int value)
Sets the value of the numCopies property.- Parameters:
value- allowed object isInteger
-
isSetNumCopies
public boolean isSetNumCopies()
-
unsetNumCopies
public void unsetNumCopies()
-
-