mirror of
https://pdfium.googlesource.com/pdfium
synced 2026-08-02 20:37:52 +08:00
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>
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.