-
Enhancement
-
Resolution: Won't Fix
-
P4
-
None
-
5.0
-
x86
-
windows_2000
A DESCRIPTION OF THE REQUEST :
It would be simple to do and nice to have.
Object[] pageNumber = new Object[]{new Integer(pageIndex + 1),
new java.util.Date()};
// fetch the formatted header text, if any
String headerText = null;
if (headerFormat != null) {
headerText = headerFormat.format(pageNumber);
}
// fetch the formatted footer text, if any
String footerText = null;
if (footerFormat != null) {
footerText = footerFormat.format(pageNumber);
}
JUSTIFICATION :
It is very often required by end users to have the date and or time printed on reports.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Should be simple to print the date and time on a page header or footer.
ACTUAL -
Can only have page numbers easily rendered on headers and footers without funky workarounds.
---------- BEGIN SOURCE ----------
This is a fix: modify TablePrintable line 201 to read
Object[] pageNumber = new Object[]{new Integer(pageIndex + 1),
new java.util.Date()};
instead of the current
Object[] pageNumber = new Object[]{new Integer(pageIndex + 1)};
---------- END SOURCE ----------
###@###.### 10/28/04 19:49 GMT
It would be simple to do and nice to have.
Object[] pageNumber = new Object[]{new Integer(pageIndex + 1),
new java.util.Date()};
// fetch the formatted header text, if any
String headerText = null;
if (headerFormat != null) {
headerText = headerFormat.format(pageNumber);
}
// fetch the formatted footer text, if any
String footerText = null;
if (footerFormat != null) {
footerText = footerFormat.format(pageNumber);
}
JUSTIFICATION :
It is very often required by end users to have the date and or time printed on reports.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Should be simple to print the date and time on a page header or footer.
ACTUAL -
Can only have page numbers easily rendered on headers and footers without funky workarounds.
---------- BEGIN SOURCE ----------
This is a fix: modify TablePrintable line 201 to read
Object[] pageNumber = new Object[]{new Integer(pageIndex + 1),
new java.util.Date()};
instead of the current
Object[] pageNumber = new Object[]{new Integer(pageIndex + 1)};
---------- END SOURCE ----------
###@###.### 10/28/04 19:49 GMT