Package org.apache.fop.afp
Class AFPPaintingState.AFPPagePaintingState
- java.lang.Object
-
- org.apache.fop.afp.AFPPaintingState.AFPPagePaintingState
-
- All Implemented Interfaces:
java.lang.Cloneable
- Enclosing class:
- AFPPaintingState
private class AFPPaintingState.AFPPagePaintingState extends java.lang.Object implements java.lang.Cloneable
Page level state data
-
-
Field Summary
Fields Modifier and Type Field Description private int
fontCount
page font countprivate AFPPageFonts
fonts
page fontsprivate int
height
page heightprivate int
orientation
page orientationprivate int
width
page width
-
Constructor Summary
Constructors Modifier Constructor Description private
AFPPagePaintingState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
clone()
protected AFPPageFonts
getFonts()
Returns the page fontsprotected int
getHeight()
Returns the page heightprotected int
getOrientation()
Returns the current page orientationprotected int
getWidth()
Returns the page widthprotected int
incrementFontCount()
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 widthjava.lang.String
toString()
-
-
-
Field Detail
-
width
private int width
page width
-
height
private int height
page height
-
fonts
private AFPPageFonts fonts
page fonts
-
fontCount
private int fontCount
page font count
-
orientation
private int orientation
page orientation
-
-
Method Detail
-
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
protected AFPPageFonts getFonts()
Returns the page fonts- Returns:
- the page fonts
-
setFonts
protected void setFonts(AFPPageFonts fonts)
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
public java.lang.Object clone()
- Overrides:
clone
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-