|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.lowagie.text.pdf.PdfContentByte | +--com.lowagie.text.pdf.PdfTemplate | +--com.lowagie.text.pdf.PdfImportedPage
Represents an imported page.
Nested Class Summary |
Nested classes inherited from class com.lowagie.text.pdf.PdfContentByte |
PdfContentByte.GraphicState |
Field Summary | |
(package private) int |
pageNumber
|
(package private) PdfReaderInstance |
readerInstance
|
Fields inherited from class com.lowagie.text.pdf.PdfTemplate |
bBox, group, matrix, pageResources, thisReference, type, TYPE_IMPORTED, TYPE_PATTERN, TYPE_TEMPLATE |
Fields inherited from class com.lowagie.text.pdf.PdfContentByte |
ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, content, pdf, separator, state, stateList, TEXT_RENDER_MODE_CLIP, TEXT_RENDER_MODE_FILL, TEXT_RENDER_MODE_FILL_CLIP, TEXT_RENDER_MODE_FILL_STROKE, TEXT_RENDER_MODE_FILL_STROKE_CLIP, TEXT_RENDER_MODE_INVISIBLE, TEXT_RENDER_MODE_STROKE, TEXT_RENDER_MODE_STROKE_CLIP, writer |
Constructor Summary | |
(package private) |
PdfImportedPage(PdfReaderInstance readerInstance,
PdfWriter writer,
int pageNumber)
|
Method Summary | |
void |
addImage(Image image,
float a,
float b,
float c,
float d,
float e,
float f)
Always throws an error. |
void |
addTemplate(PdfTemplate template,
float a,
float b,
float c,
float d,
float e,
float f)
Always throws an error. |
PdfContentByte |
getDuplicate()
Always throws an error. |
(package private) PdfStream |
getFormXObject()
Gets the stream representing this template. |
PdfImportedPage |
getFromReader()
Reads the content from this PdfImportedPage -object from a reader. |
int |
getPageNumber()
|
(package private) PdfReaderInstance |
getPdfReaderInstance()
|
(package private) PdfObject |
getResources()
Constructs the resources used by this template. |
void |
setColorFill(PdfSpotColor sp,
float tint)
Sets the fill color to a spot color. |
void |
setColorStroke(PdfSpotColor sp,
float tint)
Sets the stroke color to a spot color. |
void |
setFontAndSize(BaseFont bf,
float size)
Always throws an error. |
(package private) void |
throwError()
|
Methods inherited from class com.lowagie.text.pdf.PdfTemplate |
beginVariableText, endVariableText, getBoundingBox, getGroup, getHeight, getIndirectReference, getMatrix, getPageResources, getType, getWidth, setBoundingBox, setGroup, setHeight, setMatrix, setWidth |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
PdfReaderInstance readerInstance
int pageNumber
Constructor Detail |
PdfImportedPage(PdfReaderInstance readerInstance, PdfWriter writer, int pageNumber)
Method Detail |
public PdfImportedPage getFromReader()
PdfImportedPage
-object from a reader.
public int getPageNumber()
public void addImage(Image image, float a, float b, float c, float d, float e, float f) throws DocumentException
addImage
in class PdfContentByte
image
- dummya
- dummyb
- dummyc
- dummyd
- dummye
- dummyf
- dummy
DocumentException
- dummypublic void addTemplate(PdfTemplate template, float a, float b, float c, float d, float e, float f)
addTemplate
in class PdfContentByte
template
- dummya
- dummyb
- dummyc
- dummyd
- dummye
- dummyf
- dummypublic PdfContentByte getDuplicate()
getDuplicate
in class PdfTemplate
PdfStream getFormXObject() throws IOException
PdfTemplate
getFormXObject
in class PdfTemplate
IOException
public void setColorFill(PdfSpotColor sp, float tint)
PdfContentByte
setColorFill
in class PdfContentByte
sp
- the spot colortint
- the tint for the spot color. 0 is no color and 1
is 100% colorpublic void setColorStroke(PdfSpotColor sp, float tint)
PdfContentByte
setColorStroke
in class PdfContentByte
sp
- the spot colortint
- the tint for the spot color. 0 is no color and 1
is 100% colorPdfObject getResources()
PdfTemplate
getResources
in class PdfTemplate
public void setFontAndSize(BaseFont bf, float size)
setFontAndSize
in class PdfContentByte
bf
- dummysize
- dummyvoid throwError()
PdfReaderInstance getPdfReaderInstance()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |