From 8b77433ab3d8f447f9b425837e775d8473ef18d4 Mon Sep 17 00:00:00 2001 From: Arin Alex Date: Fri, 8 Jul 2016 00:03:07 +0300 Subject: [PATCH] Demo report has been changed --- .../change_item_from_script.lrxml | 279 ++++++++++-------- 1 file changed, 150 insertions(+), 129 deletions(-) diff --git a/demo_r1/demo_reports/change_item_from_script.lrxml b/demo_r1/demo_reports/change_item_from_script.lrxml index 156eece..6d92ba8 100644 --- a/demo_r1/demo_reports/change_item_from_script.lrxml +++ b/demo_r1/demo_reports/change_item_from_script.lrxml @@ -1,35 +1,37 @@ - + - + page1 - - - - - - - + + + + + + + ReportPage1 - + - + DataBand1 - + - + TextItem2 - + - - + + DataBand1 - - - - + + + + + + $S{ var selectedItemBegin = '<span style="background:black; color:red; font-weight:bold ">'; @@ -45,58 +47,65 @@ if ($D{customers.CustomerID}=="ANTON"){ '<span>Customer: </span>'+customer; } - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - + + ReportPage1 - - - - - + + + + + + - - + + customers - - - - - - + + + + + + + + - + ReportHeader1 - + - + TextItem1 - + - - + + ReportHeader1 - - - - + + + + + + $S{ var color = new QColor('#DEB887'); var font = new QFont('Times New Roman',26,false,true); @@ -105,97 +114,108 @@ THIS.fontColor = QColor('red'); THIS.font = font; 'Test'} - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - + TextItem3 - + - - + + ReportHeader1 - - - - + + + + + + <p> <span>test1</span> <span style="background:red">test</span> </p> - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - + + ReportPage1 - - - - - + + + + + + - - - + + + - - + + - - - - - - - - + + + + + + + + + + + + - + datasources - + test QSQLITE - E:/LimeReportGit/lib/report/demo/r1/demo_reports/northwind.db + ./demo_reports/northwind.db - + - + - + customers Select * from customers limit 5 @@ -205,17 +225,18 @@ THIS.font = font; - + TestName TestValue - + +