#Clone same Formatting PDF TextFragments
Explore tagged Tumblr posts
file-formats-programming · 7 years ago
Text
Clone PDF TextFragments with Identical Formatting & Determining Line Break Process using .NET
What's New in this Release?
Aspose team is very excited to announce the new version of Aspose.PDF for .NET 18.4. In particular scenarios of PDF generations, sometimes you may come up with a requirement to identify the points/positions where an Enter/Line Break was added to create new line or contents of a line were moved to subsequent line after content reaching to the edge of the page. We have implemented logging (tracking) background processing (line breaking) of multi-line text fragments in text adding scenarios. You can use GetNotifications(), a new method of Page Class in order to achieve the functionality. An example of such functionality has been provided in API documentation section.  Since it has already planned to improve the feature to support of such scenarios, Aspose team is working over adding the functionalities for editing existing PDF documents and hopes to provide more enhancements in API regarding this feature in upcoming versions. For now, only notifications about paragraph events in text adding scenarios are supported. One of the interesting enhancements in Aspose.PDF for .NET 18.4 is, users can clone a TextFragment with segments formatting identical to the original fragment. Users can use TextFragment.Clone() method in order to achieve this.  The list of important new and improved features are given below
Determine the line break scenario
Text shadow indent is different when saving as HTML
Update TextFragment clone procedure for segments formatting support
Text is aligned to left instead of being aligned to right (Convert Hebrew PDF to HTML)
Text position issue: API returns LLX and URX values same for vertical text.
Text position issue: API returns incorrect position values (LLX,LLY,URX,URY)
Drawing box around text content is not correct
When using htmlOptions.FixedLayout = false, images/svg files are missing.
PDF to HTML: text formatting issue
PDF to PDFA2a: Converting PDF, generated from Aspose.Cells, to PDFA2a fails the compliance
Text is not auto wrapped to subsequent lines when reaching right page margin
special characters ">, <" encoding issue
When specific PDF is converted to DOCX, System.ArgumentException occurs
Content is missing when saving PDF as HTML
PDF to XLS export produces an invalid XML
Some images omitted while converting PDF document to HTML output
RedactArea corrupts the PDF if with SetLicense method
NullReferenceException while generating jpg image
An exception raises while loading document from HTML file
PDF to image - Aspose.Pdf export shows error in Docker
Latex fragments consume too much memory
TOC heading is missing when adding HtmlFragment
TOC headings get mixed when generating PDF output.
An exception raises while saving PDF with TOC headings
HTML import - fails to import the document
Link with external url in pdf document is not rendered as hyperlink when saving page by page
StackOverflow error occurs when retrieving content
In some headings a part of the text is formatted with noticeable smaller font size.
Unexpected headings appear in the generated output PDF
The heading is missing in the generated PDF output
TextFragmentAbsorber out of memory issue
An exception raises while loading document from HTML file   
Other most recent bug fixes are also included in this release.
Newly added documentation pages and articles
Some new tips and articles have now been added into Aspose.PDF for .NET documentation that may guide users riefly how to use Aspose.PDF for performing different tasks like the followings.
- Track Line Breaking of Multi-Line TextFragment
Convert PDF File into HTML Format
Overview: Aspose.Pdf for .NET
Aspose.Pdf is a .Net Pdf component for the creation and manipulation of Pdf documents without using Adobe Acrobat. Create PDF by API, XML templates & XSL-FO files. It supports form field creation, PDF compression options, table creation & manipulation, graph objects, extensive hyperlink functionality, extexnded security controls, custom font handling, add or remove bookmarks; TOC; attachments & annotations; import or export PDF form data and many more. Also convert HTML, XSL-FO and MS WORD to PDF.
More about Aspose.Pdf for .NET
Homepage of Aspose.Pdf for .NET C#
Download Aspose.Pdf for .NET
Read online documentation of Aspose.Pdf for .NET
Online Demo for Aspose.Pdf for .NET
0 notes
file-formats-programming · 7 years ago
Text
Aspose.Newsletter May 2018: Enterprise Applications Development using Aspose Native APIs & Other News
Aspose Newsletter for May 2018 has now been published that highlights all the newly supported features offered in the recent releases. It includes information about business file format APIs for all Major platforms, launching Soon Aspose.3D for Java API to work with 3D formats, work with password-Protected ODT and OTT files in .NET, Java and Android applications, embed all fonts when converting presentation to HTML, add text and Image in AutoCAD DWG files within Java Applications & many more.
Business File Format APIs for all Major Platforms: Build the best applications using Aspose Native APIs
Manipulate Microsoft Word, Excel, PDF, PowerPoint, Outlook, Visio, Project, HTML, Images and 100+ other file formats using Aspose native APIs for .NET, Java, Android, C++, SharePoint, Reporting Services and JasperReports. Developers can easily create, edit, render, print and convert between popular document formats within their own application by adding just a few lines of code. Download Free Trial
Launching Soon: Aspose.3D for Java API to work with 3D Formats
Aspose.3D for .NET is already enabling to work with 3D formats within .NET applications. Now Aspose is ready to launch Aspose.3D for Java that will empower developers to import and export 3D models into the supported formats, access 3D elements for editing purposes and build a 3D model from scratch. They can also build GPU and CAD friendly geometries as well as skeletal animation and morphing. Read more details
Work with Password-Protected ODT and OTT Files in .NET, Java and Android Applications
Aspose.Words now supports working with encrypted OpenDocument Text (ODT) and document template files (OTT) in .NET, Java and Android applications. The OdtSaveOptions class can be used to specify additional options when saving a document into the ODT or OTT format. Also use OdtSaveOptions.Password property to get or set password to encrypt document:
Embed all Fonts when Converting Presentation to HTML
Aspose.Slides now supports exporting presentation to HTML by embedding all fonts used in presentation within .NET, Java, C++, SharePoint, SSR and JasperReports. A new HTML controller EmbedAllFontsHtmlController has been added that is used to embed all presentation fonts in HTML document. Using Aspose.Slides APIs – experience improved chart, text and shapes rendering support in API along with improvement in exported PDF outputs.
Support for Subscript, SmallCap PSD and exporting CMYK PSD to CMYK TIFF in .NET and Java
Using Aspose.Imaging APIs – developers can convert CMYK PSD file to CMYK tiff format within .NET and Java applications. Just load image of any format and then you can set various properties using TiffOptions class and save the image. The new version also supports working with Subscript and adds the SmallCap option parsing and rendering for PSD text layer.
How to: Find & refresh children Pivot Tables and Group Pivot Fields in the Pivot Table?
Aspose.Cells for Android via Java finds the children pivot tables of a parent pivot table using the PivotTable.getChildren() and then refreshes them one by one. You can also avoid exporting various types of Document, Workbook and Worksheet properties while exporting Microsoft Excel files to HTML. Try out fully functional code examples.
How to: Determine Line Break in PDF and Clone TextFragments with Identical Formatting?
Aspose.Pdf for .NET now supports logging (tracking) background processing (line breaking) of multi-line text fragments in text adding scenarios. You can use GetNotifications(), a new method of Page Class in order to achieve the functionality. You can also clone a TextFragment with segments formatting identical to the original fragment, use TextFragment.Clone() method to achieve this. Try out fully functional code examples here.
How to: Renumber WBS Codes of Tasks in a Java Project File?
Aspose.Tasks for Java provides support for renumbering WBS Codes of tasks in a project (associated with tasks like Microsoft Project’s “Renumber” function) and eliminate gaps between tasks list and page footer while rendering project data. Try out fully functional C# code examples.
How to: Control Image Quality Compression during OneNote Document Conversion to PDF?
Aspose.Note for Java adds the capability to control the compression ratio of images during conversion to PDF. It lets you select the image compression type and quality using the SaveOptions class of the API. Image quality can be set from 0 to 100 using the JpegQuality property of SaveOptions. Try out fully functional code examples
How to: Add Text and Image in AutoCAD DWG files within Java Applications?
Aspose.CAD for Java announces plenty of new features related to: adding text in DWG file, exporting DWG entity to image, saving DXF files and importing image to DWG file. Try out fully functional code examples.
How to: Display Geographic Data by Google Earth within .NET applications?
Aspose.GIS for .NET now support KML file format that is used to display geographic data by Google Earth. Developers can create or read KML files, add attributes as well as features to it using the API. Try out fully functional code examples
Updates about new Product Releases
Aspose.Total for .NET - a compilation of Aspose latest .NET products
Aspose.Total for Java – a compilation of Aspose latest Java products.
Aspose.Total for Android – all the latest versions of Aspose Android APIs.
Aspose.Total for SharePoint – a compilation of Aspose latest SharePoint products.
Aspose.Total for Reporting Services– a compilation of Aspose latest Reporting Services products
Aspose.Total for JasperReports – The latest versions of Aspose JasperReports products.
Aspose.Total for C++ – The latest versions of our C++ products packaged into one product suite.
Aspose.Words for SharePoint 18.3 – Improved reflection effect for 3D rotated WordArt objects and rendering of DML charts in Word documents.
Aspose.Pdf for .NET 18.3 – Improved Image Quality in PDF to HTML Conversion and Repeating Column in Table.
Aspose.BarCode for .NET 18.3 – Improved recognition of barcode from image and from PDF file.
Aspose.Pdf for Java 18.3 – Improved and Enhanced Java Library to Create and Manipulate PDF Documents.
Aspose.Words for Java 18.3 – Fixed issues related to incorrect page number in exported Word document.
Aspose.Email for .NET 18.3 – Introduced the capability of setting the participant status of a meeting that lets you add the same information to output ICS file in the form of PARTSTAT property.
Aspose.Diagram for .NET and Java 18.3 – Move page position in Visio drawing and enhanced export of Visio drawing to XPS.
Aspose.Tasks for .NET 18.4 – Improved project recalculations and extended Aspose.Tasks collections to support BCL collection interfaces.
Aspose.BarCode for Java 18.3 – Enhanced barcode generation process in this release.
Aspose.3D for .NET 18.3 – Enhanced texture-transparency and retrieval of entity bounding box among 3D file formats.
Aspose.BarCode for JasperReports 18.3 – Fixed issues related to evaluation message displayed when customer is using a free version of Aspose.BarCode API.
Aspose.HTML for .NET 18.4 – Enhanced support for rendering HTML files to image files in .NET
Supporting User Groups and Conferences
Aspose is sponsoring a number of user groups and upcoming events, including:
April 21: Brisbane Global Azure Bootcamp – Brisbane, Australia
April 21: Global Azure Bootcamp – Singapore
May 22 – 23: de:code Japan – Tokyo, Japan
Sponsor a user group? Get in contact: [email protected]
Collect a copy of Aspose Newsletter, February 2018 edition
Collect the English version of this newsletter
0 notes