Commit Graph

276 Commits

Author SHA1 Message Date
juha
b3a6d22921 LazReport: Support FormatStr with brackets (e.g. [h]:mm) in DateTime fields. Issue #34713, patch from Bartek Dajewski.
git-svn-id: trunk@60709 -
2019-03-17 09:22:31 +00:00
jesus
a4bad60e2c LazReport: check for null in formatfloat function, issue #34213
git-svn-id: trunk@58906 -
2018-09-08 06:30:49 +00:00
blikblum
526e755e0e LazReport: do not try to set printer paper info when an exception occurs in ChangePaper
git-svn-id: trunk@58598 -
2018-07-23 00:34:07 +00:00
jesus
8196338704 LazReport: Patch from Aleksey Lagunov (with changes) Issue #33556
1. In dialog controls fix drawing lrRadioGroup without caption
2. In lr_class fix wrap text on printing
3. In lr_designer fix refresh data nspector

git-svn-id: trunk@57630 -
2018-04-08 22:29:36 +00:00
jesus
755a6e60ef LazReport: Documents the "IF" internal function, patch from Soner, issue #32197
git-svn-id: trunk@57596 -
2018-04-03 08:10:25 +00:00
jesus
3746e63947 LazReport: TfrView's beforechange and afterchange made virtual
git-svn-id: trunk@57594 -
2018-04-03 07:56:21 +00:00
jesus
74a76be5d4 LazReport: Modified some Debug Log
git-svn-id: trunk@57593 -
2018-04-03 07:53:40 +00:00
juha
b2e65128ee Remove redundant "Assigned(X)" when checking "if X is Txxx". Issue #33030, patch from Vojtech Cihak.
git-svn-id: trunk@57099 -
2018-01-15 10:53:48 +00:00
ondrej
0cfcc26fcf LazReport: fix FPC 3.1.1 changes. Issue #32812, patch by Lagunov Aleksey
git-svn-id: trunk@56824 -
2017-12-23 07:14:52 +00:00
juha
a2ec98b383 Revert r56717 #1939dcdaa7, requires FPC trunk. "LazReport: Fix error on loading detail reports. Issue #32812"
git-svn-id: trunk@56720 -
2017-12-14 14:02:35 +00:00
juha
1939dcdaa7 LazReport: Fix error on loading detail reports. Issue #32812, patch from Lagunov Aleksey.
git-svn-id: trunk@56717 -
2017-12-14 06:58:54 +00:00
juha
3ed79743c8 Remove the wrapper functions from LazUtils.FileUtil, Lcl.LclProcs and Codetools.FileProcs completely. Simplify code.
git-svn-id: trunk@56693 -
2017-12-11 19:44:37 +00:00
juha
a11668995f LazReport: Fix paint ButtonControl, fix reorder designer pages, fix export to PDF. Issue #31941, patch from Lagunov Aleksey.
git-svn-id: trunk@56674 -
2017-12-08 23:35:50 +00:00
jesus
1274e8abb3 LazReport: Implements flBandKeepChild, from Lutz Mändle, issue #30466
git-svn-id: trunk@55861 -
2017-09-14 18:41:51 +00:00
jesus
b82d144b41 Lazreport: fix column number, issue #31544
git-svn-id: trunk@54618 -
2017-04-15 01:29:26 +00:00
jesus
b96124b3dc LazReport: fix potential AV on execute script for dialog pages
Increased speed of report template import from a spreadsheet
fix compile with latest Lazarus
fix AV after destroy report designer
fix create CrossTab report on multiple pages
fix editing prepared report

from Aleksey Lagunov, issue #31457

git-svn-id: trunk@54576 -
2017-04-08 15:58:09 +00:00
jesus
981217b37e LazReport: fix parser error - if script variable contains word END. From Aleksey Lagunov
git-svn-id: trunk@52899 -
2016-08-31 20:58:17 +00:00
jesus
49851a1b4e LazReport: report option for printing PageHeader band before ReportTitle band, issue #30345
git-svn-id: trunk@52689 -
2016-07-15 01:27:37 +00:00
jesus
cf63e5c007 LazReport: Fix column width calc, fix issue #30367
git-svn-id: trunk@52677 -
2016-07-12 22:58:15 +00:00
jesus
a1b891dcf0 LazReport, restored encoding of constant string
git-svn-id: trunk@52667 -
2016-07-11 21:25:00 +00:00
blikblum
858e261c7b lazreport: use temp var in OnGetParsFunction method to avoid repeated lookup and better readability
git-svn-id: trunk@52654 -
2016-07-10 12:23:49 +00:00
jesus
df0d616b82 New patch from Aleksey Lagunov:
1. Send to email addons
 - fix work with post client if client locked exported file
2. Internal scrip
 - add mouse cursors const to script engine
 - localize error messages (add russian messages)
 - fix error on parse string values in scrip (now work ' char in string)
3. Report designer
 - in report designer add check code before save script
 - for memo object on master/detail band add popup menu for
   quick select fields from master/detail datasets
   (see option in designer options dialog)

 - fix show scrip editor for dialog page on mouse duble click

4. Crross report
 - add scrip suppert
 - add internal const "CrosViewIsEmpty" 

5. Cleanup code 

git-svn-id: trunk@52504 -
2016-06-14 20:44:19 +00:00
jesus
a539c0253f LazReport, fix duplicates in filter list for some Export filters (htm and csv)
git-svn-id: trunk@52503 -
2016-06-14 16:53:42 +00:00
jesus
0e7a106ef0 LazReport: Protecting dataset bookmarks on building report is now off by default (it should protect users from hitting sqldb bookmarks bugs see issue #26132 and issue #26146) could be enabled again with a report option.
git-svn-id: trunk@52241 -
2016-04-24 01:16:55 +00:00
jesus
1a75fc1249 LazReport, fix AV on changing band height
git-svn-id: trunk@52175 -
2016-04-12 17:11:49 +00:00
jesus
3594a6b528 LazReport, added compatible read for original (produced with Lazarus 1.4.4, frVersion=28) prepared reports on newer versions plus option (enabled by default) for ugrading old prepared reports to current version, fix issue #29966
git-svn-id: trunk@52108 -
2016-04-05 21:24:15 +00:00
jesus
93b5f73def LazReport, fix text width calc on rotated memos, issue #29890
git-svn-id: trunk@52095 -
2016-03-31 17:59:48 +00:00
jesus
e67575ac1c LazReport: Aleksey Lagunov patch:
-Version of LR 3.1
-In binary file save property Restriction
-Localize message for error in export procedure
-In export procedure use try-finaly block

git-svn-id: trunk@52072 -
2016-03-27 19:03:58 +00:00
jesus
26d9446403 LazReport, Decouple flHideZeros and flBandPrintChildIfNotVisible, modified patch by Luiz Americo, fix issue #29313
git-svn-id: trunk@51791 -
2016-03-01 16:55:03 +00:00
jesus
fa04e5624c 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: trunk@51494 -
2016-02-03 22:03:09 +00:00
jesus
4d59e883db LazReport, allow second parameter of COUNT() to control if invisible records should be counted
git-svn-id: trunk@51479 -
2016-02-02 18:31:58 +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