Class HeaderFooterType


  • public class HeaderFooterType
    extends Object
     <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">An element of this type defines header and footer values for a page of the 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">
           <sequence>
             <element name="font" type="{http://schema.webpdf.de/1.0/extraction/info}FontType"/>
             <element name="margin" type="{http://schema.webpdf.de/1.0/extraction/info}MarginType"/>
             <element name="header" minOccurs="0">
               <complexType>
                 <complexContent>
                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                     <attribute name="left" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
                     <attribute name="center" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
                     <attribute name="right" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
                   </restriction>
                 </complexContent>
               </complexType>
             </element>
             <element name="footer" minOccurs="0">
               <complexType>
                 <complexContent>
                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                     <attribute name="left" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
                     <attribute name="center" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
                     <attribute name="right" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
                   </restriction>
                 </complexContent>
               </complexType>
             </element>
           </sequence>
           <attribute name="objectKey" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
           <attribute name="page" default="0">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}int">
                 <minInclusive value="0"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="color" type="{http://schema.webpdf.de/1.0/extraction/info}RgbColorType" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • header

        protected HeaderFooterType.Header header
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">Selects the values for a page header.</p>
         
      • footer

        protected HeaderFooterType.Footer footer
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">Selects the values for a page footer.</p>
         
      • objectKey

        protected String objectKey
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The object ID of the header/footer definition.
         
                                 <b>Info:</b>
                                 A PDF object ID consists of two numbers, where the first number selects the object's number and the second the "generation" of the object. The object ID shall always be unique within the context of the document and can be used to select a specific object.</p>
         
      • page

        protected Integer page
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The page headers/footers shall be defined for.</p>
         
      • color

        protected String color
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The text of headers and footers color.</p>
         
    • Constructor Detail

      • HeaderFooterType

        public HeaderFooterType()
    • Method Detail

      • getFont

        public FontType getFont()
        Gets the value of the font property.
        Returns:
        possible object is FontType
      • setFont

        public void setFont​(FontType value)
        Sets the value of the font property.
        Parameters:
        value - allowed object is FontType
      • getMargin

        public MarginType getMargin()
        Gets the value of the margin property.
        Returns:
        possible object is MarginType
      • setMargin

        public void setMargin​(MarginType value)
        Sets the value of the margin property.
        Parameters:
        value - allowed object is MarginType
      • getHeader

        public HeaderFooterType.Header getHeader()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">Selects the values for a page header.</p>
         
        Returns:
        possible object is HeaderFooterType.Header
      • getFooter

        public HeaderFooterType.Footer getFooter()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">Selects the values for a page footer.</p>
         
        Returns:
        possible object is HeaderFooterType.Footer
      • getObjectKey

        public String getObjectKey()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The object ID of the header/footer definition.
         
                                 <b>Info:</b>
                                 A PDF object ID consists of two numbers, where the first number selects the object's number and the second the "generation" of the object. The object ID shall always be unique within the context of the document and can be used to select a specific object.</p>
         
        Returns:
        possible object is String
      • setObjectKey

        public void setObjectKey​(String value)
        Sets the value of the objectKey property.
        Parameters:
        value - allowed object is String
        See Also:
        getObjectKey()
      • getPage

        public int getPage()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The page headers/footers shall be defined for.</p>
         
        Returns:
        possible object is Integer
      • setPage

        public void setPage​(Integer value)
        Sets the value of the page property.
        Parameters:
        value - allowed object is Integer
        See Also:
        getPage()
      • getColor

        public String getColor()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns="http://schema.webpdf.de/1.0/extraction/info" xmlns:xs="http://www.w3.org/2001/XMLSchema">The text of headers and footers color.</p>
         
        Returns:
        possible object is String
      • setColor

        public void setColor​(String value)
        Sets the value of the color property.
        Parameters:
        value - allowed object is String
        See Also:
        getColor()