Releases: unidoc/unioffice
v1.21.0
Release notes - UniOffice - Version 1.21.0
This release contains new features, fixes and improvements.
Improvements
- Github Issue 427 DOCX to PDF conversion font name lookup improvement.
- CI workflows Go version updates.
Fixes
- UO-142 Fix small typo in README.
New features
- Metered API Key persistent cache and non persistent cache.
- USD-193 Table row can't split.
Added examples
- Example for row can't split.
v1.20.0
Release notes - UniOffice - Version v1.20.0
This release contains multiple improvements in DOCX to PDF conversions.
Improvements
- DOCX to PDF conversion is not supporting (a), (b) lists properly.[UO-130]
- DOCX to PDF conversion showing repeated text whereas it is not in Word output. [UO-131]
- DOCX to PDF conversion not including page number: 13.docx (header and footer). [UO-132]
- DOCX to PDF conversion switches to a different font all of a sudden. [UO-133]
- DOCX to PDF conversion: text inaccurately underlined. [UO-134]
- DOCX to PDF conversion: Paragraph text goes to a new page when the remaining space couldn't fit the paragraph texts. [UO-135]
v1.19.0
Release notes - UniOffice - Version v1.19.0
This release contains improvements and added examples.
Improvements
-
Word to PDF conversions: Support font script lookup from settings [UO-129].
This addresses a problem that was reported here #462 -
Add SlideSize and SetSize for presentation slide size [UO-127]
This enables setting slide size for presentations other than the default.
Added examples
- Numbering usage with nested numbering and customize its indent e.g with roman, alphabet, bullet. [UO-128].
- Setting presentation slide size
v1.18.0
This release is focused on continued improvements in DOCX to PDF conversion quality.
Improvements
Improved docx to pdf conversion better accounting for tables and tab stops [USD-180]
Better results more closely resembling MS Word can now be obtained for a wider range of files.
Changes
Notable changes include additional fields in convert.Options
// EnableFontSubsetting process document with subsetting font to reduce size result.
// Default value is `true`.
EnableFontSubsetting bool
// FontFiles location of fonts for convert process.
FontFiles []string
// FontDirectory location of font directory for convert process.
// This will load all font files inside directoy if set
// we recommend to use FontFiles for better performance.
FontDirectory string
v1.17.1
v1.17.0
UniOffice v1.17.0 includes multiple new features and a few significant improvements. ActiveX form field support has been added, line breaks can now be added easily, and Nodes can be used to easily search and replace text by pattern, enabling powerful redaction. PDF conversion for docx files also keeps being improved.
New features:
-
Paragraph border support added. Enables an easy way to add line-breaks, similar to in MS Word, where one can type in "~~~", "***", "---" followed by newline/Enter to insert a horizontal rule. [UO-117]
Example: https://github.com/unidoc/unioffice-examples/tree/master/document/paragraph-borders/main.go
shows a few different cases for paragraph borders including line breaks. -
Support for ActiveX form fields. Support added for reading and editing MS Word ActiveX fields. [UO-65]
Example: https://github.com/unidoc/unioffice-examples/tree/master/document/form-activex/main.go
demonstrates how get and change values from ActiveX forms. -
Text redaction with Nodes to find and replace text. Adds easy to use functions for search and replace of text supporting text and regular expressions. [UO-108]
Example: https://github.com/unidoc/unioffice-examples/tree/master/document/node-find-and-replace/main.go
shows how to use nodes to easily replace text in a docx file.
Improvements:
We added more test cases and fixed cases where the PDF conversion was faulty.
-
Account for style inheritance in PDF conversion. [UO-114]
-
docx to PDF crashes: nil error [UO-119]
-
PDF conversion for fields improvements. Improve conversion of fields, and added an option to process fields that is off by default.
If enabled, it is similar to how LibreOffice enables displaying hidden fields. [UO-109]
Examples: https://github.com/unidoc/unioffice-examples/tree/master/document/convert_to_pdf/main.go
https://github.com/unidoc/unioffice-examples/tree/master/document/convert_to_pdf_options/main.go
Can see the difference in output when processing the merge_fields conversion case with and without the
ProcessFields option, which causes fields to be processed and displayed if hidden (LibreOffice feature).
The default behavior is consistent with MS Word. -
Idempotency style when style already exist. The document AddStyle function now returns a style if the styleID already exist. [UO-116]
NOTE: There is technically one breaking change in this release that we believe should not affect any users.
The common/tempstorage
tempstorage.File
interface now has added io.ReaderAt
requirement. This was needed
to add the ActiveX support which is based on binary file processing. The provided implementations
memstore
and diskstore
have been updated. We do not believe that there is any other potential
use of the interface, so the change was accepted in this minor version.
v1.16.0
UniOffice v1.16.0 includes new features and improvements. Node support now enables working with docx document contents in a generic fashion and makes it easy to find and copy content across documents. In addition, significant improvements have been made in PDF conversion quality. Log level support also reduces noise in outputs on standard output by default, but enables getting more detailed debug logs as needed.
Changes:
- Node support enables working generically with documents to find and copy contents across docx files. [UO-98].
- Improved logging with multiple log levels. Added common/logger package [UO-96]
- PPTX to PDF improvement: List support [UO-107]
- DOCX to PDF improvement: Retaining field data in conversions [UO-109]
New examples:
- Node: Combining selected docx document contents from multiple files into one.
https://github.com/unidoc/unioffice-examples/tree/master/document/node-combine - Node: Extracting selected docx document contents
https://github.com/unidoc/unioffice-examples/tree/master/document/node-extraction - Node: Identifying and selecting specific document contents and saving to file
https://github.com/unidoc/unioffice-examples/tree/master/document/node-selection
v1.15.0
UniOffice v1.15.0 introduces support for conversions Powerpoint PPTX presentations to PDF files. In addition, a few other enhancements have been made.
Changes:
[UO-101] Sequence numbers are not part of extracted text
[UO-95] Crash when converting Word to PDF
[UO-106] Improve Word to PDF paragraph spacing and such
[UO-104] Convert pptx to pdf
New examples for UniOffice v1.15.0:
-
Powerpoint PPTX to PDF conversion examples:
https://github.com/unidoc/unioffice-examples/tree/master/presentation/convert_to_pdf -
Text extraction with numbering for Word docx documents
https://github.com/unidoc/unioffice-examples/tree/master/document/text_extraction_with_numbering/main.go
v1.14.0
UniOffice v1.14.0 includes the following changes:
- Convert Excel spreadsheets (XLSX) to PDF [UO-94]
- Fix duplicate mc:Ignorable attribute [UO-93]
- Mail merge header image issue [UO-100]
- Several images error fix [UO-103]
New examples for UniOffice v1.14.0:
- Example for XLSX to PDF conversion
https://github.com/unidoc/unioffice-examples/tree/master/spreadsheet/convert_to_pdf - Licensing updated to use unicloud metered license by default in examples and providing another example for offline license key usage
https://github.com/unidoc/unioffice-examples/tree/master/license
v1.13.0
This minor version release includes the following changes:
- Word docx watermark support. Text and image based watermarks. [UO-62]
- Powerpoint extraction fixes [UO-92]
- Word docx to pdf conversion improvements - Support composite fonts, including chinese, japanese, korean symbolic font files. [UO-91]
New examples for UniOffice v1.13.0
- DOCX to PDF conversion with custom composite symbolic fonts (chinese, japanese, korean for instance).
https://github.com/unidoc/unioffice-examples/tree/master/document/doc-to-pdf-fonts - DOCX to PDF example updates
https://github.com/unidoc/unioffice-examples/blob/master/document/doc-to-pdf - Adding an image-based watermark to a docx file
https://github.com/unidoc/unioffice-examples/tree/master/document/watermark-picture - Adding a text-based watermark to a docx file
https://github.com/unidoc/unioffice-examples/tree/master/document/watermark-text