Releases: unidoc/unioffice
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
v1.12.0
This minor version release includes the following changes:
-
Multiple PDF conversion fixes: Chart handling, indentation and font styles, hyperlinks
-
Add image wrapping options (document package) [UO-80]
-
Paragraph indent and line spacing with example page size and orientation (document package) [UO-83]
-
Extract hyperlink in r.Text() [UO-90] Resolves #268
New examples
-
Add chart.docx/pdf example for doc-to-pdf conversion to illustrate chart support
document/doc-to-pdf/main.go -
Add document image-text-wrap example for showcasing how to configure text wrapping around images in docx word files
document/image-text-wrap/main.go -
Add document page-size-and-orientation to illustrate how to control page sizing and orientation such as portrait vs landscape
document/page-size-and-orientation/main.go -
Add document paragraph-style example for document package to showcase how to use paragraph styles
document/paragraph-style/main.go -
Update paragraph_spacing_and_indentation example to show more cases in document package
document/paragraph_spacing_and_indentation/main.go
v1.11.0
This minor version adds
- Add capability to set Cell Protection in spreadsheets [UO-88]
Added example: https://github.com/unidoc/unioffice-examples/tree/master/spreadsheet/cell-protection - Minor schema fixes
v1.10.0
v1.9.0
v1.8.0
The v1.8.0 minor version release of UniOffice includes the following new features:
- Text extraction for document, spreadsheet, presentation packages
Both vectorized (objects) and plain text. New examples:- Word document docx text extraction: https://github.com/unidoc/unioffice-examples/blob/master/document/text_extraction/main.go
- Excel spreadsheet text extraction: https://github.com/unidoc/unioffice-examples/blob/master/spreadsheet/text_extraction/main.go
- Powerpoint presentation text extraction: https://github.com/unidoc/unioffice-examples/blob/master/presentation/text_extraction/main.go
- Support for AlternateContent (Any) in runs and paragraphs (textbox support)
- New example: https://github.com/unidoc/unioffice-examples/blob/master/document/run-properties/main.go
As well as used in textbox extraction for paragraphs in the new text extraction support.
- New example: https://github.com/unidoc/unioffice-examples/blob/master/document/run-properties/main.go