Commit Graph

49 Commits

Author SHA1 Message Date
jesus
2753a83892 LazReport: missing unit in lr_view.pas in case DebugLR is defined.
git-svn-id: trunk@57628 -
2018-04-08 18:27:32 +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
juha
c3e1dc4ad5 Reduce compiler warnings, initialize some uninitialized variables.
git-svn-id: trunk@56869 -
2017-12-29 18:47:51 +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
ad4616bb77 LazReport: implements adding the file extension of export filter to exported report in case the user do not supply one, patch from Aleksey Lagunov
git-svn-id: trunk@52543 -
2016-06-21 20:23:32 +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
2bdea5e7ad LazReport, fix exporting to the second on list filter file format
git-svn-id: trunk@52473 -
2016-06-10 17:41:13 +00:00
jesus
fb29ed96ec LazReport: Removed leftover debug line.
git-svn-id: trunk@52468 -
2016-06-10 05:22:29 +00:00
jesus
1c61bf995e LazReport, fix selecting the right export filter when there are multiple options for the same file format (ej PowerPDF and CairoExport), probably broken in r49728 #400b4c4719
git-svn-id: trunk@52466 -
2016-06-09 20:51:44 +00:00
jesus
d4b66e8921 LazReport, force repaint of preview once report has been exported
git-svn-id: trunk@52465 -
2016-06-09 16:32:29 +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
juha
abf9a845da Deprecate wrappers for LazUTF8 functions in LCLProc.
git-svn-id: trunk@47604 -
2015-02-06 18:25:31 +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
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
d35a96756e LazReport, renamed file lr_previewtoolsabsract.pas -> lr_previewtoolsabstract.pas
git-svn-id: trunk@46082 -
2014-08-28 16:57:51 +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
9244f61d8c LazReport, fix preview zoom change from current mode to default mode after printing when custom preview is in use
git-svn-id: trunk@45474 -
2014-06-11 13:53:25 +00:00
jesus
465ad6018f LazReport, implements Zoom in/out using CTRL+MouseWheel, from Michel Tournay, issue #26280
git-svn-id: trunk@45371 -
2014-06-06 06:32:50 +00:00
jesus
178cdf98b7 LazReport, methods for preview scrolling, from Alexsey Lagunov
git-svn-id: trunk@44435 -
2014-03-15 18:21:26 +00:00
jesus
c9dc2d4de1 LazReport, fix preview's find button always visible, issue #25831
git-svn-id: trunk@44369 -
2014-03-07 19:06:27 +00:00
jesus
51c51a18b9 LazReport, fix paper orientation changed after printing, issue #25802
git-svn-id: trunk@44348 -
2014-03-05 00:07:06 +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
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
3c3a4e2b17 LazReport, enable native print dialog in Mac OS X by default + option to disable it
git-svn-id: trunk@43273 -
2013-10-18 05:12:48 +00:00
jesus
b6c62107a1 LazReport, Implemented the possibility of navigation on the report, similar to the html page. And sample, Patch from Aleksey Lagunov
git-svn-id: trunk@40752 -
2013-04-08 19:02:28 +00:00
jesus
606d865ad3 LazReport, Patch from Alexey Lagunov:
1. Fix error set Page.Visible=false from report script when generating the report.
2. Added a new component for the lazreport dialog boxes - TfrButtonPanel.
3. Implemented change size report dialogs with mouse.
4. Fixed display of selected controls in the report dialog box on modify  report at design time.
5. Improvements to create a preview form for reports.
6. For component TfrDesigner added Events to save and read reports in the designer from sources other than files. For example - from the database.

git-svn-id: trunk@40720 -
2013-04-05 18:19:56 +00:00
blikblum
db7093818a lazreport: add option roHideDefaultFilter to hide default filter (.frp). Disabled by default. Remove conditional define used previously
git-svn-id: trunk@39369 -
2012-11-25 01:29:31 +00:00
blikblum
0ca30c0e9c lazreport: add const for string parameters
git-svn-id: trunk@39277 -
2012-11-13 12:01:02 +00:00
blikblum
9ac3607662 lazreport: remove the default export filter (binary) from save/open dialog in preview. Protected by a conditional define disabled by default
git-svn-id: trunk@39275 -
2012-11-13 02:27:24 +00:00
blikblum
294d582a7b lazreport - Implement TfrPreview.Clear
git-svn-id: trunk@38648 -
2012-09-14 01:37:52 +00:00
jesus
4df5e46efb LazReport, Implemented search in preview the report, from Aleksey Lagunov, issue #22296
git-svn-id: trunk@37708 -
2012-06-20 20:02:08 +00:00
mattias
903a5a4292 lazreport: clena up
git-svn-id: trunk@37102 -
2012-04-30 10:37:13 +00:00
jesus
1dbb373b69 LazReport, lift up to preview window improving layout and functionality, from Julio Jimenez B.
git-svn-id: trunk@36938 -
2012-04-20 17:25:47 +00:00
jesus
0918348369 LazReport, now fix preview scrolling in windows, broken in r36887 #ef8cf9df31
git-svn-id: trunk@36909 -
2012-04-19 14:12:16 +00:00
jesus
ef8cf9df31 LazReport, fix preview scrolling broken in r36420 #c016e1b6ec, issue #21633
git-svn-id: trunk@36887 -
2012-04-17 20:51:14 +00:00
mattias
9a2d07fb3d lazreport: less notes
git-svn-id: trunk@36421 -
2012-03-29 08:57:41 +00:00
mattias
c016e1b6ec lazreport: less notes
git-svn-id: trunk@36420 -
2012-03-29 08:54:52 +00:00
mattias
26d472e206 lazreport: less notes
git-svn-id: trunk@36418 -
2012-03-29 08:52:20 +00:00
jesus
cf9d1a8a39 LazReport, Added ExportFilename and check that right export filter is selected, issue #19302
git-svn-id: trunk@30839 -
2011-05-21 18:16:17 +00:00
jesus
b5a9ad4484 LazReport, some refactoring to get information from custom preview report
git-svn-id: trunk@28929 -
2011-01-10 06:22:25 +00:00
jesus
33b28ccbcd LazReport, fix preview's vertical scrollbar too wide, issue #16855
git-svn-id: trunk@26627 -
2010-07-13 15:29:27 +00:00
paul
fddaff3033 lazreport: always show glyphs on preview buttons (since they have only glyphs)
git-svn-id: trunk@23045 -
2009-12-09 07:09:18 +00:00
jesus
61804fcfa3 LazReport : Disable Ctrl+P when pbPrint:=False, from Javivf, issue #14971
git-svn-id: trunk@22434 -
2009-11-04 19:35:47 +00:00
jesus
f43edd5537 LazReport, added TfrPreview component, issue #14539
git-svn-id: trunk@21605 -
2009-09-08 05:58:27 +00:00
jesus
01a60c3e54 LazReport, fix preview MouseWheel scrolling
git-svn-id: trunk@18509 -
2009-01-30 22:00:28 +00:00
jesus
f14de32a86 LazReport, fix preview scrolling, issue #12390
git-svn-id: trunk@16993 -
2008-10-14 20:49:16 +00:00
jesus
6997537d50 LazReport, mousewheel scrolling in preview, hint from Domingo Alvarez Duarte, issue #11180
git-svn-id: trunk@15299 -
2008-06-03 15:39:04 +00:00
jesus
231cf03bbb lazreport, fix name when saving report in preview, issue #10925, tip from Boguslaw Brandys
git-svn-id: trunk@14393 -
2008-03-03 20:15:24 +00:00
jesus
d0a347df28 Added LazReport components
git-svn-id: trunk@11950 -
2007-09-06 19:47:34 +00:00