N2PDFTerm |
Start page Previous page Next page |
N2PDFXMLExport ( <JobID>, <OperationMode>, <ServerName>, <DatabaseName>, <UNID>, <FileName> ) -> <ErrorCode>
Descriptiong With this function, you can additionally save the selected Notes document as an XML file or enrich the XMP block of the PDF file with additional metadata. The storage location can be chosen freely.
Declaration for LotusScript Declare Function N2PDFXMLExport Lib LibName Alias "N2PDFXMLExport" ( _ Byval JobID As Long, _ Byval OperationMode As Long, _ Byval ServerName As Unicode String, _ Byval DatabaseName As Unicode String, _ Byval UNID As Unicode String, _ Byval FileName As Unicode String ) As Long
Parameter <JobID> (LONG) The number that is returned when N2PDFInit is invoked and which references the PDF file in the memory. You use this ID to control which PDF you want to access with the function.
<OperationMode> (LONG) Use this parameter to specify which XML export mode should be executed. There are two modes available. The modes are described in the XMP Metadata section.
<ServerName> (UNICODE STRING) This is the name of the server on which the database containing the RichText field or the Notes document is located. If this is a local database (from the perspective of the client or the server), then please enter "" as the value.
<DatabaseName> (UNICODE STRING) This is the name of the database in which the RichText field or Notes document is located. Please keep in mind that under certain circumstances this name must also include a path if the database is found in a subdirectory of the Notes data directory. The path, however, must not be an absolute path ("C:\Notes\Data\N2PDF\Test.nsf") but always only be described as a path relative to the data directory of the client or the server ("N2PDF\Test.nsf").
<UNID> (UNICODE STRING) This is the "Universal Document ID" of the RichText field or the Notes document that you want to add to the PDF file.
<FileName> (UNICODE STRING) The name of the XML file (including pathname and file extension).
Return <ErrorCode> (LONG) The code number of the error that has occurred when performing the function (see "Error Codes ").
|