Class BoxesResizeType


  • public class BoxesResizeType
    extends Object
     <?xml version="1.0" encoding="UTF-8"?><p xmlns:p416162_="https://jakarta.ee/xml/ns/jaxb" xmlns:p761379_="http://jaxb2-commons.dev.java.net/basic/simplify" xmlns:p931522_="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">Used to change the dimensions of a specific box in a specific page range in the document.</p>
     

    Java class for BoxesResizeType complex type

    .

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

    
     <complexType name="BoxesResizeType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <all>
             <element name="dimensions">
               <complexType>
                 <complexContent>
                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                     <attribute name="x" default="0">
                       <simpleType>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}float">
                           <minInclusive value="0"/>
                         </restriction>
                       </simpleType>
                     </attribute>
                     <attribute name="y" default="0">
                       <simpleType>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}float">
                           <minInclusive value="0"/>
                         </restriction>
                       </simpleType>
                     </attribute>
                     <attribute name="width" default="0">
                       <simpleType>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}float">
                           <minInclusive value="0"/>
                         </restriction>
                       </simpleType>
                     </attribute>
                     <attribute name="height" default="0">
                       <simpleType>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}float">
                           <minInclusive value="0"/>
                         </restriction>
                       </simpleType>
                     </attribute>
                     <attribute name="metrics" type="{http://schema.webpdf.de/1.0/operation}MetricsType" default="mm" />
                   </restriction>
                 </complexContent>
               </complexType>
             </element>
           </all>
           <attribute name="pages" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="box" type="{http://schema.webpdf.de/1.0/operation}PageBoxType" default="media_box" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • dimensions

        protected BoxesResizeType.Dimensions dimensions
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p416162_="https://jakarta.ee/xml/ns/jaxb" xmlns:p761379_="http://jaxb2-commons.dev.java.net/basic/simplify" xmlns:p931522_="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">Used to define the position and dimensions of a containing element.</p>
         
      • pages

        protected String pages
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p416162_="https://jakarta.ee/xml/ns/jaxb" xmlns:p761379_="http://jaxb2-commons.dev.java.net/basic/simplify" xmlns:p931522_="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">Used to define the page(s) in which boxes should be scaled. 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>
         
      • box

        protected PageBoxType box
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p416162_="https://jakarta.ee/xml/ns/jaxb" xmlns:p761379_="http://jaxb2-commons.dev.java.net/basic/simplify" xmlns:p931522_="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">Used to select the box that should be scaled.
                                 <ul><li>media_box = The page's physical dimensions.</li><li>crop_box = The visible (printable) page area.</li><li>bleed_box = Untrimmed content position on the page (content dimensions plus trim box).</li><li>trim_box = Trimmed content position on the page (final content dimensions).</li><li>art_box = Position for special page content (images).</li></ul></p>
         
    • Constructor Detail

      • BoxesResizeType

        public BoxesResizeType()
    • Method Detail

      • getDimensions

        public BoxesResizeType.Dimensions getDimensions()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p416162_="https://jakarta.ee/xml/ns/jaxb" xmlns:p761379_="http://jaxb2-commons.dev.java.net/basic/simplify" xmlns:p931522_="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">Used to define the position and dimensions of a containing element.</p>
         
        Returns:
        possible object is BoxesResizeType.Dimensions
      • isSetDimensions

        public boolean isSetDimensions()
      • getPages

        public String getPages()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p416162_="https://jakarta.ee/xml/ns/jaxb" xmlns:p761379_="http://jaxb2-commons.dev.java.net/basic/simplify" xmlns:p931522_="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">Used to define the page(s) in which boxes should be scaled. 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()
      • getBox

        public PageBoxType getBox()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p416162_="https://jakarta.ee/xml/ns/jaxb" xmlns:p761379_="http://jaxb2-commons.dev.java.net/basic/simplify" xmlns:p931522_="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">Used to select the box that should be scaled.
                                 <ul><li>media_box = The page's physical dimensions.</li><li>crop_box = The visible (printable) page area.</li><li>bleed_box = Untrimmed content position on the page (content dimensions plus trim box).</li><li>trim_box = Trimmed content position on the page (final content dimensions).</li><li>art_box = Position for special page content (images).</li></ul></p>
         
        Returns:
        possible object is PageBoxType
      • setBox

        public void setBox​(PageBoxType value)
        Sets the value of the box property.
        Parameters:
        value - allowed object is PageBoxType
        See Also:
        getBox()
      • isSetBox

        public boolean isSetBox()