visuellverstehen/html-to-rtf

A HTML to RTF converter

dev-main 2022-04-06 11:58 UTC

This package is auto-updated.

Last update: 2024-04-22 12:56:02 UTC


README

Convert basic HTML output of TinyMCE to RTF with PHP

Supported HTML:

  • Text styles
    • bold
    • italic
    • undeline
    • strikethrough
  • Align
    • Left
    • Center
    • Right
    • Justify
  • Lists
    • Ordered
    • Unordered
  • Unicode characters

This is a fork from hermanouchoa/php-html-to-rtf-converter. This fork provides a Config class that introduces a way to override the default font and font-size of RTF.

Installation

composer require visuellverstehen/html-to-rtf:dev-master

Examples

Example can be found in examples/index.php