Class RtfHeaderFooters

  • All Implemented Interfaces:
    Element

    public class RtfHeaderFooters
    extends HeaderFooter
    Deprecated.
    Please move to the RtfWriter2 and associated classes. com.lowagie.text.rtf.headerfooter.RtfHeaderFooterGroup replaces the functionality of this class.
    This HeaderFooter specialization contains some headers or footers for several pages. Is a list of headerFooters but also a sub class of header footer, to change as less as possible of the current API. ONLY FOR USE WITH THE RtfWriter NOT with the RtfWriter2. This class is based on the RtfWriter-package from Mark Hall.
    Version:
    $Revision: 1.1 $Date: 2009/08/28 20:31:00 $
    Author:
    Steffen.Stundzig@smb-tec.com, Mark.Hall@myrealbox.com
    • Field Detail

      • ALL_PAGES

        public static final int ALL_PAGES
        Deprecated.
        an attribute value
        See Also:
        Constant Field Values
      • LEFT_PAGES

        public static final int LEFT_PAGES
        Deprecated.
        an attribute value
        See Also:
        Constant Field Values
      • RIGHT_PAGES

        public static final int RIGHT_PAGES
        Deprecated.
        an attribute value
        See Also:
        Constant Field Values
      • FIRST_PAGE

        public static final int FIRST_PAGE
        Deprecated.
        an attribute value
        See Also:
        Constant Field Values
      • allPages

        private HeaderFooter allPages
        Deprecated.
        header or footer placeholder
      • leftPages

        private HeaderFooter leftPages
        Deprecated.
        header or footer placeholder
      • rightPages

        private HeaderFooter rightPages
        Deprecated.
        header or footer placeholder
      • firstPage

        private HeaderFooter firstPage
        Deprecated.
        header or footer placeholder
    • Constructor Detail

      • RtfHeaderFooters

        public RtfHeaderFooters()
        Deprecated.
        Contructs a HeaderFooters object
      • RtfHeaderFooters

        public RtfHeaderFooters​(Phrase before,
                                Phrase after)
        Deprecated.
        Contructs a HeaderFooters object
        Parameters:
        before -
        after -
      • RtfHeaderFooters

        public RtfHeaderFooters​(Phrase before,
                                boolean numbered)
        Deprecated.
        Contructs a HeaderFooters object
        Parameters:
        before -
        numbered -
    • Method Detail

      • set

        public void set​(int type,
                        HeaderFooter hf)
        Deprecated.
        Adds a HeaderFooter to this HeaderFooters object
        Parameters:
        type -
        hf -
      • get

        public HeaderFooter get​(int type)
        Deprecated.
        Returns a type of HeaderFooter object registered in this HeaderFooters object.
        Parameters:
        type - type of the HeaderFooter object
        Returns:
        a HeaderFooter object