mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-23 16:22:58 +03:00
Report generator for Qt Framework
https://limereport.ru
7791da9317
Add fonts to charts |
||
---|---|---|
3rdparty | ||
console | ||
demo_r1 | ||
demo_r2 | ||
designer | ||
designer_plugin | ||
docs | ||
include | ||
limereport | ||
lrdview | ||
tests | ||
translations | ||
.appveyor.yml | ||
.gitignore | ||
.remarkrc | ||
.travis.yml | ||
CMakeLists.txt | ||
common.pri | ||
config.h.in | ||
COPYING | ||
followTo.patch | ||
LICENSE | ||
limereport.pri | ||
limereport.pro | ||
qzint.pri | ||
README.md |
LimeReport v1.5.87
Official LimeReport web site http://limereport.ru
Donation
Features
- Multi-platform support
- Pure Qt4/Qt5 compatible code
- Embedded report designer
- Embedded preview
- Various band types for a report of any complexity
- Page header and footer
- Data grouping (GroupHeader, GroupFooter, Subdetail, SubdetailHeader, SubdetailFooter)
- Aggregation functions (SUM, COUNT, AVG, MIN, MAX)
- Report elements: Text, Geometric (Line, Ellipsis, Rectangle), Picture
- Horizontal elements groups
- HTML to format input fields
- Scripts to format output data
- An Automatic band height adjustment
- A Smart band split moving data to the next page
- PDF output
How to use it
- Build limereport.pro. It will create a limereport shared library
- In your project connect the limereport library then in source code add:
#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
For more samples see a demo
Change log
1.5.0
- Added the ability to use QJSEngine instead of deprecated QtScript.
- Report designer has been improved.
- Inches support has been added.
- Embedded dialog designer has been added.
- The script editor has been improved.
- Added the ability to build only report generator without embedded visual report designer.
- Report translation ability has been added.
- Added report generation time events with the ability to process them in the report script.
- Added the ability to build a report table of contents.
- The vertical layout has been added.
- Added the ability to transfer an image to the report via a variable.
- Endless height has been added.
- Added the ability to print a report page on multiple pages of paper.
- Added the ability to print on multiple printers.
- ChartItem has been added.
- Added the ability to use aggregate functions in headers.
- Subtotals.
- Dark and Light themes have been added to report designer.
- Generation result editing mode has been improved.
- And many other minor fixes and improvements.
1.4.7
- Multipage.
- Dialogs.
- Render events.
- Initscript.
- Memory usage has been reduced.
- Data source manager has been refactored.
- Report items context menus have been added.
- Editable report.
- And many other minor fixes and improvements.
1.3.11
- The LimeReport project structure has been changed.
- Preview widget has been added.
- A new demo has been added.
- Landscape page orientation has been fixed.
- Other minor bugs have been fixed.
1.3.10
- A memory leak has been fixed.
- Grid & Settings have been added.
- Recent files menu has been added.
- Magnet feature has been added.
- Added ability to use variables in the connection settings.
1.3.9
New functions:
QString::saveToString(),
loadFromString(const QString& report, const QString& name=""),
QByteArray::saveToByteArray(),
setCurrentReportsDir(const QString& dirName),
added to LimeReport::ReportEngine
- printOnEach page and columns have been added to DataHeader band
- 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:
- Columns Some bands can be divided into columns
- Items align Report items now may be aligned to the left, right or center of the container also it can be stretched to the whole width of the container
- Group can start a new page
- Group can reset page number;
- Table mode added to the horizontal layout This mode allows you to distribute the internal layout's space among grouped items
Fixed:
- Postgresql connection
- The error that prevented the normal run of more than one instance of LimeReport::ReportEngine
1.2.1
- Added buttons to open / hide sidebars;
- Improved look-and-feel of report elements to clarify the designing process;
- Printing to PDF added.
- Fixed bug in SQL-editor when it used variables in SQL expression;
- Fixed bug of variable's initialization if it exists more than once in SQL expression;
- .. and other minor bugs fixed.