13.07.2015 Views

iReport Ultimate Guide - Nimsoft Library

iReport Ultimate Guide - Nimsoft Library

iReport Ultimate Guide - Nimsoft Library

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>iReport</strong> <strong>Ultimate</strong> <strong>Guide</strong>Let’s see what properties can be set for a textfield:Blank when nullEvaluation timeEvaluation groupStretch withoverflowPatternIf set to true, this option will avoid to print the textfield content if the expression result is anull object that would be produce the text “null” when converted in a string.Determines in which phase of the report creation the Textfield Expression has to beelaborated (an in depth explanation of the evaluation time is available in the next chapter).The group to which the evaluation time is referred if it is set to Group.When it is selected, this option allows the textfield to adapt vertically to the content, if theelement is not sufficient to contain all the text lines.The pattern property allows you to set a mask to format a value. It is used only when theexpression class is congruent with the pattern to apply, meaning you need a numeric valueto apply a mask to format a number, or a date to use a date pattern.The following tables provide some parameters and examples of data and number patterns.Table 5-6Mask Codes for DatesMask Code Date Components ExamplesG Era designator ADy Year 1996; 96M Month in year July; Jul; 07w Week in year 27W Week in month 2D Day in year 189d Day in month 10F Day of week in month 2E Day in week Tuesday; Tuea Am/pm marker PMH Hour in day (0-23) 0k Hour in day (1-24) 24K Hour in am/pm (0-11) 0h Hour in am/pm (1-12) 12m Minute in hour 30s Second in minute 55S Millisecond 978z Time zone Pacific Standard Time; PST; GMT-08:00Z Time zone -080088

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!