Commit Graph

248 Commits

Author SHA1 Message Date
maxim
1c99a2ddbb Merged revision(s) 52175 #1a75fc1249 from trunk:
LazReport, fix AV on changing band height
........

git-svn-id: branches/fixes_1_6@52189 -
2016-04-13 22:39:02 +00:00
maxim
239d5cee9e Merged revision(s) 51791 #26d9446403, 52095 #93b5f73def from trunk:
LazReport, Decouple flHideZeros and flBandPrintChildIfNotVisible, modified patch by Luiz Americo, fix issue #29313
........
LazReport, fix text width calc on rotated memos, issue #29890
........

git-svn-id: branches/fixes_1_6@52171 -
2016-04-11 22:16:21 +00:00
maxim
833292149f Merged revision(s) 51494 #fa04e5624c from trunk:
LazReport, fix list of functions provided by lrAddAddFunctionLibrary not being listed in function list if LazReport compiled with FPC r31941 #8568dbce1f or newer, patch from Aleksey Lagunov
........

git-svn-id: branches/fixes_1_6@51993 -
2016-03-19 13:25:13 +00:00
jesus
67c31934b5 LazReport: fix mem leak
git-svn-id: trunk@49800 -
2015-09-09 19:19:14 +00:00
jesus
400b4c4719 LazReport: fixes and improvements on spreadsheet exporters, patch from Aleksey Lagunov
1. Improved speed on export 
2. Fix export vertical merged cells
3. Add filter in save reports dialog for export to MS Excel 2007/2010
4. Fix scale factor on export - use hard coded const 
5. Replace array to TfpList for register export filters
6. Add code for disable export filters in run-time
7. In report designer fix FileName property on preview report

git-svn-id: trunk@49728 -
2015-08-30 17:38:01 +00:00
blikblum
647b02469b lazreport: revert revision 49710 #0c5e2500dc so code in Filter.AfterExport (e.g. SpreadsheetExport) that depends on file being already written works.
Adapts PDFExport to write the Stream in EndDoc instead of Destroy to avoid crash

git-svn-id: trunk@49718 -
2015-08-27 12:52:54 +00:00
blikblum
0c5e2500dc lazreport: fix crash in pdf export
git-svn-id: trunk@49710 -
2015-08-26 02:17:10 +00:00
jesus
25c059c099 LazReport Patch from Aleksey Lagunov
1. For dialog controls in designer work UNDO
2. In lrForm StorageEditor list box with props now sorted
3. Fix error in lrSpreadsheetImport - not loaded last col and row
4. increase file format version to 2.9
5. add support for paragraph gap
6. add support for line spacing
7. In report designer add action for UNDO and REDO menu items
8. In designer fix AV on clipborad actions

git-svn-id: trunk@49658 -
2015-08-12 19:28:00 +00:00
jesus
2024fef1d5 LazReport, fix leak left by previous patch
git-svn-id: trunk@49627 -
2015-08-10 17:53:08 +00:00
jesus
4eaea7c197 LazReport, cut the objects that fall outside of page boundaries on preview window
git-svn-id: trunk@49625 -
2015-08-10 05:09:28 +00:00
juha
08c9621520 Change order of used units so that "deprecated" warnings are not triggered.
git-svn-id: trunk@49612 -
2015-08-07 17:20:40 +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
73ce2ed74c LazReport, Patch to print SubReports on PageFooter, from Luigi, issue #25285
git-svn-id: trunk@49215 -
2015-05-29 19:29:51 +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
336bdda458 LazReport, when formatting numbers check that value is really numeric, issue #28114
git-svn-id: trunk@49121 -
2015-05-20 17:04:07 +00:00
jesus
579e2fa2e6 LazReport, case insensitive classname compare
git-svn-id: trunk@49072 -
2015-05-17 17:59:50 +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
mattias
4bca3e790b lazreport: use clocale only under unix
git-svn-id: trunk@47757 -
2015-02-13 23:21:14 +00:00
mattias
7a83697bce lazreport: simplified UTF8 handling
git-svn-id: trunk@47751 -
2015-02-13 21:04:51 +00:00
bart
bd66a6083c LazReport: less hints.
git-svn-id: trunk@47260 -
2014-12-28 11:34:26 +00:00
bart
5b146f662c LazReport: use DefaultFormatSettings.DecimalSeparator instead of deprecated DecimalSeparator.
git-svn-id: trunk@47259 -
2014-12-28 11:12:08 +00:00
jesus
539bec103f LazReport, Enable justified alignment on export to pdf using PowerPDF (best results when using PowerPDF 0.9.12), issue #26353
git-svn-id: trunk@47119 -
2014-12-06 03:24:25 +00:00
jesus
9ec6293a92 LazReport, fix stack overflow problem when using column footer, from Tony Whyman, issue #27100
git-svn-id: trunk@47024 -
2014-11-28 22:39:08 +00:00
jesus
735b4ac629 LazReport, Child bands impleementation by Gabor Boros with changes, issue #26996
git-svn-id: trunk@46838 -
2014-11-13 16:59:18 +00:00
jesus
19ecf0127e LazReport, on bookeeping aggr bands variables make sure var name do not include '=' sign as it may interfer later when reading value
git-svn-id: trunk@46799 -
2014-11-12 05:06:32 +00:00
jesus
e24d5e256c LazReport: Patch from Alexey Lagunov, issue #26855
1. Fix AV on TlrButtonPanel
 2. Implement highlight find text in preview report window
 3. Fix loading TlrCrossView from stream
 4. Fixed speed save changes to the data in the report (after double click on preview report window)

git-svn-id: trunk@46761 -
2014-11-05 17:48:14 +00:00
jesus
827cde4d14 LazReport, fix regression, custom properties values (possibly calculated in scripts, like Text, etc.) were not applied back to the object
git-svn-id: trunk@46488 -
2014-10-09 05:22:15 +00:00
jesus
fbf91ec7e9 LazReport, use TFileStreamUTF8 instead of TFileStream and UTF8toSys, patch from Bart, issue #26647
git-svn-id: trunk@46196 -
2014-09-12 01:57:40 +00:00
jesus
a02f02d8ac LazReport, fix AV on exporting report, from Aleksey, issue #26693
git-svn-id: trunk@46178 -
2014-09-11 15:16:54 +00:00
jesus
a85a527721 LazReport, fix invalid typecast on using subreport and pen object, issue #26504
git-svn-id: trunk@46138 -
2014-09-06 06:06:40 +00:00
jesus
e6b5d35159 LazReport, crosstab component and demo + refactoring and fixes, from Alexey Lagunov
git-svn-id: trunk@46125 -
2014-09-04 19:28:33 +00:00
jesus
3d57759746 LazReport: handle errors on loading reports by throwing exceptions, issue #26636
git-svn-id: trunk@46085 -
2014-08-28 20:42:05 +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
a13f3e80da LazReport, make sure dataset is valid before calling Enable/DisableControls
git-svn-id: trunk@45369 -
2014-06-06 05:57:07 +00:00
jesus
5829cc4e89 LazReport, make an event so the programmer can decide if use the internal bookmarks handling on form page or doing custom bookmark handling (like do nothing), this should help when using datasets that do not implemenent persistent bookmarks (on detail datasets) like sqldb, issue #26132
git-svn-id: trunk@45037 -
2014-05-14 19:56:59 +00:00
jesus
1a60920ec5 LazReport, implemented OnBeforePrint and OnAfterPrint events, modified patch from Michel Tournay, issue #25778
git-svn-id: trunk@44779 -
2014-04-21 19:16:58 +00:00
jesus
d9f4262872 LazReport, use LRE_OLDV25_FRF_READ flag only when reading frVersion=25 binary reports, issue #25995
git-svn-id: trunk@44777 -
2014-04-21 18:24:16 +00:00
jesus
c780ddd0a7 LazReport, HideZeroValues should hide float values too, fix by Velissariou Costas, issue #25934
git-svn-id: trunk@44736 -
2014-04-15 15:44:15 +00:00
jesus
6010076f50 LazReport, implemented lrPropStorage dialogs control, from Aleksey Lagunov
git-svn-id: trunk@44428 -
2014-03-14 19:42:33 +00:00
jesus
221bff034a LazReport, DefaultCopies should be set to 1 by default, issue #25840
git-svn-id: trunk@44416 -
2014-03-13 06:34:19 +00:00
jesus
c35fa096f0 LazReport, also process user functions while processing aggregate functions, issue #25803
git-svn-id: trunk@44374 -
2014-03-08 04:25:20 +00:00
jesus
003a8be7e1 LazReport, fix page orientation while direct printing a report designed using virtual printer, issue #25802
git-svn-id: trunk@44360 -
2014-03-05 20:18:31 +00:00
jesus
41bbe0bb16 LazReport, printer debug info
git-svn-id: trunk@44347 -
2014-03-04 23:54:39 +00:00
jesus
5f2c42d8c1 LazReport: Patch from Alexey Lagunov:
1. In frVarible removed unnecessary manipulation of memory with PString
2. To export filters can now be controlled via the function Setup. In the future we plan to implement the export options window for some of
the filters.
3. In a script bug fixed constants for color. Uses all standard colors Lazarus ( previously only 16 colors ).
4. In the script added constants and mrOk mrCancel. You can use the built-in function for MessageBox.
5. The script Fixed bug with setting object properties in the case of several pages in the report.
6. Fixed a bug report from the designer view - did not work identified in the program of event report.

git-svn-id: trunk@44281 -
2014-02-27 17:59:34 +00:00
jesus
5504a82697 LazReport: Patch from Alexey Lagunov
1. Localization Collate option in the form of print options
2. Fixed search on the generated report is not English texts
3. The expanded diagnostic error messages during the reporting
4. Prohibited creating variables in reports containing the point:
   for example aaa.bbb: = 1;

git-svn-id: trunk@43821 -
2014-01-27 08:11:46 +00:00
jesus
81a96b4100 LazReport, PictureView, fix loading streams without header
git-svn-id: trunk@43782 -
2014-01-22 18:20:02 +00:00
jesus
05d2879059 LazReport, handle db image streams the same way as dbimage
git-svn-id: trunk@43780 -
2014-01-22 08:13:55 +00:00
jesus
8656af3464 LazReport: Formatting and cleanup
git-svn-id: trunk@43776 -
2014-01-20 03:38:35 +00:00
jesus
d877b82218 LazReport: Patch from Alexey Lagunov
1. Copies collation is done internally
2. Property has been implemented lrMemo.Text
3. Finalized editor of the prepared report
4. Fixed bug when printing TfrPrintGrid after a call to another report designer

git-svn-id: trunk@43775 -
2014-01-20 03:35:56 +00:00
jesus
129fa0a049 LazReport, support for loading images not only from DbImage streams, modified OnDbImageRead patch from Reinier Olislagers who adapted a patch from Tony Whyman, issue #25453
git-svn-id: trunk@43679 -
2014-01-10 06:33:47 +00:00