Class CompressObjectsType


  • public class CompressObjectsType
    extends Object
     <?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">Combines object definitions of the document into so-called "object streams" and compresses them. This operation is recommended especially for larger documents with many objects. The size of contained resources (such as graphics and fonts) cannot be reduced in this way.</p>
     

    Java class for CompressObjectsType complex type

    .

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

    
     <complexType name="CompressObjectsType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <attribute name="objectStreamSize" default="200">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}int">
                 <minInclusive value="1"/>
               </restriction>
             </simpleType>
           </attribute>
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • objectStreamSize

        protected Integer objectStreamSize
         <?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">Specifies the number of objects that may be combined into one stream. The higher the number, the higher the expected effect (assuming that the document contains a large number of objects). On the other hand, very large object streams can have a negative effect on the loading and display speed of the document in readers. For values beyond 500 objects, it is recommended to perform a manual check whether the document can still be displayed without problems.</p>
         
    • Constructor Detail

      • CompressObjectsType

        public CompressObjectsType()
    • Method Detail

      • getObjectStreamSize

        public int getObjectStreamSize()
         <?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">Specifies the number of objects that may be combined into one stream. The higher the number, the higher the expected effect (assuming that the document contains a large number of objects). On the other hand, very large object streams can have a negative effect on the loading and display speed of the document in readers. For values beyond 500 objects, it is recommended to perform a manual check whether the document can still be displayed without problems.</p>
         
        Returns:
        possible object is Integer
      • setObjectStreamSize

        public void setObjectStreamSize​(int value)
        Sets the value of the objectStreamSize property.
        Parameters:
        value - allowed object is Integer
        See Also:
        getObjectStreamSize()
      • isSetObjectStreamSize

        public boolean isSetObjectStreamSize()
      • unsetObjectStreamSize

        public void unsetObjectStreamSize()