-
Notifications
You must be signed in to change notification settings - Fork 28
Configuration
setThumbnailFolder(String thumbnailPath)
or
setThumbnailFolder(File thumbnailPath)
Default Value: NONE! This needs to be set before using, otherwise it will throw an exception.
Can be absolute or relative to current working directory.
Thumbnailer.setImageSize(int imageWidth, int imageHeight, int otherOptions)
Default Values: 160x120
The Width and Height of the resulting thumbnail. (otherOptions
is currently not used; Thumbnails will always "fit one dimension" (cropping the other dimension) and "never scale up" (centering it on a white background instead).)
ThumbnailManager.registerThumbnailer(Thumbnailer thumbnailer)
Add Classes that handle a specific document type to a ThumbnailManager which groups them together.
JODConverterThumbnailer(String openOfficeHomeFolder, String paramOpenOfficeProfile)
openOfficeHomeFolder
(optional): Path to OpenOffice installation. If not given, JODConverter tries to goes common paths (depending on your OS).
paramOpenOfficeProfile
(optional): Path to the profile that JODConverter should use during conversions. If not given, JODConverter creates a temporary profile on startup (that's why the message "exit code 81" appears).