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 - + +