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
ConstructorDescriptionInstantiates a newPageCountElement
.PageCountElement
(CounterDigitsGlyphStyle digitsGlyphStyle) Instantiates a newPageCountElement
. -
Method Summary
Modifier and TypeMethodDescriptionGets 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, 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, setLineThrough, setOpacity, setProperty, setRelativePosition, setSplitCharacters, setStrokeColor, setStrokeWidth, setTextAlignment, setTextRenderingMode, setUnderline, setUnderline, setUnderline, setUnderline, setWordSpacing, simulateBold, simulateItalic
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
-
PageCountElement
public PageCountElement()Instantiates a newPageCountElement
. -
PageCountElement
Instantiates a newPageCountElement
.- Parameters:
-
digitsGlyphStyle
- digits glyph style
-
-
Method Details
-
getDigitsGlyphStyle
Gets glyph style for digits.- Returns:
- name of the glyph style
-
makeNewRenderer
public com.itextpdf.layout.renderer.IRenderer makeNewRenderer()- Overrides:
-
makeNewRenderer
in classcom.itextpdf.layout.element.Text
-