Class PageTargetCountElement
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.PageTargetCountElement
- 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 PageTargetCountElement extends com.itextpdf.layout.element.Text
Text
implementation to be used for the page target-counter.
-
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
ConstructorDescriptionPageTargetCountElement
(String target) Instantiates a newPageTargetCountElement
.PageTargetCountElement
(String target, CounterDigitsGlyphStyle digitsGlyphStyle) Instantiates a newPageTargetCountElement
. -
Method Summary
Modifier and TypeMethodDescriptionGets glyph style for digits.Gets element's target.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
-
PageTargetCountElement
Instantiates a newPageTargetCountElement
.- Parameters:
-
target
- name of the corresponding target
-
PageTargetCountElement
Instantiates a newPageTargetCountElement
.- Parameters:
-
target
- name of the corresponding target -
digitsGlyphStyle
- digits glyph style
-
-
Method Details
-
getTarget
Gets element's target.- Returns:
- target which was specified for this element.
-
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
-