Menu

Tree [r153] /
 History

HTTPS access


File Date Author Commit
 demos 2025-03-22 gdemont [r150] Added Put_XY with a Point as argument
 extras 2025-03-09 gdemont [r149] RC 8
 gid 2025-03-03 gdemont [r147] Upgraded copy of GID from v.10 to v.13
 tests 2025-02-27 gdemont [r143] Added metrics for standard fonts; added Boundin...
 tools 2025-01-27 gdemont [r124] Added demo and test with pie charts
 build.cmd 2025-03-03 gdemont [r147] Upgraded copy of GID from v.10 to v.13
 debug.pra 2017-11-24 gdemont [r64] minor change in .gpr project file to make it co...
 pdf_out-fonts.adb 2025-03-01 gdemont [r146] Simplified project file names
 pdf_out-fonts.ads 2025-03-01 gdemont [r144] Bounding_Box: added vertical offset; Hyperlink:...
 pdf_out-images.adb 2025-03-03 gdemont [r147] Upgraded copy of GID from v.10 to v.13
 pdf_out-images.ads 2025-01-25 gdemont [r120] Source code gardening; added Filling_Color (......
 pdf_out.adb 2025-03-24 gdemont [r151] Clarification in Finish_Path
 pdf_out.ads 2025-03-22 gdemont [r150] Added Put_XY with a Point as argument
 pdf_out.gpr 2025-07-30 gdemont [r152] (doc) Improved read-me
 pdf_out.prj 2025-03-01 gdemont [r146] Simplified project file names
 pdf_out_w_gid.gpr 2025-03-01 gdemont [r146] Simplified project file names
 pdf_writer.txt 2025-03-01 gdemont [r146] Simplified project file names
 pw_work.xls 2025-02-13 gdemont [r131] (doc) Update in the To-Do list
 readme.md 2025-08-13 gdemont [r153] (doc) Improved read-me

Read Me

Ada PDF Writer

The Ada PDF Writer consists of a package, PDF_Out,
which produces PDF files - as "physical" files, or as
other types of data streams.

The creation of a PDF file is as simple as this
small procedure:

  with PDF_Out;

  procedure Hello is
    pdf : PDF_Out.PDF_Out_File;
  begin
    pdf.Create ("tiny.pdf");
    pdf.Put_Line ("Hello world !");
    pdf.Close;
  end;

Full description in: pdf_writer.txt

Features:

  • Ideal for the dynamic production of reports, invoices, tickets, labels, delivery notes, charts, maps etc.
  • Lightweight API
  • Object oriented
  • Task safe
  • Endian-neutral
  • Multi-platform, but native code build
  • Unconditionally portable code: OS-, CPU-, compiler- independent code
  • Pure Ada 2012: this package can be used in projects in Ada 2012 and later language versions

PDF and layout features provided:

  • Texts of any size and color; multiple fonts
  • Vector graphics (lines, arcs, circles, Bezier curves, filled forms)
  • Hyperlinks (internal and external)
  • Inclusion of JPEG images
  • Margins, headers and footers

License

Ada PDF Writer is free, open-source and released under the MIT license.

Screenshots

Ada PDF Screenshot
Ada PDF Screenshot