Class MoveType

  • All Implemented Interfaces:
    ParameterInterface

    public class MoveType
    extends BaseToolboxType
     <?xml version="1.0" encoding="UTF-8"?><p xmlns:xs="http://www.w3.org/2001/XMLSchema">The move operation element can be used to change the order of the document's pages.</p>
     

    Java class for MoveType complex type

    .

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

    
     <complexType name="MoveType">
       <complexContent>
         <extension base="{http://schema.webpdf.de/1.0/operation}BaseToolboxType">
           <attribute name="mode" type="{http://schema.webpdf.de/1.0/operation}MoveModeType" default="afterPage" />
           <attribute name="targetPosition" default="1">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}int">
                 <minInclusive value="1"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="pages" type="{http://www.w3.org/2001/XMLSchema}string" default="1" />
           <attribute name="order" type="{http://schema.webpdf.de/1.0/operation}OrderType" default="preserve" />
         </extension>
       </complexContent>
     </complexType>
     
    • Field Detail

      • mode

        protected MoveModeType mode
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:q1="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to specify whether the selected page range should be inserted before or after the selected position in the document.
                                         <ul><li>afterPage = After the selected position.</li><li>beforePage = Before the selected position.</li></ul></p>
         
      • targetPosition

        protected Integer targetPosition
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:q1="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to select the page number after or before which the selected page range should be inserted. This page must not be part of the page range being moved.</p>
         
      • pages

        protected String pages
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:q1="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to define which page(s) should be moved. The page number can be an individual page, a page range, or a list (separated with commas) (e.g., "1,5-6,9").</p>
         
      • order

        protected OrderType order
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:q1="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to select the order of the selected pages at the new position.
                                         <ul><li>preserve = Keeps the original order in which the pages were found in the document.</li><li>reverse = Reverses the original order in which the pages were found in the document.</li></ul></p>
         
    • Constructor Detail

      • MoveType

        public MoveType()
    • Method Detail

      • getMode

        public MoveModeType getMode()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:q1="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to specify whether the selected page range should be inserted before or after the selected position in the document.
                                         <ul><li>afterPage = After the selected position.</li><li>beforePage = Before the selected position.</li></ul></p>
         
        Returns:
        possible object is MoveModeType
      • isSetMode

        public boolean isSetMode()
      • getTargetPosition

        public int getTargetPosition()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:q1="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to select the page number after or before which the selected page range should be inserted. This page must not be part of the page range being moved.</p>
         
        Returns:
        possible object is Integer
      • setTargetPosition

        public void setTargetPosition​(int value)
        Sets the value of the targetPosition property.
        Parameters:
        value - allowed object is Integer
        See Also:
        getTargetPosition()
      • isSetTargetPosition

        public boolean isSetTargetPosition()
      • unsetTargetPosition

        public void unsetTargetPosition()
      • getPages

        public String getPages()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:q1="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to define which page(s) should be moved. The page number can be an individual page, a page range, or a list (separated with commas) (e.g., "1,5-6,9").</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()
      • getOrder

        public OrderType getOrder()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:q1="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to select the order of the selected pages at the new position.
                                         <ul><li>preserve = Keeps the original order in which the pages were found in the document.</li><li>reverse = Reverses the original order in which the pages were found in the document.</li></ul></p>
         
        Returns:
        possible object is OrderType
      • setOrder

        public void setOrder​(OrderType value)
        Sets the value of the order property.
        Parameters:
        value - allowed object is OrderType
        See Also:
        getOrder()
      • isSetOrder

        public boolean isSetOrder()