apdf 7.0.0 (#1393)

🆕 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.
This commit is contained in:
Gautier de Montmollin
2025-02-22 12:09:20 +01:00
committed by GitHub
parent 8543d4b80f
commit 63c20398f9
+55
View File
@@ -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"]