mirror of
https://github.com/michaelrsweet/pdfio.git
synced 2026-04-09 13:32:31 +02:00
Document tagged PDF support (Issue #123)
This commit is contained in:
@@ -467,13 +467,22 @@ pdfioArrayCreateColorFromStandard(
|
||||
// This function starts an area of marked content with an optional dictionary.
|
||||
// It must be paired with a call to the @link pdfioContentEndMarked@ function.
|
||||
//
|
||||
// The "tag" argument specifies the tag name string for the content such as "P"
|
||||
// for a paragraph, "H1" for a top-level heading, and so forth. The "dict"
|
||||
// argument specifies an optional dictionary of properties for the content such
|
||||
// as the marked content identifier ("MCID") number.
|
||||
//
|
||||
// Calling this function sets the "Marked" key in the "MarkInfo" dictionary of
|
||||
// the document catalog. The caller is responsible for setting the
|
||||
// "StructTreeRoot" dictionary when creating marked content.
|
||||
//
|
||||
// @since PDFio 1.6@
|
||||
//
|
||||
|
||||
bool // O - `true` on success, `false` on failure
|
||||
pdfioContentBeginMarked(
|
||||
pdfio_stream_t *st, // I - Stream
|
||||
const char *name, // I - Name of marked content
|
||||
const char *tag, // I - Tag name of marked content
|
||||
pdfio_dict_t *dict) // I - Dictionary of parameters or `NULL` if none
|
||||
{
|
||||
if (!st || !name)
|
||||
|
||||
Reference in New Issue
Block a user