Class ViewerPreferencesType


  • public class ViewerPreferencesType
    extends Object
     <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">Lists a set of further settings and definitions, that a Reader may honor, when displaying the document.</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/extraction/info}NonFullScreenPageModeType" default="none" />
           <attribute name="textDirection" type="{http://schema.webpdf.de/1.0/extraction/info}TextDirectionType" default="leftToRight" />
           <attribute name="viewArea" type="{http://schema.webpdf.de/1.0/extraction/info}BoxSelectionType" default="cropBox" />
           <attribute name="viewClip" type="{http://schema.webpdf.de/1.0/extraction/info}BoxSelectionType" default="cropBox" />
           <attribute name="printArea" type="{http://schema.webpdf.de/1.0/extraction/info}BoxSelectionType" default="cropBox" />
           <attribute name="printClip" type="{http://schema.webpdf.de/1.0/extraction/info}BoxSelectionType" default="cropBox" />
           <attribute name="printScaling" type="{http://schema.webpdf.de/1.0/extraction/info}PrintScaleType" default="readerDefault" />
           <attribute name="duplex" type="{http://schema.webpdf.de/1.0/extraction/info}DuplexType" default="none" />
           <attribute name="printTraySelection" type="{http://schema.webpdf.de/1.0/extraction/info}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()
      • setViewArea

        public void setViewArea​(BoxSelectionType value)
        Sets the value of the viewArea property.
        Parameters:
        value - allowed object is BoxSelectionType
      • isSetViewArea

        public boolean isSetViewArea()
      • setViewClip

        public void setViewClip​(BoxSelectionType value)
        Sets the value of the viewClip property.
        Parameters:
        value - allowed object is BoxSelectionType
      • isSetViewClip

        public boolean isSetViewClip()
      • setPrintArea

        public void setPrintArea​(BoxSelectionType value)
        Sets the value of the printArea property.
        Parameters:
        value - allowed object is BoxSelectionType
      • isSetPrintArea

        public boolean isSetPrintArea()
      • setPrintClip

        public void setPrintClip​(BoxSelectionType value)
        Sets the value of the printClip property.
        Parameters:
        value - allowed object is BoxSelectionType
      • 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()