GroupDocs.Conversion for .NET 17.5.0 Release Notes

Major Features

There are 9 new features, improvements and fixes in this regular monthly release. The most notable are:

  • Conversion from XML-FO/XSL to PDF
  • New option to set zoom when converting to HTML
  • Conversion from Vsdm, Vssm, Vstm
  • Conversion from LaTex
  • Improved speed when converting from cells.
  • Improved memory usage
  • Fixed 1 bug

Full List of Issues Covering all Changes in this Release

KeySummaryCategory
CONVERSIONNET-1892Implement conversion from XML-FO/XSLNew Feature
CONVERSIONNET-1910Option to set zoom when converting to HTMLNew Feature
CONVERSIONNET-1917Conversion from Vsdm, Vssm, VstmNew Feature
CONVERSIONNET-1928Implement conversion from LaTexNew Feature
CONVERSIONNET-1756PPTX to HTML Conversion - Slide zoom level propertyNew Feature
CONVERSIONNET-1881Improve SlidesToHtml saverImprovement
CONVERSIONNET-1885Update CellsToImageSaver and CellsToPdfSaver to remove empty rows and columns before saving documentImprovement
CONVERSIONNET-1884PPt to PDF Conversion - Tables borders are showing - showgridline property is also not working for thisBug

Public API and Backward Incompatible Changes

How to convert XML-FO/XSL to PDF

const string sourceFileName = "sample.xml"; //TODO: Put the source filename here
const string foFileName = "sample.xslt";
// Setup Conversion configuration
var conversionConfig = new ConversionConfig
{
    CachePath = "cache",
    StoragePath = "."
};
var conversionHandler = new ConversionHandler(conversionConfig);
using (var foStream = new FileStream(foFileName, FileMode.Open, FileAccess.Read))
{
    var pdfSaveOptions = new PdfSaveOptions{
       OutputType = OutputType.String
    };
    var xmlLoadOptions = new XmlLoadOptions
    {
        XslFo = foStream
    };
    var result = conversionHandler.Convert<string>(sourceFileName, xmlLoadOptions, pdfSaveOptions);
}

How to set zoom when converting slides to HTML

const string sourceFileName = "sample.pptx"; //TODO: Put the source filename here
// Setup Conversion configuration
var conversionConfig = new ConversionConfig
{
    CachePath = "cache",
    StoragePath = "."
};
var conversionHandler = new ConversionHandler(conversionConfig);
var saveOptions = new HtmlSaveOptions
{
    OutputType = OutputType.String,
    Zoom = 150,
};

var resultPath = conversionHandler.Convert<string>(sourceFileName, saveOptions);