Andreas Schmitt
2010-04-10 13:23:30 UTC
Hi,
Export plugin 0.7 has been released. This plugin allows you to export
domain objects to CSV, Excel, ODS (Open Document Spreadsheet), RTF,
PDF and XML and can be extended to support additional formats.
Version 0.7 contains multiple bug fixes, enhanced formatter closures,
new parameters for PDF, RTF and XML export
and support for asian characters.
All formatter closures now take two arguments and offer access to the
domain object, e.g. to combine two attributes.
Existing formatter closures must be changed by adding the additional argument.
Previous versions
def date = { value ->
if(value instanceof Date){
return new java.text.SimpleDateFormat("dd.MM.yyyy").format(value)
}
return value
}
Version 0.7
def date = { domain, value ->
if(value instanceof Date){
return new java.text.SimpleDateFormat("dd.MM.yyyy").format(value)
}
return value
}
- PDF
- font.family (global font family setting)
- title.encoding (encoding for title font)
- header.encoding (encoding for header font)
- text.encoding (encoding for text font)
- pdf.encoding (global font encoding)
- column.widths (allows to set different column widths)
- RTF
- font.family (global font family setting)
- title.encoding (encoding for title font)
- header.encoding (encoding for header font)
- text.encoding (encoding for text font)
- rtf.encoding (global font encoding)
- column.widths (allows to set different column widths)
- XML
- xml.root (specify root element name)
- depth (depth for building tree affects how collections and
relationships are exported)
I would like to thank everybody for reporting bugs or suggesting improvements.
For further information check out http://www.grails.org/plugin/export
Best regards,
Andreas
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
Export plugin 0.7 has been released. This plugin allows you to export
domain objects to CSV, Excel, ODS (Open Document Spreadsheet), RTF,
PDF and XML and can be extended to support additional formats.
Version 0.7 contains multiple bug fixes, enhanced formatter closures,
new parameters for PDF, RTF and XML export
and support for asian characters.
All formatter closures now take two arguments and offer access to the
domain object, e.g. to combine two attributes.
Existing formatter closures must be changed by adding the additional argument.
Previous versions
def date = { value ->
if(value instanceof Date){
return new java.text.SimpleDateFormat("dd.MM.yyyy").format(value)
}
return value
}
Version 0.7
def date = { domain, value ->
if(value instanceof Date){
return new java.text.SimpleDateFormat("dd.MM.yyyy").format(value)
}
return value
}
- font.family (global font family setting)
- title.encoding (encoding for title font)
- header.encoding (encoding for header font)
- text.encoding (encoding for text font)
- pdf.encoding (global font encoding)
- column.widths (allows to set different column widths)
- RTF
- font.family (global font family setting)
- title.encoding (encoding for title font)
- header.encoding (encoding for header font)
- text.encoding (encoding for text font)
- rtf.encoding (global font encoding)
- column.widths (allows to set different column widths)
- XML
- xml.root (specify root element name)
- depth (depth for building tree affects how collections and
relationships are exported)
I would like to thank everybody for reporting bugs or suggesting improvements.
For further information check out http://www.grails.org/plugin/export
Best regards,
Andreas
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email