officeutils
Service icon

OfficeUtils

Stable version 5.3.0 (Compatible with OutSystems 11)
Other versions available for 10 and Older
Uploaded
 on 1 Apr (9 days ago)
 by 
4.7
 (36 ratings)
officeutils

OfficeUtils

Details
Provides advanced export capabilities to Excel and Word.
Read more

About

OfficeUtils provides advanced export capabilities to Excel and Word documents. It allows to manipulate and generate a document based on a template included in the Resources folder. The document content is manipulated using a set of server actions available in OfficeUtils Service module, called helpers.

Besides the export capabilities, OfficeUtils also provides functionality for Excel and Word documents content extraction.

Built using NPOI library (https://github.com/nissl-lab/npoi).


Word export features list:

  • Template based export.
  • Replace text placeholders on the template with text and pictures.
  • Populate template tables with data.


Template example


Expected generated result



Excel export features list:

  • Template based export (optional).
  • Write data on multiple sheets and sheet coordinates.
  • Use as input the output of RecordListToExcel or specify each one of the cell values individually.
  • Write data on the platform default format or keeping the format specified on the template.
  • Insert images.
  • Sheets cloning.
  • Cells merging.
  • Apply styles to cells (colors, borders, and alignments).


Template example



Expected generated result



We advise to download and install the component demo, as it provides implementation examples of the several OfficeUtils usage scenarios.

Release notes (5.3.0)

Word

  • Added check of invalid XML characters on provided text inputs, as well as the option field "AutoRemoveInvalidXMLChars" to enable their automatic removal.
  • Added support for adding pictures in the middle of text blocks.
  • Added support for adding hyperlinks to template table rows.
  • BREAKING CHANGE: The template placeholders for setting hyperlinks now must be defined as regular text (While before it was mandatory to pre-define them as hyperlinks).


General

  • Upgraded NPOI to version 2.7.3.
  • Refactoring of the add pictures related functionality for both Word and Excel.
License (5.3.0)
Reviews (4)
by 
25 Mar (2 weeks ago)
in version 5.2.2
Your support has been outstanding! The way you promptly addressed issues and provided clear, well-documented solutions made integrating this component a seamless experience. Your dedication and attention to detail truly make a difference. Keep up the great work!
by 
2022-10-26
in version 5.0.5
The documentation is very, very helpful. That is what gives it the fifth star  
by 
2022-10-04
in version 5.0.5
Top level component! And demo App helps a lot to understand how it works. Thanks for sharing
Team
Other assets in this category