Class 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>
     
    • Constructor Detail

      • ViewerPreferencesType

        public ViewerPreferencesType()
    • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • isSetDisplayDocTitle

        public boolean isSetDisplayDocTitle()
      • unsetDisplayDocTitle

        public void unsetDisplayDocTitle()
      • isSetNonFullScreenPageMode

        public boolean isSetNonFullScreenPageMode()
      • setTextDirection

        public void setTextDirection​(TextDirectionType value)
        Sets the value of the textDirection property.
        Parameters:
        value - allowed object is TextDirectionType
      • 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 is PageBoxType
      • 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 is PageBoxType
      • 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 is PageBoxType
      • 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 is PageBoxType
      • 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 is PrintScaleType
      • 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 is DuplexType
      • isSetDuplex

        public boolean isSetDuplex()
      • 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 is String
      • 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 is Integer
      • isSetNumCopies

        public boolean isSetNumCopies()
      • unsetNumCopies

        public void unsetNumCopies()