Logo Search packages:      
Sourcecode: jodreports version File versions  Download package

Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes

net::sf::jooreports::templates::TemplateFreemarkerNamespace Class Reference

Collaboration diagram for net::sf::jooreports::templates::TemplateFreemarkerNamespace:
Collaboration graph
[legend]

List of all members.

Public Member Functions

String getDoubleHyphen ()
Map getImages ()
String image (ImageSource imageWriter)
String image (String defaultImageName, ImageSource imageWriter)
String image (String defaultImageName, String fileName)
String image (String defaultImageName, Object object)
String imageHeight (String defaultImageName, String fileName, String maxWidth, String maxHeight, String format)
String imageHeight (ImageSource imageSource, String maxWidthStr, String maxHeightStr, String format)
String imageHeight (String defaultImageName, Object object, String maxWidth, String maxHeight, String format)
String imageHeight (String defaultImageName, ImageSource imageSource, String maxWidth, String maxHeight, String format)
String imageWidth (String defaultImageName, String fileName, String maxWidth, String maxHeight, String format)
String imageWidth (ImageSource imageSource, String maxWidthStr, String maxHeightStr, String format)
String imageWidth (String defaultImageName, Object object, String maxWidth, String maxHeight, String format)
String imageWidth (String defaultImageName, ImageSource imageSource, String maxWidth, String maxHeight, String format)

Static Public Attributes

static final String NAME = "jooscript"

Private Member Functions

String getRatioDimension (int dimX, int dimY, String maxDimXStr, String maxDimYStr, boolean isWidth, String format)

Private Attributes

int imageIndex = 0
Map images = new HashMap()

Static Private Attributes

static final Log log = LogFactory.getLog(TemplateFreemarkerNamespace.class)

Detailed Description

Contains utility methods that can be invoked in the template from FreeMarker.

An instance of this class is automatically made available to the template as a predefined FreeMarker variable named "JOOScript".

Definition at line 21 of file TemplateFreemarkerNamespace.java.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index