mirror of
https://github.com/tbluemel/rtf.js.git
synced 2026-11-30 16:47:59 +01:00
dff6c730c96e1df2a07446bc6d110a193fbea749
Don't use jquery.binarytransport.js for rtf sample page
rtf.js
Render RTF documents in HTML. This also includes rendering WMF images which are often contained in RTF documents.
License
The code of this project is licensed under the MIT license. See the file LICENSE for details.
Dependencies
- rtf.js requires:
- jquery
- js-codepage (Apache 2.0 license)
- symboltable.js (provided in the sample directory)
- wmf.js requires:
- jquery
- jquery.svg.js plugin with the jquery.svgfilter.js extension.
- Rendering WMF images is accomplished by using HTML5's
<svg>feature. - Rendering RTF documents often requires rendering WMF images, however rtf.js can be used without wmf.js if rendering such images is not required.
Live samples:
- RTF document rendering: http://tbluemel.github.io/rtf.js/samples/rtf.html
- WMF image rendering: http://tbluemel.github.io/rtf.js/samples/wmf.html
Languages
Rich Text Format
69.9%
HTML
21.6%
TypeScript
8%
JavaScript
0.5%