|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ThumbnailsCreator
Interface for thumbnails creators that can be used to fill thumbnails of the JVisualPdfPageSelectionPanel
.
Field Summary | |
---|---|
static float |
DEFAULT_RESIZE_PERCENTAGE
Default resize percentage 20% |
Method Summary | |
---|---|
void |
clean(long id)
clean the thumbnails generation with the given id |
java.lang.String |
getCreatorIdentifier()
|
java.lang.String |
getCreatorName()
|
java.awt.image.BufferedImage |
getPageImage(java.io.File inputFile,
java.lang.String password,
int page)
|
java.awt.image.BufferedImage |
getPageImage(java.io.File fileName,
java.lang.String password,
int page,
int rotation)
|
java.awt.image.BufferedImage |
getPageImage(java.lang.String fileName,
java.lang.String password,
int page)
|
java.awt.image.BufferedImage |
getPageImage(java.lang.String fileName,
java.lang.String password,
int page,
int rotation)
|
int |
getResolution()
|
java.awt.image.BufferedImage |
getThumbnail(java.io.File inputFile,
java.lang.String password,
int page,
float resizePercentage)
|
java.awt.image.BufferedImage |
getThumbnail(java.lang.String fileName,
java.lang.String password,
int page,
float resizePercentage)
|
void |
initThumbnailsPanel(java.io.File inputFile,
java.lang.String password,
JVisualPdfPageSelectionPanel panel,
long id,
java.util.List<DocumentPage> template)
Initialize the input panel. |
void |
initThumbnailsPanel(java.lang.String fileName,
java.lang.String password,
JVisualPdfPageSelectionPanel panel,
long id,
java.util.List<DocumentPage> template)
Initialize the input panel. |
Field Detail |
---|
static final float DEFAULT_RESIZE_PERCENTAGE
Method Detail |
---|
java.awt.image.BufferedImage getThumbnail(java.lang.String fileName, java.lang.String password, int page, float resizePercentage) throws ThumbnailCreationException
fileName
- pdf documentpassword
- document password or null if no password is neededpage
- page nmberresizePercentage
- resize level
ThumbnailCreationException
java.awt.image.BufferedImage getPageImage(java.lang.String fileName, java.lang.String password, int page) throws ThumbnailCreationException
fileName
- pdf documentpassword
- document password or null if no password is neededpage
-
ThumbnailCreationException
java.awt.image.BufferedImage getPageImage(java.lang.String fileName, java.lang.String password, int page, int rotation) throws ThumbnailCreationException
fileName
- password
- page
- rotation
- page rotation in degrees
ThumbnailCreationException
java.awt.image.BufferedImage getThumbnail(java.io.File inputFile, java.lang.String password, int page, float resizePercentage) throws ThumbnailCreationException
inputFile
- pdf documentpassword
- document password or null if no password is neededpage
- page nmberresizePercentage
- resize level
ThumbnailCreationException
java.awt.image.BufferedImage getPageImage(java.io.File inputFile, java.lang.String password, int page) throws ThumbnailCreationException
inputFile
- pdf documentpassword
- document password or null if no password is neededpage
-
ThumbnailCreationException
java.awt.image.BufferedImage getPageImage(java.io.File fileName, java.lang.String password, int page, int rotation) throws ThumbnailCreationException
fileName
- password
- page
- rotation
- page rotation in degrees
ThumbnailCreationException
void initThumbnailsPanel(java.io.File inputFile, java.lang.String password, JVisualPdfPageSelectionPanel panel, long id, java.util.List<DocumentPage> template) throws ThumbnailCreationException
inputFile
- pdf documentpassword
- document password or null if no password is neededpanel
- id
- Id for this thumbnails generationtemplate
- template for the document pages (order, rotation infos..)
ThumbnailCreationException
void initThumbnailsPanel(java.lang.String fileName, java.lang.String password, JVisualPdfPageSelectionPanel panel, long id, java.util.List<DocumentPage> template) throws ThumbnailCreationException
fileName
- password
- document password or null if no password is neededpanel
- id
- Id for this thumbnails generationtemplate
- template for the document pages (order, rotation infos..)
ThumbnailCreationException
int getResolution()
void clean(long id)
id
- java.lang.String getCreatorName()
java.lang.String getCreatorIdentifier()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |