|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.lowagie.text.pdf.PdfObject
com.lowagie.text.pdf.PdfDictionary
com.lowagie.text.pdf.PdfPage
PdfPage is the PDF Page-object.
A Page object is a dictionary whose keys describe a single page containing text,
graphics, and images. A Page onjects is a leaf of the Pages tree.
This object is described in the 'Portable Document Format Reference Manual version 1.3'
section 6.4 (page 73-81)
PdfPageElement,
PdfPages| Field Summary | |
static PdfNumber |
INVERTEDPORTRAIT
value of the Rotate key for a page in INVERTEDPORTRAIT |
static PdfNumber |
LANDSCAPE
value of the Rotate key for a page in LANDSCAPE |
(package private) PdfRectangle |
mediaBox
value of the MediaBox key |
static PdfNumber |
PORTRAIT
value of the Rotate key for a page in PORTRAIT |
static PdfNumber |
SEASCAPE
value of the Rotate key for a page in SEASCAPE |
| Fields inherited from class com.lowagie.text.pdf.PdfDictionary |
CATALOG, FONT, hashMap, OUTLINES, PAGE, PAGES |
| Fields inherited from class com.lowagie.text.pdf.PdfObject |
ARRAY, BOOLEAN, bytes, DICTIONARY, INDIRECT, NAME, NOTHING, NULL, NUMBER, STREAM, STRING, TEXT_PDFDOCENCODING, TEXT_UNICODE, type |
| Constructor Summary | |
(package private) |
PdfPage(PdfRectangle mediaBox,
Rectangle cropBox,
PdfDictionary resources)
Constructs a PdfPage. |
(package private) |
PdfPage(PdfRectangle mediaBox,
Rectangle cropBox,
PdfDictionary resources,
PdfNumber rotate)
Constructs a PdfPage. |
(package private) |
PdfPage(PdfRectangle mediaBox,
Rectangle cropBox,
PdfIndirectReference resources)
Constructs a PdfPage. |
(package private) |
PdfPage(PdfRectangle mediaBox,
Rectangle cropBox,
PdfIndirectReference resources,
PdfNumber rotate)
Constructs a PdfPage. |
| Method Summary | |
(package private) void |
add(PdfIndirectReference contents)
Adds an indirect reference pointing to a PdfContents-object. |
(package private) PdfRectangle |
getMediaBox()
Returns the MediaBox of this Page. |
boolean |
isParent()
Checks if this page element is a tree of pages. |
(package private) PdfRectangle |
rotateMediaBox()
Rotates the mediabox, but not the text in it. |
| Methods inherited from class com.lowagie.text.pdf.PdfDictionary |
contains, get, getKeys, isCatalog, isDictionaryType, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putDel, putEx, remove, size, toPdf |
| Methods inherited from class com.lowagie.text.pdf.PdfObject |
getBytes, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, toString, type |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final PdfNumber PORTRAIT
public static final PdfNumber LANDSCAPE
public static final PdfNumber INVERTEDPORTRAIT
public static final PdfNumber SEASCAPE
PdfRectangle mediaBox
| Constructor Detail |
PdfPage(PdfRectangle mediaBox,
Rectangle cropBox,
PdfIndirectReference resources,
PdfNumber rotate)
PdfPage.
mediaBox - a value for the MediaBox keyresources - an indirect reference to a PdfResources-objectrotate - a value for the Rotate key
PdfPage(PdfRectangle mediaBox,
Rectangle cropBox,
PdfDictionary resources,
PdfNumber rotate)
PdfPage.
mediaBox - a value for the MediaBox keyresources - an indirect reference to a PdfResources-objectrotate - a value for the Rotate key
PdfPage(PdfRectangle mediaBox,
Rectangle cropBox,
PdfIndirectReference resources)
PdfPage.
mediaBox - a value for the MediaBox keyresources - an indirect reference to a PdfResources-object
PdfPage(PdfRectangle mediaBox,
Rectangle cropBox,
PdfDictionary resources)
PdfPage.
mediaBox - a value for the MediaBox keyresources - an indirect reference to a PdfResources-object| Method Detail |
public boolean isParent()
This method allways returns false.
false because this is a single pagevoid add(PdfIndirectReference contents)
PdfContents-object.
contents - an indirect reference to a PdfContents-objectPdfRectangle rotateMediaBox()
PdfRectanglePdfRectangle getMediaBox()
PdfRectangle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||