0
0
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
Go to file
2016-09-28 02:24:55 +04:00
3rdparty MinGW build fixed 2016-05-20 19:16:14 +04:00
demo_r1 Demo report has been changed 2016-07-08 00:03:07 +03:00
demo_r2 actionOneToOne fixed 2016-05-24 01:39:56 +04:00
designer Designer project has been added 2016-07-21 12:48:22 +03:00
docs User manuals added 2016-03-31 21:45:08 +03:00
include ScriptEngineManager::addFunction has been fixed 2016-08-12 22:14:05 +04:00
limereport Nested group bands render has been fixed 2016-09-28 02:24:55 +04:00
translations ARCH_TYPE 2016-04-03 15:08:17 +02:00
.gitignore *.qm 2016-04-03 15:09:14 +02:00
.travis.yml travis build: ppa:beineri/opt-qt56-trusty --> ppa:beineri/opt-qt561-trusty 2016-06-29 23:24:04 +03:00
common.pri Fix #40 Replace "QStyleOptionViewItemV4" with "QStyleOptionViewItem" 2016-07-07 23:48:03 +03:00
COPYING 1.1.1 2016-02-17 10:18:19 +03:00
LICENSE 1.1.1 2016-02-17 10:18:19 +03:00
limereport.pro Designer project has been added 2016-07-21 12:48:22 +03:00
README.md Version 1.3.11 has been added to readme.md 2016-06-01 22:10:08 +04:00

LimeReport v1.3.11 Build Status

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

  1. Build limereport.pro. It will create a limereport shared library
  2. 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.3.11

  1. LimeReport project structure has been changed
  2. Preview widget has been added
  3. New demo has been added
  4. Landscape page orientation has been fixed
  5. Other minor bugs has been fixed

###1.3.10

  1. Memory leak has been fixed
  2. Grid & Settings have been added
  3. Recent files menu has been added
  4. Magnet feature has been added
  5. 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

  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.