|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.itextpdf.text.pdf.PdfContentByte
com.itextpdf.text.pdf.PdfTemplate
com.itextpdf.text.pdf.PdfImportedPage
public class PdfImportedPage
Represents an imported page.
| Field Summary | |
|---|---|
protected boolean |
toCopy
True if the imported page has been copied to a writer. |
| Fields inherited from class com.itextpdf.text.pdf.PdfTemplate |
|---|
bBox, group, layer, matrix, pageResources, thisReference, type, TYPE_IMPORTED, TYPE_PATTERN, TYPE_TEMPLATE |
| 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. |
PdfImportedPage |
getFromReader()
Reads the content from this PdfImportedPage-object from a reader. |
int |
getPageNumber()
|
boolean |
isToCopy()
Checks if the page has to be copied. |
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 |
setCopied()
Indicate that the resources of the imported page have been copied. |
void |
setFontAndSize(BaseFont bf,
float size)
Always throws an error. |
void |
setGroup(PdfTransparencyGroup group)
Always throws an error. |
| Methods inherited from class com.itextpdf.text.pdf.PdfTemplate |
|---|
beginVariableText, createTemplate, endVariableText, getAdditional, getBoundingBox, getGroup, getHeight, getIndirectReference, getLayer, getType, getWidth, setAdditional, setBoundingBox, setHeight, setLayer, setMatrix, setWidth |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected boolean toCopy
| 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 PdfContentByteimage - dummya - dummyb - dummyc - dummyd - dummye - dummyf - dummy
DocumentException - dummy
public void addTemplate(PdfTemplate template,
float a,
float b,
float c,
float d,
float e,
float f)
addTemplate in class PdfContentBytetemplate - dummya - dummyb - dummyc - dummyd - dummye - dummyf - dummypublic PdfContentByte getDuplicate()
getDuplicate in class PdfTemplate
public void setColorFill(PdfSpotColor sp,
float tint)
PdfContentByte
setColorFill in class PdfContentBytesp - the spot colortint - the tint for the spot color. 0 is no color and 1
is 100% color
public void setColorStroke(PdfSpotColor sp,
float tint)
PdfContentByte
setColorStroke in class PdfContentBytesp - the spot colortint - the tint for the spot color. 0 is no color and 1
is 100% color
public void setFontAndSize(BaseFont bf,
float size)
setFontAndSize in class PdfContentBytebf - dummysize - dummypublic void setGroup(PdfTransparencyGroup group)
setGroup in class PdfTemplategroup - New value of property group.public boolean isToCopy()
public void setCopied()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||