Commit Graph

36 Commits

Author SHA1 Message Date
maxim
8bb25ec8e7 Merged revision(s) 52254 #fbb22d7bea from trunk:
LazReport, Normalize ReportCreateDate and ReportLastChange on saving, patch from Simone Giacomelli, issue #27008
........

git-svn-id: branches/fixes_1_6@52279 -
2016-05-03 22:12:08 +00:00
juha
dd99e47f84 LazReport: Check the length of a string before accessing its members. Issue #28896, patch from Tony Whyman.
git-svn-id: trunk@50162 -
2015-10-25 09:22:43 +00:00
juha
06ac76f560 LazUtils, unit FileUtil: Disable conditionally LazUtf8 and LazFileUtils wrapper functions. For testing define NoLazUTF8Wrappers and build Lazarus.
git-svn-id: trunk@49494 -
2015-07-04 23:08:00 +00:00
jesus
a16431b3ac LazReport, fix loading of old binary reports (older than version 28), modified patch from Tsvetoslav, issue #27179
git-svn-id: trunk@49154 -
2015-05-23 22:37:52 +00:00
jesus
f54444c6ae LazReport: Patch from Aleksey Lagunov:
1. fix work with Zeos DB components (lr.zeos.diff)
2. fix export to pdf with cairo export - correctly export justify text (lr.cairo.diff)
3. Increase max bands on page to 255 
4. for MemoView implemebtated First Line indent - ParagraphGap property
5. Rework code for subreports - need for drag page in report designer
6. Rework code for crosstab reports - fix sorting in report
7. In report designer implement page reordering

git-svn-id: trunk@48876 -
2015-04-27 17:50:38 +00:00
juha
708afdf966 Fix uninitialized variables and other problems found by the compiler.
git-svn-id: trunk@48451 -
2015-03-22 10:17:35 +00:00
mattias
7a83697bce lazreport: simplified UTF8 handling
git-svn-id: trunk@47751 -
2015-02-13 21:04:51 +00:00
mattias
d85758cb35 lazreport: fixed UTF8Desc to always return a valid UTF8 string
git-svn-id: trunk@47750 -
2015-02-13 20:40:29 +00:00
juha
abf9a845da Deprecate wrappers for LazUTF8 functions in LCLProc.
git-svn-id: trunk@47604 -
2015-02-06 18:25:31 +00:00
jesus
118cc819c4 LazReport: New big patch from Alexey Lagunov (with small changes)
-------------------------------------------------------
Addfunction / frFuncStr
  - Fixed string functions - accounted for UTF8 strings

DialogControls
  - Fixed reports generation with built-in query mode, MDI (multiple reports open for viewing at the same time)
  - Fixed UNDO in editor
  - Added property HINT for dialog controls
  - A new component - TlrRadioGroup

lrOfficeImport
  - New tool reports designer to import data from a spreadsheet as a report template

source
  - The object TfrMemoView added new handlers
    - OnClick - Event when you click on TfrMemoView in playback mode built reports
    - OnMouseEnter - Event at the Enter of the mouse over TfrMemoView in playback mode built reports
    - OnMouseLeave - Event at the Leave of the mouse TfrMemoView in playback mode built reports

  - The object TfrMemoView added new properties
    - Cursor - the mouse cursor when moving over TfrMemoView in playback mode built reports
    - DetailReport - a reference to the detail-report - called when the user clicks the mouse on TfrMemoView in playback mode built reports

  - A mechanism to detail-report - call a detailed report of the current report
  - In ineterpretatore added new features (for compatibility with FastReport 2.5):
      - FINALPASS
      - CURY
      - PAGEHEIGH
      - PAGEWIDTH
  - In the reports, the editor started saving paramerov editor (the location of the Object Inspector, fonts)
  - In the reports, the editor corrected the addition of new tools (implemented a new tool - Import report template from excel/OpenOffice)
  - Editor of reports finalized Inspector data - now you can also insert variables
  - For export to txt implemented request form export options

images
  - Made in the resources icon tool insert fields in a report from the editor

Demo included (detail_reports)

And new extensions:
- import report template from calc/excel
- send email from report preview (for sending used local mail app, installed on user PC - in windows its TheBat! and Mozilla Thunderbird).
  In future I'm plan make direct send.

git-svn-id: trunk@46079 -
2014-08-28 04:10:20 +00:00
jesus
80015d973f LazReport, new tool: 'Data inspector', to get list of Db Fields and drag & drop into report designer, from Alexey Lagunov
git-svn-id: trunk@44778 -
2014-04-21 18:55:46 +00:00
jesus
2ffd578010 LazReport, at lazarus design time fix datafields not available if report is not on same form, issue #21050
git-svn-id: trunk@44407 -
2014-03-11 18:50:13 +00:00
jesus
49effd635f LazReport, fix reading barcode zoom values when decimal separator=',', issue #24393
git-svn-id: trunk@41070 -
2013-05-08 06:57:43 +00:00
jesus
53774998ef Patch form Aleksey Lagunov implementing:
1. In frReport added property BeforePrintScript - script executable before generating the report. 
 2. Added to designer "File" menu an editor for the BeforePrintScript property. 
 3. In the example report_url added an example for BeforePrintScript. 
 4. Process LazReport variables in Tags of all TMemoView objects before creating a report.
 

git-svn-id: trunk@40812 -
2013-04-15 04:46:07 +00:00
jesus
73faf28aaf LazReport, implements Justified Alignment, issue #23796
git-svn-id: trunk@40397 -
2013-02-24 19:44:59 +00:00
jesus
eda22758a1 LazReport, fix reading some frf format reports, when system encoding is UTF8, issue #23058
git-svn-id: trunk@39530 -
2012-12-13 21:19:23 +00:00
jesus
ffc03ddc8f LazReport, fix reading of frf version 2.3 files, modified patch from Stephano, issue #23058
git-svn-id: trunk@39527 -
2012-12-13 07:37:41 +00:00
jesus
583565199b LazReport, Report Designer crashes with Access Violation on Insert DB Field (TFrame related issue), from Tony Whyman, issue #23205
git-svn-id: trunk@39239 -
2012-11-03 04:25:34 +00:00
jesus
5919831958 LazReport, fix Lazreport not selecting Fields from Datasets on Dialogs correctly, from Christian, issue #22753
git-svn-id: trunk@38797 -
2012-09-22 17:18:39 +00:00
jesus
6c4d3a2ff9 LazReport, implements HideZeroValues and templates in XML format, continue work on Dialogs, from Aleksey Lagunov, issue #22173
git-svn-id: trunk@37504 -
2012-06-03 17:52:39 +00:00
jesus
ca0840d1cb LazReport: patch implementing user dialogs and (db)components on report designer at runtime and fixes many bugs, from Aleksey Lagunov, for details see Issue #22087
git-svn-id: trunk@37413 -
2012-05-25 04:10:21 +00:00
mattias
06d2a8ce1a lazreport: less notes
git-svn-id: trunk@36427 -
2012-03-29 10:12:51 +00:00
mattias
104b789157 lazreport: UTF8Index: removed parameter S
git-svn-id: trunk@36426 -
2012-03-29 10:07:35 +00:00
mattias
38dd89f95d lazreport: less notes
git-svn-id: trunk@36425 -
2012-03-29 10:06:06 +00:00
jesus
6c336b7fdd LazReport, Code cleanup/optimizations for LazReport, from Luiz issue #21278
git-svn-id: trunk@36406 -
2012-03-29 03:38:36 +00:00
blikblum
bba0819501 lazreport: add const to method string parameters
git-svn-id: trunk@32927 -
2011-10-16 20:11:46 +00:00
jesus
b5451e65dc LazReport, fix crash on aggregate functions if using frUserDataset
git-svn-id: trunk@27506 -
2010-09-28 14:46:06 +00:00
jesus
1a459cb90c LazReport: fix roIgnoreFieldNotFound makes complex expressions to fail, issue #17452
git-svn-id: trunk@27429 -
2010-09-21 15:28:15 +00:00
jesus
1f81f24737 LazReport, patch from Alexs Lagunov to allow datasets on frames
git-svn-id: trunk@27174 -
2010-08-23 23:12:17 +00:00
jesus
8249817978 LazReport, implemented parameters for export filters, CSV exporter now output quoted values and is not based on object's interpolated position
git-svn-id: trunk@23076 -
2009-12-10 22:14:45 +00:00
jesus
b5ca260573 LazReport, fix word wrapping/breaking of UTF-8 strings
git-svn-id: trunk@23057 -
2009-12-10 07:42:34 +00:00
jesus
f7680cf942 LazReport, cleanup from Luiz Americo, issue #14048
git-svn-id: trunk@20802 -
2009-07-06 20:19:38 +00:00
mattias
b093045c3b lazreport: using Screen.DataModules
git-svn-id: trunk@14332 -
2008-02-29 20:13:17 +00:00
jesus
48c44ddb94 lazreport, fix error with agregate function (sum, max, min) from Aleksey Lagunov
git-svn-id: trunk@14234 -
2008-02-23 00:21:32 +00:00
jesus
0efab1aa67 LazReport, fixed storing more properties of checkboxview, fixed finding dataset components on different forms (from Aleks Lagunov)
git-svn-id: trunk@12054 -
2007-09-17 16:03:43 +00:00
jesus
d0a347df28 Added LazReport components
git-svn-id: trunk@11950 -
2007-09-06 19:47:34 +00:00