Release notes for MBS Xojo DynaPDF Plugin
MBS Xojo Plugins 23.0 - 17th January 2023
Fixed a bug in DynaPDF where rendered image would show a picture (qr-code) inverted.
Updated DynaPDF to version 126.96.36.199.
Added Linux 64-bit ARM plugins.
MBS Xojo Plugins 22.5 - 8th November 2022
MBS Xojo Plugins 22.4 - 6th September 2022
Added kgfDoNotComprMetadata constant for
DynaPDFMBS class. Added SetRenderingIntent method for
DynaPDFMBS class. Updated DynaPDF to version 188.8.131.52.
Fixed file path handling bug for Windows ARM affecting various functions.
Fixed picture and graphics handling bug for Windows ARM.
MBS Xojo Plugins 22.3 - 12th July 2022
Added 64-bit Windows ARM plugin support.
Added FontSize property to
DynaPDFMBS class. Added PDF/X 5 and 6 constants for
DynaPDFMBS class. Added SetTemplBBox method to
DynaPDFMBS class. Changed SetFieldFont in
DynaPDFMBS and SetFont in DynaPDFTableMBS to have default values for parameters. Updated DynaPDF to version 184.108.40.206.
MBS Xojo Plugins 22.2 - 17th May 2022
Adjusted how we calculate character spacing for graphics in
DynaPDFMBS, so we match better what Xojo does. Changed ClearPageGraphics in
DynaPDFMBS to clear last font, so next time you draw to graphics, we set it again.
DynaPDF has been updated and tested to work with ZUGFeRD 2.2 / Factur-X 1.0.06. Fixed a problem with GetFieldEx in
DynaPDFMBS for macOS 32-bit with wrong structure alignment. Fixed problem in GetInPDFVersionEx and GetPDFVersionEx in
DynaPDFMBS class not always returning the data. Updated DynaPDF to version 220.127.116.11.
MBS Xojo Plugins 22.1 - 15th March 2022
Added kctPDFA_2u and kctPDFA_3u constants for
DynaPDFMBS class. Added SpaceWidthFactor property to
DynaPDFMBS class. Changed ConvertStyledText in
DynaPDFMBS class to handle .AppleSystemUIFont better and map to system font. Changed RenameSpotColor in
DynaPDFMBS class to allow you to pass empty string for second parameter to pass NULL for special none name. Updated DynaPDF to version 18.104.22.168.
Updated Xcode to version 13.2.1.
MBS Xojo Plugins 22.0 - 18th January 2022
Added ActivateAltFontList, CreateAltFontList, DeleteAltFontList and SetAltFonts to
DynaPDFMBS class. Added DeleteOCUINode method for
DynaPDFMBS class. Added IncludeCS property to
DynaPDFOptimizeParamsMBS class. Fixed a problem in Graphics class with
DynaPDFMBS where in some case the font was not set and DynaPDF reported an error about missing font. Updated DynaPDF to version 22.214.171.124.
MBS Xojo Plugins 21.5 - 16th November 2021
Added AddButtonImageEx2 function to
DynaPDFMBS class. Added
DynaPDFVersionInfoMBS class. Added ErrCode and ErrType properties to
DynaPDFErrorMBS class. Added GetInPDFVersionEx function for
DynaPDFMBS class. Added GetPDFVersionEx function for
DynaPDFMBS class. Added ktfFixedTextHeight constant for
DynaPDFTableMBS class. Added new fields FmtTextColor and FmtText for
DynaPDFFieldExMBS class. Added ScreenResolution property to
DynaPDFRasterizerMBS class. Changed ConvertStyledText in
DynaPDFMBS class to pass fonts as family names. Changed DynaPDF examples to use kcpUnicode instead of kcp1252.
Updated DynaPDF to version 126.96.36.199.
Updated plugin SDK for Xojo 2021r3.
Updated Xcode to version 13.1.
MBS Xojo Plugins 21.4 - 7th September 2021
Added thread pooling for Windows to be used for multi threaded methods.
Added AppendTraceFile and CreateTraceFile methods to
DynaPDFMBS class. Added DeleteOCGFromDisplayTree function to
DynaPDFMBS class. Added GetInIsTaggedPDF method for
DynaPDFMBS and related constants. Fixed Graphics.DrawString to better draw condensed text for
DynaPDFMBS class. Fixed Open property getter/setter for
DynaPDFAnnotationExMBS class. Fixed problem with RenderPageMT in
DynaPDFRasterizerMBS class, where background of picture was not initialized with white. Updated DynaPDF to version 188.8.131.52.
MBS Xojo Plugins 21.3 - 12th July 2021
Added ChangeOCGName method to
DynaPDFMBS class. Added DeleteNamedDestByIndex and DeleteNamedDest methods for
DynaPDFMBS class. Added ExcludeCSCount property, ExcludeCS and setExcludeCS methods to
DynaPDFOptimizeParamsMBS class. Added OuterBorder property for
DynaPDFBarcode2MBS class. Fixed bug with RenderPagePicture function in
DynaPDFMBS not picking right page size for rotated pages. Updated DynaPDF to version 184.108.40.206.
Updated Xcode to version 12.5.1.
MBS Xojo Plugins 21.2 - 18th May 2021
Added ChangeFontEx function to
DynaPDFMBS class. Added kcoDefaultNormalize, kcoDefaultPDFA1, kcoDefaultPDFA2, kcoDefaultPDFA3 constants for use with CheckConformance function to
DynaPDFMBS class. Added TypoAscender and TypoLeading properties to
DynaPDFFontMetricsMBS class. Fixed an issue with Optimize method in
DynaPDFMBS class complaining about no open output file. Updated DynaPDF to version 220.127.116.11.
Updated Linux 64-bit build machine to Ubuntu 18.04. Plugin still compatible to Ubuntu 16 and CentOS 7.7.
MBS Xojo Plugins 21.1 - 9th March 2021
Added ImageIndex and ImageHandle properties to
DynaPDFImageMBS class. Added kcfIgnoreICCProfile and kptConvertPage to
DynaPDFMBS class. Deprecated SetLicenseKey function for
DynaPDFMBS class. Please use SetLicenseKeyGlobal instead. DynaPDF works with ZUGFeRD 2.1.1.
Fixed issue with Graphics.TextHeight for
DynaPDFMBS class. Fixed problem in
DynaPDFMBS class with graphics, where we reset font to default one on nextpage call. Fixed problem with
DynaPDFMBS where an empty password was not passed as nil in OpenImportFile. Improved text conversion performance internally for getting text as UTF16 or UTF32. This is used in all plugin parts and speeds up
DynaPDFMBS classes a lot! Updated DynaPDF to version 18.104.22.168.
Updated to Xcode 12.4.
MBS Xojo Plugins 21.0 - 19th January 2021
Added plugins for iOS and Apple Silicon.
Added ErrorCount and WarningCount to
DynaPDFMBS class. Added GetTypoLeading method for
DynaPDFMBS class. Added LeadingFactor parameter for ConvertStyledText, WriteStyledText and WriteStyledTextEx in
DynaPDFMBS class. Changed Append in
DynaPDFMBS to close page if one is open. Changed
DynaPDFMBS to not raise exception if WriteFText function is cancelled. Fixed CMap loading problem with
DynaPDFMBS class on macOS and Linux. Improved DynaPDF functions to take pictures and if needed pick the best representation.
Updated DynaPDF to version 22.214.171.124.
When querying PageGraphics in
DynaPDFMBS, we now make sure a font is set to have TextWidth used internally find a font if you don't set one. Reduced usage of deprecated SDK functions.
Updated to Xcode 12.3.
MBS Xojo Plugins 20.5 - 17th November 2020
Added PrintCancelled property to
DynaPDFMBS class to distinguish between error and cancellation. Added support for LineDash, LineJoin and LineCap to
DynaPDFMBS class for graphics support. Changed PrintPDFFileWithDialog and PrintPDFPageWithDialog methods in
DynaPDFMBS class to tell printer dialog that we are okay with collate and copies, so that option may get enabled on supporting printer drivers. Fixed DrawRectangle function for graphics in
DynaPDFMBS class to work on Windows. Fixed problem in
DynaPDFMBS class where we set erroneously a default font for you (since v20.3). Updated DynaPDF to version 126.96.36.199.
Reduced usage of deprecated SDK functions.
Updated to newer plugin SDK.
MBS Xojo Plugins 20.4 - 15th September 2020
Added ActiveFontInfo property for
DynaPDFMBS class. Added
DynaPDFErrorExceptionMBS class. We raise exception if you return kErrorEventRaise from Error event or you have no Error event implemented. Added
DynaPDFMissingFunctionExceptionMBS class. Added kcfNone constant for
DynaPDFMBS class. Updated DynaPDF to version 188.8.131.52 with ZUGFeRD 2.1.
Updated to Xcode 10.6.
Upgraded Visual Studio from 2008 to 2019 and rebuild everything. See
blog post. MBS Xojo Plugins 20.3 - 21st July 2020
Added ClearRectangle and FillPath method support for Graphics class in
DynaPDFMBS class. Added FlushPagesEx and ResetAnnotAP methods to
DynaPDFMBS class. Added kcoResetAnnotAppearance constant to
DynaPDFMBS class. Changed
DynaPDFMBS class to use Helvetica 12pt as fallback font if you write text to a new page without setting font. Deprecated obsolete functions in
DynaPDFMBS class to not set font with empty font name. Updated DynaPDF to version 184.108.40.206.
MBS Xojo Plugins compile for Apple Silicon, so we are ready. Upgraded examples to use 64-bit targets. This was made automatically to enable 64-bit targets, HiDPI and dark mode for all projects. Thanks to
Arbed! MBS Xojo Plugins 20.2 - 12th May 2020
Added ClearRectMode to
DynaPDFMBS class to ignore calls to Graphics.ClearRect and allow background to show. Added
DynapdfGraphicsPathMBS and DynapdfGraphicsPathItemMBS classes. Added implementation for DrawPath in Graphics class. Raises exception if path is not of class
DynapdfGraphicsPathMBS. Added kofUseOtsuFilter constant to
DynaPDFMBS class. Added properties to
DynaPDFPageMBS for MediaBox, TrimBox, CropBox, BleedBox and ArtBox. Added SetCellPicture method from
DynaPDFTableMBS class. Added TextShape class support for Object2D drawing with
DynaPDFMBS class's graphics integration. Changed DynaPDF Graphics to use PenSize property for Xojo 2019r2 or newer.
Corrected alignment issues for TextShape/StringShape class handling with
DynaPDFMBS class's graphics integration. Reworked
DynaPDFMatrixMBS class. Updated DynaPDF to version 4.0..
Updated plugin SDK to version for Xojo 2020r1
MBS Xojo Plugins 20.1 - 10th March 2020
Fixed a problem with recursive templates for ExtractPageText and ExtractPageTextRect functions in
DynaPDFMBS class. Fixed problem with DynaPDF's graphics class integration on Windows 64-bit when running Xojo report to PDF.
Updated DynaPDF to version 220.127.116.11.
MBS Xojo Plugins 20.0 - 14th January 2020
Added HasLite and HasPro properties to
DynaPDFMBS class. Changed graphics for
DynaPDFMBS to not try to do transparency if you don't have Lite or higher license. Changed SetLineDashPattern event in
DynaPDFParseInterfaceMBS class to pass double array instead of MemoryBlock and phase parameter as double. Disabled scale for DynaPDF graphics support as it doesn't work and may let content disappear.
Optimized DynaPDF graphics support to not draw hidden vector objects.
Updated DynaPDF to version 18.104.22.168.
Updated Xcode to version 11.3.
MBS Xojo Plugins 19.5 - 12th November 2019
Added CreateRectilinearMeasure, CreateViewport, GetFieldCalcOrder and SetFieldCalcOrder methods to
DynaPDFMBS class. Added CreateXFAStream and SetXFAStream methods to
DynaPDFMBS class. Added path variants for CreateICCBasedColorSpace, InsertImageEx, OpenImportFile, OpenOutputFile and OpenOutputFileEncrypted in
DynaPDFMBS class. Fixed a bug in GetNextHeight method in
DynaPDFMBS class. Fixed bug with
DynaPDFMBS drawing duplicate table rows when wrapping page. Fixed crash in PrintPDFFile method in
DynaPDFMBS class with nil PageRect in DynaPDFPrintParamsMBS object. Fixed problem in DynaPDF with rendering Asian characters.
Fixed problem with DynaPDF Graphics to fill FigureShape objects.
Updated DynaPDF to library 22.214.171.124.
Changed about 400 constants to decimal instead of hex decimal.
Updated plugin SDK to version from Xojo 2019r2.
MBS Xojo Plugins 19.4 - 17th September 2019
Updated DynaPDF to version 126.96.36.199.
Updated Graphics support in
DynaPDFMBS class for next version of Xojo. Improvements for Xojo 2019r2.
MBS Xojo Plugins 19.3 - 24th July 2019
Added examples for ZUGFeRD 2.0 and Factur-X for DynaPDF.
Added constants for DynaPDF to create ZUGFerd 2.0 and Factur-X files.
Added constants kofConvertToGray, kofConvertToRGB, kofConvertToCMYK and kocReplaceJP2KWithJPEG for
DynaPDFMBS class. Added multi line support for
DynaPDFMBS graphics support with StringShape object. Added trace support for graphics calls in
DynaPDFMBS. Changed Create3DView in
DynaPDFMBS class to now use unicode version of the function. Also keep old function as Create3DViewAnsi. Changed graphics.DrawObject for DynaPDF to restore page coordinate setting.
Fixed a problem in
DynaPDFTableMBS with CellOrientation. Fixed a problem with
DynaPDFMBS ReplacePattern function and fonts missing the CID Ordering table. Fixed issue with
DynaPDFMBS graphics and center aligned text in reports. Updated DynaPDF to version 188.8.131.52.
MBS Xojo Plugins 19.2 - 21st May 2019
Added PageGraphics and PageGraphicsPicture properties to
DynaPDFMBS class. Added ClearPageGraphics method to
DynaPDFMBS class. Added
DynaPDFMBS.ktaPlainText constant. Added SetBlack and SetWhite methods to
DynaPDFMBS class. Fixed a problem with DynaPDF parser and rendering some PDF.
Fixed an issue with
DynaPDFImageMBS.PictureData not working. Fixed problem with rotateTemplate function in
DynaPDFMBS and 180 degree. Rebuild DynaPDF without assert checks.
Updated DynaPDF to version 184.108.40.206.
Fixed problem with loading GTK for Linux ARM.
Improved performance for plugin functions accessing Xojo dictionaries.
Updated to Xcode 10.2.
MBS Xojo Plugins 19.1 - 12th March 2019
Added JasperVersion, TIFFVersion and zlibVersion to
DynaPDFMBS class. Added SetCellAction method, kcctAction and kdcAction constants to
DynaPDFTableMBS class. Fixed bug in DynaPDF plugin bug with rendering unicode font characters.
Updated DynaPDF to version 220.127.116.11.
MBS Xojo Plugins 19.0 - 22nd January 2019
Added DirectDraw support to
DynaPDFRasterizerMBS class. Added option to render with alpha and output with alpha channel to Xojo pictures for
DynaPDFRasterizerMBS class. Added properties to
DynaPDFRasterizerMBS to inspect state. Added RotateCoords parameter for
DynaPDFMBS.RotateTemplate function. Changed
DynaPDFMBS.Optimize to use in memory flag by default unless you change it. Changed
DynaPDFRasterizerMBS to pre-fill picture in white or black for the flags. Improved DynaPDF Graphics examples for better image quality.
Updated DynaPDF to version 18.104.22.168.
Added links to blog articles from help.
Changed Linux compile to include function names for stack traces.
The MBS Plugin for Real Studio will be build on demand only.
MBS Xojo Plugins 18.5 - 27th November 2018
DynaPDFMBS.Create3DAnnotAnsi and made Create3DAnnot use unicode API. DynaPDF now uses FreeType library and dropped Mac 32-bit target. We still compile it for 32-bit, but that is now deprecated.
Fixed bug in DynaPDF print functions (made white pages) and fixed example (printed only one page).
Fixed issues with printer settings for
DynaPDFMBS print methods on Windows. Improved
DynaPDFMBS.PrintPDFPage to use DevMode data if set. Updated DynaPDF to version 22.214.171.124.
Rebuild with Xcode 10. Minimum MacOS version is now 10.9.
Updated to Xcode 10.1.
MBS Xojo Plugins 18.4 - 25th September 2018
DynaPDFMBS.CreateTable to automatically load font Helvetica, so you have a font defined, if you don't set one yourself. Changed
DynaPDFMBS.Error event to not run in preemptive thread while MT method runs. Deprecated EnumHostFont functions in
DynaPDFMBS in favor of newer GetSysFontInfos functions. Fixed bug with
DynaPDFMBS.GetSysFontInfo skipping one font. Fixed text encoding for
DynaPDFSysFontMBS.FilePath on Mac. Updated DynaPDF to version 126.96.36.199.
MBS Xojo Plugins 18.3 - 17th July 2018
Added SetLicenseKeyGlobal private method to
DynaPDFMBS class to cause compiler error if you call SetLicenseKeyGlobal with an object. Please call only in app.open with shared method. Changed
DynaPDFMBS.ImportPDFFile to close open page before importing to avoid error. Changed
DynaPDFMBS.SetLicenseKeyGlobal and XLBookMBS.SetKeyGlobal to raise exception if debugging, if called twice to notify developer about misuse. Fixed a problem with
DynaPDFMBS.RotateTemplate function. Fixed bug in
DynaPDFEditTextMBS.ReplacePattern when new text was added behind existing text instead before. Updated DynaPDF to version 188.8.131.52.
Updated plugin SDK for 2018r2.
MBS Xojo Plugins 18.2 - 22nd May 2018
DynaPDFMBS.GetUsesTransparency, DynaPDFMBS.GetDocUsesTransparency and DynaPDFPageMBS.SetBBox. Changed TextColor, BackColor and BorderColor in
DynaPDFFieldExMBS class from Integer to UInt32. Fixed
DynaPDFRasterizerMBS.AttachImageBuffer to work with newer Xojo pictures. Removed skipping of empty lines in
DynaPDFMBS.WriteFTextEx function. Updated DynaPDF to version 184.108.40.206.
Updated to Xojo 2018r1 plugin SDK.
MBS Xojo Plugins 18.1 - 6th March 2018
Added GetSpaceWidth and GetTextWidth functions to
DynaPDFMBS. Fixed bug in
DynaPDFMBS.WriteStyledText with extra new lines when switching alignment. Fixed bug in
DynaPDFMBS.WriteStyledText with switching font back to non-bold. Fixed memory leak with
DynaPDFFontInfoMBS objects. Improved
DynaPDFMBS.TranslateRawCode with new variant with more parameters. Updated DynaPDF to version 220.127.116.11.
MBS Xojo Plugins 18.0 - 23rd January 2018
DynaPDFBookmarkMBS Handle property. Added ExtractText, FileAttachAnnotEx, RenderPDFFileEx, RenderPDFFileExMT, RenderPDFFileMT methods to
DynaPDFMBS class. Fixed bugs with DynaPDF Print and scaling pages for some printers.
DynaPDFMBS.GetObjActions to return proper DynaPDFObjActionsMBS object. Fixed
DynaPDFMBS.PageStatistic function. Updated DynaPDF to version 18.104.22.168.
Fixed an issue with exception handling on 64-bit Linux introduced in 17.3.
Fixed problem with loading cairo library on Linux for Ubuntu 17.4.
Updated all GTK code to dynamically load GTK+ 3 for Xojo 2017r2 and GTK+ 2 for older versions.
MBS Xojo Plugins 17.5 - 28th November 2017
MBS Xojo Plugins 17.4 - 26th September 2017
DynaPDFMBS.HighlightPattern to create highlight annotations instead of drawing rectangles. Updated DynaPDF to version 22.214.171.124.
MBS Xojo Plugins 17.3 - 18th July 2017
Added GetJPEGVersion, GetPNGVersion, GetTIFFVersion and GetZlibVersion for
DynaPDFMBS class. Fixed bug with DynaPDF and optimize command when using ICC based JPEG pictures.
Fixed bug with
DynaPDFMBS.ShowDifference and rotated pages. Updated DynaPDF library to version 126.96.36.199.
Disabled linux version script linker option.
MBS Xojo Plugins 17.2 - 15th May 2017
Added page print functions for DynaPDF.
Added check to make sure CheckConformance on DynaPDF is not asked to delete embedded files for ZUGFeRD invoices.
DynaPDFMBS.GetSysFontInfo and GetSysFontInfos with name option. Added
DynaPDFMBS.ReplaceFont functions. Added
DynaPDFPrintParamsMBS class. Added printing with DynaPDF with print dialog, save and restore of settings.
Changed license check for DynaPDF to allow text extraction in Lite version.
Fixed an issue with REALbasic 2007 and DynaPDF Plugin.
Improved DynaPDF examples for PDF/A conversion and added one for Normalization.
Updated to DynaPDF 188.8.131.52.
Removed PPC code.
MBS Xojo Plugins 17.1 - 14th March 2017
DynaPDFStackMBS.FontHandle. Fixed a problem with DynaPDF's GetPageFieldEx function complaining about wrong structure size.
Updated DynaPDF to version 184.108.40.206.
MBS Xojo Plugins 17.0 - 23rd January 2017
Added LoadLibrary functions to
DynaPDFMBS, so you can use other DynaPDF DLL, e.g. other version. Added more parameters to PrepareWrite event in
DynaPDFEditTextMBS class. Added RotateTemplate function in
DynaPDFMBS class. Comparing a
DynaPDFMatrixMBS to nil does no longer raise exception. Due to changes in PrintPDFFile we had to update our print examples for DynaPDF. Please update your code, too.
Fixed an issue with DynaPDF printing blank papers.
Fixed bug with
DynaPDFTableMBS.GetNextHeight function. Fixed PageBreak event in
DynaPDFMBS to work with addhandler. Updated DynaPDF to version 220.127.116.11.
Changed plugin file names to include name of plugin and name of part.