Class HeaderFooterType


  • public class HeaderFooterType
    extends Object
     <?xml version="1.0" encoding="UTF-8"?><p xmlns:p112675_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p263167_="https://jakarta.ee/xml/ns/jaxb" xmlns:p878401_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to define the header and footer that will be added to a document.</p>
     

    Java class for HeaderFooterType complex type

    .

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

    
     <complexType name="HeaderFooterType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <all>
             <element name="pages" minOccurs="0">
               <complexType>
                 <complexContent>
                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                     <choice>
                       <element name="pageInterval" type="{http://schema.webpdf.de/1.0/operation}PageIntervalType" minOccurs="0"/>
                     </choice>
                   </restriction>
                 </complexContent>
               </complexType>
             </element>
             <element name="margin" type="{http://schema.webpdf.de/1.0/operation}OptionsMarginType" minOccurs="0"/>
             <element name="font" type="{http://schema.webpdf.de/1.0/operation}OptionsFontType" minOccurs="0"/>
             <element name="header" type="{http://schema.webpdf.de/1.0/operation}HeaderFooterPositionsType" minOccurs="0"/>
             <element name="footer" type="{http://schema.webpdf.de/1.0/operation}HeaderFooterPositionsType" minOccurs="0"/>
             <element name="date" type="{http://schema.webpdf.de/1.0/operation}HeaderFooterDate" minOccurs="0"/>
           </all>
           <attribute name="firstPageNumber" default="1">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}int">
                 <minInclusive value="1"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="replaceExisting" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • pages

        protected HeaderFooterType.Pages pages
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p112675_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p263167_="https://jakarta.ee/xml/ns/jaxb" xmlns:p878401_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Selects the pages, to which header/footer elements shall be applied.</p>
         
      • firstPageNumber

        protected Integer firstPageNumber
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p112675_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p263167_="https://jakarta.ee/xml/ns/jaxb" xmlns:p878401_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to specify the starting page for page number formats.</p>
         
      • replaceExisting

        protected Boolean replaceExisting
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p112675_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p263167_="https://jakarta.ee/xml/ns/jaxb" xmlns:p878401_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If true, preexisting header and footer definition will be automatically deleted from all pages of the document and replaced with the new one. If false, preexisting header and footer definitions on any page of the document will cause the operation to be aborted.</p>
         
    • Constructor Detail

      • HeaderFooterType

        public HeaderFooterType()
    • Method Detail

      • getPages

        public HeaderFooterType.Pages getPages()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p112675_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p263167_="https://jakarta.ee/xml/ns/jaxb" xmlns:p878401_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Selects the pages, to which header/footer elements shall be applied.</p>
         
        Returns:
        possible object is HeaderFooterType.Pages
      • isSetPages

        public boolean isSetPages()
      • isSetMargin

        public boolean isSetMargin()
      • isSetFont

        public boolean isSetFont()
      • isSetHeader

        public boolean isSetHeader()
      • isSetFooter

        public boolean isSetFooter()
      • isSetDate

        public boolean isSetDate()
      • getFirstPageNumber

        public int getFirstPageNumber()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p112675_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p263167_="https://jakarta.ee/xml/ns/jaxb" xmlns:p878401_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to specify the starting page for page number formats.</p>
         
        Returns:
        possible object is Integer
      • setFirstPageNumber

        public void setFirstPageNumber​(int value)
        Sets the value of the firstPageNumber property.
        Parameters:
        value - allowed object is Integer
        See Also:
        getFirstPageNumber()
      • isSetFirstPageNumber

        public boolean isSetFirstPageNumber()
      • unsetFirstPageNumber

        public void unsetFirstPageNumber()
      • isReplaceExisting

        public boolean isReplaceExisting()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p112675_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p263167_="https://jakarta.ee/xml/ns/jaxb" xmlns:p878401_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If true, preexisting header and footer definition will be automatically deleted from all pages of the document and replaced with the new one. If false, preexisting header and footer definitions on any page of the document will cause the operation to be aborted.</p>
         
        Returns:
        possible object is Boolean
      • setReplaceExisting

        public void setReplaceExisting​(boolean value)
        Sets the value of the replaceExisting property.
        Parameters:
        value - allowed object is Boolean
        See Also:
        isReplaceExisting()
      • isSetReplaceExisting

        public boolean isSetReplaceExisting()
      • unsetReplaceExisting

        public void unsetReplaceExisting()