Andy Phan a4c72621ee Add API to set document language in PDF document
Add experimental API FPDFCatalog_SetLanguage() that allows the user to
set the /Lang entry in a PDF document's catalog. Make
CPDF_Document::SetRootForTesting() public so that it can be used in new
embedder tests without CPDF_TestDocument.

Bug: 42270891
Change-Id: I1ea20bf80f9045bd9fd34e55fcaf58cf82023d3c
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/123112
Commit-Queue: Andy Phan <andyphan@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
2024-08-10 01:50:23 +00:00
..
2022-10-31 20:11:31 +00:00
2023-05-22 20:14:03 +00:00
2024-06-21 19:34:53 +00:00
2022-10-31 20:11:31 +00:00
2024-06-22 01:30:27 +00:00
2022-10-31 20:11:31 +00:00
2022-10-31 20:11:31 +00:00
2024-07-17 23:08:59 +00:00

public/ README

The header files in this directory are the only ones that should ever be
included by an embedder of PDFium.  If there arises a need for functionality
beyond what is present here, then a new API must be added here to provide it.

Documentation for the API is within the headers. Start by reading fpdfview.h.

These header files must be entirely contained in this directory; they must
never include other header files from outside of it.

These files must compile cleanly without warnings on both C and C++ compilers.

Changes to these files must be carefully considered to avoid breaking
compatibility.