Releases: unidoc/unipdf-examples
v4.0.0
Examples update for UniPDF v4.0.0
This release is major updates, this release contains more examples, improvements and removes deprecated functions that support UniPDF v4.0.0
New Examples
PDF Grid
The example explains how to create grids in your PDF reports. The grid component can be used for creating different layouts in the report, or for creating tables.
- The example showcases how you can use the power of the creator package to create a simple grid
grid/pdf_grid_simple.go - The example showcases how to create grid with a cell occupying several columns
grid/pdf_grid_colspan.go - The example showcases how to create grid with a cell occupying several rows
grid/pdf_grid_rowspan.go - The example showcases how to create grid wrapped across the pages
grid/pdf_grid_wrapping.go
v3.69.0
Update UniPDF version to v3.69.0
Full Changelog: v3.68.0...v3.69.0
v3.68.0
Examples updated for UniPDF v3.68.0
This release contains more examples, improvements and removes deprecated functions that support UniPDF v3.68.0
New Examples
-
text/pdf_search_replace_advanced.go
Example of more advanced text search and replace -
pages/pdf_merge_with_page_numbers.go
Example of merge and edit PDF pages with page number -
arabic-text/pdf_write_arabic.go
Example of write Arabic text to PDF -
hebrew-text/pdf_write_hebrew.go
Example of write Hebrew text to PDF -
text/pdf_highlight_text.go
Example of text highlighting -
drawing/pdf_draw_lines.go
Example of drawing lines -
pages/pdf_append_contents.go
Example for append PDF contents -
report/pdf_custom_toc.go
Example of creating report with custom table of content generator -
outlines/pdf_create_outlines.go
[US-118] Example for creating outlines -
multi-font-encoder/use_composite_TTFPdfFonts.go
[US-395] Example of using multi font encoder -
image/pdf_images_to_pdf_lazy.go
[US-369] Example of adding images to a PDF using lazy mode -
svg/pdf_svg_shapes_and_text.go
[US-575] Example of adding SVG image to PDF -
license/unipdf_license_key_usage_log.go
[US-627] Example of API Key License with usage logs -
report/pdf_report_from_csv.go
[US-684] Example of creating report from CSV -
search-and-replace/search_text.go
[US-777] Example of search text within a PDF -
search-and-replace/replace_text.go
[US-777] Example of replace text within a PDF -
watermarks/pdf_add_text_watermark.go
[US-856] Example of adding text watermark -
attachment/pdf_add_attachment.go
[US-392] Example of adding file attachment to a PDF -
attachment/pdf_get_attachment.go
[US-392] Example of get file attachment to a PDF -
watermarks/pdf_remove_watermark_image.go
[US-800] Example of remove watermark image from a PDF -
table-info/table_content.go
Example to get texts inside table -
https://github.com/unidoc/unipdf-examples/blob/master/table-info/partition_text.go
Example of extracted text into sections of inside table and outside table contentsPDF/A
- pdfa/pdfa2_apply_standard.go
Example PDF/A-2 standard application - pdfa/pdfa2_validate_standard.go
Example PDF/A-2 validation - pdfa/pdfa3_apply_standard.go
[US-397] Example PDF/A-3 strandards application - pdfa/pdfa3_validate_standard.go
Example PDF/A-3 validation
PDF Digital Signatures
- signatures/pdf_sign_docmdp.go
[UP-14] Example sign a PDF with DocMDP restrictions - signatures/pdf_sign_docmdp_invalid_changes.go
Example of sign a PDF document with the DocMDP restriction and add some invalid changes - signatures/pdf_sign_docmdp_valid_changes.go
Example of sign a PDF document with the DocMDP restriction and add some valid changes - signatures/pdf_sign_external_globalsign.go
[UP-247] Example of sign PDF with GlobalSign DSS - signatures/pdf_sign_external_aws_kms.go
Example of sign PDF with AWS KMS - signatures/pdf_sign_external_google_cloud_kms.go
[UP-341] Example of sign PDF with Google Cloud KMS - signatures/pdf_sign_pades_b_b.go
Examples of sign PDF PAdES B-B compatible - signatures/pdf_sign_validate_pades_b_b.go
Example of PDF validate PAdES B-B signature - signatures/pdf_sign_pades_b_t.go
[UP-487] Example of sign PDF PAdES B-T compatible - signatures/pdf_sign_pades_b_lt.go
Example of sign PDF PAdES B-LT compatible - signatures/pdf_sign_pades_b_lta.go
Example of sign PDF PAdES B-LTA compatible
PDF Redaction and Sanitize
- sanitize/pdf_sanitize_document.go
[UP-478] Example of PDF document sanitization - sanitize/pdf_modify_contents.go
Example of PDF sanitize and modify pdf objects - redact/redact_text.go
Example of PDF text redaction
PDF Extractor
- extract/pdf_extract_fonts.go
Example of font extraction - extract/pdf_simple_extraction.go
[UP-403][UP-404] Example of simpler extraction process and text vertical alignment - concurrent-processing/concurrent_extraction.go
[UDD-35] Example of concurrent document extraction - extract-bullet-lists/extract_bullet_list.go
[UP-157] Example of bullet point extraction
UniPDF Templates
- templates/trade-confirmation
[UP-406] Example of trade confirmation using UniPDF templates - templates/concert-ticket
Example of concert ticket using UniPDF templates - templates/boarding-pass
[UP-412] Example of boarding pass using UniPDF templates - templates/security-report
Example of security report using UniPDF templates - templates/airplane-ticket
Example of airplane ticket using UniPDF templates - templates/documentation
Example of documentation using UniPDF templates - templates/medication-schedule-report
[UP-422] Example of medication schedule using UniPDF templates - templates/log-book-report
[UP-423] Example of log book report using UniPDF templates
...
- pdfa/pdfa2_apply_standard.go
v3.29.0
Examples updated for UniPDF v3.29.0
New examples
-
signatures/pdf_sign_and_encrypt_pdf.go
Showcases how to encrypt and apply a digital signature to an encrypted file. -
signatures/pdf_sign_twice_visible_annotation.go
Example of multiple signing with visible annotations - digital signatures -
text/pdf_search_replace_advanced.go
More advanced example of search and replace with UniPDF.