mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2024-12-24 04:33:03 +03:00
readme.md
This commit is contained in:
parent
673982f314
commit
9720c7bc4f
17
README.md
17
README.md
@ -1 +1,18 @@
|
||||
# LimeReport
|
||||
|
||||
##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:
|
||||
|
||||
```C
|
||||
#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\r1
|
Loading…
Reference in New Issue
Block a user