Class PrintType

  • All Implemented Interfaces:
    ParameterInterface

    public class PrintType
    extends BaseToolboxType
     <?xml version="1.0" encoding="UTF-8"?><p xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">The print operation element can be used to print documents.</p>
     

    Java class for PrintType complex type.

    The following schema fragment specifies the expected content contained within this class.

    
     <complexType name="PrintType">
       <complexContent>
         <extension base="{http://schema.webpdf.de/1.0/operation}BaseToolboxType">
           <attribute name="printerName" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
           <attribute name="pages" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
           <attribute name="jobName" type="{http://www.w3.org/2001/XMLSchema}string" default="webPDF Print Job" />
           <attribute name="copies" default="1">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}int">
                 <minInclusive value="1"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="autoRotate" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
           <attribute name="shrinkToMargins" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
           <attribute name="expandToMargins" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
           <attribute name="centerInPage" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
           <attribute name="dpi" type="{http://www.w3.org/2001/XMLSchema}int" default="0" />
           <attribute name="mode" type="{http://schema.webpdf.de/1.0/operation}PrintModeType" default="default" />
         </extension>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • PrintType

        public PrintType()
    • Method Detail

      • getPrinterName

        public String getPrinterName()
        Gets the value of the printerName property.
        Returns:
        possible object is String
      • setPrinterName

        public void setPrinterName​(String value)
        Sets the value of the printerName property.
        Parameters:
        value - allowed object is String
      • isSetPrinterName

        public boolean isSetPrinterName()
      • getPages

        public String getPages()
        Gets the value of the pages property.
        Returns:
        possible object is String
      • setPages

        public void setPages​(String value)
        Sets the value of the pages property.
        Parameters:
        value - allowed object is String
      • isSetPages

        public boolean isSetPages()
      • getJobName

        public String getJobName()
        Gets the value of the jobName property.
        Returns:
        possible object is String
      • setJobName

        public void setJobName​(String value)
        Sets the value of the jobName property.
        Parameters:
        value - allowed object is String
      • isSetJobName

        public boolean isSetJobName()
      • getCopies

        public int getCopies()
        Gets the value of the copies property.
        Returns:
        possible object is Integer
      • setCopies

        public void setCopies​(int value)
        Sets the value of the copies property.
        Parameters:
        value - allowed object is Integer
      • isSetCopies

        public boolean isSetCopies()
      • unsetCopies

        public void unsetCopies()
      • isAutoRotate

        public boolean isAutoRotate()
        Gets the value of the autoRotate property.
        Returns:
        possible object is Boolean
      • setAutoRotate

        public void setAutoRotate​(boolean value)
        Sets the value of the autoRotate property.
        Parameters:
        value - allowed object is Boolean
      • isSetAutoRotate

        public boolean isSetAutoRotate()
      • unsetAutoRotate

        public void unsetAutoRotate()
      • isShrinkToMargins

        public boolean isShrinkToMargins()
        Gets the value of the shrinkToMargins property.
        Returns:
        possible object is Boolean
      • setShrinkToMargins

        public void setShrinkToMargins​(boolean value)
        Sets the value of the shrinkToMargins property.
        Parameters:
        value - allowed object is Boolean
      • isSetShrinkToMargins

        public boolean isSetShrinkToMargins()
      • unsetShrinkToMargins

        public void unsetShrinkToMargins()
      • isExpandToMargins

        public boolean isExpandToMargins()
        Gets the value of the expandToMargins property.
        Returns:
        possible object is Boolean
      • setExpandToMargins

        public void setExpandToMargins​(boolean value)
        Sets the value of the expandToMargins property.
        Parameters:
        value - allowed object is Boolean
      • isSetExpandToMargins

        public boolean isSetExpandToMargins()
      • unsetExpandToMargins

        public void unsetExpandToMargins()
      • isCenterInPage

        public boolean isCenterInPage()
        Gets the value of the centerInPage property.
        Returns:
        possible object is Boolean
      • setCenterInPage

        public void setCenterInPage​(boolean value)
        Sets the value of the centerInPage property.
        Parameters:
        value - allowed object is Boolean
      • isSetCenterInPage

        public boolean isSetCenterInPage()
      • unsetCenterInPage

        public void unsetCenterInPage()
      • getDpi

        public int getDpi()
        Gets the value of the dpi property.
        Returns:
        possible object is Integer
      • setDpi

        public void setDpi​(int value)
        Sets the value of the dpi property.
        Parameters:
        value - allowed object is Integer
      • isSetDpi

        public boolean isSetDpi()
      • unsetDpi

        public void unsetDpi()
      • setMode

        public void setMode​(PrintModeType value)
        Sets the value of the mode property.
        Parameters:
        value - allowed object is PrintModeType
      • isSetMode

        public boolean isSetMode()