GroupDocs.Conversion for .NET 24.5 Release Notes
There are 20+ features, improvements, and bug fixes in this release.
Full list of changes in this release
Key | Category | Summary |
---|---|---|
CONVERSIONNET-6872 | Feature | Convert embedded documents when converting from WordProcessing |
CONVERSIONNET-6902 | Feature | Convert embedded documents when converting from Presentation |
CONVERSIONNET-6904 | Feature | Convert embedded documents when converting from Spreadsheet |
CONVERSIONNET-6894 | Feature | Setup number of columns per page when converting from Spreadsheet |
CONVERSIONNET-6799 | Feature | Setup number of rows per page when converting from Spreadsheet |
CONVERSIONNET-2779 | Feature | Remove all the javascript actions from the original pdf |
CONVERSIONNET-6864 | Feature | Implement hyphenation support when converting from a wordprocessing document |
CONVERSIONNET-4547 | Enhancement | Cannot hide attachment information when converting EML to PDF |
CONVERSIONNET-6867 | Enhancement | Convert Docx with images to Markdown with images as base64 |
CONVERSIONNET-6891 | Enhancement | Configurable font embedding when converting to WebFileTypes |
CONVERSIONNET-6912 | Enhancement | Set custom fonts folders when converting Web documents |
CONVERSIONNET-6909 | Enhancement | Return file name with an extension of attachments when converting from an email |
CONVERSIONNET-6908 | Enhancement | Return file name with extension of children documents when converting from a pst/ost |
CONVERSIONNET-6868 | Bug | Convert PowerPoint to PDF/A-2u format - text spacing messed up? |
CONVERSIONNET-6820 | Bug | Resultant PDF is blank when set certain PDF options |
CONVERSIONNET-6715 | Bug | Table width if specified in ratio not reflected in output RTF file |
CONVERSIONNET-6901 | Bug | Empty result when converting any small MSG to PDF with custom width & height |
CONVERSIONNET-6889 | Bug | Continuation of CONVERSIONNET-6790: Border around table not rendered |
CONVERSIONNET-6513 | Bug | Tracked changes are being lost - DOCX to PDF conversion |
CONVERSIONNET-6826 | Bug | Converting docx to rtf text disappears |
CONVERSIONNET-6899 | Bug | HTML to RTF: Document is not formatted properly |
CONVERSIONNET-4801 | Bug | DWG to PDF conversion - blank output |
CONVERSIONNET-6818 | Bug | Unable to convert PageOrientation for the documents |
CONVERSIONNET-6907 | Bug | Problem with margin when converting emails to pdf |
Major features
- Converting embedded documents when convert WordProcessing, Presentation, and Spreadsheet documents
- Options to set columns and rows per page when convert from a Spreadsheet document
- Hyphenation when convert from a WordProcessing document
- Removing all JavaScript actions from the original PDF during conversion
- Configurable font embedding when converting to WebFileTypes
Public API and backward incompatible changes
In WordProcessingLoadOptions are introduced three new properties - ConvertOwner, ConvertOwned, and Depth
Usage:const string source = "sample-ole.docx"; using (var converter = new Converter(source, () => new WordProcessingLoadOptions { ConvertOwner = true, ConvertOwned = true, Depth = 1 })) { var convertOptions = new PdfConvertOptions(); converter.Convert("converted.pdf", convertOptions); }
In PresentationLoadOptions are introduced three new properties - ConvertOwner, ConvertOwned, and Depth
Usage:const string source = "sample-ole.pptx"; using (var converter = new Converter(source, () => new PresentationLoadOptions { ConvertOwner = true, ConvertOwned = true, Depth = 1 })) { var convertOptions = new PdfConvertOptions(); converter.Convert("converted.pdf", convertOptions); }
In SpreadsheetLoadOptions are introduced three new properties - ConvertOwner, ConvertOwned, and Depth
Usage:const string source = "sample-ole.xlsx"; using (var converter = new Converter(source, () => new SpreadsheetLoadOptions { ConvertOwner = true, ConvertOwned = true, Depth = 1 })) { var convertOptions = new PdfConvertOptions(); converter.Convert("converted.pdf", convertOptions); }
In SpreadsheetLoadOptions are introduced another two new properties - RowsPerPage, and ColumnsPerPage
Usage:const string source = "sample.xlsx"; using (var converter = new Converter(source, () => new SpreadsheetLoadOptions { RowsPerPage = 5, ColumnsPerPage = 5 })) { var convertOptions = new PdfConvertOptions(); converter.Convert("converted.pdf", convertOptions); }
In PdfLoadOptions is introduced a new property RemoveJavascript
Usage:const string source = "source.pdf"; using (var converter = new Converter(source, () => new PdfLoadOptions { RemoveJavascript = true, })) { var options = new PdfConvertOptions(); converter.Convert("converted.pdf", options); }
In WordProcessingLoadOptions is introduced a new property HyphenationOptions which is from type HyphenationOptions with which can control the hyphenation behavior
Usage:const string source = "sample.docx"; using (var converter = new Converter(source, () => new WordProcessingLoadOptions { HyphenationOptions = { AutoHyphenation = true } })) { var convertOptions = new PdfConvertOptions(); converter.Convert("converted.pdf", convertOptions); }
In EmailLoadOptions are introduced three new properties - DisplayAttachments, DisplaySent, and DisplaySubject
Usage:const string source = "sample-with-attachment.eml"; using (var converter = new Converter(source, (fileType) => new EmailLoadOptions { ConvertOwned = false, DisplayAttachments = false, DisplaySent = false, DisplaySubject = false })) { var options = new PdfConvertOptions(); converter.Convert((FileType fileType) => new FileStream($"converted.pdf", FileMode.Create), options); }
In WebConvertOptions is introduced a new property EmbedFontResources
Usage:const string source = "sample.docx"; using (var converter = new Converter(source)) { var convertOptions = new WebConvertOptions { FixedLayout = false, EmbedFontResources = true }; converter.Convert("converted.html", convertOptions); }