Xojo Conferences
XDCMay2019MiamiUSA
MBSOct2019CologneDE

DynaPDF Manual - Page 527

Previous Page 526   Index   Next Page 528

Function Reference
Page 527 of 766
#define rsEmbFilesOnly
0x00002000 // PDF 1.6 AES Encryption only
The function opens the output file and sets the encryption parameters. This function enables in
combination with FlushPages() the creation of very large encrypted PDF files with minimal memory
usage.
The function can be called in a while statement, e.g. to display a open file dialog if the file could not
be opened. Once the function succeeds the PDF file can be finished with CloseFile().
Remarks:
This function is implemented in an Ansi and Unicode compatible version. Unicode paths are
converted to UTF-8 on non-Windows operating systems.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
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
 

Previous topic: OpenOutputFileEncrypted

Next topic: Optimize