Transforming content from one format to another

A content transformer is used to transform content from one format to another. Content transformers are implemented as a Java class configured as a Spring bean. Alfresco finds the appropriate transformer based on source and target MIME type. There are two important use cases for transformers. The first is when an end user triggers a transformation, usually through an action. The most well-known out of the box example is converting Microsoft Office documents to PDF. Other out of the box transformers include:

  • HTML-to-text
  • Microsoft Excel-to-CSV
  • Microsoft Word-to-text
  • PDF-to-text
  • Images-to-Images

See the Appendix for further details on the out of the box transformers.

The second key transformer use case involves ...

Get Alfresco One 5.x Developer's Guide - second edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.