Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejava
themeMidnight
linenumberstrue
collapsetrue
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
true
languagejava
themeMidnight
linenumberscollapsetrue
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
languagejava
themeMidnight
linenumberstruecollapsetrue
"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
languagejava
themeMidnight
linenumberstruecollapsetrue
"Accumulated grade point average: " + ( $V{gpa_total}==null ? "0.00" : new DecimalFormat("0.00").format($V{gpa_total}).toString() )

...

Code Block
languagejava
themeMidnight
linenumberstruecollapsetrue
Example: $V{studentFormalName}.toUpperCase()

...

Code Block
collapse
languagejava
themeMidnight
linenumberstruetrue
<style isBold=\"true\" pdfFontName=\"Helvetica-Bold\"> This becomes bold </style>

...

Code Block
true
languagejava
themeMidnight
linenumberscollapsetrue
<style isUnderline=\"true\" >Underline me! </style>

...

Code Block
languagejava
themeMidnight
linenumberstruecollapsetrue
<style isItalic=\"true\" pdfFontName=\"Helvetica-Oblique\"> I'm leaning to one side </style>

...

Code Block
languagejava
themeMidnight
linenumberstruecollapsetrue
<style forecolor=\"#0000ff\"> Colour me surprised </style>

...

Code Block
languagejava
themeMidnight
linenumberstruecollapsetrue
+"•"




Escaping

Escaping double quote

...