Package org.daisy.dotify.api.formatter
Class CurrentPageField
- java.lang.Object
-
- org.daisy.dotify.api.formatter.NumeralField
-
- org.daisy.dotify.api.formatter.PagenumField
-
- org.daisy.dotify.api.formatter.CurrentPageField
-
- All Implemented Interfaces:
Field
public class CurrentPageField extends PagenumField
CurrentPageField is a reference to the current page in the final document. Its value is resolved when its location in the flow is known.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CurrentPageField.PagenumType
Defines page number types.
-
Constructor Summary
Constructors Constructor Description CurrentPageField(NumeralStyle style)
Creates a new current page field.CurrentPageField(NumeralStyle style, String textStyle)
Creates a new current page field.
-
Method Summary
-
Methods inherited from class org.daisy.dotify.api.formatter.NumeralField
getNumeralStyle, getTextStyle
-
-
-
-
Constructor Detail
-
CurrentPageField
public CurrentPageField(NumeralStyle style)
Creates a new current page field.- Parameters:
style
- the numeral style
-
CurrentPageField
public CurrentPageField(NumeralStyle style, String textStyle)
Creates a new current page field.- Parameters:
style
- the numeral styletextStyle
- the text style
-
-