Commit Graph

122 Commits

Author SHA1 Message Date
Jesus Reyes A
9faceb4e77 LazReport: Adding 2x Zoom capabilities to LazReport Designer, from Yuliyan Ivanov, issue #40447 2023-09-01 01:41:27 -06:00
Juha
c3891ad820 Reduce compiler warnings. 2023-07-03 06:23:49 +03:00
Juha
1475336c8c Remove LCLProc.OffsetRect(). Move some functions from LCLProc to GraphMath (LazUtils). 2023-06-05 15:48:01 +03:00
Jesus Reyes A
fd4f2335c0 LazReport: Using same cursor for oposite corners don't look nice in linux on ObjInsp resizing, changed to use proper cursors. 2021-09-01 17:36:09 -05:00
Jesus Reyes A
2d593b196f LazReport: Resizeable object inspector, fix issue #12156 2021-09-01 10:03:48 -05:00
Jesus Reyes A
92805d1862 LazReport: Clear objInsp selection before deleting objects to avoid AV if objInsp is editing a property, fix issue #26060 2021-08-31 00:15:14 -05:00
juha
0a546c54cf LazReport: Allow entering more than one digit in font combobox editor. Issue #39026, patch by Soner.
git-svn-id: trunk@65294 -
2021-06-22 21:32:22 +00:00
jesus
ac50e66e44 LazReport: Fix the slow filling of font's combobox so it can now be made on designer opening, this fixes no showing the font in the font list when some object is selected and the report is just loaded.
git-svn-id: trunk@63937 -
2020-09-29 03:55:35 +00:00
jesus
ebc3a1947b LazReport: Support for custom paper sizes.
git-svn-id: trunk@63931 -
2020-09-28 01:10:36 +00:00
jesus
cb166633f6 LazReport: Support for nogui-cgi or otherwise console and web applications.
git-svn-id: trunk@63892 -
2020-09-19 17:56:34 +00:00
juha
3abc824f69 LazReport: Fix a TfrDesignerPage memory leak. Issue #36918, patch from Michal Gawrycki.
git-svn-id: trunk@62991 -
2020-04-15 19:33:56 +00:00
jesus
0ff93d16af LazReport: snap resizing object(s) to guides.
git-svn-id: trunk@62447 -
2019-12-25 19:04:40 +00:00
jesus
7d87865122 LazReport: Snap to guide while drawing one inserted object.
git-svn-id: trunk@62443 -
2019-12-25 02:46:24 +00:00
jesus
f98cd17789 LazReport: When using helper guides, snap objects while moving them.
git-svn-id: trunk@62442 -
2019-12-24 23:57:48 +00:00
jesus
633d58980c LazReport: Implements Helper aligning guids, WIP.
git-svn-id: trunk@62436 -
2019-12-23 18:45:34 +00:00
jesus
123e8f9f45 LazReport: Update dseigner scrollbars on changing current page, patch by Michal Gawrycki, issue #35882
git-svn-id: trunk@61623 -
2019-07-26 01:12:35 +00:00
juha
d9ac09795b Respect compiler OPT='-v0' by using {$push} and {$pop} in code. Issue #34955.
git-svn-id: trunk@60706 -
2019-03-16 21:17:58 +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
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
maxim
c6d7c228dd LazReport: Cross-Tab component's i18n by Marcelo B Paula, bug #32883, with
some minor changes; regenerated translations and updated Russian 
translation

git-svn-id: trunk@56856 -
2017-12-27 15:24:36 +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
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
9857b48718 LazReport: fix page margins values, issue #32407
git-svn-id: trunk@55849 -
2017-09-13 04:57:30 +00:00
michl
32b4763c04 Lazreport: change IndexOfTabAt to IndexOfPageAt, to be backward compatible after r53950 #f723ac55cd
git-svn-id: trunk@53951 -
2017-01-15 22:04:27 +00:00
jesus
27eb75ed6b LazReport: preserve selected property in object inspector on seletion change, issue #30392
git-svn-id: trunk@53884 -
2017-01-03 18:45:51 +00:00
jesus
7377deb632 LazReport: In the Designer Save the last used directories for Save/Load reports, issue #28770
git-svn-id: trunk@52723 -
2016-07-20 06:26:10 +00:00
jesus
c66e4799fa LazReport, Remember the last saved file directory if possible, issue #28770
git-svn-id: trunk@52708 -
2016-07-17 22:23:33 +00:00
jesus
5a351b66a9 LazReport: When pasting copied objects using the keyboard shortcut paste them at mouse cursor location if possible.
git-svn-id: trunk@52690 -
2016-07-15 02:47:54 +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
40dfa665f1 LazReport: patch for pasting copied objects at cursor coordinates instead of at (0,0), by Luiz Americo, issue #29607
git-svn-id: trunk@52675 -
2016-07-12 17:04:44 +00:00
jesus
3852d2bd5e LazReport, enable some object inspector graphic property editors like color, so the object inspector show a color representation and color picker instead of just a number, fix issue #30346
git-svn-id: trunk@52632 -
2016-07-05 20:07:46 +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
513a34caf9 LazReport, fix designer gdi leak on deleting objects
git-svn-id: trunk@52448 -
2016-06-06 16:32:35 +00:00
jesus
ea8917f49a LazReport: fix Access Violation on deleting object which has been previously renamed, issue #30206
git-svn-id: trunk@52434 -
2016-06-04 06:44:23 +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
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
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
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
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
e169235dee LazReport, make sure template dir is created if it doesn't exists
git-svn-id: trunk@46692 -
2014-10-28 06:22:37 +00:00
jesus
c70388e6a8 LazReport, invalidate the page instead of just invalidating the 'end' state after undo/redo, fix issue #26698
git-svn-id: trunk@46249 -
2014-09-19 03:33:22 +00:00
jesus
51415f926a LazReport, fix mem leaks
git-svn-id: trunk@46164 -
2014-09-08 21:52:50 +00:00
jesus
8a7aef4759 LazReport, fix List index (-1) out of bounds on undoing pen object inserts, issue #26506
git-svn-id: trunk@46137 -
2014-09-06 05:41:36 +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
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
maxim
ed087f691f LazReport: improved localization, regenerated translations, updated Russian translation (bugs #26502, #26503)
git-svn-id: trunk@45969 -
2014-07-24 21:42:09 +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