|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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. |
PdfStream |
getFormXObject(int compressionLevel)
Gets the stream representing this page. |
PdfImportedPage |
getFromReader()
Reads the content from this PdfImportedPage -object from a reader. |
int |
getPageNumber()
|
int |
getRotation()
|
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 int getRotation()
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
public 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% colorpublic 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.public boolean isToCopy()
public void setCopied()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |