What's new?

Top  Previous  Next

 

Version 3.2

 

 

Table of Contents

Individual design of the Table of Contents: You can define and use text templates at various levels in the Table of Contents.
Headers and footers: You can define and use individual text templates at various levels in the Table of Contents (above and below the TOC).

 

Handling of file attachments

The new setting N2PDFVALUE_ATTACHMENT_CONVERT_MODE with N2PDFOPTION_ATTACHMENT_MODE converts a file attachment into a standalone PDF file and this is then attached to the end of the new PDF file.
The option N2PDFOPTION_ATTACHMENT_COUNT_PDF_PAGES makes it possible to return the number of pages for the N2PDFAddAttachment for all PDF files transferred using this function.
Using the N2PDFOPTION_ATTACHMENT_EMBED_OBJ_AUTHORoption, you can set the title for embedded objects.
The function N2PDFAddFile makes it possible to transfer and edit any desired files in accordance with the mode set for the editing of attachments

 

Contents and formatting

With the option N2PDFOPTION_PAGE_NUMBERING_OFFSET you can exempt pages, e.g. the cover sheet, by transferring a positive or a negative value.
With the new parameter N2PDFVALUE_PROCESS_RETURN_PDF_PAGES for N2PDFProcess you are advised of the number of pages in the PDF file. You can send this value to a subsequent PDF file, e.g. via N2PDFOPTION_PAGE_NUMBERING_OFFSET.
Converting anchor links
The new option N2PDFVALUE_NOTES_LINK_MODE_IMAGE_NDL also now enables links (document, view and database links) to be converted even though their target is not contained in the PDF file. In this instance, the Notes Client is opened with the corresponding document or database.

 

Automatic size adaptation of graphics (N2PDFOPTION_IMAGE_MAX_HEIGHT_IN_BODY, N2PDFOPTION_IMAGE_MAX_WIDTH_IN_BODY) every time N2PDFAddAttachment or N2PDFAddRTContent is called.

 

Unicode/multilingual PDF files

Use of Unicode to edit the content of languages such as Russian or Greek
Setup of CID fonts and use via CMaps instead of embedding character sets for non-complex (Asian) character sets
Use of predefined CMaps for complex (Asian) languages when creating PDF files
Setting the CharacterSet when creating PDF files in languages which are not western European in origin

 

Miscellaneous

Improvement of memory/resource management, e.g. through detection of duplicated images.
Improved speed when creating PDF files through optimized search routines for variables and constants and through editing of images the creation of a Table of Contents

 

 

Version 3.1

 

Server integration

Complete "thread-safe" implementation of the PDF generation for better performance on (web) servers

 

Table of Contents

Multiline headings in the main text ([TOC:...]) and entries in the table of contents are possible. For this, the max. width of the text in the table of contents must be set with the option N2PDFOPTION_TOC_TEXT_MAX_WIDTH (sample database).
New variable [TOC] for headers and footers for output of the current chapter name (N2PDFOPTION_TOC_HF_VARIABLE). In addition, N2PDFOPTION_TOC_HF_VARIABLE_WITH_LEVEL can be used to decide whether the chapter numbering is part of the variable, and N2PDFOPTION_TOC_HF_VARIABLE_MAX_LEVEL to decide the max. chapter level that should be present in the variable (sample database).

 

Formatting and structure of the PDF file

Support of ISO standard 19005:1-2005 (PDF/A) (N2PDFOPTION_PDF_PDFA_MODE) (Sample database)
Setting further security options in the PDF file (Sample database):
N2PDFOPTION_PDF_SECURITY_DOC_ASSEMBLY
N2PDFOPTION_PDF_SECURITY_FORM_FILL_IN
N2PDFOPTION_PDF_SECURITY_ACCESSIBILITY
The option N2PDFOPTION_TOC_MAX_NUMBERING_LEVEL can be used to specify the max. depth of numbering in the table of contents (sample database).

 

Handling of file attachments

For the transfer of file attachments with the function N2PDFAddAttachment, individual fields of the document or names of attachments can now be given (sample database).
If file attachments are passed with the function "N2PDFAddAttachment" and these should be integrated into the PDF file as links (N2PDFVALUE_ATTACHMENT_LINK_MODE), then this can occur at the same position (N2PDFOPTION_ATTACHMENT_LINK_AT_POS) as in the Notes document. In addition, the option N2PDFOPTION_ATTACHMENT_LINK_ICON can be used to decide whether the link should appear as text (N2PDFVALUE_ATTACHMENT_LINK_TEXT) or as a file symbol (N2PDFVALUE_ATTACHMENT_LINK_EXT). If the link is displayed as a symbol, the filename of the linked file can be shown or hidden using N2PDFOPTION_ATTACHMENT_LINK_SHOW_NAME (sample database).
File attachments that are imported into the content of the PDF file in the mode N2PDFVALUE_ATTACHMENT_IMPORT_MODE using the function N2PDFAddAttachment can now be imported at the position (N2PDFOPTION_ATTACHMENT_IMPORT_AT_POS) at which they are embedded in the Notes document (sample database).
The option N2PDFOPTION_ATTACHMENT_EXTRACT_ARCHIVE can be used to say whether compressed attachments should be unpacked and the unpacked content should be processed, or whether the compressed file itself should be processed (e. g. in linking of file attachments in the PDF file) (sample database).

 

Contents and formatting

In the text, footnotes can be defined using a template of the form [FOOTNOTE:xxx]. The formatting for the footnotes can be defined with the text template with the name N2PDFVALUE_FOOTNOTE_PARAGRAPH_NAME. If no footnotes are needed, the checking can be deactivated with the option N2PDFOPTION_SPEED_NO_FOOTNOTES (sample database).
For the global text template N2PDFVALUE_GLOBAL_PARAGRAPH_NAME, settings such as bold, italic, underline or paragraph settings can now also be defined (sample database).
Graphics in Notes documents which are defined as "hotspots" (URL, formula, Notes link) are accepted into the PDF file as clickable graphics (N2PDFOPTION_PDF_CONVERT_HOTSPOTLINKS) (sample database).

 

Miscellaneous

The performance for serial letters was significantly improved (sample database).
Various improvements in the export and display of RichText fields or Notes forms (e.g. Display sections (sample database)).

 

 

Version 3.0

 

Formatting and structure of the PDF file

HTTPS links are converted and are clickable in the PDF file (sample database).
When attaching PDF files, existing tables of contents (Outlines) are included (sample database).
When amending PDF files with form fields, the input values are included
Compression of the created PDF file (N2PDFOPTION_COMPRESS_OUTPUT_FILE) as ZIP file with password protection (N2PDFOPTION_COMPRESS_PASSWORD) and freely definable filename (N2PDFOPTION_COMPRESS_TARGET_FILENAME) (sample database or sample database)

 

Table improvements (sample database)

"Tables-in-tables" (nested tables) are supported (unlimited nesting depth)
Tabbed tables are identified and the contents are output sequentially
Options to automatically scale tables to the page width (N2PDFOPTION_FORMAT_ADJUST_TABLE_WIDTH)
Set the horizontal spacing between the cell border and the cell content (N2PDFOPTION_EXPORT_TABLE_GAP)

 

Handling of file attachments

Native conversion of 200 file formats via the interface to the StarOffice Server PDF CONVERTER (SOC)
Define if conversion is to be performed via SOC or via the internal converter (N2PDFOPTION_SOC_ENABLED)
Define which file formats are converted via the SOC (N2PDFOPTION_SOC_EXTENSIONS) or all unknown file types (N2PDFOPTION_SOC_TRY_UNKNOWN_EXTENSIONS), if the internal converter is used
Embedding files in the PDF (sample database)
Embedding files at the original position (N2PDFOPTION_ATTACHMENT_EMBED_AT_POS) or at the end of the document (sample database)
Show the filename (N2PDFOPTION_ATTACHMENT_EMBED_SHOW_NAME) and the icon (N2PDFOPTION_ATTACHMENT_EMBED_ICON) of the embedded file (sample database)
Hide the graphics symbols for file attachments in Notes (N2PDFOPTION_EXPORT_HIDE_ATTACHMENT)
Enhanced support of TIFF files and multi-page-TIFF-files
New options for compressed archives (sample database)
Set passwords for protected archives (N2PDFOPTION_ATTACHMENT_ADD_PASSWORD)
Define the filenames of the files to be extracted from archives (N2PDFOPTION_ATTACHMENT_ADD_ARC_FILESPEC)

 

Contents and formatting

Max. height (N2PDFOPTION_IMAGE_MAX_HEIGHT_IN_BODY) and width (N2PDFOPTION_IMAGE_MAX_WIDTH_IN_BODY) of graphics can be set
Automatic removal of empty pages at the end of a document (N2PDFOPTION_FORMAT_DELETE_TRAILING_SPACE)
Page width, page height (N2PDFOPTION_PAGE_FORMAT_CUSTOM) and page margins (N2PDFOPTION_PAGE_MARGIN_...) can be set for each page (sample database)
Supports multi level pagination (sample database)
% values for the left and right paragraph margins in Notes documents are supported (sample database)
Negative tabs in Notes documents (that are outside of the page settings) are evaluated
Text templates support the setting of the left (N2PDFOPTION_PARAGRAPH_INDENT_LEFT) and right (N2PDFOPTION_PARAGRAPH_INDENT_RIGHT) paragraph margins, as well as the indent of the first line (N2PDFOPTION_PARAGRAPH_INDENT_FIRST)

 

Table of contents (sample database)

Tab position of text and page number can be defined externally (N2PDFOPTION_TOC_TAB_NUMBER and N2PDFOPTION_TOC_TAB_PAGENUMBER)
Filling the spaces between the numbering and text (N2PDFOPTION_TOC_TABFILL_NUMBER) and text and page numbers (N2PDFOPTION_TOC_TABFILL_TEXT) with characters (e.g. dots or underscores)
Option to keep together headings and content (N2PDFOPTION_TOC_TEXT_KEEP_NEXT)

 

Miscellaneous

Calculation of default values for fields that are contained in a form but are not saved in a document
Calculation of fields which are defined as "computed for display"

 

 

Version 2.0

 

Additional forms of links in a PDF (sample database)

User-defined links in a PDF file (creation of own link structure)
User-defined texts may be converted to clickable URLs
Create file links (files may be executed from within a PDF)
Creating email links
Definition of formatting for the various link types

 

Improved table handling (sample database)

Line width and line colors
Now supports "row spacing" and "cell spacing"
Horizontal and vertical merging of table cells
Paragraph formatting within a table cell may vary within the same cell
Indent of a table
Text formatting
Scalable graphics in a table

 

Working with attachments (sample database)

New function N2PDFAddAttachment for native conversion of attachments (see also new options for attachment conversion and "supported content")
Attachments in compressed archives can be accessed (12 formats are supported)
New function N2PDFAddFile in order to add an external file to a PDF as content (ASCII or RTF)

 

Formatting and structure of the PDF file

The table of contents can now be displayed in Outline too (N2PDFOPTION_TOC_OUTLINE_ENTRY)
The maximum number for a TOC entry was increased to 9 (e.g. 1.1.1.1.1.1.1.1.1)
The headers and footers may now be created individually for each and every page (ASCII or RTF) ((sample database)
The new options N2PDFOPTION_SYSTEM_FONT_SERIF and N2PDFOPTION_SYSTEM_FONT_SANS_SERIF allow the font replacement of the Notes standard font.
New option N2PDFOPTION_TOC_HEADLINE_INDENT. This allows the distance between the numbering (1.1.) and the text to be set for a certain level of the TOC.
New option N2PDFOPTION_FORMAT_REMOVE_TABLE_OFFSET to set table offsets of rich text fields which have been placed in tables on a form to zero

 

Miscellaneous

New options to deactivate unused standard routines (e.g. the replacement of system constants). The deactivation allows for a faster creation of the PDF file.
New function N2PDFSearchAndReplace which allows a "search and replace" for content at the point it is called in a script