April Kallmeyer 1029a965b7 Create FDPFPageObj_AddExistingMark()
CPDF_PageContentGenerator::ProcessContentMarks() already operates in
such a way that consecutive page objects with the same
CPDF_ContentMarkItem pointer get merged into a single BMC/EMC group.
So this new API allows embedders to insert marks that span multiple page
objects.

Bug: 409021827, 408926609
Change-Id: I139d279f0fd59ccd6ed05d0c1c79c560bfebb153
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/148370
Reviewed-by: Andy Phan <andyphan@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
2026-05-29 14:17:31 -07: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.