Class PageCountElement

java.lang.Object
com.itextpdf.commons.actions.sequence.AbstractIdentifiableElement
com.itextpdf.layout.ElementPropertyContainer
com.itextpdf.layout.element.AbstractElement
com.itextpdf.layout.element.Text
com.itextpdf.html2pdf.attach.impl.layout.PageCountElement
All Implemented Interfaces:
com.itextpdf.layout.element.IAbstractElement, com.itextpdf.layout.element.IElement, com.itextpdf.layout.element.ILeafElement, com.itextpdf.layout.IPropertyContainer, com.itextpdf.layout.tagging.IAccessibleElement

public class PageCountElement extends com.itextpdf.layout.element.Text
Text implementation to be used for the page count.
  • Field Summary

    Fields inherited from class com.itextpdf.layout.element.Text

    tagProperties, text

    Fields inherited from class com.itextpdf.layout.element.AbstractElement

    childElements, nextRenderer, styles

    Fields inherited from class com.itextpdf.layout.ElementPropertyContainer

    properties
  • Constructor Summary

    Constructors
    Constructor
    Description
    Instantiates a new PageCountElement.
    Instantiates a new PageCountElement.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets glyph style for digits.
    com.itextpdf.layout.renderer.IRenderer
     

    Methods inherited from class com.itextpdf.layout.element.Text

    getAccessibilityProperties, getHorizontalScaling, getText, getTextRise, setHorizontalScaling, setNeutralRole, setSkew, setText, setTextRise

    Methods inherited from class com.itextpdf.layout.element.AbstractElement

    addStyle, createRendererSubTree, getChildren, getProperty, getRenderer, hasProperty, isEmpty, setAction, setNextRenderer, setPageNumber

    Methods inherited from class com.itextpdf.layout.ElementPropertyContainer

    deleteOwnProperty, getDefaultProperty, getOwnProperty, getSplitCharacters, getStrokeColor, getStrokeWidth, getTextRenderingMode, hasOwnProperty, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundImage, setBackgroundImage, setBaseDirection, setBold, setBorder, setBorderBottom, setBorderBottomLeftRadius, setBorderBottomRightRadius, setBorderLeft, setBorderRadius, setBorderRight, setBorderTop, setBorderTopLeftRadius, setBorderTopRightRadius, setCharacterSpacing, setDestination, setFixedPosition, setFixedPosition, setFixedPosition, setFixedPosition, setFont, setFontColor, setFontColor, setFontColor, setFontFamily, setFontFamily, setFontKerning, setFontScript, setFontSize, setHorizontalAlignment, setHyphenation, setItalic, setLineThrough, setOpacity, setProperty, setRelativePosition, setSplitCharacters, setStrokeColor, setStrokeWidth, setTextAlignment, setTextRenderingMode, setUnderline, setUnderline, setUnderline, setUnderline, setWordSpacing

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.itextpdf.layout.element.IElement

    createRendererSubTree, getRenderer, setNextRenderer

    Methods inherited from interface com.itextpdf.layout.IPropertyContainer

    deleteOwnProperty, getDefaultProperty, getOwnProperty, getProperty, hasOwnProperty, hasProperty, setProperty
  • Constructor Details

  • Method Details

    • getDigitsGlyphStyle

      public CounterDigitsGlyphStyle getDigitsGlyphStyle()
      Gets glyph style for digits.
      Returns:
      name of the glyph style
    • makeNewRenderer

      public com.itextpdf.layout.renderer.IRenderer makeNewRenderer()
      Overrides:
      makeNewRenderer in class com.itextpdf.layout.element.Text