Commit Graph
22 Commits
Author SHA1 Message Date
Tom Z?hner b75d0ce02e Add support for testing emfjs and wmfjs directly 2018-03-31 17:05:40 +02:00
zoehneto c974aae782 Add getting started guide, reorder documentation 2018-03-29 17:07:10 +02:00
zoehneto fd9863dcba Add npm badge 2018-03-28 17:00:32 +02:00
zoehneto c9851d3568 Use coveralls to track coverage information 2018-03-21 17:49:33 +01:00
zoehneto b4eed48ff5 Add coverage reporting for tests 2018-03-21 16:23:36 +01:00
Tom Z?hner aacf545955 Fix remaining lint issues 2018-03-05 10:46:15 +01:00
Tom Z?hner f6aea318f9 Add tslint and auto-fix most issues 2018-03-05 09:59:18 +01:00
Tom Zöhner 0327348dab Correct link in README 2018-03-02 18:16:10 +01:00
Tom Z?hner 312e738859 Add build status to README 2018-02-25 12:33:32 +01:00
Warren R Bank 5bb7eb613b add support for RTFs that import images from external files
ex:
===
  {\field {\*\fldinst import image.WMF}}
  {\field {\*\fldinst import image.EMF}}

where:
======
* "image.WMF" is a relative URL path
* the external files are not read by the library
* a new hook function is added to the "settings" Object
  that is passed to the "RTFJS.Document()" constructor
  * "settings.onImport(relURL, cb)"
  * this hook function is responsible for:
    * reading data from the external file @ "relURL" into a blob
    * mapping the file extension to a "keyword" (ex: "wmetafile")
    * passing this information to the callback function with the desired height
      * cb({keyword, blob, height})

demo:
=====
  samples/04_rtf_imports/rtf.html
2018-02-24 16:39:34 +01:00
Tom Z?hner f40573cac9 Update README and CHANGELOG 2018-02-24 16:27:42 +01:00
Tom Z?hner effb7652b6 Mention tests in README 2018-02-23 10:06:34 +01:00
Warren R Bank 0e4500e3d7 organize directory structure + relink 2018-02-19 07:39:22 -08:00
Thomas Bluemel e9cb51b2a7 Some more improvements for EMF support. 2018-01-23 19:08:50 -07:00
Tom Z?hner 96297b0dc0 Update documentation to mention emf.js 2016-12-23 15:04:22 +01:00
Tom Z?hner 4066890d96 update README and rtf sample page 2016-05-16 16:00:37 +02:00
Thomas Bluemel f090874339 Minor documentation fix. 2016-03-12 09:48:49 -07:00
Thomas Bluemel 1dd1f790a2 Add support for opaque text background color and text color. 2016-02-25 12:20:16 -07:00
Thomas Bluemel 9b883d671f Update documentation for dependencies. 2016-02-17 09:10:35 -07:00
Thomas Bluemel 85f314db2e Update documentation. 2015-09-18 07:44:18 -06:00
Thomas Bluemel b18168f7a7 Update documentation. 2015-09-18 07:32:38 -06:00
Thomas Bluemel cba49c0fab Initial commit. 2015-09-17 20:33:55 -06:00