What has changed?

Start page  Previous page  Next page

 

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 5.0

 

N2PDFOPTION_FORMAT_ADJUST_TABLE_WIDTH

This option is no longer available because its functionality is now provided by the new option N2PDFOPTION_FORMAT_TABLE_WIDTH_MODE using the parameter N2PDFVALUE_FORMAT_TABLEWIDTH_CONTENT.

 

32-bit/64-bit version

The separate registration key of the 64-bit version for n2pdf Server Agent and n2pdf Server Task has been omitted

 

N2PDFVALUE_PDFA_LEVEL_...

The constants for PDF/A-1a and PDF/A-1b have changed. The old parameters are still present, but they should be modified to the following new values:
N2PDFVALUE_PDFA_LEVEL_A = > N2PDFVALUE_PDFA_LEVEL_1A
N2PDFVALUE_PDFA_LEVEL_B => N2PDFVALUE_PDFA_LEVEL_1B

 

 

Changes version 4.0

 

N2PDFOPTION_SPEED_NO_EMBEDDED_IMAGES

As of version 4.0, this option is permanently set to the value "N2PDFVALUE_TRUE".

 

Outdated options

The following options no longer exist because they are no longer required:

N2PDFOPTION_SOC_ENABLED,

N2PDFOPTION_SOC_EXTENSIONS,

N2PDFOPTION_SOC_TRY_UNKNOWN_EXTENSIONS,

N2PDFOPTION_SOC_USE_OPENOFFICE,

N2PDFOPTION_SOC_WEBSERVICE,

N2PDFOPTION_SOC_WEBSERVICE_TYPE

If the options are set or modified, calling them always returns “No error" (0).

 

Changing the designations of options

Options that begin with "N2PDFOPTION_SOC_..." are outdated. Instead, use "N2PDFOPTION_WS_..." for general options (e.g. address or port of the web service) and "N2PDFOPTION_CONVERTER_..." or "N2PDFOPTION_SIGNATURE_..." for web service specific options.

 

Archive formats

The following archive formats are no longer supported:
ACE, ACE SFX
ARC, ARC SFX
UUE/XXE/ENC encoded files
ZOO

 

Web service configuration

The entry for the configuration of the web service in "n2pdf.ini" is no longer "SetupSOC" but "SetupWebservice". It is generally recommended that the configuration of the web service be done via the programming. A description can be found in the document "Web Service".

 

Graphics formats

The following graphics formats have been omitted from direct import:PCD, PSP, PDD, FAX

 

 

 

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.