DynaPDF Manual - Page 567

Previous Page 566   Index   Next Page 568

Function Reference
Page 567 of 818
OpenTag
Syntax:
LBOOL pdfOpenTag(
const PPDF* IPDF,
// Instance pointer
TPDFBaseTag Tag,
// The tag that should be created
const char* Lang,
// Optional RFC 3066 laguage identifier
const char* AltText,
// Optional alternate text
const char* Expansion) // Optional expansion of Abbrevations or
Acronyms
typedef enum
{
btArt,
btArtifact,
// Artifact (contents that should be ignored)
btAnnot,
// An annotation must be inserted to finish the tag!
btBibEntry,
// Bibliography entry
btBlockQuote,
btCaption,
btCode,
btDiv,
btDocument,
btFigure,
btForm,
// A form field must be inserted to finish the tag!
btFormula,
btH,
btH1,
btH2,
btH3,
btH4,
btH5,
btH6,
btIndex,
btLink,
// A link annotation must be inserted to finish the tag (FileLink(), PageLink(),
// or WebLink()!
btList,
// L
btListElem,
// LI
btListText,
// LBody
btNote,
btP,
btPart,
btQuote,
btReference,
btSection,
// Sect
btSpan,
btTable,
btTableDataCell, // TD
btTableHeader,
// TH
btTableRow,
// TR
btTOC,
btTOCEntry
// TOCI
}TPDFBaseTag;
The function opens the specified tag so that contents can be written into it. When the corresponding
contents was drawn or output the tag must be closed with CloseTag(). The supported tags have the
same meaning as the corresponding HTML tags.
Notice:
Tagged PDF files require a global structure tree that must be created with CreateStructureTree()
before this function can be called.
 

Previous topic: OpenOutputFileEncrypted

Next topic: Optimize


Start Chat