blob: 4f83397d7b4765aec251c70043816819f52eff7c [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8" standalone="no"?><templates>
<template id="org.eclipse.osbp.xtext.reportdsl.ReportDSL.Report.1" autoinsert="true" context="org.eclipse.osbp.xtext.reportdsl.ReportDSL.Report" deleted="false" description="" enabled="true" name="reportTemplate1"> report Template1Report describedBy "" {&#13;
datamart ${source} /* define datamart */ rendering pdf pagetemplate A4_Landscape media big template {&#13;
header {&#13;
showOnFirst height 15 grid {&#13;
row height 15 {&#13;
cell style page_header_template {&#13;
label "Heading"&#13;
}&#13;
cell style rightAlignment {&#13;
/* attribute imageAttribute -- an defined image in the used datamart*/&#13;
/* image height 11 mm width 35 mm embed "-localpath to image-.png" -- or an embed image from a local path */&#13;
}&#13;
}&#13;
}&#13;
}&#13;
detail {&#13;
grid style param_grid {&#13;
row {&#13;
cell style param_grid_cell {&#13;
stringBinder( translatable "Text" /* define translatable text */ attribute ${source} /* define attribute */)&#13;
}&#13;
}&#13;
}&#13;
table style table_style {&#13;
header /* define table header cells if needed*/&#13;
group NewTableGroup1 by ${source} /* define the group attribute */&#13;
pageBreak( before auto after auto inside auto ) {&#13;
header style table_group_header_cell {&#13;
row {&#13;
cell columnspan 2 {&#13;
/* define attribute */&#13;
attribute ${source}&#13;
}&#13;
/* define other cells as required. As for example this&#13;
cell columnspan 7 {&#13;
stringBinder( attribute fullname nontranslatable " - " translatable "plz" attribute postal_code nontranslatable " - " translatable "city" attribute city nontranslatable " - " translatable "address" attribute address1 nontranslatable " - " translatable "country" attribute country )&#13;
}*/&#13;
}&#13;
}&#13;
/* define a footer as required. As for example this&#13;
footer {&#13;
row style table_group_footer_cell {&#13;
cell columnspan 7 {&#13;
}&#13;
cell {&#13;
label "saldo"&#13;
label "limit"&#13;
}&#13;
cell {&#13;
aggregate sum amount&#13;
attribute payamnt&#13;
}&#13;
}&#13;
}*/&#13;
}&#13;
details all&#13;
/* If you need a more detailed table detail definition look at this&#13;
details style table_detail_cell_no_padding {&#13;
attribute sku style table_detail_cell_right width 30&#13;
attribute serial style table_detail_cell_right width 25&#13;
attribute product_name style table_detail_cell width 50&#13;
attribute now style table_detail_cell_center&#13;
attribute price style table_detail_cell&#13;
attribute quantity style table_detail_cell&#13;
attribute amount style table_detail_cell&#13;
attribute payamnt style table_detail_cell&#13;
attribute total style table_detail_cell&#13;
}*/&#13;
}&#13;
}&#13;
footer {&#13;
showOnLast height 15 grid style page_footer {&#13;
row {&#13;
cell width 17.78 /* = 0.7in */ {&#13;
label "printdate"&#13;
}&#13;
cell width 17.78 /* = 0.7in */ {&#13;
autotext actual-date&#13;
}&#13;
cell style centerMiddleAlignment {&#13;
autotext report-name&#13;
}&#13;
cell width 17.78 /* = 0.7in */ {&#13;
stringBinder( translatable "creator" nontranslatable "compex" )&#13;
}&#13;
}&#13;
row {&#13;
cell width 17.78 /* = 0.7in */ {&#13;
label "time"&#13;
}&#13;
cell width 17.78 /* = 0.7in */ {&#13;
autotext actual-time&#13;
}&#13;
cell {&#13;
label ""&#13;
}&#13;
cell width 30 {&#13;
grid {&#13;
row {&#13;
cell {&#13;
label "page"&#13;
}&#13;
cell {&#13;
autotext page-number&#13;
}&#13;
cell {&#13;
nontranslatable "/"&#13;
}&#13;
cell {&#13;
autotext total-page&#13;
}&#13;
}&#13;
}&#13;
}&#13;
}&#13;
}&#13;
}&#13;
}&#13;
}&#13;
</template></templates>