From 63c20398f9f109cdd5fa2ab2d28d19f155a334fa Mon Sep 17 00:00:00 2001 From: Gautier de Montmollin Date: Sat, 22 Feb 2025 12:09:20 +0100 Subject: [PATCH] apdf 7.0.0 (#1393) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🆕 Changes in this version: * Vector graphics: added Arc and Circle. * Navigation: added Hyperlink methods for producing links within or outside the document. The main demo (pdf_out_demo.adb) includes now some pie charts and hyperlink examples. An additional demo shows graphically various steps of the k-means data clustering / unsupervised machine learning method. --- index/ap/apdf/apdf-7.0.0.toml | 55 +++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 index/ap/apdf/apdf-7.0.0.toml diff --git a/index/ap/apdf/apdf-7.0.0.toml b/index/ap/apdf/apdf-7.0.0.toml new file mode 100644 index 00000000..511a410e --- /dev/null +++ b/index/ap/apdf/apdf-7.0.0.toml @@ -0,0 +1,55 @@ +description = "Portable package for producing dynamically PDF documents" +name = "apdf" +version = "7.0.0" +authors = ["Gautier de Montmollin"] +website = "https://apdf.sourceforge.io/" +licenses = "MIT" +maintainers = ["gdemont@hotmail.com"] +maintainers-logins = ["zertovitch", "Fabien-Chouteau"] +project-files = ["pdf_out_gnat_w_gid.gpr"] +executables = ["pdf_out_demo", "koch_curve", "sierpinski_arrowhead_curve"] +tags = ["pdf", "adobe"] + +long-description = """ + +**PDF_Out** is an Ada package for producing easily and automatically PDF files, from an Ada program, with text, vector graphics and raster graphics. + +![Ada PDF Screenshot](https://apdf.sourceforge.io/pw_ari_parcel_m.png "Screenshot of a page produced by PDF_Out") + +* Ideal for the dynamic production of reports, invoices, tickets, charts, maps etc. +* Vector graphics +* Inclusion of JPEG images +* Object oriented +* Task safe +* Endian-neutral +* Multi-platform, but native code build +* Standalone (no dependency on other libraires, bindings, etc.; no extra component needed for running) +* 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 +* Free, open-source + +The creation of a PDF file is as simple as this small procedure: + +```ada +with PDF_Out; + +procedure Small_Demo is + pdf : PDF_Out.PDF_Out_File; +begin + pdf.Create ("small.pdf"); + pdf.Put_Line ("This is a very small demo for PDF_Out..."); + pdf.Close; +end Small_Demo; +``` + +""" + +[gpr-externals] +PDF_Build_Mode = ["Debug", "Fast"] + +[[depends-on]] +gid = ">=9.0.0" + +[origin] +url = "https://sourceforge.net/projects/apdf/files/apdf_007.zip" +hashes = ["sha512:11c5d525f3e77d88f673dc8921af4304f33188c0ca54c3ab3da3013212d48027019f31b935933aeaad8d40ead76a3711f8ed491810e63f546e1f550e15cfb7ea"]