|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.fop.pdf.PDFObject | +--org.apache.fop.pdf.PDFPage
class representing a /Page object. There is one of these for every page in a PDF document. The object specifies the dimensions of the page and references a /Resources object, a contents stream and the page's parent in the page hierarchy.
Field Summary | |
protected PDFAnnotList |
annotList
the list of annotation objects for this page |
protected PDFStream |
contents
the contents stream |
protected int |
pageheight
the height of the page in points |
protected int |
pagewidth
the width of the page in points |
protected PDFPages |
parent
the page's parent, a /Pages object |
protected PDFResources |
resources
the page's /Resource object |
Fields inherited from class org.apache.fop.pdf.PDFObject |
generation,
number |
Constructor Summary | |
PDFPage(int number,
PDFResources resources,
PDFStream contents,
int pagewidth,
int pageheight)
create a /Page object |
Method Summary | |
void |
addShading(PDFShading shading)
|
PDFAnnotList |
getAnnotList()
get this page's annotation list |
void |
setAnnotList(PDFAnnotList annotList)
set this page's annotation list |
void |
setParent(PDFPages parent)
set this page's parent |
byte[] |
toPDF()
represent this object as PDF |
Methods inherited from class org.apache.fop.pdf.PDFObject |
getNumber,
output,
referencePDF |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected PDFPages parent
protected PDFResources resources
protected PDFStream contents
protected int pagewidth
protected int pageheight
protected PDFAnnotList annotList
Constructor Detail |
public PDFPage(int number, PDFResources resources, PDFStream contents, int pagewidth, int pageheight)
number
- the object's numberresources
- the /Resources objectcontents
- the content streampagewidth
- the page's width in pointspageheight
- the page's height in pointsMethod Detail |
public void setParent(PDFPages parent)
parent
- the /Pages object that is this page's parentpublic void setAnnotList(PDFAnnotList annotList)
annotList
- a PDFAnnotList list of annotationspublic PDFAnnotList getAnnotList()
public void addShading(PDFShading shading)
public byte[] toPDF()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |