mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2024-12-23 20:22:58 +03:00
Multicolumn bands rendering has been fixed
# Conflicts: # limereport/lrreportrender.cpp # limereport/lrreportrender.h
This commit is contained in:
commit
d391c58e26
BIN
console/StarIO_Cpp_Linux_SDK_README.pdf
Normal file
BIN
console/StarIO_Cpp_Linux_SDK_README.pdf
Normal file
Binary file not shown.
33
console/console.pro
Normal file
33
console/console.pro
Normal file
@ -0,0 +1,33 @@
|
||||
QT += core widgets
|
||||
QT -= gui
|
||||
|
||||
CONFIG += c++11
|
||||
|
||||
TARGET = console
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
|
||||
TEMPLATE = app
|
||||
|
||||
SOURCES += main.cpp
|
||||
|
||||
# The following define makes your compiler emit warnings if you use
|
||||
# any feature of Qt which as been marked deprecated (the exact warnings
|
||||
# depend on your compiler). Please consult the documentation of the
|
||||
# deprecated API in order to know how to port your code away from it.
|
||||
DEFINES += QT_DEPRECATED_WARNINGS
|
||||
|
||||
include(../common.pri)
|
||||
INCLUDEPATH += $$PWD/../include
|
||||
DEPENDPATH += $$PWD/../include
|
||||
LIBS += -L$${DEST_LIBS} -llimereport
|
||||
!contains(CONFIG, static_build){
|
||||
contains(CONFIG,zint){
|
||||
LIBS += -L$${DEST_LIBS} -lQtZint
|
||||
}
|
||||
}
|
||||
|
||||
# You can also make your code fail to compile if you use deprecated APIs.
|
||||
# In order to do so, uncomment the following line.
|
||||
# You can also select to disable deprecated APIs only up to a certain version of Qt.
|
||||
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
BIN
console/limereport.pdf
Normal file
BIN
console/limereport.pdf
Normal file
Binary file not shown.
65
console/main.cpp
Normal file
65
console/main.cpp
Normal file
@ -0,0 +1,65 @@
|
||||
#include <QApplication>
|
||||
#include <QUuid>
|
||||
#include <LimeReport>
|
||||
#include <iostream>
|
||||
#include <QDebug>
|
||||
#include <QDir>
|
||||
#include <QFile>
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <io.h>
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
QApplication a(argc, argv);
|
||||
QStringList vars;
|
||||
LimeReport::ReportEngine report;
|
||||
if (a.arguments().count() < 2 ){
|
||||
std::cerr<<"Error! Report file is not specified !!";
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (a.arguments().count()>2){
|
||||
vars = a.arguments().at(2).split(";");
|
||||
qDebug()<<vars;
|
||||
foreach(QString var, vars){
|
||||
QStringList varItem = var.split("=");
|
||||
report.dataManager()->setReportVariable(varItem.at(0),varItem.at(1));
|
||||
}
|
||||
}
|
||||
|
||||
QString reportFile = a.arguments().at(1);
|
||||
|
||||
if (!report.loadFromFile(reportFile)){
|
||||
qDebug()<<QDir::currentPath();
|
||||
QFile::exists(reportFile);
|
||||
std::cerr<<"Error! Report file \""+reportFile.toStdString()+"\" not found";
|
||||
return 1;
|
||||
}
|
||||
|
||||
QUuid uid = QUuid::createUuid();
|
||||
QString uidStr = uid.toString()+".pdf";
|
||||
report.printToPDF(uidStr);
|
||||
QFile in(uidStr);
|
||||
QFile out;
|
||||
out.open(stdout, QFile::WriteOnly);
|
||||
in.open(QIODevice::ReadOnly);
|
||||
#ifdef _WIN32
|
||||
_setmode(fileno(stdout),O_BINARY);
|
||||
//qDebug()<<result;
|
||||
#endif
|
||||
QByteArray buffer = in.readAll();
|
||||
fwrite(buffer,1,buffer.size(),stdout);
|
||||
// out.write(in.readAll());
|
||||
in.close();
|
||||
in.remove();
|
||||
// std::cout << uidStr.toStdString();
|
||||
// std::cout << in.readAll().data();
|
||||
// in.close();
|
||||
// in.remove();
|
||||
|
||||
return 0;
|
||||
//return a.exec();
|
||||
}
|
656
demo_r1/demo_reports/1.4/1_simple_list.lrxml
Normal file
656
demo_r1/demo_reports/1.4/1_simple_list.lrxml
Normal file
@ -0,0 +1,656 @@
|
||||
<?xml version="1.0" encoding="UTF8"?>
|
||||
<Report>
|
||||
<object Type="Object" ClassName="LimeReport::ReportEnginePrivate">
|
||||
<objectName Type="QString"></objectName>
|
||||
<pages Type="Collection">
|
||||
<item Type="Object" ClassName="LimeReport::PageDesignIntf">
|
||||
<objectName Type="QString">page1</objectName>
|
||||
<sceneRect Type="QRect" y="-50" x="-50" width="2200" height="3070"/>
|
||||
<bspTreeDepth Type="int" Value="5"/>
|
||||
<font stylename="" italic="0" weight="50" underline="0" pointSize="8" Type="QFont" family="MS Shell Dlg 2"/>
|
||||
<sortCacheEnabled Type="bool" Value="0"/>
|
||||
<stickyFocus Type="bool" Value="0"/>
|
||||
<minimumRenderSize Type="qreal" Value="0"/>
|
||||
<pageItem Type="Object" ClassName="PageItem">
|
||||
<objectName Type="QString">ReportPage1</objectName>
|
||||
<geometry Type="QRect" y="0" x="0" width="2100" height="2970"/>
|
||||
<children Type="Collection">
|
||||
<item Type="Object" ClassName="Data">
|
||||
<objectName Type="QString">DataBand1</objectName>
|
||||
<geometry Type="QRect" y="258" x="50" width="2000" height="100"/>
|
||||
<children Type="Collection">
|
||||
<item Type="Object" ClassName="TextItem">
|
||||
<objectName Type="QString">TextItem2</objectName>
|
||||
<geometry Type="QRect" y="24" x="20" width="618" height="50"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">DataBand1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString">$D{customers.Company}</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="33"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font stylename="" italic="0" weight="50" underline="0" pointSize="9" Type="QFont" family="Arial"/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="0"/>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<fontColor Type="QColor" Value="#000000"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
</item>
|
||||
<item Type="Object" ClassName="TextItem">
|
||||
<objectName Type="QString">TextItem3</objectName>
|
||||
<geometry Type="QRect" y="24" x="642" width="462" height="50"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">DataBand1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString">$D{customers.Addr1}</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="33"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font stylename="" italic="0" weight="50" underline="0" pointSize="9" Type="QFont" family="Arial"/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="0"/>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<fontColor Type="QColor" Value="#000000"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
</item>
|
||||
<item Type="Object" ClassName="TextItem">
|
||||
<objectName Type="QString">TextItem4</objectName>
|
||||
<geometry Type="QRect" y="24" x="1110" width="328" height="50"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">DataBand1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString">$D{customers.Contact}</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="33"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font stylename="" italic="0" weight="50" underline="0" pointSize="9" Type="QFont" family="Arial"/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="0"/>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<fontColor Type="QColor" Value="#000000"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
</item>
|
||||
<item Type="Object" ClassName="TextItem">
|
||||
<objectName Type="QString">TextItem5</objectName>
|
||||
<geometry Type="QRect" y="24" x="1450" width="250" height="50"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">DataBand1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString">$D{customers.Phone}</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="33"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font stylename="" italic="0" weight="50" underline="0" pointSize="9" Type="QFont" family="Arial"/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="0"/>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<fontColor Type="QColor" Value="#000000"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
</item>
|
||||
<item Type="Object" ClassName="TextItem">
|
||||
<objectName Type="QString">TextItem6</objectName>
|
||||
<geometry Type="QRect" y="24" x="1710" width="250" height="50"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">DataBand1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString">$D{customers.FAX}</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="33"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font stylename="" italic="0" weight="50" underline="0" pointSize="9" Type="QFont" family="Arial"/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="0"/>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<fontColor Type="QColor" Value="#000000"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
</item>
|
||||
</children>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">ReportPage1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<autoHeight Type="bool" Value="1"/>
|
||||
<bandIndex Type="int" Value="5"/>
|
||||
<keepBottomSpace Type="bool" Value="0"/>
|
||||
<parentBand Type="QString"></parentBand>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<printIfEmpty Type="bool" Value="0"/>
|
||||
<datasource Type="QString">customers</datasource>
|
||||
<keepSubdetailTogether Type="bool" Value="0"/>
|
||||
<splittable Type="bool" Value="0"/>
|
||||
<keepFooterTogether Type="bool" Value="0"/>
|
||||
<sliceLastRow Type="bool" Value="0"/>
|
||||
<columnsCount Type="int" Value="1"/>
|
||||
<columnsFillDirection Type="enumAndFlags" Value="0"/>
|
||||
<startNewPage Type="bool" Value="0"/>
|
||||
<startFromNewPage Type="bool" Value="0"/>
|
||||
<alternateBackgroundColor Type="QColor" Value="#e6e6e6"/>
|
||||
</item>
|
||||
<item Type="Object" ClassName="DataHeader">
|
||||
<objectName Type="QString">DataHeaderBand1</objectName>
|
||||
<geometry Type="QRect" y="154" x="50" width="2000" height="100"/>
|
||||
<children Type="Collection">
|
||||
<item Type="Object" ClassName="TextItem">
|
||||
<objectName Type="QString">TextItem7</objectName>
|
||||
<geometry Type="QRect" y="32" x="20" width="618" height="50"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="2"/>
|
||||
<parentName Type="QString">DataHeaderBand1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString">Company</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="33"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font stylename="" italic="0" weight="75" underline="0" pointSize="9" Type="QFont" family="Arial"/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="1"/>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<fontColor Type="QColor" Value="#aa0000"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
</item>
|
||||
<item Type="Object" ClassName="TextItem">
|
||||
<objectName Type="QString">TextItem8</objectName>
|
||||
<geometry Type="QRect" y="32" x="642" width="462" height="50"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="2"/>
|
||||
<parentName Type="QString">DataHeaderBand1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString">Address</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="33"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font stylename="" italic="0" weight="75" underline="0" pointSize="9" Type="QFont" family="Arial"/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="1"/>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<fontColor Type="QColor" Value="#aa0000"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
</item>
|
||||
<item Type="Object" ClassName="TextItem">
|
||||
<objectName Type="QString">TextItem9</objectName>
|
||||
<geometry Type="QRect" y="32" x="1112" width="328" height="50"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="2"/>
|
||||
<parentName Type="QString">DataHeaderBand1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString">Contact</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="33"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font stylename="" italic="0" weight="75" underline="0" pointSize="9" Type="QFont" family="Arial"/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="1"/>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<fontColor Type="QColor" Value="#aa0000"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
</item>
|
||||
<item Type="Object" ClassName="TextItem">
|
||||
<objectName Type="QString">TextItem10</objectName>
|
||||
<geometry Type="QRect" y="32" x="1452" width="250" height="50"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="2"/>
|
||||
<parentName Type="QString">DataHeaderBand1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString">Phone</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="33"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font stylename="" italic="0" weight="75" underline="0" pointSize="9" Type="QFont" family="Arial"/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="1"/>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<fontColor Type="QColor" Value="#aa0000"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
</item>
|
||||
<item Type="Object" ClassName="TextItem">
|
||||
<objectName Type="QString">TextItem11</objectName>
|
||||
<geometry Type="QRect" y="32" x="1712" width="250" height="50"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="2"/>
|
||||
<parentName Type="QString">DataHeaderBand1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString">Fax</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="33"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font stylename="" italic="0" weight="75" underline="0" pointSize="9" Type="QFont" family="Arial"/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="1"/>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<fontColor Type="QColor" Value="#aa0000"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
</item>
|
||||
</children>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">ReportPage1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<autoHeight Type="bool" Value="1"/>
|
||||
<bandIndex Type="int" Value="4"/>
|
||||
<keepBottomSpace Type="bool" Value="0"/>
|
||||
<parentBand Type="QString">DataBand1</parentBand>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<printIfEmpty Type="bool" Value="0"/>
|
||||
<reprintOnEachPage Type="bool" Value="0"/>
|
||||
<columnsCount Type="int" Value="1"/>
|
||||
<columnsFillDirection Type="enumAndFlags" Value="0"/>
|
||||
<printAlways Type="bool" Value="0"/>
|
||||
<repeatOnEachRow Type="bool" Value="0"/>
|
||||
</item>
|
||||
<item Type="Object" ClassName="ReportHeader">
|
||||
<objectName Type="QString">ReportHeader1</objectName>
|
||||
<geometry Type="QRect" y="50" x="50" width="2000" height="100"/>
|
||||
<children Type="Collection">
|
||||
<item Type="Object" ClassName="TextItem">
|
||||
<objectName Type="QString">TextItem1</objectName>
|
||||
<geometry Type="QRect" y="20" x="12" width="1964" height="50"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">ReportHeader1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString">Customers</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="132"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font stylename="" italic="0" weight="75" underline="0" pointSize="10" Type="QFont" family="Arial"/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="1"/>
|
||||
<backgroundColor Type="QColor" Value="#7d7d7d"/>
|
||||
<fontColor Type="QColor" Value="#ffffff"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
</item>
|
||||
</children>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">ReportPage1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<autoHeight Type="bool" Value="1"/>
|
||||
<bandIndex Type="int" Value="1"/>
|
||||
<keepBottomSpace Type="bool" Value="0"/>
|
||||
<parentBand Type="QString"></parentBand>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<printIfEmpty Type="bool" Value="0"/>
|
||||
<splittable Type="bool" Value="0"/>
|
||||
</item>
|
||||
<item Type="Object" ClassName="PageFooter">
|
||||
<objectName Type="QString">PageFooter11</objectName>
|
||||
<geometry Type="QRect" y="362" x="50" width="2000" height="84"/>
|
||||
<children Type="Collection">
|
||||
<item Type="Object" ClassName="ShapeItem">
|
||||
<objectName Type="QString">ShapeItem11</objectName>
|
||||
<geometry Type="QRect" y="-4" x="16" width="1962" height="22"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">PageFooter11</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<shape Type="enumAndFlags" Value="0"/>
|
||||
<shapeColor Type="QColor" Value="#000000"/>
|
||||
<shapeBrushColor Type="QColor" Value="#000000"/>
|
||||
<shapeBrush Type="enumAndFlags" Value="0"/>
|
||||
<lineWidth Type="qreal" Value="2"/>
|
||||
<penStyle Type="enumAndFlags" Value="1"/>
|
||||
<opacity Type="int" Value="100"/>
|
||||
<cornerRadius Type="int" Value="0"/>
|
||||
</item>
|
||||
<item Type="Object" ClassName="TextItem">
|
||||
<objectName Type="QString">TextItem12</objectName>
|
||||
<geometry Type="QRect" y="20" x="1614" width="364" height="50"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">PageFooter11</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString">Page $V{#PAGE} of $V{#PAGE_COUNT}</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="34"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font stylename="" italic="0" weight="50" underline="0" pointSize="9" Type="QFont" family="Arial"/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="1"/>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<fontColor Type="QColor" Value="#000000"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
</item>
|
||||
</children>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">ReportPage1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<autoHeight Type="bool" Value="1"/>
|
||||
<bandIndex Type="int" Value="6"/>
|
||||
<keepBottomSpace Type="bool" Value="0"/>
|
||||
<parentBand Type="QString"></parentBand>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<printIfEmpty Type="bool" Value="0"/>
|
||||
<printOnFirstPage Type="bool" Value="1"/>
|
||||
<printOnLastPage Type="bool" Value="1"/>
|
||||
</item>
|
||||
</children>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString"></parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<topMargin Type="int" Value="5"/>
|
||||
<bottomMargin Type="int" Value="5"/>
|
||||
<rightMargin Type="int" Value="5"/>
|
||||
<leftMargin Type="int" Value="5"/>
|
||||
<pageOrientation Type="enumAndFlags" Value="0"/>
|
||||
<pageSize Type="enumAndFlags" Value="0"/>
|
||||
<gridStep Type="int" Value="2"/>
|
||||
<fullPage Type="bool" Value="0"/>
|
||||
<oldPrintMode Type="bool" Value="0"/>
|
||||
<resetPageNumber Type="bool" Value="0"/>
|
||||
</pageItem>
|
||||
</item>
|
||||
</pages>
|
||||
<datasourcesManager Type="Object" ClassName="LimeReport::DataSourceManager">
|
||||
<objectName Type="QString">datasources</objectName>
|
||||
<connections Type="Collection">
|
||||
<item Type="Object" ClassName="LimeReport::ConnectionDesc">
|
||||
<objectName Type="QString"></objectName>
|
||||
<name Type="QString">db</name>
|
||||
<driver Type="QString">QSQLITE</driver>
|
||||
<databaseName Type="QString">./demo_reports/demo_db.db</databaseName>
|
||||
<userName Type="QString"></userName>
|
||||
<password Type="QString" Value=""/>
|
||||
<host Type="QString"></host>
|
||||
<autoconnect Type="bool" Value="1"/>
|
||||
<keepDBCredentials Type="bool" Value="1"/>
|
||||
</item>
|
||||
</connections>
|
||||
<queries Type="Collection">
|
||||
<item Type="Object" ClassName="LimeReport::QueryDesc">
|
||||
<objectName Type="QString"></objectName>
|
||||
<queryName Type="QString">customers</queryName>
|
||||
<queryText Type="QString">Select * from customer</queryText>
|
||||
<connectionName Type="QString">db</connectionName>
|
||||
</item>
|
||||
</queries>
|
||||
<subqueries Type="Collection"/>
|
||||
<subproxies Type="Collection"/>
|
||||
<variables Type="Collection"/>
|
||||
</datasourcesManager>
|
||||
<scriptContext Type="Object" ClassName="LimeReport::ScriptEngineContext">
|
||||
<objectName Type="QString"></objectName>
|
||||
<dialogs Type="Collection"/>
|
||||
<initScript Type="QString"></initScript>
|
||||
</scriptContext>
|
||||
<suppressFieldAndVarError Type="bool" Value="0"/>
|
||||
</object>
|
||||
</Report>
|
801
demo_r1/demo_reports/1.4/2_simple_group.lrxml
Normal file
801
demo_r1/demo_reports/1.4/2_simple_group.lrxml
Normal file
@ -0,0 +1,801 @@
|
||||
<?xml version="1.0" encoding="UTF8"?>
|
||||
<Report>
|
||||
<object Type="Object" ClassName="LimeReport::ReportEnginePrivate">
|
||||
<objectName Type="QString"></objectName>
|
||||
<pages Type="Collection">
|
||||
<item Type="Object" ClassName="LimeReport::PageDesignIntf">
|
||||
<objectName Type="QString">page1</objectName>
|
||||
<sceneRect Type="QRect" y="-50" x="-50" width="2200" height="3070"/>
|
||||
<bspTreeDepth Type="int" Value="5"/>
|
||||
<font stylename="" italic="0" weight="50" underline="0" pointSize="8" Type="QFont" family="MS Shell Dlg 2"/>
|
||||
<sortCacheEnabled Type="bool" Value="0"/>
|
||||
<stickyFocus Type="bool" Value="0"/>
|
||||
<minimumRenderSize Type="qreal" Value="0"/>
|
||||
<pageItem Type="Object" ClassName="PageItem">
|
||||
<objectName Type="QString">ReportPage1</objectName>
|
||||
<geometry Type="QRect" y="0" x="0" width="2100" height="2970"/>
|
||||
<children Type="Collection">
|
||||
<item Type="Object" ClassName="Data">
|
||||
<objectName Type="QString">DataBand1</objectName>
|
||||
<geometry Type="QRect" y="348" x="50" width="2000" height="70"/>
|
||||
<children Type="Collection">
|
||||
<item Type="Object" ClassName="TextItem">
|
||||
<objectName Type="QString">TextItem2</objectName>
|
||||
<geometry Type="QRect" y="10" x="20" width="618" height="50"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">DataBand1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString">$D{customers.Company}</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="33"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font stylename="" italic="0" weight="50" underline="0" pointSize="9" Type="QFont" family="Arial"/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="0"/>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<fontColor Type="QColor" Value="#000000"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
</item>
|
||||
<item Type="Object" ClassName="TextItem">
|
||||
<objectName Type="QString">TextItem3</objectName>
|
||||
<geometry Type="QRect" y="10" x="642" width="462" height="50"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">DataBand1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString">$D{customers.Addr1}</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="33"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font stylename="" italic="0" weight="50" underline="0" pointSize="9" Type="QFont" family="Arial"/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="0"/>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<fontColor Type="QColor" Value="#000000"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
</item>
|
||||
<item Type="Object" ClassName="TextItem">
|
||||
<objectName Type="QString">TextItem4</objectName>
|
||||
<geometry Type="QRect" y="10" x="1110" width="328" height="50"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">DataBand1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString">$D{customers.Contact}</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="33"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font stylename="" italic="0" weight="50" underline="0" pointSize="9" Type="QFont" family="Arial"/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="0"/>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<fontColor Type="QColor" Value="#000000"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
</item>
|
||||
<item Type="Object" ClassName="TextItem">
|
||||
<objectName Type="QString">TextItem5</objectName>
|
||||
<geometry Type="QRect" y="10" x="1450" width="250" height="50"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">DataBand1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString">$D{customers.Phone}</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="33"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font stylename="" italic="0" weight="50" underline="0" pointSize="9" Type="QFont" family="Arial"/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="0"/>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<fontColor Type="QColor" Value="#000000"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
</item>
|
||||
<item Type="Object" ClassName="TextItem">
|
||||
<objectName Type="QString">TextItem6</objectName>
|
||||
<geometry Type="QRect" y="10" x="1710" width="250" height="50"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">DataBand1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString">$D{customers.FAX}</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="33"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font stylename="" italic="0" weight="50" underline="0" pointSize="9" Type="QFont" family="Arial"/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="0"/>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<fontColor Type="QColor" Value="#000000"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
</item>
|
||||
</children>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">ReportPage1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<autoHeight Type="bool" Value="1"/>
|
||||
<bandIndex Type="int" Value="6"/>
|
||||
<keepBottomSpace Type="bool" Value="0"/>
|
||||
<parentBand Type="QString"></parentBand>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<printIfEmpty Type="bool" Value="0"/>
|
||||
<datasource Type="QString">customers</datasource>
|
||||
<keepSubdetailTogether Type="bool" Value="0"/>
|
||||
<splittable Type="bool" Value="0"/>
|
||||
<keepFooterTogether Type="bool" Value="0"/>
|
||||
<sliceLastRow Type="bool" Value="0"/>
|
||||
<columnsCount Type="int" Value="1"/>
|
||||
<columnsFillDirection Type="enumAndFlags" Value="0"/>
|
||||
<startNewPage Type="bool" Value="0"/>
|
||||
<startFromNewPage Type="bool" Value="0"/>
|
||||
<alternateBackgroundColor Type="QColor" Value="#ffffff"/>
|
||||
</item>
|
||||
<item Type="Object" ClassName="DataHeader">
|
||||
<objectName Type="QString">DataHeaderBand1</objectName>
|
||||
<geometry Type="QRect" y="154" x="50" width="2000" height="100"/>
|
||||
<children Type="Collection">
|
||||
<item Type="Object" ClassName="TextItem">
|
||||
<objectName Type="QString">TextItem7</objectName>
|
||||
<geometry Type="QRect" y="32" x="20" width="618" height="50"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="2"/>
|
||||
<parentName Type="QString">DataHeaderBand1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString">Company</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="33"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font stylename="" italic="0" weight="75" underline="0" pointSize="9" Type="QFont" family="Arial"/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="1"/>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<fontColor Type="QColor" Value="#aa0000"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
</item>
|
||||
<item Type="Object" ClassName="TextItem">
|
||||
<objectName Type="QString">TextItem8</objectName>
|
||||
<geometry Type="QRect" y="32" x="642" width="462" height="50"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="2"/>
|
||||
<parentName Type="QString">DataHeaderBand1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString">Address</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="33"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font stylename="" italic="0" weight="75" underline="0" pointSize="9" Type="QFont" family="Arial"/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="1"/>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<fontColor Type="QColor" Value="#aa0000"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
</item>
|
||||
<item Type="Object" ClassName="TextItem">
|
||||
<objectName Type="QString">TextItem9</objectName>
|
||||
<geometry Type="QRect" y="32" x="1112" width="328" height="50"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="2"/>
|
||||
<parentName Type="QString">DataHeaderBand1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString">Contact</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="33"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font stylename="" italic="0" weight="75" underline="0" pointSize="9" Type="QFont" family="Arial"/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="1"/>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<fontColor Type="QColor" Value="#aa0000"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
</item>
|
||||
<item Type="Object" ClassName="TextItem">
|
||||
<objectName Type="QString">TextItem10</objectName>
|
||||
<geometry Type="QRect" y="32" x="1452" width="250" height="50"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="2"/>
|
||||
<parentName Type="QString">DataHeaderBand1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString">Phone</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="33"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font stylename="" italic="0" weight="75" underline="0" pointSize="9" Type="QFont" family="Arial"/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="1"/>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<fontColor Type="QColor" Value="#aa0000"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
</item>
|
||||
<item Type="Object" ClassName="TextItem">
|
||||
<objectName Type="QString">TextItem11</objectName>
|
||||
<geometry Type="QRect" y="32" x="1712" width="250" height="50"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="2"/>
|
||||
<parentName Type="QString">DataHeaderBand1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString">Fax</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="33"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font stylename="" italic="0" weight="75" underline="0" pointSize="9" Type="QFont" family="Arial"/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="1"/>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<fontColor Type="QColor" Value="#aa0000"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
</item>
|
||||
</children>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">ReportPage1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<autoHeight Type="bool" Value="1"/>
|
||||
<bandIndex Type="int" Value="4"/>
|
||||
<keepBottomSpace Type="bool" Value="0"/>
|
||||
<parentBand Type="QString">DataBand1</parentBand>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<printIfEmpty Type="bool" Value="0"/>
|
||||
<reprintOnEachPage Type="bool" Value="0"/>
|
||||
<columnsCount Type="int" Value="1"/>
|
||||
<columnsFillDirection Type="enumAndFlags" Value="0"/>
|
||||
<printAlways Type="bool" Value="0"/>
|
||||
<repeatOnEachRow Type="bool" Value="0"/>
|
||||
</item>
|
||||
<item Type="Object" ClassName="ReportHeader">
|
||||
<objectName Type="QString">ReportHeader1</objectName>
|
||||
<geometry Type="QRect" y="50" x="50" width="2000" height="100"/>
|
||||
<children Type="Collection">
|
||||
<item Type="Object" ClassName="TextItem">
|
||||
<objectName Type="QString">TextItem1</objectName>
|
||||
<geometry Type="QRect" y="20" x="12" width="1964" height="50"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">ReportHeader1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString">Customers</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="132"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font stylename="" italic="0" weight="75" underline="0" pointSize="10" Type="QFont" family="Arial"/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="1"/>
|
||||
<backgroundColor Type="QColor" Value="#7d7d7d"/>
|
||||
<fontColor Type="QColor" Value="#ffffff"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
</item>
|
||||
</children>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">ReportPage1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<autoHeight Type="bool" Value="1"/>
|
||||
<bandIndex Type="int" Value="1"/>
|
||||
<keepBottomSpace Type="bool" Value="0"/>
|
||||
<parentBand Type="QString"></parentBand>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<printIfEmpty Type="bool" Value="0"/>
|
||||
<splittable Type="bool" Value="0"/>
|
||||
</item>
|
||||
<item Type="Object" ClassName="PageFooter">
|
||||
<objectName Type="QString">PageFooter11</objectName>
|
||||
<geometry Type="QRect" y="526" x="50" width="2000" height="84"/>
|
||||
<children Type="Collection">
|
||||
<item Type="Object" ClassName="ShapeItem">
|
||||
<objectName Type="QString">ShapeItem11</objectName>
|
||||
<geometry Type="QRect" y="-4" x="16" width="1962" height="22"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">PageFooter11</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<shape Type="enumAndFlags" Value="0"/>
|
||||
<shapeColor Type="QColor" Value="#000000"/>
|
||||
<shapeBrushColor Type="QColor" Value="#000000"/>
|
||||
<shapeBrush Type="enumAndFlags" Value="0"/>
|
||||
<lineWidth Type="qreal" Value="2"/>
|
||||
<penStyle Type="enumAndFlags" Value="1"/>
|
||||
<opacity Type="int" Value="100"/>
|
||||
<cornerRadius Type="int" Value="0"/>
|
||||
</item>
|
||||
<item Type="Object" ClassName="TextItem">
|
||||
<objectName Type="QString">TextItem12</objectName>
|
||||
<geometry Type="QRect" y="20" x="1614" width="364" height="50"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">PageFooter11</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString">Page $V{#PAGE} of $V{#PAGE_COUNT}</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="34"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font stylename="" italic="0" weight="50" underline="0" pointSize="9" Type="QFont" family="Arial"/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="1"/>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<fontColor Type="QColor" Value="#000000"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
</item>
|
||||
</children>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">ReportPage1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<autoHeight Type="bool" Value="1"/>
|
||||
<bandIndex Type="int" Value="8"/>
|
||||
<keepBottomSpace Type="bool" Value="0"/>
|
||||
<parentBand Type="QString"></parentBand>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<printIfEmpty Type="bool" Value="0"/>
|
||||
<printOnFirstPage Type="bool" Value="1"/>
|
||||
<printOnLastPage Type="bool" Value="1"/>
|
||||
</item>
|
||||
<item Type="Object" ClassName="GroupHeader">
|
||||
<objectName Type="QString">GroupBandHeader1</objectName>
|
||||
<geometry Type="QRect" y="258" x="50" width="2000" height="86"/>
|
||||
<children Type="Collection">
|
||||
<item Type="Object" ClassName="TextItem">
|
||||
<objectName Type="QString">TextItem13</objectName>
|
||||
<geometry Type="QRect" y="20" x="14" width="1536" height="50"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">GroupBandHeader1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString">$S{$D{customers.Company}.substring(0,1).toUpperCase();}</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="33"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font stylename="" italic="0" weight="50" underline="0" pointSize="10" Type="QFont" family="Arial"/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="0"/>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<fontColor Type="QColor" Value="#aa0000"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
</item>
|
||||
</children>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">ReportPage1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<autoHeight Type="bool" Value="1"/>
|
||||
<bandIndex Type="int" Value="5"/>
|
||||
<keepBottomSpace Type="bool" Value="0"/>
|
||||
<parentBand Type="QString">DataBand1</parentBand>
|
||||
<backgroundColor Type="QColor" Value="#dfdfdf"/>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<printIfEmpty Type="bool" Value="0"/>
|
||||
<groupFieldName Type="QString"></groupFieldName>
|
||||
<splittable Type="bool" Value="0"/>
|
||||
<keepGroupTogether Type="bool" Value="0"/>
|
||||
<startNewPage Type="bool" Value="0"/>
|
||||
<resetPageNumber Type="bool" Value="0"/>
|
||||
<reprintOnEachPage Type="bool" Value="0"/>
|
||||
<condition Type="QString">$S{$D{customers.Company}.substring(0,1).toUpperCase();}</condition>
|
||||
</item>
|
||||
<item Type="Object" ClassName="GroupFooter">
|
||||
<objectName Type="QString">GroupBandFooter13</objectName>
|
||||
<geometry Type="QRect" y="422" x="50" width="2000" height="100"/>
|
||||
<children Type="Collection">
|
||||
<item Type="Object" ClassName="TextItem">
|
||||
<objectName Type="QString">TextItem14</objectName>
|
||||
<geometry Type="QRect" y="14" x="1504" width="452" height="50"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">GroupBandFooter13</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString">Count: $S{COUNT("DataBand1")}</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="34"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font stylename="" italic="0" weight="50" underline="0" pointSize="9" Type="QFont" family="Arial"/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="1"/>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<fontColor Type="QColor" Value="#000000"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
</item>
|
||||
<item Type="Object" ClassName="ShapeItem">
|
||||
<objectName Type="QString">ShapeItem1</objectName>
|
||||
<geometry Type="QRect" y="-18" x="0" width="2000" height="50"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">GroupBandFooter13</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="3"/>
|
||||
<shape Type="enumAndFlags" Value="0"/>
|
||||
<shapeColor Type="QColor" Value="#a1a1a1"/>
|
||||
<shapeBrushColor Type="QColor" Value="#000000"/>
|
||||
<shapeBrush Type="enumAndFlags" Value="0"/>
|
||||
<lineWidth Type="qreal" Value="1"/>
|
||||
<penStyle Type="enumAndFlags" Value="1"/>
|
||||
<opacity Type="int" Value="100"/>
|
||||
<cornerRadius Type="int" Value="0"/>
|
||||
</item>
|
||||
</children>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">ReportPage1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<autoHeight Type="bool" Value="1"/>
|
||||
<bandIndex Type="int" Value="7"/>
|
||||
<keepBottomSpace Type="bool" Value="0"/>
|
||||
<parentBand Type="QString">GroupBandHeader1</parentBand>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<printIfEmpty Type="bool" Value="0"/>
|
||||
</item>
|
||||
</children>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString"></parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<topMargin Type="int" Value="5"/>
|
||||
<bottomMargin Type="int" Value="5"/>
|
||||
<rightMargin Type="int" Value="5"/>
|
||||
<leftMargin Type="int" Value="5"/>
|
||||
<pageOrientation Type="enumAndFlags" Value="0"/>
|
||||
<pageSize Type="enumAndFlags" Value="0"/>
|
||||
<gridStep Type="int" Value="2"/>
|
||||
<fullPage Type="bool" Value="0"/>
|
||||
<oldPrintMode Type="bool" Value="0"/>
|
||||
<resetPageNumber Type="bool" Value="0"/>
|
||||
</pageItem>
|
||||
</item>
|
||||
</pages>
|
||||
<datasourcesManager Type="Object" ClassName="LimeReport::DataSourceManager">
|
||||
<objectName Type="QString">datasources</objectName>
|
||||
<connections Type="Collection">
|
||||
<item Type="Object" ClassName="LimeReport::ConnectionDesc">
|
||||
<objectName Type="QString"></objectName>
|
||||
<name Type="QString">db</name>
|
||||
<driver Type="QString">QSQLITE</driver>
|
||||
<databaseName Type="QString">./demo_reports/demo_db.db</databaseName>
|
||||
<userName Type="QString"></userName>
|
||||
<password Type="QString" Value=""/>
|
||||
<host Type="QString"></host>
|
||||
<autoconnect Type="bool" Value="1"/>
|
||||
<keepDBCredentials Type="bool" Value="1"/>
|
||||
</item>
|
||||
</connections>
|
||||
<queries Type="Collection">
|
||||
<item Type="Object" ClassName="LimeReport::QueryDesc">
|
||||
<objectName Type="QString"></objectName>
|
||||
<queryName Type="QString">customers</queryName>
|
||||
<queryText Type="QString">Select * from customer order by Company</queryText>
|
||||
<connectionName Type="QString">db</connectionName>
|
||||
</item>
|
||||
</queries>
|
||||
<subqueries Type="Collection"/>
|
||||
<subproxies Type="Collection"/>
|
||||
<variables Type="Collection"/>
|
||||
</datasourcesManager>
|
||||
<scriptContext Type="Object" ClassName="LimeReport::ScriptEngineContext">
|
||||
<objectName Type="QString"></objectName>
|
||||
<dialogs Type="Collection"/>
|
||||
<initScript Type="QString"></initScript>
|
||||
</scriptContext>
|
||||
<suppressFieldAndVarError Type="bool" Value="0"/>
|
||||
</object>
|
||||
</Report>
|
286
demo_r1/demo_reports/1.4/3_memos_and_pictures.lrxml
Normal file
286
demo_r1/demo_reports/1.4/3_memos_and_pictures.lrxml
Normal file
@ -0,0 +1,286 @@
|
||||
<?xml version="1.0" encoding="UTF8"?>
|
||||
<Report>
|
||||
<object Type="Object" ClassName="LimeReport::ReportEnginePrivate">
|
||||
<objectName Type="QString"></objectName>
|
||||
<pages Type="Collection">
|
||||
<item Type="Object" ClassName="LimeReport::PageDesignIntf">
|
||||
<objectName Type="QString">page1</objectName>
|
||||
<sceneRect Type="QRect" y="-50" x="-50" width="2200" height="3070"/>
|
||||
<bspTreeDepth Type="int" Value="5"/>
|
||||
<font stylename="" italic="0" weight="50" underline="0" pointSize="8" Type="QFont" family="MS Shell Dlg 2"/>
|
||||
<sortCacheEnabled Type="bool" Value="0"/>
|
||||
<stickyFocus Type="bool" Value="0"/>
|
||||
<minimumRenderSize Type="qreal" Value="0"/>
|
||||
<pageItem Type="Object" ClassName="PageItem">
|
||||
<objectName Type="QString">ReportPage1</objectName>
|
||||
<geometry Type="QRect" y="0" x="0" width="2100" height="2970"/>
|
||||
<children Type="Collection">
|
||||
<item Type="Object" ClassName="ReportHeader">
|
||||
<objectName Type="QString">ReportHeader1</objectName>
|
||||
<geometry Type="QRect" y="50" x="50" width="2000" height="80"/>
|
||||
<children Type="Collection">
|
||||
<item Type="Object" ClassName="TextItem">
|
||||
<objectName Type="QString">TextItem1</objectName>
|
||||
<geometry Type="QRect" y="4" x="0" width="2000" height="50"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">ReportHeader1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="3"/>
|
||||
<content Type="QString">Fishes</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="132"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font stylename="" italic="0" weight="50" underline="0" pointSize="10" Type="QFont" family="Arial"/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="1"/>
|
||||
<backgroundColor Type="QColor" Value="#767676"/>
|
||||
<fontColor Type="QColor" Value="#ffffff"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
</item>
|
||||
</children>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">ReportPage1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<autoHeight Type="bool" Value="1"/>
|
||||
<bandIndex Type="int" Value="1"/>
|
||||
<keepBottomSpace Type="bool" Value="1"/>
|
||||
<parentBand Type="QString"></parentBand>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<printIfEmpty Type="bool" Value="0"/>
|
||||
<splittable Type="bool" Value="0"/>
|
||||
</item>
|
||||
<item Type="Object" ClassName="Data">
|
||||
<objectName Type="QString">DataBand1</objectName>
|
||||
<geometry Type="QRect" y="134" x="50" width="2000" height="336"/>
|
||||
<children Type="Collection">
|
||||
<item Type="Object" ClassName="TextItem">
|
||||
<objectName Type="QString">TextItem2</objectName>
|
||||
<geometry Type="QRect" y="14" x="12" width="1428" height="248"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">DataBand1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString">Number: $D{bio.Species_No}
|
||||
Name: $D{bio.Common_Name}
|
||||
Spec name: $D{bio.Species_Name}
|
||||
Length (cm): $D{bio.Length_cm}</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="33"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font stylename="" italic="0" weight="50" underline="0" pointSize="10" Type="QFont" family="Arial"/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="1"/>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<fontColor Type="QColor" Value="#000000"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
</item>
|
||||
<item Type="Object" ClassName="TextItem">
|
||||
<objectName Type="QString">TextItem3</objectName>
|
||||
<geometry Type="QRect" y="272" x="12" width="1426" height="52"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">DataBand1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString">$D{bio.Notes}</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="33"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="1"/>
|
||||
<font stylename="" italic="0" weight="50" underline="0" pointSize="9" Type="QFont" family="Arial"/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="1"/>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<fontColor Type="QColor" Value="#000000"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
</item>
|
||||
<item Type="Object" ClassName="ImageItem">
|
||||
<objectName Type="QString">ImageItem3</objectName>
|
||||
<geometry Type="QRect" y="62" x="1548" width="332" height="192"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">DataBand1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<image Type="QImage"></image>
|
||||
<opacity Type="int" Value="100"/>
|
||||
<datasource Type="QString">bio</datasource>
|
||||
<field Type="QString">Graphic</field>
|
||||
<autoSize Type="bool" Value="0"/>
|
||||
<scale Type="bool" Value="1"/>
|
||||
<keepAspectRatio Type="bool" Value="1"/>
|
||||
<center Type="bool" Value="1"/>
|
||||
<resourcePath Type="QString"></resourcePath>
|
||||
</item>
|
||||
<item Type="Object" ClassName="ShapeItem">
|
||||
<objectName Type="QString">ShapeItem3</objectName>
|
||||
<geometry Type="QRect" y="-24" x="0" width="2000" height="50"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">DataBand1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="3"/>
|
||||
<shape Type="enumAndFlags" Value="0"/>
|
||||
<shapeColor Type="QColor" Value="#000000"/>
|
||||
<shapeBrushColor Type="QColor" Value="#000000"/>
|
||||
<shapeBrush Type="enumAndFlags" Value="0"/>
|
||||
<lineWidth Type="qreal" Value="1"/>
|
||||
<penStyle Type="enumAndFlags" Value="1"/>
|
||||
<opacity Type="int" Value="100"/>
|
||||
<cornerRadius Type="int" Value="0"/>
|
||||
</item>
|
||||
</children>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">ReportPage1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<autoHeight Type="bool" Value="1"/>
|
||||
<bandIndex Type="int" Value="2"/>
|
||||
<keepBottomSpace Type="bool" Value="0"/>
|
||||
<parentBand Type="QString"></parentBand>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<printIfEmpty Type="bool" Value="0"/>
|
||||
<datasource Type="QString">bio</datasource>
|
||||
<keepSubdetailTogether Type="bool" Value="0"/>
|
||||
<splittable Type="bool" Value="0"/>
|
||||
<keepFooterTogether Type="bool" Value="0"/>
|
||||
<sliceLastRow Type="bool" Value="0"/>
|
||||
<columnsCount Type="int" Value="1"/>
|
||||
<columnsFillDirection Type="enumAndFlags" Value="0"/>
|
||||
<startNewPage Type="bool" Value="0"/>
|
||||
<startFromNewPage Type="bool" Value="0"/>
|
||||
<alternateBackgroundColor Type="QColor" Value="#ffffff"/>
|
||||
</item>
|
||||
</children>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString"></parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<topMargin Type="int" Value="5"/>
|
||||
<bottomMargin Type="int" Value="5"/>
|
||||
<rightMargin Type="int" Value="5"/>
|
||||
<leftMargin Type="int" Value="5"/>
|
||||
<pageOrientation Type="enumAndFlags" Value="0"/>
|
||||
<pageSize Type="enumAndFlags" Value="0"/>
|
||||
<gridStep Type="int" Value="2"/>
|
||||
<fullPage Type="bool" Value="0"/>
|
||||
<oldPrintMode Type="bool" Value="0"/>
|
||||
<resetPageNumber Type="bool" Value="0"/>
|
||||
</pageItem>
|
||||
</item>
|
||||
</pages>
|
||||
<datasourcesManager Type="Object" ClassName="LimeReport::DataSourceManager">
|
||||
<objectName Type="QString">datasources</objectName>
|
||||
<connections Type="Collection">
|
||||
<item Type="Object" ClassName="LimeReport::ConnectionDesc">
|
||||
<objectName Type="QString"></objectName>
|
||||
<name Type="QString">db</name>
|
||||
<driver Type="QString">QSQLITE</driver>
|
||||
<databaseName Type="QString">./demo_reports/demo_db.db</databaseName>
|
||||
<userName Type="QString"></userName>
|
||||
<password Type="QString" Value=""/>
|
||||
<host Type="QString"></host>
|
||||
<autoconnect Type="bool" Value="1"/>
|
||||
<keepDBCredentials Type="bool" Value="1"/>
|
||||
</item>
|
||||
</connections>
|
||||
<queries Type="Collection">
|
||||
<item Type="Object" ClassName="LimeReport::QueryDesc">
|
||||
<objectName Type="QString"></objectName>
|
||||
<queryName Type="QString">bio</queryName>
|
||||
<queryText Type="QString">Select * from biolife</queryText>
|
||||
<connectionName Type="QString">db</connectionName>
|
||||
</item>
|
||||
</queries>
|
||||
<subqueries Type="Collection"/>
|
||||
<subproxies Type="Collection"/>
|
||||
<variables Type="Collection"/>
|
||||
</datasourcesManager>
|
||||
<scriptContext Type="Object" ClassName="LimeReport::ScriptEngineContext">
|
||||
<objectName Type="QString"></objectName>
|
||||
<dialogs Type="Collection"/>
|
||||
<initScript Type="QString"></initScript>
|
||||
</scriptContext>
|
||||
<suppressFieldAndVarError Type="bool" Value="0"/>
|
||||
</object>
|
||||
</Report>
|
1155
demo_r1/demo_reports/1.4/4_nested_group.lrxml
Normal file
1155
demo_r1/demo_reports/1.4/4_nested_group.lrxml
Normal file
File diff suppressed because it is too large
Load Diff
93
demo_r1/demo_reports/1.4/5_dialogDemo.lrxml
Normal file
93
demo_r1/demo_reports/1.4/5_dialogDemo.lrxml
Normal file
@ -0,0 +1,93 @@
|
||||
<?xml version="1.0" encoding="UTF8"?>
|
||||
<Report>
|
||||
<object Type="Object" ClassName="LimeReport::ReportEnginePrivate">
|
||||
<objectName Type="QString"></objectName>
|
||||
<pages Type="Collection">
|
||||
<item Type="Object" ClassName="LimeReport::PageDesignIntf">
|
||||
<objectName Type="QString">page1</objectName>
|
||||
<sceneRect x="-50" width="2200" Type="QRect" height="3070" y="-50"/>
|
||||
<bspTreeDepth Value="5" Type="int"/>
|
||||
<font italic="0" family="MS Shell Dlg 2" underline="0" Type="QFont" pointSize="8" stylename="" weight="50"/>
|
||||
<sortCacheEnabled Value="0" Type="bool"/>
|
||||
<stickyFocus Value="0" Type="bool"/>
|
||||
<minimumRenderSize Value="0" Type="qreal"/>
|
||||
<pageItem Type="Object" ClassName="PageItem">
|
||||
<objectName Type="QString">ReportPage1</objectName>
|
||||
<geometry x="0" width="2100" Type="QRect" height="2970" y="0"/>
|
||||
<children Type="Collection">
|
||||
<item Type="Object" ClassName="TextItem">
|
||||
<objectName Type="QString">TextItem1</objectName>
|
||||
<geometry x="236" width="1216" Type="QRect" height="50" y="160"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Value="0" Type="qreal"/>
|
||||
<borders Value="0" Type="enumAndFlags"/>
|
||||
<parentName Type="QString">ReportPage1</parentName>
|
||||
<borderLineSize Value="1" Type="int"/>
|
||||
<isVisible Value="1" Type="bool"/>
|
||||
<borderColor Value="#000000" Type="QColor"/>
|
||||
<itemLocation Value="1" Type="enumAndFlags"/>
|
||||
<stretchToMaxHeight Value="0" Type="bool"/>
|
||||
<itemAlign Value="4" Type="enumAndFlags"/>
|
||||
<content Type="QString">$S{Dialog.lineEdit.text}</content>
|
||||
<margin Value="4" Type="int"/>
|
||||
<alignment Value="33" Type="enumAndFlags"/>
|
||||
<autoWidth Value="0" Type="enumAndFlags"/>
|
||||
<autoHeight Value="0" Type="bool"/>
|
||||
<font italic="0" family="Arial" underline="0" Type="QFont" pointSize="10" stylename="" weight="50"/>
|
||||
<backgroundOpacity Value="100" Type="int"/>
|
||||
<backgroundMode Value="1" Type="enumAndFlags"/>
|
||||
<backgroundColor Value="#ffffff" Type="QColor"/>
|
||||
<fontColor Value="#000000" Type="QColor"/>
|
||||
<angle Value="0" Type="enumAndFlags"/>
|
||||
<foregroundOpacity Value="100" Type="int"/>
|
||||
<underlines Value="0" Type="bool"/>
|
||||
<adaptFontToSize Value="0" Type="bool"/>
|
||||
<trimValue Value="1" Type="bool"/>
|
||||
<lineSpacing Value="1" Type="int"/>
|
||||
<underlineLineSize Value="1" Type="int"/>
|
||||
<allowHTML Value="0" Type="bool"/>
|
||||
<allowHTMLInFields Value="0" Type="bool"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Value="0" Type="enumAndFlags"/>
|
||||
</item>
|
||||
</children>
|
||||
<zOrder Value="0" Type="qreal"/>
|
||||
<borders Value="0" Type="enumAndFlags"/>
|
||||
<parentName Type="QString"></parentName>
|
||||
<borderLineSize Value="1" Type="int"/>
|
||||
<isVisible Value="1" Type="bool"/>
|
||||
<borderColor Value="#000000" Type="QColor"/>
|
||||
<topMargin Value="5" Type="int"/>
|
||||
<bottomMargin Value="5" Type="int"/>
|
||||
<rightMargin Value="5" Type="int"/>
|
||||
<leftMargin Value="5" Type="int"/>
|
||||
<pageOrientation Value="0" Type="enumAndFlags"/>
|
||||
<pageSize Value="0" Type="enumAndFlags"/>
|
||||
<gridStep Value="2" Type="int"/>
|
||||
<fullPage Value="0" Type="bool"/>
|
||||
<oldPrintMode Value="0" Type="bool"/>
|
||||
</pageItem>
|
||||
</item>
|
||||
</pages>
|
||||
<datasourcesManager Type="Object" ClassName="LimeReport::DataSourceManager">
|
||||
<objectName Type="QString">datasources</objectName>
|
||||
<connections Type="Collection"/>
|
||||
<queries Type="Collection"/>
|
||||
<subqueries Type="Collection"/>
|
||||
<subproxies Type="Collection"/>
|
||||
<variables Type="Collection"/>
|
||||
</datasourcesManager>
|
||||
<scriptContext Type="Object" ClassName="LimeReport::ScriptEngineContext">
|
||||
<objectName Type="QString"></objectName>
|
||||
<dialogs Type="Collection">
|
||||
<item Type="Object" ClassName="LimeReport::DialogDescriber">
|
||||
<objectName Type="QString"></objectName>
|
||||
<name Type="QString">Dialog</name>
|
||||
<description Value="PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjx1aSB2ZXJzaW9uPSI0LjAiPg0KIDxjbGFzcz5EaWFsb2c8L2NsYXNzPg0KIDx3aWRnZXQgY2xhc3M9IlFEaWFsb2ciIG5hbWU9IkRpYWxvZyI+DQogIDxwcm9wZXJ0eSBuYW1lPSJnZW9tZXRyeSI+DQogICA8cmVjdD4NCiAgICA8eD4wPC94Pg0KICAgIDx5PjA8L3k+DQogICAgPHdpZHRoPjQwMDwvd2lkdGg+DQogICAgPGhlaWdodD4zMDA8L2hlaWdodD4NCiAgIDwvcmVjdD4NCiAgPC9wcm9wZXJ0eT4NCiAgPHByb3BlcnR5IG5hbWU9IndpbmRvd1RpdGxlIj4NCiAgIDxzdHJpbmc+RGlhbG9nPC9zdHJpbmc+DQogIDwvcHJvcGVydHk+DQogIDxsYXlvdXQgY2xhc3M9IlFWQm94TGF5b3V0IiBuYW1lPSJ2ZXJ0aWNhbExheW91dF8yIj4NCiAgIDxpdGVtPg0KICAgIDxsYXlvdXQgY2xhc3M9IlFWQm94TGF5b3V0IiBuYW1lPSJ2ZXJ0aWNhbExheW91dCI+DQogICAgIDxpdGVtPg0KICAgICAgPGxheW91dCBjbGFzcz0iUUhCb3hMYXlvdXQiIG5hbWU9Imhvcml6b250YWxMYXlvdXQiPg0KICAgICAgIDxpdGVtPg0KICAgICAgICA8d2lkZ2V0IGNsYXNzPSJRTGFiZWwiIG5hbWU9ImxhYmVsIj4NCiAgICAgICAgIDxwcm9wZXJ0eSBuYW1lPSJ0ZXh0Ij4NCiAgICAgICAgICA8c3RyaW5nPk1lc3NhZ2U8L3N0cmluZz4NCiAgICAgICAgIDwvcHJvcGVydHk+DQogICAgICAgIDwvd2lkZ2V0Pg0KICAgICAgIDwvaXRlbT4NCiAgICAgICA8aXRlbT4NCiAgICAgICAgPHdpZGdldCBjbGFzcz0iUUxpbmVFZGl0IiBuYW1lPSJsaW5lRWRpdCIvPg0KICAgICAgIDwvaXRlbT4NCiAgICAgIDwvbGF5b3V0Pg0KICAgICA8L2l0ZW0+DQogICAgIDxpdGVtPg0KICAgICAgPHdpZGdldCBjbGFzcz0iUURpYWxvZ0J1dHRvbkJveCIgbmFtZT0iYnV0dG9uQm94Ij4NCiAgICAgICA8cHJvcGVydHkgbmFtZT0ib3JpZW50YXRpb24iPg0KICAgICAgICA8ZW51bT5RdDo6SG9yaXpvbnRhbDwvZW51bT4NCiAgICAgICA8L3Byb3BlcnR5Pg0KICAgICAgIDxwcm9wZXJ0eSBuYW1lPSJzdGFuZGFyZEJ1dHRvbnMiPg0KICAgICAgICA8c2V0PlFEaWFsb2dCdXR0b25Cb3g6OkNhbmNlbHxRRGlhbG9nQnV0dG9uQm94OjpPazwvc2V0Pg0KICAgICAgIDwvcHJvcGVydHk+DQogICAgICA8L3dpZGdldD4NCiAgICAgPC9pdGVtPg0KICAgIDwvbGF5b3V0Pg0KICAgPC9pdGVtPg0KICA8L2xheW91dD4NCiA8L3dpZGdldD4NCiA8cmVzb3VyY2VzLz4NCiA8Y29ubmVjdGlvbnM+DQogIDxjb25uZWN0aW9uPg0KICAgPHNlbmRlcj5idXR0b25Cb3g8L3NlbmRlcj4NCiAgIDxzaWduYWw+YWNjZXB0ZWQoKTwvc2lnbmFsPg0KICAgPHJlY2VpdmVyPkRpYWxvZzwvcmVjZWl2ZXI+DQogICA8c2xvdD5hY2NlcHQoKTwvc2xvdD4NCiAgIDxoaW50cz4NCiAgICA8aGludCB0eXBlPSJzb3VyY2VsYWJlbCI+DQogICAgIDx4PjI0ODwveD4NCiAgICAgPHk+MjU0PC95Pg0KICAgIDwvaGludD4NCiAgICA8aGludCB0eXBlPSJkZXN0aW5hdGlvbmxhYmVsIj4NCiAgICAgPHg+MTU3PC94Pg0KICAgICA8eT4yNzQ8L3k+DQogICAgPC9oaW50Pg0KICAgPC9oaW50cz4NCiAgPC9jb25uZWN0aW9uPg0KICA8Y29ubmVjdGlvbj4NCiAgIDxzZW5kZXI+YnV0dG9uQm94PC9zZW5kZXI+DQogICA8c2lnbmFsPnJlamVjdGVkKCk8L3NpZ25hbD4NCiAgIDxyZWNlaXZlcj5EaWFsb2c8L3JlY2VpdmVyPg0KICAgPHNsb3Q+cmVqZWN0KCk8L3Nsb3Q+DQogICA8aGludHM+DQogICAgPGhpbnQgdHlwZT0ic291cmNlbGFiZWwiPg0KICAgICA8eD4zMTY8L3g+DQogICAgIDx5PjI2MDwveT4NCiAgICA8L2hpbnQ+DQogICAgPGhpbnQgdHlwZT0iZGVzdGluYXRpb25sYWJlbCI+DQogICAgIDx4PjI4NjwveD4NCiAgICAgPHk+Mjc0PC95Pg0KICAgIDwvaGludD4NCiAgIDwvaGludHM+DQogIDwvY29ubmVjdGlvbj4NCiA8L2Nvbm5lY3Rpb25zPg0KPC91aT4NCg==" Type="QByteArray"/>
|
||||
</item>
|
||||
</dialogs>
|
||||
<initScript Type="QString">Dialog.exec()==1</initScript>
|
||||
</scriptContext>
|
||||
<suppressFieldAndVarError Value="0" Type="bool"/>
|
||||
</object>
|
||||
</Report>
|
291
demo_r1/demo_reports/1.4/6_change_page_margins_by_script.lrxml
Normal file
291
demo_r1/demo_reports/1.4/6_change_page_margins_by_script.lrxml
Normal file
@ -0,0 +1,291 @@
|
||||
<?xml version="1.0" encoding="UTF8"?>
|
||||
<Report>
|
||||
<object Type="Object" ClassName="LimeReport::ReportEnginePrivate">
|
||||
<objectName Type="QString"></objectName>
|
||||
<pages Type="Collection">
|
||||
<item Type="Object" ClassName="LimeReport::PageDesignIntf">
|
||||
<objectName Type="QString">page1</objectName>
|
||||
<sceneRect Type="QRect" y="-50" x="-50" width="2200" height="3070"/>
|
||||
<bspTreeDepth Type="int" Value="5"/>
|
||||
<font stylename="" italic="0" weight="50" underline="0" pointSize="8" Type="QFont" family="MS Shell Dlg 2"/>
|
||||
<sortCacheEnabled Type="bool" Value="0"/>
|
||||
<stickyFocus Type="bool" Value="0"/>
|
||||
<minimumRenderSize Type="qreal" Value="0"/>
|
||||
<pageItem Type="Object" ClassName="PageItem">
|
||||
<objectName Type="QString">ReportPage1</objectName>
|
||||
<geometry Type="QRect" y="0" x="0" width="2100" height="2970"/>
|
||||
<children Type="Collection">
|
||||
<item Type="Object" ClassName="ReportHeader">
|
||||
<objectName Type="QString">ReportHeader1</objectName>
|
||||
<geometry Type="QRect" y="50" x="50" width="1850" height="80"/>
|
||||
<children Type="Collection">
|
||||
<item Type="Object" ClassName="TextItem">
|
||||
<objectName Type="QString">TextItem1</objectName>
|
||||
<geometry Type="QRect" y="4" x="0" width="1850" height="50"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">ReportHeader1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="3"/>
|
||||
<content Type="QString">Fishes</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="132"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font stylename="" italic="0" weight="50" underline="0" pointSize="10" Type="QFont" family="Arial"/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="1"/>
|
||||
<backgroundColor Type="QColor" Value="#767676"/>
|
||||
<fontColor Type="QColor" Value="#ffffff"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
</item>
|
||||
</children>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">ReportPage1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<autoHeight Type="bool" Value="1"/>
|
||||
<bandIndex Type="int" Value="1"/>
|
||||
<keepBottomSpace Type="bool" Value="1"/>
|
||||
<parentBand Type="QString"></parentBand>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<printIfEmpty Type="bool" Value="0"/>
|
||||
<splittable Type="bool" Value="0"/>
|
||||
</item>
|
||||
<item Type="Object" ClassName="Data">
|
||||
<objectName Type="QString">DataBand1</objectName>
|
||||
<geometry Type="QRect" y="134" x="50" width="1850" height="336"/>
|
||||
<children Type="Collection">
|
||||
<item Type="Object" ClassName="TextItem">
|
||||
<objectName Type="QString">TextItem2</objectName>
|
||||
<geometry Type="QRect" y="14" x="12" width="1428" height="248"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">DataBand1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString">Number: $D{bio.Species_No}
|
||||
Name: $D{bio.Common_Name}
|
||||
Spec name: $D{bio.Species_Name}
|
||||
Length (cm): $D{bio.Length_cm}</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="33"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font stylename="" italic="0" weight="50" underline="0" pointSize="10" Type="QFont" family="Arial"/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="1"/>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<fontColor Type="QColor" Value="#000000"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
</item>
|
||||
<item Type="Object" ClassName="TextItem">
|
||||
<objectName Type="QString">TextItem3</objectName>
|
||||
<geometry Type="QRect" y="272" x="12" width="1426" height="52"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">DataBand1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString">$D{bio.Notes}</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="33"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="1"/>
|
||||
<font stylename="" italic="0" weight="50" underline="0" pointSize="9" Type="QFont" family="Arial"/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="1"/>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<fontColor Type="QColor" Value="#000000"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
</item>
|
||||
<item Type="Object" ClassName="ImageItem">
|
||||
<objectName Type="QString">ImageItem3</objectName>
|
||||
<geometry Type="QRect" y="56" x="1472" width="332" height="192"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">DataBand1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<image Type="QImage"></image>
|
||||
<opacity Type="int" Value="100"/>
|
||||
<datasource Type="QString">bio</datasource>
|
||||
<field Type="QString">Graphic</field>
|
||||
<autoSize Type="bool" Value="0"/>
|
||||
<scale Type="bool" Value="1"/>
|
||||
<keepAspectRatio Type="bool" Value="1"/>
|
||||
<center Type="bool" Value="1"/>
|
||||
<resourcePath Type="QString"></resourcePath>
|
||||
</item>
|
||||
<item Type="Object" ClassName="ShapeItem">
|
||||
<objectName Type="QString">ShapeItem3</objectName>
|
||||
<geometry Type="QRect" y="-24" x="0" width="1850" height="50"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">DataBand1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="3"/>
|
||||
<shape Type="enumAndFlags" Value="0"/>
|
||||
<shapeColor Type="QColor" Value="#000000"/>
|
||||
<shapeBrushColor Type="QColor" Value="#000000"/>
|
||||
<shapeBrush Type="enumAndFlags" Value="0"/>
|
||||
<lineWidth Type="qreal" Value="1"/>
|
||||
<penStyle Type="enumAndFlags" Value="1"/>
|
||||
<opacity Type="int" Value="100"/>
|
||||
<cornerRadius Type="int" Value="0"/>
|
||||
</item>
|
||||
</children>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">ReportPage1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<autoHeight Type="bool" Value="1"/>
|
||||
<bandIndex Type="int" Value="2"/>
|
||||
<keepBottomSpace Type="bool" Value="0"/>
|
||||
<parentBand Type="QString"></parentBand>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<printIfEmpty Type="bool" Value="0"/>
|
||||
<datasource Type="QString">bio</datasource>
|
||||
<keepSubdetailTogether Type="bool" Value="0"/>
|
||||
<splittable Type="bool" Value="0"/>
|
||||
<keepFooterTogether Type="bool" Value="0"/>
|
||||
<sliceLastRow Type="bool" Value="0"/>
|
||||
<columnsCount Type="int" Value="1"/>
|
||||
<columnsFillDirection Type="enumAndFlags" Value="0"/>
|
||||
<startNewPage Type="bool" Value="0"/>
|
||||
<startFromNewPage Type="bool" Value="0"/>
|
||||
<alternateBackgroundColor Type="QColor" Value="#ffffff"/>
|
||||
</item>
|
||||
</children>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString"></parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<topMargin Type="int" Value="5"/>
|
||||
<bottomMargin Type="int" Value="5"/>
|
||||
<rightMargin Type="int" Value="20"/>
|
||||
<leftMargin Type="int" Value="5"/>
|
||||
<pageOrientation Type="enumAndFlags" Value="0"/>
|
||||
<pageSize Type="enumAndFlags" Value="0"/>
|
||||
<gridStep Type="int" Value="2"/>
|
||||
<fullPage Type="bool" Value="0"/>
|
||||
<oldPrintMode Type="bool" Value="0"/>
|
||||
<resetPageNumber Type="bool" Value="0"/>
|
||||
</pageItem>
|
||||
</item>
|
||||
</pages>
|
||||
<datasourcesManager Type="Object" ClassName="LimeReport::DataSourceManager">
|
||||
<objectName Type="QString">datasources</objectName>
|
||||
<connections Type="Collection">
|
||||
<item Type="Object" ClassName="LimeReport::ConnectionDesc">
|
||||
<objectName Type="QString"></objectName>
|
||||
<name Type="QString">db</name>
|
||||
<driver Type="QString">QSQLITE</driver>
|
||||
<databaseName Type="QString">./demo_reports/demo_db.db</databaseName>
|
||||
<userName Type="QString"></userName>
|
||||
<password Type="QString" Value=""/>
|
||||
<host Type="QString"></host>
|
||||
<autoconnect Type="bool" Value="1"/>
|
||||
<keepDBCredentials Type="bool" Value="1"/>
|
||||
</item>
|
||||
</connections>
|
||||
<queries Type="Collection">
|
||||
<item Type="Object" ClassName="LimeReport::QueryDesc">
|
||||
<objectName Type="QString"></objectName>
|
||||
<queryName Type="QString">bio</queryName>
|
||||
<queryText Type="QString">Select * from biolife</queryText>
|
||||
<connectionName Type="QString">db</connectionName>
|
||||
</item>
|
||||
</queries>
|
||||
<subqueries Type="Collection"/>
|
||||
<subproxies Type="Collection"/>
|
||||
<variables Type="Collection"/>
|
||||
</datasourcesManager>
|
||||
<scriptContext Type="Object" ClassName="LimeReport::ScriptEngineContext">
|
||||
<objectName Type="QString"></objectName>
|
||||
<dialogs Type="Collection"/>
|
||||
<initScript Type="QString">ReportPage1.beforeRender.connect( ReportPage1BeforeRender );
|
||||
|
||||
function ReportPage1BeforeRender(){
|
||||
ReportPage1.leftMargin = getVariable("#PAGE")%2 == 0 ? 20 : 5;
|
||||
ReportPage1.rightMargin = getVariable("#PAGE")%2 == 0 ? 5 : 20;
|
||||
}</initScript>
|
||||
</scriptContext>
|
||||
<suppressFieldAndVarError Type="bool" Value="0"/>
|
||||
</object>
|
||||
</Report>
|
@ -0,0 +1,295 @@
|
||||
<?xml version="1.0" encoding="UTF8"?>
|
||||
<Report>
|
||||
<object Type="Object" ClassName="LimeReport::ReportEnginePrivate">
|
||||
<objectName Type="QString"></objectName>
|
||||
<pages Type="Collection">
|
||||
<item Type="Object" ClassName="LimeReport::PageDesignIntf">
|
||||
<objectName Type="QString">page1</objectName>
|
||||
<sceneRect Type="QRect" x="-50" y="-50" height="3070" width="2200"/>
|
||||
<bspTreeDepth Type="int" Value="5"/>
|
||||
<font Type="QFont" family="Noto Sans" weight="50" underline="0" italic="0" pointSize="9" stylename=""/>
|
||||
<sortCacheEnabled Type="bool" Value="0"/>
|
||||
<stickyFocus Type="bool" Value="0"/>
|
||||
<minimumRenderSize Type="qreal" Value="0"/>
|
||||
<pageItem Type="Object" ClassName="PageItem">
|
||||
<objectName Type="QString">ReportPage1</objectName>
|
||||
<geometry Type="QRect" x="0" y="0" height="2970" width="2100"/>
|
||||
<children Type="Collection">
|
||||
<item Type="Object" ClassName="Data">
|
||||
<objectName Type="QString">DataBand1</objectName>
|
||||
<geometry Type="QRect" x="50" y="50" height="100" width="2000"/>
|
||||
<children Type="Collection">
|
||||
<item Type="Object" ClassName="TextItem">
|
||||
<objectName Type="QString">TextItem2</objectName>
|
||||
<geometry Type="QRect" x="20" y="22" height="50" width="746"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">DataBand1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString">$S{
|
||||
if ( $D{master.CustomerID} == "ALFKI") THIS.fontColor=QColor("red");""}$D{master.CompanyName}</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="33"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font Type="QFont" family="Sans Serif" weight="50" underline="0" italic="0" pointSize="9" stylename=""/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="1"/>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<fontColor Type="QColor" Value="#000000"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
</item>
|
||||
<item Type="Object" ClassName="TextItem">
|
||||
<objectName Type="QString">TextItem1</objectName>
|
||||
<geometry Type="QRect" x="776" y="22" height="50" width="426"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">DataBand1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString"></content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="33"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font Type="QFont" family="Arial" weight="50" underline="0" italic="0" pointSize="10" stylename=""/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="1"/>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<fontColor Type="QColor" Value="#000000"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
</item>
|
||||
</children>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">ReportPage1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<autoHeight Type="bool" Value="1"/>
|
||||
<bandIndex Type="int" Value="4"/>
|
||||
<keepBottomSpace Type="bool" Value="0"/>
|
||||
<parentBand Type="QString"></parentBand>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<printIfEmpty Type="bool" Value="0"/>
|
||||
<datasource Type="QString">master</datasource>
|
||||
<keepSubdetailTogether Type="bool" Value="0"/>
|
||||
<splittable Type="bool" Value="0"/>
|
||||
<keepFooterTogether Type="bool" Value="0"/>
|
||||
<sliceLastRow Type="bool" Value="0"/>
|
||||
<columnsCount Type="int" Value="1"/>
|
||||
<columnsFillDirection Type="enumAndFlags" Value="0"/>
|
||||
<startNewPage Type="bool" Value="0"/>
|
||||
<startFromNewPage Type="bool" Value="0"/>
|
||||
<alternateBackgroundColor Type="QColor" Value="#ffffff"/>
|
||||
</item>
|
||||
<item Type="Object" ClassName="SubDetail">
|
||||
<objectName Type="QString">SubDetailBand1</objectName>
|
||||
<geometry Type="QRect" x="50" y="154" height="100" width="2000"/>
|
||||
<children Type="Collection">
|
||||
<item Type="Object" ClassName="TextItem">
|
||||
<objectName Type="QString">TextItem5</objectName>
|
||||
<geometry Type="QRect" x="98" y="16" height="50" width="250"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">SubDetailBand1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString">$D{master.CustomerID}</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="33"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font Type="QFont" family="Sans Serif" weight="50" underline="0" italic="0" pointSize="9" stylename=""/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="0"/>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<fontColor Type="QColor" Value="#000000"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
</item>
|
||||
<item Type="Object" ClassName="TextItem">
|
||||
<objectName Type="QString">TextItem6</objectName>
|
||||
<geometry Type="QRect" x="360" y="16" height="50" width="250"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">SubDetailBand1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString">$D{master.City}</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="33"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font Type="QFont" family="Sans Serif" weight="50" underline="0" italic="0" pointSize="9" stylename=""/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="0"/>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<fontColor Type="QColor" Value="#000000"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
</item>
|
||||
</children>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">ReportPage1</parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<autoHeight Type="bool" Value="1"/>
|
||||
<bandIndex Type="int" Value="5"/>
|
||||
<keepBottomSpace Type="bool" Value="0"/>
|
||||
<parentBand Type="QString">DataBand1</parentBand>
|
||||
<backgroundColor Type="QColor" Value="#aaff7f"/>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<printIfEmpty Type="bool" Value="0"/>
|
||||
<datasource Type="QString"></datasource>
|
||||
<splittable Type="bool" Value="0"/>
|
||||
<columnsCount Type="int" Value="1"/>
|
||||
<columnsFillDirection Type="enumAndFlags" Value="0"/>
|
||||
<keepFooterTogether Type="bool" Value="0"/>
|
||||
<alternateBackgroundColor Type="QColor" Value="#aaff7f"/>
|
||||
</item>
|
||||
</children>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString"></parentName>
|
||||
<borderLineSize Type="int" Value="0"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<topMargin Type="int" Value="5"/>
|
||||
<bottomMargin Type="int" Value="5"/>
|
||||
<rightMargin Type="int" Value="5"/>
|
||||
<leftMargin Type="int" Value="5"/>
|
||||
<pageOrientation Type="enumAndFlags" Value="0"/>
|
||||
<pageSize Type="enumAndFlags" Value="0"/>
|
||||
<gridStep Type="int" Value="2"/>
|
||||
<fullPage Type="bool" Value="0"/>
|
||||
<oldPrintMode Type="bool" Value="0"/>
|
||||
<resetPageNumber Type="bool" Value="0"/>
|
||||
</pageItem>
|
||||
</item>
|
||||
</pages>
|
||||
<datasourcesManager Type="Object" ClassName="LimeReport::DataSourceManager">
|
||||
<objectName Type="QString">datasources</objectName>
|
||||
<connections Type="Collection">
|
||||
<item Type="Object" ClassName="LimeReport::ConnectionDesc">
|
||||
<objectName Type="QString"></objectName>
|
||||
<name Type="QString">db</name>
|
||||
<driver Type="QString">QSQLITE</driver>
|
||||
<databaseName Type="QString">./demo_reports/northwind.db</databaseName>
|
||||
<userName Type="QString"></userName>
|
||||
<password Type="QString" Value=""/>
|
||||
<host Type="QString"></host>
|
||||
<autoconnect Type="bool" Value="1"/>
|
||||
<keepDBCredentials Type="bool" Value="1"/>
|
||||
</item>
|
||||
</connections>
|
||||
<queries Type="Collection">
|
||||
<item Type="Object" ClassName="LimeReport::QueryDesc">
|
||||
<objectName Type="QString"></objectName>
|
||||
<queryName Type="QString">master</queryName>
|
||||
<queryText Type="QString">Select * from customers limit 5</queryText>
|
||||
<connectionName Type="QString">db</connectionName>
|
||||
</item>
|
||||
</queries>
|
||||
<subqueries Type="Collection"/>
|
||||
<subproxies Type="Collection"/>
|
||||
<variables Type="Collection"/>
|
||||
</datasourcesManager>
|
||||
<scriptContext Type="Object" ClassName="LimeReport::ScriptEngineContext">
|
||||
<objectName Type="QString"></objectName>
|
||||
<dialogs Type="Collection"/>
|
||||
<initScript Type="QString">SubDetailBand1.afterData.connect(SB1AfterData);
|
||||
|
||||
function SB1AfterData(){
|
||||
if (getField("master.CustomerID")=="ALFKI") {
|
||||
SubDetailBand1.isVisible = false;
|
||||
TextItem2.fontColor = QColor("red");
|
||||
TextItem1.content = "sub band is not visible"
|
||||
} else {
|
||||
TextItem5.fontColor = QColor("red");
|
||||
TextItem1.content = "sub band is visible"
|
||||
}
|
||||
}
|
||||
</initScript>
|
||||
</scriptContext>
|
||||
<suppressFieldAndVarError Type="bool" Value="0"/>
|
||||
</object>
|
||||
</Report>
|
82
demo_r1/demo_reports/1.4/demoDialog.ui
Normal file
82
demo_r1/demo_reports/1.4/demoDialog.ui
Normal file
@ -0,0 +1,82 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>Dialog</class>
|
||||
<widget class="QDialog" name="Dialog">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>400</width>
|
||||
<height>300</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Dialog</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||
<item>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="text">
|
||||
<string>Message</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="lineEdit"/>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QDialogButtonBox" name="buttonBox">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="standardButtons">
|
||||
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections>
|
||||
<connection>
|
||||
<sender>buttonBox</sender>
|
||||
<signal>accepted()</signal>
|
||||
<receiver>Dialog</receiver>
|
||||
<slot>accept()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>248</x>
|
||||
<y>254</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>157</x>
|
||||
<y>274</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>buttonBox</sender>
|
||||
<signal>rejected()</signal>
|
||||
<receiver>Dialog</receiver>
|
||||
<slot>reject()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>316</x>
|
||||
<y>260</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>286</x>
|
||||
<y>274</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
</connections>
|
||||
</ui>
|
143
demo_r1/demo_reports/1/111.lrxml
Normal file
143
demo_r1/demo_reports/1/111.lrxml
Normal file
@ -0,0 +1,143 @@
|
||||
<?xml version="1.0" encoding="UTF8"?>
|
||||
<Report>
|
||||
<object ClassName="LimeReport::ReportEnginePrivate" Type="Object">
|
||||
<objectName Type="QString"></objectName>
|
||||
<pages Type="Collection">
|
||||
<item ClassName="LimeReport::PageDesignIntf" Type="Object">
|
||||
<objectName Type="QString">page1</objectName>
|
||||
<sceneRect width="2200" x="-50" y="-50" Type="QRect" height="3075"/>
|
||||
<bspTreeDepth Type="int" Value="5"/>
|
||||
<font weight="50" underline="0" stylename="" italic="0" Type="QFont" pointSize="8" family="MS Shell Dlg 2"/>
|
||||
<sortCacheEnabled Type="bool" Value="0"/>
|
||||
<stickyFocus Type="bool" Value="0"/>
|
||||
<minimumRenderSize Type="qreal" Value="0"/>
|
||||
<pageItem ClassName="PageItem" Type="Object">
|
||||
<objectName Type="QString">Reportpage1</objectName>
|
||||
<geometry width="2100" x="0" y="0" Type="QRect" height="2970"/>
|
||||
<children Type="Collection">
|
||||
<item ClassName="TextItem" Type="Object">
|
||||
<objectName Type="QString">TextItem1</objectName>
|
||||
<geometry width="200" x="134" y="108" Type="QRect" height="50"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">Reportpage1</parentName>
|
||||
<borderLineSize Type="int" Value="1"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="1"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString">$S{intTest();}</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="33"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font weight="50" underline="0" stylename="" italic="0" Type="QFont" pointSize="10" family="Arial"/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="1"/>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<fontColor Type="QColor" Value="#000000"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
<fillInSecondPass Type="bool" Value="0"/>
|
||||
<watermark Type="bool" Value="0"/>
|
||||
</item>
|
||||
<item ClassName="TextItem" Type="Object">
|
||||
<objectName Type="QString">TextItem2</objectName>
|
||||
<geometry width="200" x="348" y="106" Type="QRect" height="50"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">Reportpage1</parentName>
|
||||
<borderLineSize Type="int" Value="1"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="1"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString">$S{stringTest();}</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="33"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font weight="50" underline="0" stylename="" italic="0" Type="QFont" pointSize="10" family="Arial"/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="1"/>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<fontColor Type="QColor" Value="#000000"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
<fillInSecondPass Type="bool" Value="0"/>
|
||||
<watermark Type="bool" Value="0"/>
|
||||
</item>
|
||||
</children>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString"></parentName>
|
||||
<borderLineSize Type="int" Value="1"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<topMargin Type="int" Value="5"/>
|
||||
<bottomMargin Type="int" Value="5"/>
|
||||
<rightMargin Type="int" Value="5"/>
|
||||
<leftMargin Type="int" Value="5"/>
|
||||
<pageOrientation Type="enumAndFlags" Value="0"/>
|
||||
<pageSize Type="enumAndFlags" Value="0"/>
|
||||
<gridStep Type="int" Value="2"/>
|
||||
<fullPage Type="bool" Value="0"/>
|
||||
<oldPrintMode Type="bool" Value="0"/>
|
||||
<resetPageNumber Type="bool" Value="0"/>
|
||||
<isExtendedInDesignMode Type="bool" Value="0"/>
|
||||
<extendedHeight Type="int" Value="1000"/>
|
||||
<pageIsTOC Type="bool" Value="0"/>
|
||||
<setPageSizeToPrinter Type="bool" Value="0"/>
|
||||
<endlessHeight Type="bool" Value="0"/>
|
||||
<printable Type="bool" Value="1"/>
|
||||
</pageItem>
|
||||
</item>
|
||||
</pages>
|
||||
<datasourcesManager ClassName="LimeReport::DataSourceManager" Type="Object">
|
||||
<objectName Type="QString">datasources</objectName>
|
||||
<connections Type="Collection"/>
|
||||
<queries Type="Collection"/>
|
||||
<subqueries Type="Collection"/>
|
||||
<subproxies Type="Collection"/>
|
||||
<variables Type="Collection"/>
|
||||
</datasourcesManager>
|
||||
<scriptContext ClassName="LimeReport::ScriptEngineContext" Type="Object">
|
||||
<objectName Type="QString"></objectName>
|
||||
<dialogs Type="Collection"/>
|
||||
<initScript Type="QString">function intTest(){return 42;}
|
||||
function stringTest(){return "testString";}</initScript>
|
||||
</scriptContext>
|
||||
<suppressFieldAndVarError Type="bool" Value="0"/>
|
||||
<translation Type="Translation"/>
|
||||
</object>
|
||||
</Report>
|
139
demo_r1/demo_reports/1/test_js.lrxml
Normal file
139
demo_r1/demo_reports/1/test_js.lrxml
Normal file
@ -0,0 +1,139 @@
|
||||
<?xml version="1.0" encoding="UTF8"?>
|
||||
<Report>
|
||||
<object ClassName="LimeReport::ReportEnginePrivate" Type="Object">
|
||||
<objectName Type="QString"></objectName>
|
||||
<pages Type="Collection">
|
||||
<item ClassName="LimeReport::PageDesignIntf" Type="Object">
|
||||
<objectName Type="QString">page1</objectName>
|
||||
<sceneRect height="3070" Type="QRect" x="-50" y="-50" width="2200"/>
|
||||
<bspTreeDepth Type="int" Value="5"/>
|
||||
<font italic="0" underline="0" stylename="" Type="QFont" family="MS Shell Dlg 2" weight="50" pointSize="8"/>
|
||||
<sortCacheEnabled Type="bool" Value="0"/>
|
||||
<stickyFocus Type="bool" Value="0"/>
|
||||
<minimumRenderSize Type="qreal" Value="0"/>
|
||||
<pageItem ClassName="PageItem" Type="Object">
|
||||
<objectName Type="QString">Reportpage1</objectName>
|
||||
<geometry height="2970" Type="QRect" x="0" y="0" width="2100"/>
|
||||
<children Type="Collection">
|
||||
<item ClassName="TextItem" Type="Object">
|
||||
<objectName Type="QString">TextItem1</objectName>
|
||||
<geometry height="50" Type="QRect" x="156" y="100" width="200"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">Reportpage1</parentName>
|
||||
<borderLineSize Type="int" Value="1"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="1"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString">$S{testString()}</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="33"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font italic="0" underline="0" stylename="" Type="QFont" family="Arial" weight="50" pointSize="10"/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="1"/>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<fontColor Type="QColor" Value="#000000"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
<watermark Type="bool" Value="0"/>
|
||||
</item>
|
||||
<item ClassName="TextItem" Type="Object">
|
||||
<objectName Type="QString">TextItem2</objectName>
|
||||
<geometry height="50" Type="QRect" x="362" y="100" width="200"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">Reportpage1</parentName>
|
||||
<borderLineSize Type="int" Value="1"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="1"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString">$S{testInt()}</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="33"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font italic="0" underline="0" stylename="" Type="QFont" family="Arial" weight="50" pointSize="10"/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="1"/>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<fontColor Type="QColor" Value="#000000"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
<watermark Type="bool" Value="0"/>
|
||||
</item>
|
||||
</children>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString"></parentName>
|
||||
<borderLineSize Type="int" Value="1"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<topMargin Type="int" Value="5"/>
|
||||
<bottomMargin Type="int" Value="5"/>
|
||||
<rightMargin Type="int" Value="5"/>
|
||||
<leftMargin Type="int" Value="5"/>
|
||||
<pageOrientation Type="enumAndFlags" Value="0"/>
|
||||
<pageSize Type="enumAndFlags" Value="0"/>
|
||||
<gridStep Type="int" Value="2"/>
|
||||
<fullPage Type="bool" Value="0"/>
|
||||
<oldPrintMode Type="bool" Value="0"/>
|
||||
<resetPageNumber Type="bool" Value="0"/>
|
||||
</pageItem>
|
||||
</item>
|
||||
</pages>
|
||||
<datasourcesManager ClassName="LimeReport::DataSourceManager" Type="Object">
|
||||
<objectName Type="QString">datasources</objectName>
|
||||
<connections Type="Collection"/>
|
||||
<queries Type="Collection"/>
|
||||
<subqueries Type="Collection"/>
|
||||
<subproxies Type="Collection"/>
|
||||
<variables Type="Collection"/>
|
||||
</datasourcesManager>
|
||||
<scriptContext ClassName="LimeReport::ScriptEngineContext" Type="Object">
|
||||
<objectName Type="QString"></objectName>
|
||||
<dialogs Type="Collection"/>
|
||||
<initScript Type="QString">function testString(){
|
||||
return "Test";
|
||||
}
|
||||
|
||||
function testInt(){
|
||||
return 42;
|
||||
}</initScript>
|
||||
</scriptContext>
|
||||
<suppressFieldAndVarError Type="bool" Value="0"/>
|
||||
</object>
|
||||
</Report>
|
BIN
demo_r1/demo_reports/1/test_js.zip
Normal file
BIN
demo_r1/demo_reports/1/test_js.zip
Normal file
Binary file not shown.
164
demo_r1/demo_reports/123.lrxml
Normal file
164
demo_r1/demo_reports/123.lrxml
Normal file
@ -0,0 +1,164 @@
|
||||
<?xml version="1.0" encoding="UTF8"?>
|
||||
<Report>
|
||||
<object ClassName="LimeReport::ReportEnginePrivate" Type="Object">
|
||||
<objectName Type="QString"></objectName>
|
||||
<pages Type="Collection">
|
||||
<item ClassName="LimeReport::PageDesignIntf" Type="Object">
|
||||
<objectName Type="QString">page1</objectName>
|
||||
<sceneRect height="3070" width="2200" Type="QRect" x="-50" y="-50"/>
|
||||
<bspTreeDepth Type="int" Value="5"/>
|
||||
<font family="MS Shell Dlg 2" stylename="" italic="0" Type="QFont" pointSize="8" underline="0" weight="50"/>
|
||||
<sortCacheEnabled Type="bool" Value="0"/>
|
||||
<stickyFocus Type="bool" Value="0"/>
|
||||
<minimumRenderSize Type="qreal" Value="0"/>
|
||||
<pageItem ClassName="PageItem" Type="Object">
|
||||
<objectName Type="QString">ReportPage1</objectName>
|
||||
<geometry height="2970" width="2100" Type="QRect" x="0" y="0"/>
|
||||
<children Type="Collection">
|
||||
<item ClassName="Data" Type="Object">
|
||||
<objectName Type="QString">DataBand1</objectName>
|
||||
<geometry height="520" width="2000" Type="QRect" x="50" y="50"/>
|
||||
<children Type="Collection">
|
||||
<item ClassName="TextItem" Type="Object">
|
||||
<objectName Type="QString">TextItem1</objectName>
|
||||
<geometry height="160" width="2000" Type="QRect" x="0" y="0"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">DataBand1</parentName>
|
||||
<borderLineSize Type="int" Value="1"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="0"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString"><style>
|
||||
p { text-indent: 100px; }
|
||||
</style>
|
||||
<p>1. Настоящий Федеральный закон регулирует отношения, направленные на обеспечение государственных и муниципальных нужд в целях повышения эффективности, результативности осуществления закупок товаров, работ, услуг, обеспечения гласности и прозрачности осуществления таких закупок, предотвращения коррупции и других злоупотреблений в сфере таких закупок, в части, касающейся:</p>
|
||||
<p>1) планирования закупок товаров, работ, услуг;</p>
|
||||
<p>2) определения поставщиков (подрядчиков, исполнителей)</p>
|
||||
<p>3) заключения гражданско-правового договора, предметом которого являются поставка товара, выполнение работы, оказание услуги (в том числе приобретение недвижимого имущества или аренда имущества), от имени Российской Федерации, субъекта Российской Федерации или муниципального образования, а также бюджетным учреждением, государственным, муниципальным унитарными предприятиями, за исключением федеральных государственных унитарных предприятий, имеющих существенное значение для обеспечения прав и законных интересов граждан Российской Федерации, обороноспособности и безопасности государства, перечень которых утверждается Правительством Российской Федерации по согласованию с Администрацией Президента Российской Федерации, либо иным юридическим лицом в соответствии с частями 1, 2.1, 4 и 5 статьи 15 настоящего Федерального закона (далее - контракт);</p>
|
||||
(в ред. Федеральных законов от 03.07.2016 N 321-ФЗ, от 28.12.2016 N 474-ФЗ)
|
||||
<p>4) особенностей исполнения контрактов;</p>
|
||||
<p>5) мониторинга закупок товаров, работ, услуг;</p>
|
||||
<p>6) аудита в сфере закупок товаров, работ, услуг;</p>
|
||||
<p>7) контроля за соблюдением законодательства Российской Федерации и иных нормативных правовых актов о контрактной системе в сфере закупок товаров, работ, услуг для обеспечения государственных и муниципальных нужд (далее - контроль в сфере закупок).</p>
|
||||
<p>2. Настоящий Федеральный закон не применяется к отношениям, связанным с:</p>
|
||||
<p>1) оказанием услуг международными финансовыми организациями, созданными в соответствии с международными договорами, участником которых является Российская Федерация, а также международными финансовыми организациями, с которыми Российская Федерация заключила международные договоры;</p>
|
||||
<p>2) закупкой товаров, работ, услуг для обеспечения безопасности лиц, подлежащих государственной защите, в соответствии с Федеральным законом от 20 августа 2004 года N 119-ФЗ "О государственной защите потерпевших, свидетелей и иных участников уголовного судопроизводства" и Федеральным законом от 20 апреля 1995 года N 45-ФЗ "О государственной защите судей, должностных лиц правоохранительных и контролирующих органов";</p>
|
||||
<p>3) закупкой драгоценных металлов и драгоценных камней для пополнения Государственного фонда драгоценных металлов и драгоценных камней Российской Федерации и государственных фондов драгоценных металлов и драгоценных камней соответствующих субъектов Российской Федерации, на территориях которых были добыты драгоценные металлы и драгоценные камни;</p>
|
||||
(п. 3 введен Федеральным законом от 28.12.2013 N 396-ФЗ; в ред. Федерального закона от 23.06.2016 N 203-ФЗ)
|
||||
<p>4) назначением адвоката органом дознания, органом предварительного следствия, судом для участия в качестве защитника в уголовном судопроизводстве в соответствии с Уголовно-процессуальным кодексом Российской Федерации либо судом для участия в качестве представителя в гражданском судопроизводстве в соответствии с Гражданским процессуальным кодексом Российской Федерации или в административном судопроизводстве в соответствии с Кодексом административного судопроизводства Российской Федерации;</p>
|
||||
(п. 4 введен Федеральным законом от 28.12.2013 N 396-ФЗ, в ред. Федерального закона от 08.03.2015 N 23-ФЗ)
|
||||
<p>5) привлечением адвоката к оказанию гражданам юридической помощи бесплатно в соответствии с Федеральным законом от 21 ноября 2011 года N 324-ФЗ "О бесплатной юридической помощи в Российской Федерации";</p>
|
||||
(п. 5 введен Федеральным законом от 28.12.2013 N 396-ФЗ)
|
||||
<p>6) закупкой товаров, работ, услуг участковыми избирательными комиссиями, территориальными избирательными комиссиями, в том числе при возложении на них полномочий иной избирательной комиссии, окружными избирательными комиссиями, избирательными комиссиями муниципальных образований (за исключением избирательных комиссий муниципальных образований, являющихся административными центрами (столицами) субъектов Российской Федерации) во исполнение полномочий, предусмотренных законодательством Российской Федерации о выборах и референдумах;</p>
|
||||
(п. 6 введен Федеральным законом от 04.06.2014 N 140-ФЗ)
|
||||
<p>7) привлечением избирательными комиссиями, комиссиями референдума граждан к выполнению работ и оказанию услуг, связанных с обеспечением полномочий избирательных комиссий, комиссий референдума в период подготовки и проведения выборов, референдума, по гражданско-правовым договорам, заключаемым с физическими лицами, в соответствии с Федеральным законом от 12 июня 2002 года N 67-ФЗ "Об основных гарантиях избирательных прав и права на участие в референдуме граждан Российской Федерации";</p>
|
||||
(п. 7 введен Федеральным законом от 09.03.2016 N 66-ФЗ)
|
||||
<p>8) осуществлением строительного контроля в процессе строительства, реконструкции и (или) капитального ремонта объектов инфраструктуры, предназначенных для подготовки и проведения чемпионата мира по футболу FIFA 2018 года и Кубка конфедераций FIFA 2017 года, закупкой товаров, работ, услуг, связанных с изготовлением, учетом, выдачей, заменой, использованием и поддержкой (обеспечением) функционирования персонифицированных карт зрителей чемпионата мира по футболу FIFA 2018 года и Кубка конфедераций FIFA 2017 года, созданием и эксплуатацией
|
||||
необходимых информационных систем в соответствии с Федеральным законом от 7 июня 2013 года N 108-ФЗ "О подготовке и проведении в Российской Федерации чемпионата мира по футболу FIFA 2018 года, Кубка конфедераций FIFA 2017 года и внесении изменений в отдельные законодательные акты Российской Федерации"; </p>
|
||||
(п. 8 введен Федеральным законом от 03.07.2016 N 266-ФЗ)
|
||||
<p>9) закупкой товаров, работ, услуг Центральной избирательной комиссией Российской Федерации, избирательными комиссиями субъектов Российской Федерации, в том числе при возложении на них полномочий окружной избирательной комиссии, при проведении выборов в федеральные органы государственной власти.</p>
|
||||
(п. 9 введен Федеральным законом от 28.12.2016 N 474-ФЗ)
|
||||
<p>3. Особенности регулирования отношений, указанных в части 1 настоящей статьи, в случаях, предусмотренных настоящим Федеральным законом, могут быть установлены отдельными федеральными законами.</p>
|
||||
(часть 3 в ред. Федерального закона от 28.12.2013 N 396-ФЗ)
|
||||
|
||||
<p>Статья 2. Законодательство Российской Федерации и иные нормативные правовые акты о контрактной системе в сфере закупок товаров, работ, услуг для обеспечения государственных и муниципальных нужд</p>
|
||||
|
||||
<p>1. Законодательство Российской Федерации о контрактной системе в сфере закупок товаров, работ, услуг для обеспечения государственных и муниципальных нужд (далее - законодательство Российской Федерации о контрактной системе в сфере закупок) основывается на положениях Конституции Российской Федерации, Гражданского кодекса Российской Федерации, Бюджетного кодекса Российской Федерации и состоит из настоящего Федерального закона и других федеральных законов, регулирующих отношения, указанные в части 1 статьи 1 настоящего Федерального закона. Нормы права, содержащиеся в других федеральных законах и регулирующие указанные отношения, должны соответствовать настоящему Федеральному закону.</p>
|
||||
<p>2. В случаях, предусмотренных законодательством Российской Федерации о контрактной системе в сфере закупок, Президент Российской Федерации, Правительство Российской Федерации, федеральные органы исполнительной власти, Государственная корпорация по атомной энергии "Росатом", Государственная корпорация по космической деятельности "Роскосмос" вправе принимать нормативные правовые акты, регулирующие отношения, указанные в части 1 статьи 1 настоящего Федерального закона (далее - нормативные правовые акты о контрактной системе в сфере закупок).</p>
|
||||
(в ред. Федерального закона от 13.07.2015 N 216-ФЗ)</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="40"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="1"/>
|
||||
<font family="Times New Roman" stylename="" italic="0" Type="QFont" pointSize="11" underline="0" weight="50"/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="1"/>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<fontColor Type="QColor" Value="#000000"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="1"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
</item>
|
||||
</children>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">ReportPage1</parentName>
|
||||
<borderLineSize Type="int" Value="1"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<autoHeight Type="bool" Value="1"/>
|
||||
<bandIndex Type="int" Value="4"/>
|
||||
<keepBottomSpace Type="bool" Value="0"/>
|
||||
<parentBand Type="QString"></parentBand>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<printIfEmpty Type="bool" Value="0"/>
|
||||
<datasource Type="QString"></datasource>
|
||||
<keepSubdetailTogether Type="bool" Value="0"/>
|
||||
<splittable Type="bool" Value="1"/>
|
||||
<keepFooterTogether Type="bool" Value="0"/>
|
||||
<sliceLastRow Type="bool" Value="0"/>
|
||||
<columnsCount Type="int" Value="1"/>
|
||||
<columnsFillDirection Type="enumAndFlags" Value="0"/>
|
||||
<startNewPage Type="bool" Value="0"/>
|
||||
<startFromNewPage Type="bool" Value="0"/>
|
||||
<alternateBackgroundColor Type="QColor" Value="#ffffff"/>
|
||||
</item>
|
||||
</children>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString"></parentName>
|
||||
<borderLineSize Type="int" Value="1"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<topMargin Type="int" Value="5"/>
|
||||
<bottomMargin Type="int" Value="5"/>
|
||||
<rightMargin Type="int" Value="5"/>
|
||||
<leftMargin Type="int" Value="5"/>
|
||||
<pageOrientation Type="enumAndFlags" Value="0"/>
|
||||
<pageSize Type="enumAndFlags" Value="0"/>
|
||||
<gridStep Type="int" Value="10"/>
|
||||
<fullPage Type="bool" Value="0"/>
|
||||
<oldPrintMode Type="bool" Value="0"/>
|
||||
<resetPageNumber Type="bool" Value="0"/>
|
||||
</pageItem>
|
||||
</item>
|
||||
</pages>
|
||||
<datasourcesManager ClassName="LimeReport::DataSourceManager" Type="Object">
|
||||
<objectName Type="QString">datasources</objectName>
|
||||
<connections Type="Collection"/>
|
||||
<queries Type="Collection"/>
|
||||
<subqueries Type="Collection"/>
|
||||
<subproxies Type="Collection"/>
|
||||
<variables Type="Collection">
|
||||
<item ClassName="LimeReport::VarDesc" Type="Object">
|
||||
<objectName Type="QString"></objectName>
|
||||
<name Type="QString">Data</name>
|
||||
<value Type="QString">""</value>
|
||||
</item>
|
||||
</variables>
|
||||
</datasourcesManager>
|
||||
<scriptContext ClassName="LimeReport::ScriptEngineContext" Type="Object">
|
||||
<objectName Type="QString"></objectName>
|
||||
<dialogs Type="Collection"/>
|
||||
<initScript Type="QString"></initScript>
|
||||
</scriptContext>
|
||||
<suppressFieldAndVarError Type="bool" Value="0"/>
|
||||
</object>
|
||||
</Report>
|
1646
demo_r1/demo_reports/analysis.lrxml
Normal file
1646
demo_r1/demo_reports/analysis.lrxml
Normal file
File diff suppressed because one or more lines are too long
1646
demo_r1/demo_reports/andrey/analysis.lrxml
Normal file
1646
demo_r1/demo_reports/andrey/analysis.lrxml
Normal file
File diff suppressed because one or more lines are too long
BIN
demo_r1/demo_reports/andrey/northwind.db
Normal file
BIN
demo_r1/demo_reports/andrey/northwind.db
Normal file
Binary file not shown.
66
demo_r1/demo_reports/andrey/test_dialog.lrxml
Normal file
66
demo_r1/demo_reports/andrey/test_dialog.lrxml
Normal file
@ -0,0 +1,66 @@
|
||||
<?xml version="1.0" encoding="UTF8"?>
|
||||
<Report>
|
||||
<object Type="Object" ClassName="LimeReport::ReportEnginePrivate">
|
||||
<objectName Type="QString"></objectName>
|
||||
<pages Type="Collection">
|
||||
<item Type="Object" ClassName="LimeReport::PageDesignIntf">
|
||||
<objectName Type="QString">page1</objectName>
|
||||
<sceneRect width="2200" Type="QRect" y="-50" x="-50" height="3075"/>
|
||||
<bspTreeDepth Value="5" Type="int"/>
|
||||
<font pointSize="8" Type="QFont" stylename="" family="MS Shell Dlg 2" weight="50" italic="0" underline="0"/>
|
||||
<sortCacheEnabled Value="0" Type="bool"/>
|
||||
<stickyFocus Value="0" Type="bool"/>
|
||||
<minimumRenderSize Value="0" Type="qreal"/>
|
||||
<pageItem Type="Object" ClassName="PageItem">
|
||||
<objectName Type="QString">Reportpage1</objectName>
|
||||
<geometry width="2100" Type="QRect" y="0" x="0" height="2970"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Value="0" Type="qreal"/>
|
||||
<borders Value="0" Type="enumAndFlags"/>
|
||||
<parentName Type="QString"></parentName>
|
||||
<borderLineSize Value="1" Type="int"/>
|
||||
<isVisible Value="1" Type="bool"/>
|
||||
<borderColor Value="#000000" Type="QColor"/>
|
||||
<topMargin Value="5" Type="int"/>
|
||||
<bottomMargin Value="5" Type="int"/>
|
||||
<rightMargin Value="5" Type="int"/>
|
||||
<leftMargin Value="5" Type="int"/>
|
||||
<pageOrientation Value="0" Type="enumAndFlags"/>
|
||||
<pageSize Value="0" Type="enumAndFlags"/>
|
||||
<gridStep Value="2" Type="int"/>
|
||||
<fullPage Value="0" Type="bool"/>
|
||||
<oldPrintMode Value="0" Type="bool"/>
|
||||
<resetPageNumber Value="0" Type="bool"/>
|
||||
<isExtendedInDesignMode Value="0" Type="bool"/>
|
||||
<extendedHeight Value="1000" Type="int"/>
|
||||
<pageIsTOC Value="0" Type="bool"/>
|
||||
<setPageSizeToPrinter Value="0" Type="bool"/>
|
||||
<endlessHeight Value="0" Type="bool"/>
|
||||
</pageItem>
|
||||
</item>
|
||||
</pages>
|
||||
<datasourcesManager Type="Object" ClassName="LimeReport::DataSourceManager">
|
||||
<objectName Type="QString">datasources</objectName>
|
||||
<connections Type="Collection"/>
|
||||
<queries Type="Collection"/>
|
||||
<subqueries Type="Collection"/>
|
||||
<subproxies Type="Collection"/>
|
||||
<variables Type="Collection"/>
|
||||
</datasourcesManager>
|
||||
<scriptContext Type="Object" ClassName="LimeReport::ScriptEngineContext">
|
||||
<objectName Type="QString"></objectName>
|
||||
<dialogs Type="Collection">
|
||||
<item Type="Object" ClassName="LimeReport::DialogDescriber">
|
||||
<objectName Type="QString"></objectName>
|
||||
<name Type="QString">Dialog</name>
|
||||
<description Value="PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHVpIHZlcnNpb249IjQuMCI+CiA8Y2xhc3M+RGlhbG9nPC9jbGFzcz4KIDx3aWRnZXQgY2xhc3M9IlFEaWFsb2ciIG5hbWU9IkRpYWxvZyI+CiAgPHByb3BlcnR5IG5hbWU9Imdlb21ldHJ5Ij4KICAgPHJlY3Q+CiAgICA8eD4wPC94PgogICAgPHk+MDwveT4KICAgIDx3aWR0aD40MDA8L3dpZHRoPgogICAgPGhlaWdodD4zMDA8L2hlaWdodD4KICAgPC9yZWN0PgogIDwvcHJvcGVydHk+CiAgPHByb3BlcnR5IG5hbWU9IndpbmRvd1RpdGxlIj4KICAgPHN0cmluZz5EaWFsb2c8L3N0cmluZz4KICA8L3Byb3BlcnR5PgogIDx3aWRnZXQgY2xhc3M9IlFQdXNoQnV0dG9uIiBuYW1lPSJwdXNoQnV0dG9uIj4KICAgPHByb3BlcnR5IG5hbWU9Imdlb21ldHJ5Ij4KICAgIDxyZWN0PgogICAgIDx4PjMxMDwveD4KICAgICA8eT4yNjA8L3k+CiAgICAgPHdpZHRoPjc1PC93aWR0aD4KICAgICA8aGVpZ2h0PjIzPC9oZWlnaHQ+CiAgICA8L3JlY3Q+CiAgIDwvcHJvcGVydHk+CiAgIDxwcm9wZXJ0eSBuYW1lPSJ0ZXh0Ij4KICAgIDxzdHJpbmc+UHVzaEJ1dHRvbjwvc3RyaW5nPgogICA8L3Byb3BlcnR5PgogIDwvd2lkZ2V0PgogPC93aWRnZXQ+CiA8cmVzb3VyY2VzLz4KIDxjb25uZWN0aW9ucz4KICA8Y29ubmVjdGlvbj4KICAgPHNlbmRlcj5wdXNoQnV0dG9uPC9zZW5kZXI+CiAgIDxzaWduYWw+Y2xpY2tlZCgpPC9zaWduYWw+CiAgIDxyZWNlaXZlcj5EaWFsb2c8L3JlY2VpdmVyPgogICA8c2xvdD5yZWplY3QoKTwvc2xvdD4KICAgPGhpbnRzPgogICAgPGhpbnQgdHlwZT0ic291cmNlbGFiZWwiPgogICAgIDx4PjM1MjwveD4KICAgICA8eT4yNjY8L3k+CiAgICA8L2hpbnQ+CiAgICA8aGludCB0eXBlPSJkZXN0aW5hdGlvbmxhYmVsIj4KICAgICA8eD4yODI8L3g+CiAgICAgPHk+MTc4PC95PgogICAgPC9oaW50PgogICA8L2hpbnRzPgogIDwvY29ubmVjdGlvbj4KIDwvY29ubmVjdGlvbnM+CjwvdWk+Cg==" Type="QByteArray"/>
|
||||
</item>
|
||||
</dialogs>
|
||||
<initScript Type="QString">var printForm = getVariable("showFormDialog");
|
||||
|
||||
if (printForm == "1" ) { Dialog.exec() == 1; }</initScript>
|
||||
</scriptContext>
|
||||
<suppressFieldAndVarError Value="0" Type="bool"/>
|
||||
<translation Type="Translation"/>
|
||||
</object>
|
||||
</Report>
|
BIN
demo_r1/demo_reports/demo_db.db
Normal file
BIN
demo_r1/demo_reports/demo_db.db
Normal file
Binary file not shown.
76
demo_r1/demo_reports/pu/database.sql
Normal file
76
demo_r1/demo_reports/pu/database.sql
Normal file
@ -0,0 +1,76 @@
|
||||
-- --------------------------------------------------------
|
||||
-- Hôte : 127.0.0.1
|
||||
-- Version du serveur: 5.1.37-community-log - MySQL Community Server (GPL)
|
||||
-- SE du serveur: Win32
|
||||
-- HeidiSQL Version: 9.4.0.5125
|
||||
-- --------------------------------------------------------
|
||||
|
||||
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET NAMES utf8 */;
|
||||
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
||||
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
||||
|
||||
-- Export de données de la table essai.resultatglobale : 56 rows
|
||||
/*!40000 ALTER TABLE `resultatglobale` DISABLE KEYS */;
|
||||
INSERT INTO `resultatglobale` (`CODE_MALADE`, `noms`, `nom`, `CODE_PARAMETRE`, `Valeur1`, `val2`, `val3`, `val4`, `date1`, `date2`, `date3`, `date4`, `unite`, `groupe`, `bornemin`, `bornemax`, `code_dossier`, `TYPE`, `sous_groupe`, `Date_prelevement`, `date_analyse`, `sexe`, `age`, `mois`, `lieu_de_naissance`, `laboratoire`, `MedecinTraitant`, `TELEPHONE`, `Date_de_Prescription`, `DATE_CREATION`, `hosp`, `commentaire`, `CODE_ECHANTILLONS`, `MATRICULE_ANALYSE`, `CODE_MEDECIN`, `SERVICES`) VALUES
|
||||
('00003P18', 'Mr KAMDOUM Jules', 'Protéinuries', 'CZ', '5.00', '', '', '', '2018-01-05', NULL, NULL, NULL, 'mol/l', 'Urine', 'N/A', 'N/A', '001DS05-01-18', 'Biochimie', '', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'BIOCHIMIE', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001CZ05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', 'poly. neutrophile (PNN)', 'BF', '215.10', '27.46', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'giga/l', 'Formule leucoytaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001BF05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', '% polynucléaire neutrophile PNN', 'AB', '45.00', '42.25', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '%', 'Formule leucoytaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AB05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', 'poly. éosinophiles (PNE)', 'BH', '124.27', '196.46', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'giga/l', 'Formule leucoytaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001BH05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', '% polynucléaire éosinophile (PNE', 'AC', '26.00', '302.25', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '%', 'Formule leucoytaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AC05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', 'poly. Basophile (PNB)', 'BG', '162.52', '196.30', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'giga/l', 'Formule leucoytaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001BG05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', '% polynucléaire Basophile (PNB)', 'AD', '34.00', '302.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '%', 'Formule leucoytaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AD05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', 'lymphocyte', 'BI', '4.78', '277.15', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'giga/l', 'Formule leucoytaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001BI05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', '% lymphocyte (Lympho)', 'AF', '1.00', '426.39', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '%', 'Formule leucoytaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AF05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', 'monocyte', 'BJ', '23.89', '1.68', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'G/l', 'Formule leucoytaire', '0.2', '0.8', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001BJ05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', '% monocyte (Mono)', 'AE', '5.00', '2.58', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '%', 'Formule leucoytaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AE05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', 'Hématies', 'AT', '124.00', '4.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'téra/l', 'Numerisation globulaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AT05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', 'Hémoglobine', 'AU', '78.00', '64.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'g/dl', 'Numerisation globulaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AU05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', 'Hematocrite', 'AV', '45.00', '342.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '%', 'Numerisation globulaire', '0.37', '0.46', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AV05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', 'VGM', 'AW', '76.00', '54.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'u3', 'Numerisation globulaire', '85', '95', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AW05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', 'CCMH', 'AY', '98.00', '8.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, NULL, 'Numerisation globulaire', '18', '22', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AY05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', 'TCMH', 'AX', '76.00', '6.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'pg', 'Numerisation globulaire', '27', '32', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AX05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', 'Indice de distribution GR', 'AZ', '87.00', '4.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '', 'Numerisation globulaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AZ05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', 'IDR-DS', 'BA', '23.00', '5.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '', 'Numerisation globulaire', '19000', '90000', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001BA05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', 'Nombres de Globule Blanc', 'AA', '478.00', '65.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'giga/l', 'Numerisation globulaire', '13400', '123000', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AA05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', 'Plaquette', 'BB', '98.00', '54.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'giga/l', 'Numerisation Plaquettaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001BB05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', 'VMP', 'BC', '45.00', '1.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '', 'Numerisation Plaquettaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001BC05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', 'IDP', 'BD', '31.00', '46.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '', 'Numerisation Plaquettaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001BD05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', 'PCT', 'BE', '8.00', '548.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '%', 'Numerisation Plaquettaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001BE05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00004P18', 'Mme/Mlle NGO\'SEAM Madeleine', 'Temps de Saignement', 'AI', '6.00', '', '', '', '2018-01-05', NULL, NULL, NULL, 'mm/s', 'TS/TC', 'N/A', 'N/A', '002DS05-01-18', 'TS/TC', 'Hémostase', '2018-01-05', '2018-01-05', 'F', '30 ans', 360, 'TOUGANG', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Externe', '', '001AI05-01-18', 'P001', '001MD18', 'HBD'),
|
||||
('00004P18', 'Mme/Mlle NGO\'SEAM Madeleine', 'Temps de Coagulation', 'AJ', '8.00', '', '', '', '2018-01-05', NULL, NULL, NULL, 'mm/s', 'TS/TC', 'N/A', 'N/A', '002DS05-01-18', 'TS/TC', 'Hémostase', '2018-01-05', '2018-01-05', 'F', '30 ans', 360, 'TOUGANG', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Externe', '', '001AJ05-01-18', 'P001', '001MD18', 'HBD'),
|
||||
('00004P18', 'Mme/Mlle NGO\'SEAM Madeleine', 'Prémiere Heures', 'AH', '4.00', '', '', '', '2018-01-05', NULL, NULL, NULL, 'mm/s', 'Vitesse de sedimentation', '3', '7', '002DS05-01-18', 'VS', 'Hémostase', '2018-01-05', '2018-01-05', 'F', '30 ans', 360, 'TOUGANG', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Externe', '', '001AH05-01-18', 'P001', '001MD18', 'HBD'),
|
||||
('00004P18', 'Mme/Mlle NGO\'SEAM Madeleine', 'Deuxieme Heures', 'AG', '5.00', '', '', '', '2018-01-05', NULL, NULL, NULL, 'mm/s', 'Vitesse de sedimentation', 'N/A', 'N/A', '002DS05-01-18', 'VS', 'Hémostase', '2018-01-05', '2018-01-05', 'F', '30 ans', 360, 'TOUGANG', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Externe', '', '001AG05-01-18', 'P001', '001MD18', 'HBD'),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'Groupe Sanguin et Rhesus', 'AM', 'A+', '', '', '', '2018-01-08', NULL, NULL, NULL, NULL, 'GS', 'N/A', 'N/A', '001DS06-01-18', 'GS', 'GS', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AM08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'Temps de cephaline activer', 'AK', '24.00', '', '', '', '2018-01-08', NULL, NULL, NULL, 'S', 'TCK/TQ', 'N/A', 'N/A', '001DS08-01-18', 'TCK/TQ', 'Hémostase', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'SIKATI Paul Rene', '6 89 85 87 47', '2018-01-08', '2018-01-08', 'Interne', '', '001AK08-01-18', 'P001', '002MD18', 'médecine F'),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'Temps de quit', 'AL', '12.00', '', '', '', '2018-01-08', NULL, NULL, NULL, 'S', 'TCK/TQ', 'N/A', 'N/A', '001DS08-01-18', 'TCK/TQ', 'Hémostase', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'SIKATI Paul Rene', '6 89 85 87 47', '2018-01-08', '2018-01-08', 'Interne', '', '001AL08-01-18', 'P001', '002MD18', 'médecine F'),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'Prémiere Heures', 'AH', '4.00', '', '', '', '2018-01-06', NULL, NULL, NULL, 'mm/s', 'Vitesse de sedimentation', '3', '7', '001DS06-01-18', 'VS', 'Hémostase', '2018-01-06', '2018-01-06', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-06', '2018-01-06', 'Interne', '', '001AH06-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'Deuxieme Heures', 'AG', '5.00', '', '', '', '2018-01-06', NULL, NULL, NULL, 'mm/s', 'Vitesse de sedimentation', 'N/A', 'N/A', '001DS06-01-18', 'VS', 'Hémostase', '2018-01-06', '2018-01-06', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-06', '2018-01-06', 'Interne', '', '001AG06-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'poly. neutrophile (PNN)', 'BF', '1108.52', '', '', '', '2018-01-08', NULL, NULL, NULL, 'giga/l', 'Formule leucoytaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001BF08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', '% polynucléaire neutrophile PNN', 'AB', '74.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '%', 'Formule leucoytaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AB08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'poly. éosinophiles (PNE)', 'BH', '674.09', '', '', '', '2018-01-08', NULL, NULL, NULL, 'giga/l', 'Formule leucoytaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001BH08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', '% polynucléaire éosinophile (PNE', 'AC', '45.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '%', 'Formule leucoytaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AC08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'poly. Basophile (PNB)', 'BG', '74.90', '', '', '', '2018-01-08', NULL, NULL, NULL, 'giga/l', 'Formule leucoytaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001BG08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', '% polynucléaire Basophile (PNB)', 'AD', '5.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '%', 'Formule leucoytaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AD08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'lymphocyte', 'BI', '614.17', '', '', '', '2018-01-08', NULL, NULL, NULL, 'giga/l', 'Formule leucoytaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001BI08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', '% lymphocyte (Lympho)', 'AF', '41.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '%', 'Formule leucoytaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AF08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'monocyte', 'BJ', '629.15', '', '', '', '2018-01-08', NULL, NULL, NULL, 'G/l', 'Formule leucoytaire', '0.2', '0.8', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001BJ08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', '% monocyte (Mono)', 'AE', '42.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '%', 'Formule leucoytaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AE08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'Hématies', 'AT', '5.00', '', '', '', '2018-01-08', NULL, NULL, NULL, 'téra/l', 'Numerisation globulaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AT08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'Hémoglobine', 'AU', '62.00', '', '', '', '2018-01-08', NULL, NULL, NULL, 'g/dl', 'Numerisation globulaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AU08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'Hematocrite', 'AV', '41.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '%', 'Numerisation globulaire', '0.37', '0.46', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AV08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'VGM', 'AW', '12.00', '', '', '', '2018-01-08', NULL, NULL, NULL, 'u3', 'Numerisation globulaire', '85', '95', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AW08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'CCMH', 'AY', '44.00', '', '', '', '2018-01-08', NULL, NULL, NULL, NULL, 'Numerisation globulaire', '18', '22', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AY08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'TCMH', 'AX', '74.00', '', '', '', '2018-01-08', NULL, NULL, NULL, 'pg', 'Numerisation globulaire', '27', '32', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AX08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'Indice de distribution GR', 'AZ', '45.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '', 'Numerisation globulaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AZ08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'IDR-DS', 'BA', '41.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '', 'Numerisation globulaire', '19000', '90000', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001BA08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'Nombres de Globule Blanc', 'AA', '1498.00', '', '', '', '2018-01-08', NULL, NULL, NULL, 'giga/l', 'Numerisation globulaire', '13400', '123000', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AA08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'Plaquette', 'BB', '7.00', '', '', '', '2018-01-08', NULL, NULL, NULL, 'giga/l', 'Numerisation Plaquettaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001BB08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'VMP', 'BC', '12.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '', 'Numerisation Plaquettaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001BC08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'IDP', 'BD', '54.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '', 'Numerisation Plaquettaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001BD08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'PCT', 'BE', '74.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '%', 'Numerisation Plaquettaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001BE08-01-18', 'P001', '003MD18', '');
|
||||
/*!40000 ALTER TABLE `resultatglobale` ENABLE KEYS */;
|
||||
|
||||
/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
|
||||
/*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */;
|
||||
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
123
demo_r1/demo_reports/pu/database1.sql
Normal file
123
demo_r1/demo_reports/pu/database1.sql
Normal file
@ -0,0 +1,123 @@
|
||||
-- phpMyAdmin SQL Dump
|
||||
-- version 3.2.1
|
||||
-- http://www.phpmyadmin.net
|
||||
--
|
||||
-- Serveur: localhost
|
||||
-- Généré le : Dim 14 Janvier 2018 à 17:34
|
||||
-- Version du serveur: 5.1.37
|
||||
-- Version de PHP: 5.3.0
|
||||
|
||||
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
|
||||
|
||||
--
|
||||
-- Base de données: `essai`
|
||||
--
|
||||
CREATE DATABASE `essai` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
|
||||
USE `essai`;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Structure de la table `resultatglobale`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `resultatglobale` (
|
||||
`CODE_MALADE` char(10) DEFAULT NULL,
|
||||
`noms` varchar(266) DEFAULT NULL,
|
||||
`nom` char(32) DEFAULT NULL,
|
||||
`CODE_PARAMETRE` char(15) DEFAULT NULL,
|
||||
`Valeur1` varbinary(57) DEFAULT NULL,
|
||||
`val2` varbinary(19) DEFAULT NULL,
|
||||
`val3` varbinary(19) DEFAULT NULL,
|
||||
`val4` varbinary(19) DEFAULT NULL,
|
||||
`date1` date DEFAULT NULL,
|
||||
`date2` date DEFAULT NULL,
|
||||
`date3` date DEFAULT NULL,
|
||||
`date4` date DEFAULT NULL,
|
||||
`unite` char(32) DEFAULT NULL,
|
||||
`groupe` varchar(35) DEFAULT NULL,
|
||||
`bornemin` varbinary(12) DEFAULT NULL,
|
||||
`bornemax` varbinary(12) DEFAULT NULL,
|
||||
`code_dossier` char(20) DEFAULT NULL,
|
||||
`TYPE` varchar(50) DEFAULT NULL,
|
||||
`sous_groupe` varchar(35) DEFAULT NULL,
|
||||
`Date_prelevement` date DEFAULT NULL,
|
||||
`date_analyse` date DEFAULT NULL,
|
||||
`sexe` char(1) DEFAULT NULL,
|
||||
`age` varbinary(25) DEFAULT NULL,
|
||||
`mois` bigint(21) DEFAULT NULL,
|
||||
`lieu_de_naissance` varchar(128) DEFAULT NULL,
|
||||
`laboratoire` varchar(20) DEFAULT NULL,
|
||||
`MedecinTraitant` varchar(257) DEFAULT NULL,
|
||||
`TELEPHONE` char(32) DEFAULT NULL,
|
||||
`Date_de_Prescription` date DEFAULT NULL,
|
||||
`DATE_CREATION` date DEFAULT NULL,
|
||||
`hosp` varchar(20) DEFAULT NULL,
|
||||
`commentaire` text,
|
||||
`CODE_ECHANTILLONS` char(50) DEFAULT NULL,
|
||||
`MATRICULE_ANALYSE` char(50) DEFAULT NULL,
|
||||
`CODE_MEDECIN` varchar(15) DEFAULT NULL,
|
||||
`SERVICES` varchar(25) DEFAULT NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
||||
|
||||
--
|
||||
-- Contenu de la table `resultatglobale`
|
||||
--
|
||||
|
||||
INSERT INTO `resultatglobale` (`CODE_MALADE`, `noms`, `nom`, `CODE_PARAMETRE`, `Valeur1`, `val2`, `val3`, `val4`, `date1`, `date2`, `date3`, `date4`, `unite`, `groupe`, `bornemin`, `bornemax`, `code_dossier`, `TYPE`, `sous_groupe`, `Date_prelevement`, `date_analyse`, `sexe`, `age`, `mois`, `lieu_de_naissance`, `laboratoire`, `MedecinTraitant`, `TELEPHONE`, `Date_de_Prescription`, `DATE_CREATION`, `hosp`, `commentaire`, `CODE_ECHANTILLONS`, `MATRICULE_ANALYSE`, `CODE_MEDECIN`, `SERVICES`) VALUES
|
||||
('00003P18', 'Mr KAMDOUM Jules', 'Protéinuries', 'CZ', '5.00', '', '', '', '2018-01-05', NULL, NULL, NULL, 'mol/l', 'Urine', 'N/A', 'N/A', '001DS05-01-18', 'Biochimie', '', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'BIOCHIMIE', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001CZ05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', 'poly. neutrophile (PNN)', 'BF', '215.10', '27.46', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'giga/l', 'Formule leucoytaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001BF05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', '% polynucléaire neutrophile PNN', 'AB', '45.00', '42.25', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '%', 'Formule leucoytaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AB05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', 'poly. éosinophiles (PNE)', 'BH', '124.27', '196.46', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'giga/l', 'Formule leucoytaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001BH05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', '% polynucléaire éosinophile (PNE', 'AC', '26.00', '302.25', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '%', 'Formule leucoytaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AC05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', 'poly. Basophile (PNB)', 'BG', '162.52', '196.30', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'giga/l', 'Formule leucoytaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001BG05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', '% polynucléaire Basophile (PNB)', 'AD', '34.00', '302.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '%', 'Formule leucoytaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AD05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', 'lymphocyte', 'BI', '4.78', '277.15', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'giga/l', 'Formule leucoytaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001BI05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', '% lymphocyte (Lympho)', 'AF', '1.00', '426.39', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '%', 'Formule leucoytaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AF05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', 'monocyte', 'BJ', '23.89', '1.68', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'G/l', 'Formule leucoytaire', '0.2', '0.8', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001BJ05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', '% monocyte (Mono)', 'AE', '5.00', '2.58', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '%', 'Formule leucoytaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AE05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', 'Hématies', 'AT', '124.00', '4.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'téra/l', 'Numerisation globulaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AT05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', 'Hémoglobine', 'AU', '78.00', '64.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'g/dl', 'Numerisation globulaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AU05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', 'Hematocrite', 'AV', '45.00', '342.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '%', 'Numerisation globulaire', '0.37', '0.46', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AV05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', 'VGM', 'AW', '76.00', '54.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'u3', 'Numerisation globulaire', '85', '95', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AW05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', 'CCMH', 'AY', '98.00', '8.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, NULL, 'Numerisation globulaire', '18', '22', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AY05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', 'TCMH', 'AX', '76.00', '6.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'pg', 'Numerisation globulaire', '27', '32', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AX05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', 'Indice de distribution GR', 'AZ', '87.00', '4.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '', 'Numerisation globulaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AZ05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', 'IDR-DS', 'BA', '23.00', '5.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '', 'Numerisation globulaire', '19000', '90000', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001BA05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', 'Nombres de Globule Blanc', 'AA', '478.00', '65.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'giga/l', 'Numerisation globulaire', '13400', '123000', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001AA05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', 'Plaquette', 'BB', '98.00', '54.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, 'giga/l', 'Numerisation Plaquettaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001BB05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', 'VMP', 'BC', '45.00', '1.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '', 'Numerisation Plaquettaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001BC05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', 'IDP', 'BD', '31.00', '46.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '', 'Numerisation Plaquettaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001BD05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00003P18', 'Mr KAMDOUM Jules', 'PCT', 'BE', '8.00', '548.00', '', '', '2018-01-05', '2018-01-05', NULL, NULL, '%', 'Numerisation Plaquettaire', 'N/A', 'N/A', '001DS05-01-18', 'NFS', 'Numération formule sanguine', '2018-01-05', '2018-01-05', 'M', '18 ans', 216, '', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Interne', '', '001BE05-01-18', 'P001', '001MD18', 'Chirurgie A'),
|
||||
('00004P18', 'Mme/Mlle NGO''SEAM Madeleine', 'Temps de Saignement', 'AI', '6.00', '', '', '', '2018-01-05', NULL, NULL, NULL, 'mm/s', 'TS/TC', 'N/A', 'N/A', '002DS05-01-18', 'TS/TC', 'Hémostase', '2018-01-05', '2018-01-05', 'F', '30 ans', 360, 'TOUGANG', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Externe', '', '001AI05-01-18', 'P001', '001MD18', 'HBD'),
|
||||
('00004P18', 'Mme/Mlle NGO''SEAM Madeleine', 'Temps de Coagulation', 'AJ', '8.00', '', '', '', '2018-01-05', NULL, NULL, NULL, 'mm/s', 'TS/TC', 'N/A', 'N/A', '002DS05-01-18', 'TS/TC', 'Hémostase', '2018-01-05', '2018-01-05', 'F', '30 ans', 360, 'TOUGANG', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Externe', '', '001AJ05-01-18', 'P001', '001MD18', 'HBD'),
|
||||
('00004P18', 'Mme/Mlle NGO''SEAM Madeleine', 'Prémiere Heures', 'AH', '4.00', '', '', '', '2018-01-05', NULL, NULL, NULL, 'mm/s', 'Vitesse de sedimentation', '3', '7', '002DS05-01-18', 'VS', 'Hémostase', '2018-01-05', '2018-01-05', 'F', '30 ans', 360, 'TOUGANG', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Externe', '', '001AH05-01-18', 'P001', '001MD18', 'HBD'),
|
||||
('00004P18', 'Mme/Mlle NGO''SEAM Madeleine', 'Deuxieme Heures', 'AG', '5.00', '', '', '', '2018-01-05', NULL, NULL, NULL, 'mm/s', 'Vitesse de sedimentation', 'N/A', 'N/A', '002DS05-01-18', 'VS', 'Hémostase', '2018-01-05', '2018-01-05', 'F', '30 ans', 360, 'TOUGANG', 'Hématologie', 'TAMOKWE Germie', '6 99 87 87 87', '2018-01-05', '2018-01-05', 'Externe', '', '001AG05-01-18', 'P001', '001MD18', 'HBD'),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'Groupe Sanguin et Rhesus', 'AM', 'A+', '', '', '', '2018-01-08', NULL, NULL, NULL, NULL, 'GS', 'N/A', 'N/A', '001DS06-01-18', 'GS', 'GS', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AM08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'Temps de cephaline activer', 'AK', '24.00', '', '', '', '2018-01-08', NULL, NULL, NULL, 'S', 'TCK/TQ', 'N/A', 'N/A', '001DS08-01-18', 'TCK/TQ', 'Hémostase', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'SIKATI Paul Rene', '6 89 85 87 47', '2018-01-08', '2018-01-08', 'Interne', '', '001AK08-01-18', 'P001', '002MD18', 'médecine F'),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'Temps de quit', 'AL', '12.00', '', '', '', '2018-01-08', NULL, NULL, NULL, 'S', 'TCK/TQ', 'N/A', 'N/A', '001DS08-01-18', 'TCK/TQ', 'Hémostase', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'SIKATI Paul Rene', '6 89 85 87 47', '2018-01-08', '2018-01-08', 'Interne', '', '001AL08-01-18', 'P001', '002MD18', 'médecine F'),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'Prémiere Heures', 'AH', '4.00', '', '', '', '2018-01-06', NULL, NULL, NULL, 'mm/s', 'Vitesse de sedimentation', '3', '7', '001DS06-01-18', 'VS', 'Hémostase', '2018-01-06', '2018-01-06', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-06', '2018-01-06', 'Interne', '', '001AH06-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'Deuxieme Heures', 'AG', '5.00', '', '', '', '2018-01-06', NULL, NULL, NULL, 'mm/s', 'Vitesse de sedimentation', 'N/A', 'N/A', '001DS06-01-18', 'VS', 'Hémostase', '2018-01-06', '2018-01-06', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-06', '2018-01-06', 'Interne', '', '001AG06-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'poly. neutrophile (PNN)', 'BF', '1108.52', '', '', '', '2018-01-08', NULL, NULL, NULL, 'giga/l', 'Formule leucoytaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001BF08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', '% polynucléaire neutrophile PNN', 'AB', '74.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '%', 'Formule leucoytaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AB08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'poly. éosinophiles (PNE)', 'BH', '674.09', '', '', '', '2018-01-08', NULL, NULL, NULL, 'giga/l', 'Formule leucoytaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001BH08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', '% polynucléaire éosinophile (PNE', 'AC', '45.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '%', 'Formule leucoytaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AC08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'poly. Basophile (PNB)', 'BG', '74.90', '', '', '', '2018-01-08', NULL, NULL, NULL, 'giga/l', 'Formule leucoytaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001BG08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', '% polynucléaire Basophile (PNB)', 'AD', '5.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '%', 'Formule leucoytaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AD08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'lymphocyte', 'BI', '614.17', '', '', '', '2018-01-08', NULL, NULL, NULL, 'giga/l', 'Formule leucoytaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001BI08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', '% lymphocyte (Lympho)', 'AF', '41.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '%', 'Formule leucoytaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AF08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'monocyte', 'BJ', '629.15', '', '', '', '2018-01-08', NULL, NULL, NULL, 'G/l', 'Formule leucoytaire', '0.2', '0.8', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001BJ08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', '% monocyte (Mono)', 'AE', '42.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '%', 'Formule leucoytaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AE08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'Hématies', 'AT', '5.00', '', '', '', '2018-01-08', NULL, NULL, NULL, 'téra/l', 'Numerisation globulaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AT08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'Hémoglobine', 'AU', '62.00', '', '', '', '2018-01-08', NULL, NULL, NULL, 'g/dl', 'Numerisation globulaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AU08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'Hematocrite', 'AV', '41.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '%', 'Numerisation globulaire', '0.37', '0.46', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AV08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'VGM', 'AW', '12.00', '', '', '', '2018-01-08', NULL, NULL, NULL, 'u3', 'Numerisation globulaire', '85', '95', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AW08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'CCMH', 'AY', '44.00', '', '', '', '2018-01-08', NULL, NULL, NULL, NULL, 'Numerisation globulaire', '18', '22', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AY08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'TCMH', 'AX', '74.00', '', '', '', '2018-01-08', NULL, NULL, NULL, 'pg', 'Numerisation globulaire', '27', '32', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AX08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'Indice de distribution GR', 'AZ', '45.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '', 'Numerisation globulaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AZ08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'IDR-DS', 'BA', '41.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '', 'Numerisation globulaire', '19000', '90000', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001BA08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'Nombres de Globule Blanc', 'AA', '1498.00', '', '', '', '2018-01-08', NULL, NULL, NULL, 'giga/l', 'Numerisation globulaire', '13400', '123000', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001AA08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'Plaquette', 'BB', '7.00', '', '', '', '2018-01-08', NULL, NULL, NULL, 'giga/l', 'Numerisation Plaquettaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001BB08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'VMP', 'BC', '12.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '', 'Numerisation Plaquettaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001BC08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'IDP', 'BD', '54.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '', 'Numerisation Plaquettaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001BD08-01-18', 'P001', '003MD18', ''),
|
||||
('00005P18', 'Mr BOLOGA Pierre Marie', 'PCT', 'BE', '74.00', '', '', '', '2018-01-08', NULL, NULL, NULL, '%', 'Numerisation Plaquettaire', 'N/A', 'N/A', '001DS06-01-18', 'NFS', 'Numération formule sanguine', '2018-01-08', '2018-01-08', 'M', '20 ans', 240, 'BAMYAN', 'Hématologie', 'FOTSO DEFO Kevin', '6 55 84 58 74', '2018-01-08', '2018-01-06', 'Interne', '', '001BE08-01-18', 'P001', '003MD18', '');
|
46
demo_r1/demo_reports/pu/mylite.py
Normal file
46
demo_r1/demo_reports/pu/mylite.py
Normal file
@ -0,0 +1,46 @@
|
||||
#! /usr/bin/python
|
||||
# coding: utf-8
|
||||
|
||||
"""Copy table from mysql to sqlite.
|
||||
Require:
|
||||
* SQLAlchemy
|
||||
* MySQLdb or PyMySQL
|
||||
Usage:
|
||||
mylite.py "mysql+pymysql://user:password@host/db?charset=utf8" "sqlite:///out.db" table_name [table_name2...]
|
||||
"""
|
||||
|
||||
import sqlalchemy as sa
|
||||
from sqlalchemy.ext.compiler import compiles
|
||||
from sqlalchemy.dialects import mysql
|
||||
|
||||
@compiles(mysql.TINYINT, 'sqlite')
|
||||
@compiles(mysql.SMALLINT, 'sqlite')
|
||||
def compile_sqlite_tinyint(type_, compiler, **kw):
|
||||
return 'INTEGER'
|
||||
|
||||
@compiles(mysql.LONGBLOB, 'sqlite')
|
||||
def compile_sqlite_tinyint(type_, compiler, **kw):
|
||||
return 'BLOB'
|
||||
|
||||
|
||||
def copy_table(my_engine, lite_engine, table_name):
|
||||
meta = sa.MetaData(my_engine)
|
||||
table = sa.Table(table_name, meta, autoload=True)
|
||||
|
||||
lite_engine.execute("DROP TABLE IF EXISTS " + table_name)
|
||||
table.create(lite_engine)
|
||||
|
||||
rows = my_engine.execute(table.select()).fetchall()
|
||||
with lite_engine.begin() as con:
|
||||
for row in rows:
|
||||
con.execute(table.insert().values(**row))
|
||||
|
||||
def main():
|
||||
import sys
|
||||
mysql = sa.create_engine(sys.argv[1])
|
||||
lite = sa.create_engine(sys.argv[2])
|
||||
for table in sys.argv[3:]:
|
||||
copy_table(mysql, lite, table)
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
BIN
demo_r1/demo_reports/pu/out.db
Normal file
BIN
demo_r1/demo_reports/pu/out.db
Normal file
Binary file not shown.
1525
demo_r1/demo_reports/pu/test.lrxml
Normal file
1525
demo_r1/demo_reports/pu/test.lrxml
Normal file
File diff suppressed because it is too large
Load Diff
1953
demo_r1/demo_reports/pu/test1.lrxml
Normal file
1953
demo_r1/demo_reports/pu/test1.lrxml
Normal file
File diff suppressed because it is too large
Load Diff
1953
demo_r1/demo_reports/pu/test_new.lrxml
Normal file
1953
demo_r1/demo_reports/pu/test_new.lrxml
Normal file
File diff suppressed because it is too large
Load Diff
1870
demo_r1/demo_reports/pu/test_new1.lrxml
Normal file
1870
demo_r1/demo_reports/pu/test_new1.lrxml
Normal file
File diff suppressed because it is too large
Load Diff
105
demo_r1/demo_reports/test_connection.lrxml
Normal file
105
demo_r1/demo_reports/test_connection.lrxml
Normal file
@ -0,0 +1,105 @@
|
||||
<?xml version="1.0" encoding="UTF8"?>
|
||||
<Report>
|
||||
<object ClassName="LimeReport::ReportEnginePrivate" Type="Object">
|
||||
<objectName Type="QString"></objectName>
|
||||
<pages Type="Collection">
|
||||
<item ClassName="LimeReport::PageDesignIntf" Type="Object">
|
||||
<objectName Type="QString">page1</objectName>
|
||||
<sceneRect width="2200" Type="QRect" x="-50" y="-50" height="3070"/>
|
||||
<bspTreeDepth Type="int" Value="5"/>
|
||||
<font stylename="" family="MS Shell Dlg 2" weight="50" Type="QFont" pointSize="8" underline="0" italic="0"/>
|
||||
<sortCacheEnabled Type="bool" Value="0"/>
|
||||
<stickyFocus Type="bool" Value="0"/>
|
||||
<minimumRenderSize Type="qreal" Value="0"/>
|
||||
<pageItem ClassName="PageItem" Type="Object">
|
||||
<objectName Type="QString">Reportpage1</objectName>
|
||||
<geometry width="2100" Type="QRect" x="0" y="0" height="2970"/>
|
||||
<children Type="Collection">
|
||||
<item ClassName="TextItem" Type="Object">
|
||||
<objectName Type="QString">TextItem1</objectName>
|
||||
<geometry width="468" Type="QRect" x="112" y="92" height="50"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">Reportpage1</parentName>
|
||||
<borderLineSize Type="int" Value="1"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="1"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString">Test connecton</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="33"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font stylename="" family="Arial" weight="50" Type="QFont" pointSize="10" underline="0" italic="0"/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="1"/>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<fontColor Type="QColor" Value="#000000"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
</item>
|
||||
</children>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString"></parentName>
|
||||
<borderLineSize Type="int" Value="1"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<topMargin Type="int" Value="5"/>
|
||||
<bottomMargin Type="int" Value="5"/>
|
||||
<rightMargin Type="int" Value="5"/>
|
||||
<leftMargin Type="int" Value="5"/>
|
||||
<pageOrientation Type="enumAndFlags" Value="0"/>
|
||||
<pageSize Type="enumAndFlags" Value="0"/>
|
||||
<gridStep Type="int" Value="2"/>
|
||||
<fullPage Type="bool" Value="0"/>
|
||||
<oldPrintMode Type="bool" Value="0"/>
|
||||
<resetPageNumber Type="bool" Value="0"/>
|
||||
</pageItem>
|
||||
</item>
|
||||
</pages>
|
||||
<datasourcesManager ClassName="LimeReport::DataSourceManager" Type="Object">
|
||||
<objectName Type="QString">datasources</objectName>
|
||||
<connections Type="Collection">
|
||||
<item ClassName="LimeReport::ConnectionDesc" Type="Object">
|
||||
<objectName Type="QString"></objectName>
|
||||
<name Type="QString">test</name>
|
||||
<driver Type="QString">QMYSQL</driver>
|
||||
<databaseName Type="QString">test</databaseName>
|
||||
<userName Type="QString">root</userName>
|
||||
<password Type="QString" Value="mxkMVS4YRXMqBR3LfB/KrA=="/>
|
||||
<host Type="QString">localhost</host>
|
||||
<autoconnect Type="bool" Value="1"/>
|
||||
<keepDBCredentials Type="bool" Value="1"/>
|
||||
<port Type="int" Value="3306"/>
|
||||
</item>
|
||||
</connections>
|
||||
<queries Type="Collection"/>
|
||||
<subqueries Type="Collection"/>
|
||||
<subproxies Type="Collection"/>
|
||||
<variables Type="Collection"/>
|
||||
</datasourcesManager>
|
||||
<scriptContext ClassName="LimeReport::ScriptEngineContext" Type="Object">
|
||||
<objectName Type="QString"></objectName>
|
||||
<dialogs Type="Collection"/>
|
||||
<initScript Type="QString"></initScript>
|
||||
</scriptContext>
|
||||
<suppressFieldAndVarError Type="bool" Value="0"/>
|
||||
</object>
|
||||
</Report>
|
139
demo_r1/demo_reports/test_js.lrxml
Normal file
139
demo_r1/demo_reports/test_js.lrxml
Normal file
@ -0,0 +1,139 @@
|
||||
<?xml version="1.0" encoding="UTF8"?>
|
||||
<Report>
|
||||
<object ClassName="LimeReport::ReportEnginePrivate" Type="Object">
|
||||
<objectName Type="QString"></objectName>
|
||||
<pages Type="Collection">
|
||||
<item ClassName="LimeReport::PageDesignIntf" Type="Object">
|
||||
<objectName Type="QString">page1</objectName>
|
||||
<sceneRect height="3070" Type="QRect" x="-50" y="-50" width="2200"/>
|
||||
<bspTreeDepth Type="int" Value="5"/>
|
||||
<font italic="0" underline="0" stylename="" Type="QFont" family="MS Shell Dlg 2" weight="50" pointSize="8"/>
|
||||
<sortCacheEnabled Type="bool" Value="0"/>
|
||||
<stickyFocus Type="bool" Value="0"/>
|
||||
<minimumRenderSize Type="qreal" Value="0"/>
|
||||
<pageItem ClassName="PageItem" Type="Object">
|
||||
<objectName Type="QString">Reportpage1</objectName>
|
||||
<geometry height="2970" Type="QRect" x="0" y="0" width="2100"/>
|
||||
<children Type="Collection">
|
||||
<item ClassName="TextItem" Type="Object">
|
||||
<objectName Type="QString">TextItem1</objectName>
|
||||
<geometry height="50" Type="QRect" x="156" y="100" width="200"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">Reportpage1</parentName>
|
||||
<borderLineSize Type="int" Value="1"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="1"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString">$S{testString()}</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="33"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font italic="0" underline="0" stylename="" Type="QFont" family="Arial" weight="50" pointSize="10"/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="1"/>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<fontColor Type="QColor" Value="#000000"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
<watermark Type="bool" Value="0"/>
|
||||
</item>
|
||||
<item ClassName="TextItem" Type="Object">
|
||||
<objectName Type="QString">TextItem2</objectName>
|
||||
<geometry height="50" Type="QRect" x="362" y="100" width="200"/>
|
||||
<children Type="Collection"/>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString">Reportpage1</parentName>
|
||||
<borderLineSize Type="int" Value="1"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<itemLocation Type="enumAndFlags" Value="1"/>
|
||||
<stretchToMaxHeight Type="bool" Value="0"/>
|
||||
<itemAlign Type="enumAndFlags" Value="4"/>
|
||||
<content Type="QString">$S{testInt()}</content>
|
||||
<margin Type="int" Value="4"/>
|
||||
<alignment Type="enumAndFlags" Value="33"/>
|
||||
<autoWidth Type="enumAndFlags" Value="0"/>
|
||||
<autoHeight Type="bool" Value="0"/>
|
||||
<font italic="0" underline="0" stylename="" Type="QFont" family="Arial" weight="50" pointSize="10"/>
|
||||
<backgroundOpacity Type="int" Value="100"/>
|
||||
<backgroundMode Type="enumAndFlags" Value="1"/>
|
||||
<backgroundColor Type="QColor" Value="#ffffff"/>
|
||||
<fontColor Type="QColor" Value="#000000"/>
|
||||
<angle Type="enumAndFlags" Value="0"/>
|
||||
<foregroundOpacity Type="int" Value="100"/>
|
||||
<underlines Type="bool" Value="0"/>
|
||||
<adaptFontToSize Type="bool" Value="0"/>
|
||||
<trimValue Type="bool" Value="1"/>
|
||||
<lineSpacing Type="int" Value="1"/>
|
||||
<underlineLineSize Type="int" Value="1"/>
|
||||
<allowHTML Type="bool" Value="0"/>
|
||||
<allowHTMLInFields Type="bool" Value="0"/>
|
||||
<format Type="QString"></format>
|
||||
<valueType Type="enumAndFlags" Value="0"/>
|
||||
<followTo Type="QString"></followTo>
|
||||
<backgroundBrushStyle Type="enumAndFlags" Value="1"/>
|
||||
<textIndent Type="qreal" Value="0"/>
|
||||
<textLayoutDirection Type="enumAndFlags" Value="2"/>
|
||||
<watermark Type="bool" Value="0"/>
|
||||
</item>
|
||||
</children>
|
||||
<zOrder Type="qreal" Value="0"/>
|
||||
<borders Type="enumAndFlags" Value="0"/>
|
||||
<parentName Type="QString"></parentName>
|
||||
<borderLineSize Type="int" Value="1"/>
|
||||
<isVisible Type="bool" Value="1"/>
|
||||
<borderColor Type="QColor" Value="#000000"/>
|
||||
<topMargin Type="int" Value="5"/>
|
||||
<bottomMargin Type="int" Value="5"/>
|
||||
<rightMargin Type="int" Value="5"/>
|
||||
<leftMargin Type="int" Value="5"/>
|
||||
<pageOrientation Type="enumAndFlags" Value="0"/>
|
||||
<pageSize Type="enumAndFlags" Value="0"/>
|
||||
<gridStep Type="int" Value="2"/>
|
||||
<fullPage Type="bool" Value="0"/>
|
||||
<oldPrintMode Type="bool" Value="0"/>
|
||||
<resetPageNumber Type="bool" Value="0"/>
|
||||
</pageItem>
|
||||
</item>
|
||||
</pages>
|
||||
<datasourcesManager ClassName="LimeReport::DataSourceManager" Type="Object">
|
||||
<objectName Type="QString">datasources</objectName>
|
||||
<connections Type="Collection"/>
|
||||
<queries Type="Collection"/>
|
||||
<subqueries Type="Collection"/>
|
||||
<subproxies Type="Collection"/>
|
||||
<variables Type="Collection"/>
|
||||
</datasourcesManager>
|
||||
<scriptContext ClassName="LimeReport::ScriptEngineContext" Type="Object">
|
||||
<objectName Type="QString"></objectName>
|
||||
<dialogs Type="Collection"/>
|
||||
<initScript Type="QString">function testString(){
|
||||
return "Test";
|
||||
}
|
||||
|
||||
function testInt(){
|
||||
return 42;
|
||||
}</initScript>
|
||||
</scriptContext>
|
||||
<suppressFieldAndVarError Type="bool" Value="0"/>
|
||||
</object>
|
||||
</Report>
|
BIN
demo_r1/demo_reports/test_js.zip
Normal file
BIN
demo_r1/demo_reports/test_js.zip
Normal file
Binary file not shown.
6
demo_r1/global.h
Normal file
6
demo_r1/global.h
Normal file
@ -0,0 +1,6 @@
|
||||
#ifndef GLOBAL_H
|
||||
#define GLOBAL_H
|
||||
#include <QString>
|
||||
QString test = "ttttt";
|
||||
|
||||
#endif // GLOBAL_H
|
@ -116,6 +116,7 @@ public:
|
||||
QList<QLocale::Language> designerLanguages();
|
||||
QLocale::Language currentDesignerLanguage();
|
||||
signals:
|
||||
void cleared();
|
||||
void renderStarted();
|
||||
void renderFinished();
|
||||
void renderPageFinished(int renderedPageCount);
|
||||
|
3724
limereport/limereport_ar.ts
Normal file
3724
limereport/limereport_ar.ts
Normal file
File diff suppressed because it is too large
Load Diff
3724
limereport/limereport_es_ES.ts
Normal file
3724
limereport/limereport_es_ES.ts
Normal file
File diff suppressed because it is too large
Load Diff
3724
limereport/limereport_fr.ts
Normal file
3724
limereport/limereport_fr.ts
Normal file
File diff suppressed because it is too large
Load Diff
3724
limereport/limereport_ru.ts
Normal file
3724
limereport/limereport_ru.ts
Normal file
File diff suppressed because it is too large
Load Diff
3724
limereport/limereport_zh.ts
Normal file
3724
limereport/limereport_zh.ts
Normal file
File diff suppressed because it is too large
Load Diff
@ -949,9 +949,11 @@ void BandDesignIntf::setPrintIfEmpty(bool printIfEmpty)
|
||||
BandDesignIntf *BandDesignIntf::bandHeader()
|
||||
{
|
||||
foreach (BandDesignIntf* band, childBands()) {
|
||||
if (band->isHeader() && !band->isGroupHeader())
|
||||
if (band->isHeader() && !band->isGroupHeader()){
|
||||
if (band->columnsCount() > 1) band->setColumnsFillDirection(this->columnsFillDirection());
|
||||
return band;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -47,6 +47,7 @@ void ReportRender::initColumns(){
|
||||
m_currentStartDataPos.clear();
|
||||
m_maxHeightByColumn.append(0);
|
||||
m_currentStartDataPos.append(0);
|
||||
m_currentColumn = 0;
|
||||
}
|
||||
|
||||
bool ReportRender::isNeedToRearrangeColumnsItems()
|
||||
@ -141,7 +142,7 @@ qreal ReportRender::maxColumnHeight()
|
||||
void ReportRender::renameChildItems(BaseDesignIntf *item){
|
||||
foreach(BaseDesignIntf* child, item->childBaseItems()){
|
||||
if (!child->childBaseItems().isEmpty()) renameChildItems(child);
|
||||
child->setObjectName(child->metaObject()->className()+QString::number(++m_curentNameIndex));
|
||||
child->setObjectName(child->metaObject()->className()+QString::number(++m_currentNameIndex));
|
||||
}
|
||||
}
|
||||
|
||||
@ -189,7 +190,7 @@ void ReportRender::initDatasource(const QString& name){
|
||||
|
||||
void ReportRender::renderPage(PageItemDesignIntf* patternPage, bool isTOC, bool isFirst, bool resetPageNumbers)
|
||||
{
|
||||
m_curentNameIndex = 0;
|
||||
m_currentNameIndex = 0;
|
||||
m_patternPageItem = patternPage;
|
||||
m_renderingFirstTOC = isTOC && isFirst;
|
||||
|
||||
@ -727,9 +728,7 @@ void ReportRender::renderChildBands(BandDesignIntf *parentBand)
|
||||
if (!band->datasourceName().isEmpty())
|
||||
ds = m_datasources->dataSource(band->datasourceName());
|
||||
if (ds) ds->first();
|
||||
//renderChildHeader(band,PrintAlwaysPrintable);
|
||||
renderDataBand(band);
|
||||
//renderChildFooter(band,PrintAlwaysPrintable);
|
||||
closeFooterGroup(band);
|
||||
}
|
||||
}
|
||||
@ -777,7 +776,7 @@ void ReportRender::renderGroupHeader(BandDesignIntf *parentBand, IDataSource* da
|
||||
bool didGoBack = dataSource->prior();
|
||||
foreach (BandDesignIntf* subBand, band->childrenByType(BandDesignIntf::GroupHeader)) {
|
||||
foreach(BandDesignIntf* footer, subBand->childrenByType(BandDesignIntf::GroupFooter)){
|
||||
renderBand(footer, 0);
|
||||
renderBand(footer, 0, StartNewPageAsNeeded);
|
||||
}
|
||||
closeDataGroup(subBand);
|
||||
}
|
||||
@ -959,10 +958,31 @@ qreal minVectorValue(QVector<qreal> vector){
|
||||
return curValue;
|
||||
}
|
||||
|
||||
void ReportRender::placeBandOnPage(BandDesignIntf* band, int columnIndex){
|
||||
|
||||
qreal bandPos = m_currentStartDataPos[columnIndex];
|
||||
|
||||
m_currentStartDataPos[columnIndex] += band->height();
|
||||
m_maxHeightByColumn[columnIndex] -= band->height();
|
||||
band->setPos(m_renderPageItem->pageRect().x()+band->width()*columnIndex, bandPos);
|
||||
band->setBandIndex(++m_currentIndex);
|
||||
band->setColumnIndex(columnIndex);
|
||||
|
||||
m_renderPageItem->registerBand(band);
|
||||
m_currentColumn = columnIndex;
|
||||
}
|
||||
|
||||
bool isMultiColumnHeader(BandDesignIntf* band){
|
||||
return ( (band->columnsCount() > 1 ) &&
|
||||
(band->isHeader() &&
|
||||
((band->bandNestingLevel() == 0) || (band->columnsFillDirection() == BandDesignIntf::Horizontal))));
|
||||
}
|
||||
|
||||
bool ReportRender::registerBand(BandDesignIntf *band, bool registerInChildren)
|
||||
{
|
||||
if (band->columnsCount()==1 && m_maxHeightByColumn.size()>1){
|
||||
if (band->bandType()!=BandDesignIntf::PageFooter){
|
||||
|
||||
if (band->columnsCount() == 1 && m_maxHeightByColumn.size() > 1 ){
|
||||
if (band->bandType() != BandDesignIntf::PageFooter){
|
||||
rearrangeColumnsItems();
|
||||
m_currentColumn = 0;
|
||||
qreal minValue = minVectorValue(m_maxHeightByColumn);
|
||||
@ -974,63 +994,64 @@ bool ReportRender::registerBand(BandDesignIntf *band, bool registerInChildren)
|
||||
}
|
||||
}
|
||||
|
||||
if ( (band->columnsCount()>1) &&
|
||||
(!band->isHeader() || (band->bandNestingLevel()>0 && band->columnsFillDirection() != BandDesignIntf::Horizontal ))){
|
||||
|
||||
if (m_maxHeightByColumn.size()!=band->columnsCount()){
|
||||
if (band->columnsCount() != m_maxHeightByColumn.size()){
|
||||
for(int i=1;i<band->columnsCount();++i){
|
||||
m_maxHeightByColumn.append(m_maxHeightByColumn[0]);
|
||||
m_currentStartDataPos.append(m_currentStartDataPos[0]);
|
||||
}
|
||||
m_currentColumn = 0;
|
||||
} else {
|
||||
if (band->columnsFillDirection()==BandDesignIntf::Horizontal){
|
||||
}
|
||||
|
||||
|
||||
if ( (band->columnsCount() > 1) &&
|
||||
(!band->isHeader() || (band->bandNestingLevel() > 0 && band->columnsFillDirection() != BandDesignIntf::Horizontal ))){
|
||||
|
||||
if (band->columnsFillDirection() == BandDesignIntf::Horizontal){
|
||||
if (m_currentColumn<band->columnsCount()-1)
|
||||
m_currentColumn = m_currentColumn+1;
|
||||
else
|
||||
m_currentColumn = 0;
|
||||
} else {
|
||||
if ( (m_maxHeightByColumn[0] == m_maxHeightByColumn[m_currentColumn]) && (m_maxHeightByColumn[0] >= band->height()) ){
|
||||
m_currentColumn = 0;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (band->height() <= m_maxHeightByColumn[m_currentColumn] || m_patternPageItem->endlessHeight()){
|
||||
if ( (band->height() <= m_maxHeightByColumn[m_currentColumn]) ||
|
||||
m_patternPageItem->endlessHeight() ||
|
||||
(isMultiColumnHeader(band) && (band->height() <= m_maxHeightByColumn[0]))
|
||||
){
|
||||
|
||||
if (band->bandType()==BandDesignIntf::PageFooter){
|
||||
for (int i=0;i<m_maxHeightByColumn.size();++i)
|
||||
if ( (band->bandType() == BandDesignIntf::PageFooter) ){
|
||||
for (int i=0; i < m_maxHeightByColumn.size(); ++i)
|
||||
m_maxHeightByColumn[i]+=band->height();
|
||||
}
|
||||
|
||||
if ( isMultiColumnHeader(band)){
|
||||
|
||||
if (!band->parent()){
|
||||
for (int i = 0; i < band->columnsCount(); ++i){
|
||||
m_currentColumn = i;
|
||||
if (i != 0) band = dynamic_cast<BandDesignIntf*>(band->cloneItem(PreviewMode));
|
||||
placeBandOnPage(band, i);
|
||||
}
|
||||
} else {
|
||||
m_maxHeightByColumn[m_currentColumn]-=band->height();
|
||||
placeBandOnPage(band, band->columnIndex());
|
||||
}
|
||||
|
||||
if ( (band->columnsCount()>1) &&
|
||||
(band->isHeader() && (band->bandNestingLevel()==0 || band->columnsFillDirection()==BandDesignIntf::Horizontal))){
|
||||
|
||||
qreal bandPos = m_currentStartDataPos[m_currentColumn];
|
||||
m_currentStartDataPos[m_currentColumn]+=band->height();
|
||||
for (int i=0;i<band->columnsCount();++i){
|
||||
if (i!=0) band = dynamic_cast<BandDesignIntf*>(band->cloneItem(PreviewMode));
|
||||
band->setPos(m_renderPageItem->pageRect().x()+band->width()*i,bandPos);
|
||||
band->setBandIndex(++m_currentIndex);
|
||||
band->setColumnIndex(i);
|
||||
m_renderPageItem->registerBand(band);
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
if (band->bandType()!=BandDesignIntf::PageFooter){
|
||||
band->setPos(m_renderPageItem->pageRect().x()+band->width()*m_currentColumn,
|
||||
m_currentStartDataPos[m_currentColumn]);
|
||||
m_currentStartDataPos[m_currentColumn]+=band->height();
|
||||
band->setBandIndex(++m_currentIndex);
|
||||
band->setColumnIndex(m_currentColumn);
|
||||
if (band->bandType() != BandDesignIntf::PageFooter){
|
||||
placeBandOnPage(band, m_currentColumn);
|
||||
}
|
||||
|
||||
if (band->columnsCount()>1){
|
||||
if (band->columnsCount() > 1){
|
||||
m_columnedBandItems.append(band);
|
||||
}
|
||||
|
||||
m_renderPageItem->registerBand(band);
|
||||
}
|
||||
|
||||
foreach(QList<BandDesignIntf*>* list,m_childBands.values()){
|
||||
@ -1046,7 +1067,7 @@ bool ReportRender::registerBand(BandDesignIntf *band, bool registerInChildren)
|
||||
}
|
||||
|
||||
if (band->isData()) m_renderedDataBandCount++;
|
||||
band->setObjectName(band->objectName()+QString::number(++m_curentNameIndex));
|
||||
band->setObjectName(band->objectName()+QString::number(++m_currentNameIndex));
|
||||
renameChildItems(band);
|
||||
if (m_lastDataBand){
|
||||
#ifdef HAVE_QT4
|
||||
@ -1195,9 +1216,7 @@ void ReportRender::startNewColumn(){
|
||||
void ReportRender::startNewPage(bool isFirst)
|
||||
{
|
||||
m_renderPageItem = 0;
|
||||
m_currentColumn = 0;
|
||||
m_newPageStarted = true;
|
||||
|
||||
initColumns();
|
||||
initRenderPage();
|
||||
|
||||
@ -1311,8 +1330,14 @@ void ReportRender::pasteGroups()
|
||||
m_popupedValues.clear();
|
||||
}
|
||||
|
||||
bool bandLessThen(BandDesignIntf* b1, BandDesignIntf* b2){
|
||||
return b1->bandIndex() < b2->bandIndex();
|
||||
}
|
||||
|
||||
void ReportRender::checkLostHeadersOnPrevPage()
|
||||
{
|
||||
QVector<BandDesignIntf*> lostHeaders;
|
||||
|
||||
if (m_renderedPages.isEmpty()) return;
|
||||
PageItemDesignIntf::Ptr page = m_renderedPages.last();
|
||||
if (page->bands().isEmpty()) return;
|
||||
@ -1331,12 +1356,19 @@ void ReportRender::checkLostHeadersOnPrevPage()
|
||||
if (it.value()->isHeader()){
|
||||
if (it.value()->reprintOnEachPage()){
|
||||
delete it.value();
|
||||
} else { registerBand(it.value());}
|
||||
} else { lostHeaders.append(it.value());}
|
||||
it.remove();
|
||||
it.previous();
|
||||
} else break;
|
||||
}
|
||||
|
||||
if (lostHeaders.size() > 0){
|
||||
qSort(lostHeaders.begin(), lostHeaders.end(), bandLessThen);
|
||||
foreach(BandDesignIntf* header, lostHeaders){
|
||||
registerBand(header);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
BandDesignIntf* ReportRender::findEnclosingGroup()
|
||||
|
@ -162,6 +162,7 @@ private:
|
||||
void renderGroupFooterByHeader(BandDesignIntf *groupHeader);
|
||||
void updateTOC(BaseDesignIntf* item, int pageNumber);
|
||||
PagesRange& currentRange(bool isTOC = false){ return (isTOC) ? m_ranges.first(): m_ranges.last();}
|
||||
void placeBandOnPage(BandDesignIntf *band, int columnIndex);
|
||||
private:
|
||||
DataSourceManager* m_datasources;
|
||||
ScriptEngineContext* m_scriptEngineContext;
|
||||
@ -190,9 +191,10 @@ private:
|
||||
int m_currentColumn;
|
||||
QList<PagesRange> m_ranges;
|
||||
QVector<BandDesignIntf*> m_columnedBandItems;
|
||||
unsigned long long m_curentNameIndex;
|
||||
unsigned long long m_currentNameIndex;
|
||||
bool m_newPageStarted;
|
||||
bool m_renderingFirstTOC;
|
||||
|
||||
};
|
||||
} // namespace LimeReport
|
||||
#endif // LRREPORTRENDER_H
|
||||
|
BIN
tests/drive-download-20170623T111607Z-001.zip
Normal file
BIN
tests/drive-download-20170623T111607Z-001.zip
Normal file
Binary file not shown.
37
tests/tests.pro
Normal file
37
tests/tests.pro
Normal file
@ -0,0 +1,37 @@
|
||||
#-------------------------------------------------
|
||||
#
|
||||
# Project created by QtCreator 2017-06-20T01:13:06
|
||||
#
|
||||
#-------------------------------------------------
|
||||
|
||||
QT += testlib gui widgets
|
||||
|
||||
TARGET = tst_callbackdstest
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
|
||||
TEMPLATE = app
|
||||
|
||||
# The following define makes your compiler emit warnings if you use
|
||||
# any feature of Qt which as been marked as deprecated (the exact warnings
|
||||
# depend on your compiler). Please consult the documentation of the
|
||||
# deprecated API in order to know how to port your code away from it.
|
||||
DEFINES += QT_DEPRECATED_WARNINGS
|
||||
|
||||
# You can also make your code fail to compile if you use deprecated APIs.
|
||||
# In order to do so, uncomment the following line.
|
||||
# You can also select to disable deprecated APIs only up to a certain version of Qt.
|
||||
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
||||
include(../common.pri)
|
||||
include(../limereport/limereport.pri)
|
||||
|
||||
INCLUDEPATH += $$ZINT_PATH/backend $$ZINT_PATH/backend_qt4
|
||||
DEPENDPATH += $$ZINT_PATH/backend $$ZINT_PATH/backend_qt4
|
||||
LIBS += -L$${DEST_LIBS} -lQtZint
|
||||
|
||||
#LIBS += -L$${DEST_LIBS} -llimereport
|
||||
|
||||
SOURCES += \
|
||||
tst_callbackdstest.cpp
|
||||
|
||||
DEFINES += SRCDIR=\\\"$$PWD/\\\"
|
260
tests/tst_callbackdstest.cpp
Normal file
260
tests/tst_callbackdstest.cpp
Normal file
@ -0,0 +1,260 @@
|
||||
#include <QString>
|
||||
#include <QtTest>
|
||||
#include "../limereport/lrdatadesignintf.h"
|
||||
|
||||
class CallbackDSTest : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
CallbackDSTest();
|
||||
private:
|
||||
LimeReport::CallbackDatasource* m_testDS;
|
||||
LimeReport::CallbackDatasource* m_test1DS;
|
||||
int m_currentRow;
|
||||
protected Q_SLOTS:
|
||||
void slotTestOneSlotDS(LimeReport::CallbackInfo info, QVariant& data);
|
||||
void slotGetCallbackData(LimeReport::CallbackInfo info, QVariant& data);
|
||||
void slotChangePos(const LimeReport::CallbackInfo::ChangePosType& type, bool& result);
|
||||
private Q_SLOTS:
|
||||
void testOneSlotDS();
|
||||
void testTwoSlotDS();
|
||||
|
||||
};
|
||||
|
||||
CallbackDSTest::CallbackDSTest()
|
||||
{
|
||||
m_testDS = new LimeReport::CallbackDatasource();
|
||||
connect(m_testDS, SIGNAL(getCallbackData(LimeReport::CallbackInfo,QVariant&)),
|
||||
this, SLOT(slotTestOneSlotDS(LimeReport::CallbackInfo,QVariant&)));
|
||||
|
||||
m_test1DS = new LimeReport::CallbackDatasource();
|
||||
m_currentRow = -1;
|
||||
connect(m_test1DS, SIGNAL(getCallbackData(LimeReport::CallbackInfo,QVariant&)),
|
||||
this, SLOT(slotGetCallbackData(LimeReport::CallbackInfo,QVariant&)));
|
||||
connect(m_test1DS, SIGNAL(changePos(LimeReport::CallbackInfo::ChangePosType,bool&)),
|
||||
this, SLOT(slotChangePos(LimeReport::CallbackInfo::ChangePosType,bool&)));
|
||||
}
|
||||
|
||||
|
||||
|
||||
void CallbackDSTest::slotTestOneSlotDS(LimeReport::CallbackInfo info, QVariant& data)
|
||||
{
|
||||
QStringList columns;
|
||||
columns << "Name" << "Value";
|
||||
QVector<QString> values;
|
||||
values<<"Mazda"<<"Nissan";
|
||||
int dataIndex = 0;
|
||||
switch (info.dataType) {
|
||||
case LimeReport::CallbackInfo::RowCount:
|
||||
data = 10;
|
||||
break;
|
||||
case LimeReport::CallbackInfo::ColumnCount:
|
||||
data = columns.size();
|
||||
break;
|
||||
case LimeReport::CallbackInfo::ColumnHeaderData: {
|
||||
data = columns.at(info.index);
|
||||
break;
|
||||
}
|
||||
case LimeReport::CallbackInfo::ColumnData:
|
||||
if (info.index > 5){
|
||||
dataIndex = 1;
|
||||
}
|
||||
if (info.columnName == "Name")
|
||||
data = values[dataIndex];
|
||||
else {
|
||||
data = info.index;
|
||||
}
|
||||
break;
|
||||
default: break;
|
||||
}
|
||||
}
|
||||
|
||||
void CallbackDSTest::slotGetCallbackData(LimeReport::CallbackInfo info, QVariant& data)
|
||||
{
|
||||
QStringList columns;
|
||||
columns << "Name" << "Value";
|
||||
QVector<QString> values;
|
||||
values<<"Mazda"<<"Nissan";
|
||||
int dataIndex = 0;
|
||||
switch (info.dataType) {
|
||||
case LimeReport::CallbackInfo::ColumnCount:
|
||||
data = columns.size();
|
||||
break;
|
||||
case LimeReport::CallbackInfo::ColumnHeaderData: {
|
||||
data = columns.at(info.index);
|
||||
break;
|
||||
}
|
||||
case LimeReport::CallbackInfo::HasNext:{
|
||||
data = (info.index < 9);
|
||||
break;
|
||||
}
|
||||
case LimeReport::CallbackInfo::ColumnData:
|
||||
if (info.index > 5){
|
||||
dataIndex = 1;
|
||||
}
|
||||
if (info.columnName == "Name")
|
||||
data = values[dataIndex];
|
||||
else {
|
||||
data = m_currentRow;
|
||||
}
|
||||
break;
|
||||
default: break;
|
||||
}
|
||||
}
|
||||
|
||||
void CallbackDSTest::slotChangePos(const LimeReport::CallbackInfo::ChangePosType& type, bool& result)
|
||||
{
|
||||
if (type == LimeReport::CallbackInfo::First) {m_currentRow = 0; result = true;}
|
||||
else {if (m_currentRow<9) m_currentRow++; result = (m_currentRow <= 9);}
|
||||
}
|
||||
|
||||
void CallbackDSTest::testOneSlotDS()
|
||||
{
|
||||
QVERIFY2(m_testDS->bof(), "Failure test bof");
|
||||
QVERIFY2(!m_testDS->eof(), "Failure test eof");
|
||||
QVERIFY2(m_testDS->hasNext(), "Failure hasNext");
|
||||
QVERIFY2(m_testDS->columnCount() == 2, "Failure test column count");
|
||||
QVERIFY2(m_testDS->columnNameByIndex(0).compare("Name") == 0, "Failure test column name");
|
||||
QVERIFY2(m_testDS->columnNameByIndex(1).compare("Value") == 0, "Failure test column name");
|
||||
QVERIFY2(m_testDS->columnIndexByName("Name") == 0, "Failure test column index");
|
||||
QVERIFY2(m_testDS->columnIndexByName("Value") == 1, "Failure test column index");
|
||||
QVERIFY2(!m_testDS->data("Name").isValid(),"Failure test data on bof");
|
||||
QVERIFY2(!m_testDS->data("Value").isValid(),"Failure test data on bof");
|
||||
QVERIFY2(m_testDS->next(), "Failure next");
|
||||
QCOMPARE(m_testDS->data("Name").toString(),QString("Mazda"));
|
||||
QCOMPARE(m_testDS->data("Value").toInt(),0);
|
||||
QVERIFY2(!m_testDS->prior(), "Failure test prior");
|
||||
QVERIFY2(m_testDS->next(), "Failure next");
|
||||
QCOMPARE(m_testDS->data("Name").toString(),QString("Mazda"));
|
||||
QCOMPARE(m_testDS->data("Value").toInt(),1);
|
||||
QVERIFY2(m_testDS->prior(), "Failure test prior");
|
||||
QCOMPARE(m_testDS->data("Name").toString(),QString("Mazda"));
|
||||
QCOMPARE(m_testDS->data("Value").toInt(),0);
|
||||
QVERIFY2(m_testDS->next(), "Failure next");
|
||||
QCOMPARE(m_testDS->data("Name").toString(),QString("Mazda"));
|
||||
QCOMPARE(m_testDS->data("Value").toInt(),1);
|
||||
QVERIFY2(m_testDS->next(), "Failure next");
|
||||
QCOMPARE(m_testDS->data("Name").toString(),QString("Mazda"));
|
||||
QCOMPARE(m_testDS->data("Value").toInt(),2);
|
||||
QVERIFY2(m_testDS->prior(), "Failure test prior");
|
||||
QCOMPARE(m_testDS->data("Name").toString(),QString("Mazda"));
|
||||
QCOMPARE(m_testDS->data("Value").toInt(),1);
|
||||
QVERIFY2(!m_testDS->prior(), "Failure test prior");
|
||||
QVERIFY2(m_testDS->next(), "Failure next");
|
||||
QCOMPARE(m_testDS->data("Name").toString(),QString("Mazda"));
|
||||
QCOMPARE(m_testDS->data("Value").toInt(),2);
|
||||
for(int i = 3; i < 6; ++i) m_testDS->next();
|
||||
QCOMPARE(m_testDS->data("Name").toString(),QString("Mazda"));
|
||||
QCOMPARE(m_testDS->data("Value").toInt(),5);
|
||||
QVERIFY2(m_testDS->next(), "Failure next");
|
||||
QCOMPARE(m_testDS->data("Name").toString(),QString("Nissan"));
|
||||
QCOMPARE(m_testDS->data("Value").toInt(),6);
|
||||
QVERIFY2(m_testDS->prior(), "Failure test prior");
|
||||
QCOMPARE(m_testDS->data("Name").toString(),QString("Mazda"));
|
||||
QCOMPARE(m_testDS->data("Value").toInt(),5);
|
||||
QVERIFY2(m_testDS->next(), "Failure next");
|
||||
QCOMPARE(m_testDS->data("Name").toString(),QString("Nissan"));
|
||||
QCOMPARE(m_testDS->data("Value").toInt(),6);
|
||||
for(int i = 7; i < 9; ++i) m_testDS->next();
|
||||
QCOMPARE(m_testDS->data("Name").toString(),QString("Nissan"));
|
||||
QCOMPARE(m_testDS->data("Value").toInt(),8);
|
||||
QVERIFY2(m_testDS->next(), "Failure next");
|
||||
QCOMPARE(m_testDS->data("Name").toString(),QString("Nissan"));
|
||||
QCOMPARE(m_testDS->data("Value").toInt(),9);
|
||||
QCOMPARE(m_testDS->hasNext(), false);
|
||||
QCOMPARE(m_testDS->next(), false);
|
||||
QCOMPARE(m_testDS->bof(), false);
|
||||
QCOMPARE(m_testDS->eof(), true);
|
||||
QCOMPARE(m_testDS->prior(), true);
|
||||
QCOMPARE(m_testDS->data("Name").toString(),QString("Nissan"));
|
||||
QCOMPARE(m_testDS->data("Value").toInt(),8);
|
||||
QCOMPARE(m_testDS->hasNext(), true);
|
||||
QCOMPARE(m_testDS->next(), true);
|
||||
QCOMPARE(m_testDS->data("Name").toString(),QString("Nissan"));
|
||||
QCOMPARE(m_testDS->data("Value").toInt(),9);
|
||||
QCOMPARE(m_testDS->hasNext(), false);
|
||||
QCOMPARE(m_testDS->next(), false);
|
||||
QCOMPARE(m_testDS->bof(), false);
|
||||
QCOMPARE(m_testDS->eof(), true);
|
||||
QCOMPARE(m_testDS->data("Name").toString(),QString("Nissan"));
|
||||
QCOMPARE(m_testDS->data("Value").toInt(),9);
|
||||
}
|
||||
|
||||
|
||||
void CallbackDSTest::testTwoSlotDS()
|
||||
{
|
||||
|
||||
QVERIFY2(m_test1DS->bof(), "Failure test bof");
|
||||
QVERIFY2(!m_test1DS->eof(), "Failure test eof");
|
||||
QVERIFY2(m_test1DS->hasNext(), "Failure hasNext");
|
||||
QVERIFY2(m_test1DS->columnCount() == 2, "Failure test column count");
|
||||
QVERIFY2(m_test1DS->columnNameByIndex(0).compare("Name") == 0, "Failure test column name");
|
||||
QVERIFY2(m_test1DS->columnNameByIndex(1).compare("Value") == 0, "Failure test column name");
|
||||
QVERIFY2(m_test1DS->columnIndexByName("Name") == 0, "Failure test column index");
|
||||
QVERIFY2(m_test1DS->columnIndexByName("Value") == 1, "Failure test column index");
|
||||
QVERIFY2(!m_test1DS->data("Name").isValid(),"Failure test data on bof");
|
||||
QVERIFY2(!m_test1DS->data("Value").isValid(),"Failure test data on bof");
|
||||
QVERIFY2(m_test1DS->next(), "Failure next");
|
||||
QCOMPARE(m_test1DS->data("Name").toString(),QString("Mazda"));
|
||||
QCOMPARE(m_test1DS->data("Value").toInt(),0);
|
||||
QVERIFY2(!m_test1DS->prior(), "Failure test prior");
|
||||
QVERIFY2(m_test1DS->next(), "Failure next");
|
||||
QCOMPARE(m_test1DS->data("Name").toString(),QString("Mazda"));
|
||||
QCOMPARE(m_test1DS->data("Value").toInt(),1);
|
||||
QVERIFY2(m_test1DS->prior(), "Failure test prior");
|
||||
QCOMPARE(m_test1DS->data("Name").toString(),QString("Mazda"));
|
||||
QCOMPARE(m_test1DS->data("Value").toInt(),0);
|
||||
QVERIFY2(m_test1DS->next(), "Failure next");
|
||||
QCOMPARE(m_test1DS->data("Name").toString(),QString("Mazda"));
|
||||
QCOMPARE(m_test1DS->data("Value").toInt(),1);
|
||||
QVERIFY2(m_test1DS->next(), "Failure next");
|
||||
QCOMPARE(m_test1DS->data("Name").toString(),QString("Mazda"));
|
||||
QCOMPARE(m_test1DS->data("Value").toInt(),2);
|
||||
QVERIFY2(m_test1DS->prior(), "Failure test prior");
|
||||
QCOMPARE(m_test1DS->data("Name").toString(),QString("Mazda"));
|
||||
QCOMPARE(m_test1DS->data("Value").toInt(),1);
|
||||
QVERIFY2(!m_test1DS->prior(), "Failure test prior");
|
||||
QVERIFY2(m_test1DS->next(), "Failure next");
|
||||
QCOMPARE(m_test1DS->data("Name").toString(),QString("Mazda"));
|
||||
QCOMPARE(m_test1DS->data("Value").toInt(),2);
|
||||
for(int i = 3; i < 6; ++i) m_test1DS->next();
|
||||
QCOMPARE(m_test1DS->data("Name").toString(),QString("Mazda"));
|
||||
QCOMPARE(m_test1DS->data("Value").toInt(),5);
|
||||
QVERIFY2(m_test1DS->next(), "Failure next");
|
||||
QCOMPARE(m_test1DS->data("Name").toString(),QString("Nissan"));
|
||||
QCOMPARE(m_test1DS->data("Value").toInt(),6);
|
||||
QVERIFY2(m_test1DS->prior(), "Failure test prior");
|
||||
QCOMPARE(m_test1DS->data("Name").toString(),QString("Mazda"));
|
||||
QCOMPARE(m_test1DS->data("Value").toInt(),5);
|
||||
QVERIFY2(m_test1DS->next(), "Failure next");
|
||||
QCOMPARE(m_test1DS->data("Name").toString(),QString("Nissan"));
|
||||
QCOMPARE(m_test1DS->data("Value").toInt(),6);
|
||||
for(int i = 7; i < 9; ++i) m_test1DS->next();
|
||||
QCOMPARE(m_test1DS->data("Name").toString(),QString("Nissan"));
|
||||
QCOMPARE(m_test1DS->data("Value").toInt(),8);
|
||||
QVERIFY2(m_test1DS->next(), "Failure next");
|
||||
QCOMPARE(m_test1DS->data("Name").toString(),QString("Nissan"));
|
||||
QCOMPARE(m_test1DS->data("Value").toInt(),9);
|
||||
QCOMPARE(m_test1DS->hasNext(), false);
|
||||
QCOMPARE(m_test1DS->next(), false);
|
||||
QCOMPARE(m_test1DS->bof(), false);
|
||||
QCOMPARE(m_test1DS->eof(), true);
|
||||
QCOMPARE(m_test1DS->prior(), true);
|
||||
QCOMPARE(m_test1DS->data("Name").toString(),QString("Nissan"));
|
||||
QCOMPARE(m_test1DS->data("Value").toInt(),8);
|
||||
QCOMPARE(m_test1DS->hasNext(), true);
|
||||
QCOMPARE(m_test1DS->next(), true);
|
||||
QCOMPARE(m_test1DS->data("Name").toString(),QString("Nissan"));
|
||||
QCOMPARE(m_test1DS->data("Value").toInt(),9);
|
||||
QCOMPARE(m_test1DS->hasNext(), false);
|
||||
QCOMPARE(m_test1DS->next(), false);
|
||||
QCOMPARE(m_test1DS->bof(), false);
|
||||
QCOMPARE(m_test1DS->eof(), true);
|
||||
QCOMPARE(m_test1DS->data("Name").toString(),QString("Nissan"));
|
||||
QCOMPARE(m_test1DS->data("Value").toInt(),9);
|
||||
}
|
||||
|
||||
QTEST_APPLESS_MAIN(CallbackDSTest)
|
||||
|
||||
#include "tst_callbackdstest.moc"
|
3179
translations/limereport_es.ts
Normal file
3179
translations/limereport_es.ts
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user