Package | Description |
---|---|
com.sun.pdfview | |
com.sun.pdfview.font |
Modifier and Type | Method and Description |
---|---|
PDFPage |
PDFFile.getPage(int pagenum)
Get the page commands for a given page in a separate thread.
|
PDFPage |
PDFFile.getPage(int pagenum,
boolean wait)
Get the page commands for a given page.
|
PDFPage |
Cache.getPage(java.lang.Integer pageNumber)
Get a page from the cache
|
Modifier and Type | Method and Description |
---|---|
void |
PDFPage.addCommands(PDFPage page)
add a collection of commands to the page list.
|
void |
PDFPage.addCommands(PDFPage page,
java.awt.geom.AffineTransform extra)
add a collection of commands to the page list.
|
void |
Cache.addImage(PDFPage page,
ImageInfo info,
java.awt.image.BufferedImage image)
Add an image to the cache.
|
void |
Cache.addImage(PDFPage page,
ImageInfo info,
java.awt.image.BufferedImage image,
PDFRenderer renderer)
Add an image to the cache.
|
void |
Cache.addPage(java.lang.Integer pageNumber,
PDFPage page)
Add a page to the cache.
|
void |
Cache.addPage(java.lang.Integer pageNumber,
PDFPage page,
PDFParser parser)
Add a page to the cache.
|
void |
PDFTextFormat.doText(PDFPage cmds,
java.lang.Object[] ary)
add some text to the page.
|
void |
PDFTextFormat.doText(PDFPage cmds,
java.lang.String text)
add some text to the page.
|
java.awt.image.BufferedImage |
Cache.getImage(PDFPage page,
ImageInfo info)
Get an image from the cache
|
PDFRenderer |
Cache.getImageRenderer(PDFPage page,
ImageInfo info)
Get an image's renderer from the cache
|
void |
Cache.removeImage(PDFPage page,
ImageInfo info)
Remove an image and its associated renderer from the cache
|
Constructor and Description |
---|
PDFParser(PDFPage cmds,
byte[] stream,
java.util.HashMap<java.lang.String,PDFObject> resources)
Don't call this constructor directly.
|
PDFRenderer(PDFPage page,
java.awt.Graphics2D g,
java.awt.Rectangle imgbounds,
java.awt.geom.Rectangle2D clip,
java.awt.Color bgColor)
create a new PDFGraphics state, given a Graphics2D.
|
PDFRenderer(PDFPage page,
ImageInfo imageinfo,
java.awt.image.BufferedImage bi)
create a new PDFGraphics state
|
Modifier and Type | Method and Description |
---|---|
PDFPage |
PDFGlyph.getPage()
Get the PDFPage for a type3 font glyph
|
Modifier and Type | Method and Description |
---|---|
java.awt.geom.Point2D |
PDFGlyph.addCommands(PDFPage cmds,
java.awt.geom.AffineTransform transform,
int mode)
Add commands for this glyph to a page
|
Constructor and Description |
---|
PDFGlyph(char src,
java.lang.String name,
PDFPage page,
java.awt.geom.Point2D advance)
Creates a new instance of PDFGlyph based on a page
|