public class DefaultOpenOfficeThumbnailPolicyFilter extends AbstractThumbnailPolicyFilterImpl
REVISIONorder| Constructor and Description | 
|---|
DefaultOpenOfficeThumbnailPolicyFilter()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
createThumbnail(FileDocument doc,
               java.io.File dest,
               ImageFormat format,
               int maxWidth,
               int maxHeight,
               java.lang.String background,
               boolean square,
               boolean done)
This method is a hook called by Thumbnail tag to generate a
 thumbnail of the given FileDocument. 
 | 
createThumbnail, createThumbnail, isValidImageSize, supportsThumbnailcreateThumbnail, createThumbnail, createThumbnail, createThumbnail, createThumbnail, createThumbnail, init, isValidImageSize, supportsThumbnailcompareTo, equals, getOrder, setOrderclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLabel, getName, init, isInitializedpublic DefaultOpenOfficeThumbnailPolicyFilter()
public boolean createThumbnail(FileDocument doc, java.io.File dest, ImageFormat format, int maxWidth, int maxHeight, java.lang.String background, boolean square, boolean done)
ThumbnailPolicyFiltercreateThumbnail in interface ThumbnailPolicyFiltercreateThumbnail in class AbstractThumbnailPolicyFilterImpldoc - FileDocument of which to create a thumbnaildest - destination file (the thumbnail to generate)format - the format of the file to generate as requested by the ThumbnailTagmaxWidth - the maximum width of the thumbnail to generatemaxHeight - the maximum height of the thumbnail to generatebackground - the background color (eg "FFFFFF") if sets the image dimension will be set maxWidth and maxHeightsquare - set to true to crop image into a square using the specified width during thumbnail creation.done - the global plugin createThumbnail() statusThumbnailPolicyFilter.createThumbnail(FileDocument, File, ImageFormat, int, int, String, boolean, boolean)Copyright © 2001-2021 Jalios SA. All Rights Reserved.