LibrePDF / OpenPDF

OpenPDF is a free Java library for creating and editing PDF files, with a LGPL and MPL open source license. OpenPDF is based on a fork of iText. We welcome contributions from other developers. Please feel free to submit pull-requests and bugreports to this GitHub repository.
Other
3.63k stars 598 forks source link

Add missing wiki examples #1139

Closed jabhatfield closed 7 months ago

jabhatfield commented 7 months ago

Add missing wiki examples

If they look ok I will update the wiki to reference them.

Testing details

Run the main methods as per the other examples in the pdf-toolbox.

sonarcloud[bot] commented 7 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

asturio commented 7 months ago

Looks nice. I find it is allways better to have examples as code, so they change if the library change. You can update the Wiki, if you want.

jabhatfield commented 7 months ago

Wiki updated:

https://github.com/LibrePDF/OpenPDF/wiki/Header-and-Footer https://github.com/LibrePDF/OpenPDF/wiki/Signing

@asturio please can you check it's ok? if so I will update wiki entries 1-4 and 7 in a similar way, to reference current examples. I agree with referencing code directly :)

asturio commented 7 months ago

That is perfect.