Interface IAutoTextContent

All Superinterfaces:
org.eclipse.birt.report.engine.css.engine.CSSStylableElement, IContent, IElement, IStyledElement, ITextContent

public interface IAutoTextContent extends ITextContent
Provides the interfaces for the AutoText Content.

AutoText Content is created at the start of the process, but the text value is set at the end of the process. The typical implementation of AutoText is total page of report.

The following types of the AutoText content are predefined:

  • TOTAL_PAGE
  • PAGE_NUMBER
    • Field Details

      • TOTAL_PAGE

        static final int TOTAL_PAGE
        property: total page key
        See Also:
      • PAGE_NUMBER

        static final int PAGE_NUMBER
        property: page number key
        See Also:
      • UNFILTERED_TOTAL_PAGE

        static final int UNFILTERED_TOTAL_PAGE
        property: unfiltered total page key
        See Also:
      • UNFILTERED_PAGE_NUMBER

        static final int UNFILTERED_PAGE_NUMBER
        property: unfiltered page number key
        See Also:
      • PAGE_VARIABLE

        static final int PAGE_VARIABLE
        property: page variable key
        See Also:
    • Method Details

      • setType

        void setType(int type)
        Set the type of the AutoText Content. This type must be one of the predefines.
        Parameters:
        type - the type of the AutoText content.
      • getType

        int getType()
        Get the type of the AutoText Content. The return value must be on of the predefines.
        Returns:
        the type of the AutoText content