|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lowagie.text.pdf.PdfContentByte
com.lowagie.text.pdf.PdfTemplate
com.lowagie.text.pdf.PdfImportedPage
public class PdfImportedPage
Represents an imported page.
Nested Class Summary |
---|
Nested classes/interfaces 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, layer, matrix, pageResources, thisReference, type, TYPE_IMPORTED, TYPE_PATTERN, TYPE_TEMPLATE |
Constructor Summary | |
---|---|
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(int compressionLevel)
Gets the stream representing this page. |
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. |
void |
setGroup(PdfTransparencyGroup group)
Always throws an error. |
(package private) void |
throwError()
|
Methods inherited from class com.lowagie.text.pdf.PdfTemplate |
---|
beginVariableText, createTemplate, createTemplate, endVariableText, getBoundingBox, getGroup, getHeight, getIndirectReference, getLayer, getMatrix, getPageResources, getType, getWidth, setBoundingBox, setHeight, setLayer, 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(int compressionLevel) throws IOException
getFormXObject
in class PdfTemplate
compressionLevel
- the compressionLevel
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
- dummypublic void setGroup(PdfTransparencyGroup group)
setGroup
in class PdfTemplate
group
- New value of property group.void throwError()
PdfReaderInstance getPdfReaderInstance()
|
Hosted by Hostbasket | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |