...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
new Boolean($P{letterNumber}.equalsIgnoreCase("1st")||$P{letterNumber}.equalsIgnoreCase("2nd")) new Boolean ( ! $F{provider_code}.equals( "Morling" ) ) new Boolean( $V{amountDueTotal}.compareTo( new Double (0.00) ) > 0 ) new Boolean ( $V{PAGE_NUMBER}.toString() == "1" ) new Boolean ($F{chessn}!=null && !$P{unitEnrolmentEndDate}.equals("")) new Boolean ( $F{course_level}.equals("VET")) new Boolean ( $F{enrolment_status_id}.equals( "ENROLMENT_COMPLETED" ) ) |
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
new SimpleDateFormat("dd MMMM yyyy").format( new Date()) new java.util.Date(2017, 1, 1) "Teaching Period: " + new SimpleDateFormat("dd MMMM yyyy").format( $F{current_semester_name} ) new SimpleDateFormat("EEEEE, dd MMMMM yyyy").parse($P{todaysDate}) new SimpleDateFormat("dd/MM/yyyy").format($P{report_date}) "Admitted to the "+$F{course_name}+" on "+new SimpleDateFormat("MMMMM dd, yyyy").format($F{course_enrolment_start_date}) |
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
"You currently owe: $" + new DecimalFormat("###0.00").format($V{amountDueTotal}).toString() $V{PAGE_NUMBER}.toString() "Total credit points required: " + new DecimalFormat("0").format($F{credit_points_required}).toString() ( $V{gpa_total}==null ? new Double (0) : $V{gpa_total} ) |
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
"Accumulated grade point average: " + ( $V{gpa_total}==null ? "0.00" : new DecimalFormat("0.00").format($V{gpa_total}).toString() ) |
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Example: $V{studentFormalName}.toUpperCase() |
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<style isBold=\"true\" pdfFontName=\"Helvetica-Bold\"> This becomes bold </style> |
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<style isUnderline=\"true\" >Underline me! </style> |
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<style isItalic=\"true\" pdfFontName=\"Helvetica-Oblique\"> I'm leaning to one side </style> |
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<style forecolor=\"#0000ff\"> Colour me surprised </style> |
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
+"•" |
Escaping
Escaping double quote
...