public class CmsJspTagPdfThumbnail extends javax.servlet.jsp.tagext.TagSupport
| Constructor and Description |
|---|
CmsJspTagPdfThumbnail() |
| Modifier and Type | Method and Description |
|---|---|
int |
doStartTag() |
static java.lang.String |
pdfTagAction(javax.servlet.ServletRequest request,
java.lang.String file,
int width,
int height,
java.lang.String format)
The implementation of the tag.
|
void |
setFile(java.lang.String file)
Sets the path to the PDF.
|
void |
setFormat(java.lang.String format)
Setter for the format path.
|
void |
setHeight(java.lang.String height)
Sets the height.
|
void |
setWidth(java.lang.String width)
Sets the width.
|
public CmsJspTagPdfThumbnail()
public static java.lang.String pdfTagAction(javax.servlet.ServletRequest request, java.lang.String file, int width, int height, java.lang.String format) throws CmsException
request - the current requestfile - the path to the PDFwidth - the thumbnail widthheight - the thumbnail heightformat - the image formatCmsException - if something goes wrongpublic int doStartTag()
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.TagSupportTag.doStartTag()public void setFile(java.lang.String file)
file - the PDF pathpublic void setFormat(java.lang.String format)
format - the format pathpublic void setHeight(java.lang.String height)
height - the height to setpublic void setWidth(java.lang.String width)
width - the width to set