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-10-22 13:57:42 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