Class SanitizePagesType


  • public class SanitizePagesType
    extends SanitizeOptionsType
     <?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">If this function is enabled, all the selected pages in the document will be flattened. When this is done, an image of the visible contents in the corresponding page will be generated and will be used to replace all the page contents. This will remove any complex content that may be hiding confidential data.</p>
     

    Java class for SanitizePagesType complex type

    .

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

    
     <complexType name="SanitizePagesType">
       <complexContent>
         <extension base="{http://schema.webpdf.de/1.0/operation}SanitizeOptionsType">
           <attribute name="dpi" default="72">
             <simpleType>
               <restriction base="{http://schema.webpdf.de/1.0/operation}DpiType">
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="pages" type="{http://www.w3.org/2001/XMLSchema}string" default="*" />
         </extension>
       </complexContent>
     </complexType>
     
    • Field Detail

      • dpi

        protected Integer dpi
         <?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">Used to specify the resolution for the image being generated. Higher resolutions will result in lower quality loss, but may also result in significantly larger document sizes.</p>
         
      • pages

        protected String pages
         <?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">Defines which page(s) should be flattened. The page number can be an individual page, a page range, or a list (separated with commas) (e.g., "1,5-6,9"). To specify "all pages," use an asterisk ("*").</p>
         
    • Constructor Detail

      • SanitizePagesType

        public SanitizePagesType()
    • Method Detail

      • getDpi

        public int getDpi()
         <?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">Used to specify the resolution for the image being generated. Higher resolutions will result in lower quality loss, but may also result in significantly larger document sizes.</p>
         
        Returns:
        possible object is Integer
      • setDpi

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

        public boolean isSetDpi()
      • unsetDpi

        public void unsetDpi()
      • getPages

        public String getPages()
         <?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">Defines which page(s) should be flattened. The page number can be an individual page, a page range, or a list (separated with commas) (e.g., "1,5-6,9"). To specify "all pages," use an asterisk ("*").</p>
         
        Returns:
        possible object is String
      • setPages

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

        public boolean isSetPages()