What has changed?

Top  Previous  Next

 

This document contains the changes as opposed to the previous version of n2pdf. Please use this list to check your existing application. The script programming of existing applications may need to be adjusted.

 

 

Changes version 3.2

 

N2PDFOPTION_EXPORT_HIDE_FORM_PARAGRPAH

When exporting entire screen templates or 'masks', the first (superfluous) "\par" is removed.
The old behaviour mode can be re-established with "N2PDFVALUE_FALSE".

 

N2PDFOPTION_ATTACHMENT_EXTRACT_ARCHIVE

Default value is now "FALSE" because the option now acts on the embedding of file attachments.

 

N2PDFVALUE_CONTENT_BODY

With the function N2PDFAddAttachment the second parameter "N2PDFVALUE_CONTENT_BODY" now has no further significance.
The option N2PDFVALUE_ATTACHMENT_CONVERT_MODE now clearly defines the used mode.

 

Call N2PDFSetOption ( JobID, N2PDFOPTION_ATTACHMENT_MODE,_

N2PDFVALUE_ATTACHMENT_CONVERT_MODE, ""  )

 

 

Changes version 3.1

 

none

 

 

Changes version 3.0

 

Line spacing

The calculation of the row spacing has changed. The value N2PDFOPTION_PARAGRAPH_LINE_SPACING can now also be set as "300%" in addition to being defined in inch or cm. Please check the way row spacing is displayed in your document and if required, please change your programming.

 

Page format

Due to the new option to define individual headers and footers for each and every page, the calculation of the page format itself has changed. Please check how your pages are being displayed and if required, please change the page format and the spacing for headers and footers.

 

The parameters:

N2PDF_PAGE_MARGIN_TOP
N2PDF_PAGE_MARGIN_BOTTOM
N2PDF_PAGE_MARGIN_HEADER
N2PDF_PAGE_MARGIN_FOOTER

are now being calculated differently and must be adjusted according to the new definition when they are used in a script.