Changes

Jump to: navigation, search

Format an iReport Template

116 bytes added, 17:54, 12 February 2014
Version 6.0
===Text Properties===__NOEDITSECTION__
iReport Designer allows you to set various properties for text elements displayed in the report template. These can be edited either with the text formatting bar(located on the same bar as the Designer, XML, and Preview buttons):
[[Image:IReport Formatting Bar.png|center|300px|''Text Formatting Bar'']]<div align="center">''Text Formatting Bar''</div>
or with the '''Text properties''' portion of the '''Properties''' pane
[[Image:IReport Text Properties.png|center|300px|''Text Properties'']]<div align="center">''Text Properties''</div>
Some examples of the properties you can edit are:
*Font Name
*Size
===Number and Date Specific Patterns===__NOEDITSECTION__
* On the '''Properties''' pane select the '''Pattern''' element and open the '''Pattern Editor''''.
*: [[Image:IReport Pattern Properties.png|center|300px|''Pattern Window'']]<div align="center">''Pattern Window''</div>
** Choose an appropriate '''Pattern''' to apply to the field as desired.
The '''Position Type''' property has three options:
*"fix relative Fix Relative to topTop": This is the default value for all elements and means that the position will be kept relative to the top margin of the report regardless of what data is displayed before it.*"fix relative Fix Relative to bottomBottom": This value means that the position will be kept relative to the bottom margin of the report regardless of what data is displayed after it.*"floatFloat": This value allows the element to "float" and will display the element relative to elements that come before it (i.e. closer to the top or closer to the left margins).
Using the '''floatFloat''' Position Type can help eliminate the overlapping that can occur when displaying multiple charts or cross tabs in a single report template.
==Formatting Tools==__NOEDITSECTION__
# Select the desired field or variable displayed in the iReport template ('''note:''' this is '''NOT''' the field or variable value itself in the '''iReport Designer''', but rather the text element on the report displaying the field or variable value).
#: [[Image:IReport Display Properties.png|center|300px|''Display Properties'']]<div align="center">''Display Properties''</div>
# On the '''Properties''' pane select the '''Text Field Expression''' and open the '''Text Field Expression Editor''''.
#: [[Image:IReport Charts5.png|center|500px|''Text Field Expression Editor'']]<div align="center">''Text Field Expression Editor''</div>
# To change the way a particular field is displayed you can use basic "ïf-then-else" logic as in other [[Summarize i-Report Template Data#Variable Expressions|Variable Expressions]]. This follows the pattern:
518
edits

Navigation menu