mirror of
https://github.com/fralx/LimeReport.git
synced 2025-09-23 16:39:07 +03:00
1.3.9
This commit is contained in:
56
README.md
56
README.md
@@ -1,18 +1,62 @@
|
||||
# LimeReport
|
||||
# LimeReport v1.3.9
|
||||
|
||||
##How to use it
|
||||
1. Build limereport.pro. It will create a limereport shared library
|
||||
2. In your project connect the limereport library then in source code add:
|
||||
|
||||
```C
|
||||
#include "lrreportengine.h" to add report engine
|
||||
|
||||
```cpp
|
||||
#include "lrreportengine.h" to add report engine
|
||||
#include "lrcallbackdatasourceintf.h" if you want use callback datasources
|
||||
|
||||
report = new LimeReport::ReportEngine(this); to create reportengine
|
||||
report->dataManager()->addModel("string_list",stringListModel,true); to add datasource to report engine
|
||||
report->loadFromFile("File name"); to load report template file
|
||||
report->previewReport(); to generate report and preview
|
||||
report->printReport(); to print report
|
||||
report->printReport(); to print report
|
||||
|
||||
```
|
||||
For more samples see a demo
|
||||
For more samples see a demo
|
||||
|
||||
## Change log
|
||||
###1.3.9
|
||||
New functions:
|
||||
```cpp
|
||||
QString::saveToString(),
|
||||
loadFromString(const QString& report, const QString& name=""),
|
||||
QByteArray::saveToByteArray(),
|
||||
setCurrentReportsDir(const QString& dirName),
|
||||
```
|
||||
added to LimeReport::ReportEngine
|
||||
|
||||
1. printOnEach page and columns have been added to DataHeader band
|
||||
2. startNewPage added to DataBand
|
||||
|
||||
Performance has been improved
|
||||
|
||||
**WARNING**
|
||||
From this version the item "Text" by default does not use HTML.
|
||||
To enable HTML support you need to use the property allowHTML
|
||||
|
||||
###1.3.1
|
||||
Added:
|
||||
1. Columns
|
||||
Some bands can be divided into columns
|
||||
2. Items align
|
||||
Report items now may be aligned to the left,right or center of container
|
||||
also it can be stretched to the whole width of container
|
||||
3. Group can start new page
|
||||
4. Group can reset page number;
|
||||
5. Table mode added to horizontal layout
|
||||
This mode allows you to distribute the internal layout's space among grouped items
|
||||
|
||||
Fixed:
|
||||
1. Postgresql connection
|
||||
2. The error that prevented normal run of more than one instance of LimeReport::ReportEngine
|
||||
|
||||
###1.2.1
|
||||
1. Added buttons to open / hide sidebars;
|
||||
2. Improved look-and-feel of report elements to clarify designing process;
|
||||
3. Printing to PDF added.
|
||||
4. Fixed bug in SQL-editor when it used variables in SQL expression;
|
||||
5. Fixed bug of variable's initialization if it exists more than once in SQL expression;
|
||||
6. .. and other minor bugs fixed.
|
Reference in New Issue
Block a user