Package org.apache.fop.afp
Class AFPPaintingState.AFPPagePaintingState
java.lang.Object
org.apache.fop.afp.AFPPaintingState.AFPPagePaintingState
- All Implemented Interfaces:
Cloneable
- Enclosing class:
- AFPPaintingState
Page level state data
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
page font countprivate AFPPageFonts
page fontsprivate int
page heightprivate int
page orientationprivate int
page width -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
protected AFPPageFonts
getFonts()
Returns the page fontsprotected int
Returns the page heightprotected int
Returns the current page orientationprotected int
getWidth()
Returns the page widthprotected int
Increments and returns the current page font countprotected void
setFonts
(AFPPageFonts fonts) Sets the current page fontsprotected void
setHeight
(int height) Sets the page heightprotected void
setOrientation
(int orientation) Sets the current page orientationprotected void
setWidth
(int width) Sets the page widthtoString()
-
Field Details
-
width
private int widthpage width -
height
private int heightpage height -
fonts
page fonts -
fontCount
private int fontCountpage font count -
orientation
private int orientationpage orientation
-
-
Constructor Details
-
AFPPagePaintingState
private AFPPagePaintingState()
-
-
Method Details
-
getWidth
protected int getWidth()Returns the page width- Returns:
- the page width
-
setWidth
protected void setWidth(int width) Sets the page width- Parameters:
width
- the page width
-
getHeight
protected int getHeight()Returns the page height- Returns:
- the page height
-
setHeight
protected void setHeight(int height) Sets the page height- Parameters:
height
- the page height
-
getFonts
Returns the page fonts- Returns:
- the page fonts
-
setFonts
Sets the current page fonts- Parameters:
fonts
- the current page fonts
-
incrementFontCount
protected int incrementFontCount()Increments and returns the current page font count- Returns:
- increment and return the current page font count
-
getOrientation
protected int getOrientation()Returns the current page orientation- Returns:
- the current page orientation
-
setOrientation
protected void setOrientation(int orientation) Sets the current page orientation- Parameters:
orientation
- the current page orientation
-
clone
-
toString
-