Package org.daisy.dotify.api.formatter
Class PagenumField
- java.lang.Object
-
- org.daisy.dotify.api.formatter.NumeralField
-
- org.daisy.dotify.api.formatter.PagenumField
-
- All Implemented Interfaces:
Field
- Direct Known Subclasses:
CurrentPageField
public class PagenumField extends NumeralField
Provides a reference to some property of the physical pages in the final document. Its value is resolved when its location in the flow is known.
-
-
Constructor Summary
Constructors Constructor Description PagenumField(NumeralStyle style)
Creates a new page number field with the specified numeral stylePagenumField(NumeralStyle style, String textStyle)
Creates a new page number field with the specified numeral and text styles
-
Method Summary
-
Methods inherited from class org.daisy.dotify.api.formatter.NumeralField
getNumeralStyle, getTextStyle
-
-
-
-
Constructor Detail
-
PagenumField
public PagenumField(NumeralStyle style)
Creates a new page number field with the specified numeral style- Parameters:
style
- the numeral style
-
PagenumField
public PagenumField(NumeralStyle style, String textStyle)
Creates a new page number field with the specified numeral and text styles- Parameters:
style
- the numeral styletextStyle
- the text style
-
-