FreeReportv0.9.0한국어

Elements

Text, field, line, box, image, barcode, chart, table and crosstab elements: common properties and the properties of each type.

NameTypeDescription
type'text' | 'field' | 'line' | 'rect' | 'image' | 'barcode' | 'chart' | 'table' | 'crosstab'Element kind.
x, y, w, hnumberPosition and size inside the band, in mm.
idstringOptional id (the designer sets one).
style / styleNameStyle / stringInline style, merged over the named style.
visibleExprDraw only when truthy.
canGrowbooleanGrow downwards when the text needs room (the band grows with it).
stretchbooleanFollow the band height when it grows (default for elements touching the band bottom).
namestringColumn name in Excel "data" mode.

Element types

typePropertiesDescription
text{ text }Static or templated text: "합계 {sum(amount):#,##0}원". {{ and }} are literal braces.
field{ expr, format?, nullText?, suppressRepeated? }One expression with an optional format; suppressRepeated hides values equal to the row above.
line{ color?, width?, dash? }From (x, y) to (x + w, y + h); a horizontal line has h = 0. Width in mm.
rect{ fill?, color?, width?, radius? }Rectangle; width 0 for no stroke.
image{ src? | expr?, fit? }URL or data: URL, or an expression from data. fit: contain | cover | fill.
barcode{ expr, format?, showText?, ecc?, color? }format: 'code128' | 'ean13' | 'qr' | 'datamatrix' | 'pdf417'. ecc: QR error correction L/M/Q/H.
chart{ chartType, category, series, source?, title?, legend?, format?, showValues?, stacked? }chartType: 'bar' | 'hbar' | 'line' | 'area' | 'pie' | 'doughnut'.
table{ source, columns, rowHeight?, showHeader?, headerStyle?, footerLabel?, altBackground? }A list inside a band (master–detail); columns: { header, expr, width?, format?, align?, sum? }.
crosstab{ rowKey, columnKey, value, aggregate?, format?, totals?, corner?, source?, cellHeight?, rowHeaderWidth?, headerStyle? }Rows × columns with an aggregated value per cell and totals. aggregate: sum | count | avg | min | max.