Commit Graph

51 Commits

Author SHA1 Message Date
wp_xxyyzz
cac2143536 GridPrinter: Extend dbgrid2 demo for filtered dataset.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9446 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-09-18 09:34:49 +00:00
wp_xxyyzz
e3cba0674d GridPrinter: Check whether printers are installed also for Preview.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9186 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-01-30 17:43:46 +00:00
wp_xxyyzz
fddd97d93e GridPrinter: Raise an exception when no printer is available.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9183 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-01-29 21:27:36 +00:00
wp_xxyyzz
8bc258de80 GridPrinter: Add event OnManualPageBreak to allow user-defined manual page-breaks.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9131 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2024-01-08 23:11:51 +00:00
wp_xxyyzz
319c3452e0 GridPrinter: Wordwrap header/footer texts if they are too long
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8886 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-07-19 20:09:14 +00:00
wp_xxyyzz
352fa06659 GridPrinter: Minor cleanup.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8767 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-03-21 19:03:24 +00:00
wp_xxyyzz
a26891420e GridPrinter: Increment version number to 0.5
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8654 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-12-15 13:28:44 +00:00
wp_xxyyzz
467824d41d GridPrinter: Update a readme file.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8653 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-12-15 13:09:01 +00:00
wp_xxyyzz
7fcc800de0 GridPrinter: Make sure that all printed pages have the same date/time in their header/footer, if applicable. Add xml docs for GrindPrinterActions.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8652 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-12-14 23:22:06 +00:00
wp_xxyyzz
d1a9836946 GridPrinter: Set version number to 0.4 for next OPM release. Less hints and warnings.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8650 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-12-14 18:43:48 +00:00
wp_xxyyzz
b6cbe7c8aa GridPrinter: Add xml docs for the GridPrintPreviewDialog.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8649 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-12-14 18:37:53 +00:00
wp_xxyyzz
5f4edeff99 GridPrinter: Complete xml documentation of the gridprn unit.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8648 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-12-13 22:54:51 +00:00
wp_xxyyzz
266cfd42a1 GridPrinter: Beginning to add documentation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8646 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-12-12 23:27:06 +00:00
wp_xxyyzz
4a596b1041 GridPrinter: More general code in dbgrid sample project.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8641 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-12-08 17:56:43 +00:00
wp_xxyyzz
18e631e722 GridPrinter: Fix alignment and layout of checkbox columns in preview/print.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8639 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-12-07 23:48:15 +00:00
wp_xxyyzz
fb21c53cbd GridPrinter: Add example with StringGrid.Columns.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8638 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-12-06 22:40:27 +00:00
wp_xxyyzz
da1a1d25fc GridPrinter: Support fixed col numbering. Better support of grid column formatting.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8637 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-12-06 22:16:18 +00:00
wp_xxyyzz
205529f52c GridPrinter: Fix grid titles missing when there are no fixedcols.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8636 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-12-06 21:42:17 +00:00
wp_xxyyzz
2d4523c259 GridPrinter: Improvements in dbgrid printing. New event OnNewLine.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8634 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-12-03 00:12:07 +00:00
wp_xxyyzz
debd0c4b9c GridPrinter: Fix custom painting of cell broken by previous commit.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8633 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-11-26 18:54:48 +00:00
wp_xxyyzz
8bb47927c9 GridPrinter: Add more general database example for printing a dbgrid. Modified TGridPrinter to make this work.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8632 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-11-26 16:57:47 +00:00
wp_xxyyzz
8a3d10ca0d GridPrinter: Attempting to fix TsWorksheetGrid cell borders in preview/printout.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8628 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-11-16 23:44:34 +00:00
wp_xxyyzz
42eccf22b7 GridPrinter: Fix TsWorksheetGrid scaling in preview/printout.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8627 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-11-16 23:02:24 +00:00
wp_xxyyzz
3a6f3503fe GridPrinter: Fix drawing of too-wide grid lines in TsWorksheetGrid preview.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8626 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-11-16 22:41:22 +00:00
wp_xxyyzz
c70778308c GridPrinter: Add example how to print a spreadsheet grid (requires fpspreadsheet)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8624 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-11-16 18:57:57 +00:00
wp_xxyyzz
d13027dc87 GridPrinter: Add GUI for printer scaling.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8623 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-11-15 22:52:13 +00:00
wp_xxyyzz
8f4791320c GridPrinter: Allow to adjust printer scale factor to fit print-out into a number of pages.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8622 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-11-14 22:40:53 +00:00
wp_xxyyzz
822873cffb GridPrinter: Implement scaling factor for printer (in addition to already existing preview scaling factor).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8621 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-11-14 18:49:55 +00:00
wp_xxyyzz
323744eaff GridPrinter: Fix LCLScaling for PreviewForm size parameters.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8619 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-11-13 13:20:17 +00:00
wp_xxyyzz
1f2391e102 GridPrinter: Fix typo in German translation.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8618 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-11-13 00:05:14 +00:00
wp_xxyyzz
335946d9e4 GridPrinter: Improved selection of zoom factor and zoom modes in PrintPreviewDialog.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8617 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-11-13 00:04:51 +00:00
wp_xxyyzz
7e24531906 GridPrinter: Add properties to TGridPrintPreviewDialog to determine preview form size and position, as well as initial zoom.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8616 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-11-12 23:35:27 +00:00
wp_xxyyzz
3af3022fac GridPrinter: Minor rework in multi-language demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8615 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-11-12 22:38:55 +00:00
wp_xxyyzz
998ea63b35 GridPrinter: (Hopefully) fix non-functional LCLScaling for header/footer font size.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8614 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-11-12 22:37:56 +00:00
wp_xxyyzz
5323141bda GridPrinter: Some new icons for the preview by Roland Hahn.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8613 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-11-12 21:56:48 +00:00
wp_xxyyzz
6cc0a5829a GridPrinter: Fix minor oversights in previous commit.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8610 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-11-11 23:09:27 +00:00
wp_xxyyzz
1fe764c55e GridPrinter: More options to control the preview's toolbar.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8609 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-11-11 22:59:52 +00:00
wp_xxyyzz
8bd3387381 GridPrinter: Fix anchoring in header/footer form
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8608 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-11-11 15:25:24 +00:00
wp_xxyyzz
058c1adfc7 GridPrinter: Add options to center grid on page horizontally and/or vertically.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8606 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-11-10 23:45:31 +00:00
wp_xxyyzz
dd77f6adb4 GridPrinter: Still an issue with grouped portrait and landscape actions in gridprnpreviewform. Fixed.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8605 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-11-10 21:09:17 +00:00
wp_xxyyzz
f004e0c047 GridPrinter: Fix compilation of previous commit.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8602 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-11-10 17:11:41 +00:00
wp_xxyyzz
413eaa1b60 GridPrinter: Fix AutoSizing of Header/Footer Dialog.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8601 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-11-10 17:09:25 +00:00
wp_xxyyzz
c3d1e09bab GridPrinter: Fix colors for dark mode
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8600 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-11-10 16:40:54 +00:00
wp_xxyyzz
6b969f480d GridPrinter: Change version number to 0.3.0 after release of v0.2.0
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8599 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-11-09 16:57:17 +00:00
wp_xxyyzz
fa2005c723 GridPrinter: Refine actions demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8598 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-11-09 16:49:49 +00:00
wp_xxyyzz
26fbe040da GridPrinter: Set version number to 0.2 for OPM. Add package description and license information.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8597 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-11-09 16:28:15 +00:00
wp_xxyyzz
d48f33a70d GridPrinter: Add standard actions for printing/previewing a grid.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8596 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-11-09 16:14:31 +00:00
wp_xxyyzz
39089540a1 GridPrinter/PreviewForm: Fix orientation and page order buttons (changed when checked toolbutton was clicked again)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8595 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-11-08 23:38:47 +00:00
wp_xxyyzz
c31b6d5e6e GridPrinter: Add demo for usage of OnPrepareCanvas event.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8594 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-11-08 23:27:38 +00:00
wp_xxyyzz
5733bf1c3b GridPrinter: Rename TGridPrinter property PrintDialogs to ShowPrintDialog
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8593 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-11-08 23:02:34 +00:00