Skip to content

Commit

Permalink
deep refactoring of mormot.ui.pdf
Browse files Browse the repository at this point in the history
- proper code formatting and variables naming
- better integration to the mORMot 2 units
- initial FPC/LCL compatibility
  • Loading branch information
Arnaud Bouchez committed Oct 24, 2022
1 parent c60c146 commit 87b168d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/mormot.commit.inc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
'2.0.4226'
'2.0.4227'
10 changes: 10 additions & 0 deletions src/ui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,13 @@ High Performance PDF Engine for Windows
- Internal classes mapping PDF objects
- `TPdfDocument TPdfPage` main rendering classes
- `TPdfDocumentGdi` for GDI/`TCanvas` rendering support

### mormot.ui.report

Simple Report Engine with UI Preview and PDF Export
- Shared Functions used during Report Rendering
- `TGdiPages` Report Engine
- `TRenderPages` Prototype - unfinished

Forked and heavily patched from `TPages` component (c) 2003 Angus Johnson

6 changes: 3 additions & 3 deletions src/ui/mormot.ui.pdf.pas
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ implementation
{$endif OSWINDOWS}
{$ifdef USE_GRAPHICS_UNIT}
{$ifdef FPC}
LCLType,
LCLProc,
LCLIntf,
lcltype,
lclproc,
lclintf,
rtlconsts,
{$ifdef USE_METAFILE}
mormot.ui.core, // for TMetaFile definition
Expand Down

0 comments on commit 87b168d

Please sign in to comment.