Some test text!
PTDocumentViewController classes are now able to convert Office and image on-the-fly. Pages in the document are rendered as soon as they are converted, as opposed to waiting for the entire document to be converted before seeing any content. For the
PTDocumentViewController class, streaming-conversion is used when opening any compatible file with the
openDocumentWithURL: method. To open a file with the
PTPDFViewCtrl class, the
openUniversalDocumentWithConversion: method is used as follows:
// Open a .docx file. let conversion: PTDocumentConversion = PTConvert.streamingPDFConversion(docxFilePath, options: nil) pdfViewCtrl.openUniversalDocument(with: conversion)
This release adds an image stamper tool,
PTImageStampCreate, to add images to a document. The tool allows the user to select an image from the device's photo library and add the image as an annotation.
It is now possible to override localized string definitions in the
Tools.framework bundle by adding a
PTLocaliable.strings file to the main (app) bundle. When this file is present it will be used to search for string definitions before the Tools-internal is used. This allows for new language translations to be added without needing to recompile the Tools framework. Please see our localization guide for more information.
This release adds the following Showcase samples:
The scroll direction of the
PTReflowViewController class can now be controlled via its
scrollDirection property. This defaults to horizontal scrolling/paging, but can be changed to allow scrolling vertically to change pages.
PTPDFViewCtrlclass now posts notifications for streaming download and conversion events. When an http(s) PDF file is downloaded with
OpenUrlAsync:or a universal document is converted with the streaming
openUniversalDocumentWithConversion:method, notifications will be posted for every download/conversion event. These events were already provided via the
Get the answers you need: Support