33 Commits
Author SHA1 Message Date
Tom Z?hner 52fe8bdf7c Fix pictures in rtf demo 2020-06-17 17:36:57 +02:00
Tom Z?hner 70aa2def63 Fix rtf sample error reporting 2020-05-31 19:09:20 +02:00
Tom Z?hner 07f2cccca8 Improve custom errors and log errors in all sample pages 2020-04-19 15:23:00 +02:00
Tom Z?hner 23b0506939 Add watch mode for development 2020-03-24 16:44:44 +01:00
Tom Z?hner 9162c3de83 Some additional small image corrections 2020-03-23 17:26:18 +01:00
Tom Z?hner 633cd01a03 Fix remaining tests and import file demo 2020-03-22 16:44:56 +01:00
Tom Z?hner a295d3b31b Remove remaining jQuery dependencies 2020-03-21 21:11:52 +01:00
Tom Z?hner 000d81c942 Update dependencies 2020-01-04 16:49:44 +01:00
Tom Z?hner 8a469f6895 Added minified bundles to dist 2018-05-05 19:53:21 +02:00
zoehneto d72753b559 Fix wmf sample 2018-03-29 10:45:32 +02:00
Tom Z?hner 32cf4d0565 Bundle with webpack 2018-03-24 15:43:46 +01:00
Tom Z?hner 0ddb75e6ad Catch errors in sample pages 2018-03-15 16:40:33 +01:00
Tom Z?hner 2fd739a6e8 Extract container classes and destinations from parser 2018-02-26 10:23:47 +01:00
Tom Z?hner 7411d9ca2c Add rtf tests with wmf / emf, improve test repeatability, improve html formatting 2018-02-25 12:09:01 +01:00
zoehneto 17b1f2c7cd switch Document.render() to promise and unify rendering for all documents 2018-02-24 16:39:34 +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 bd9149a798 Convert emf.js to typescript 2018-02-24 00:06:34 +01:00
Tom Z?hner b4d4b16437 Convert wmfjs to typescript 2018-02-24 00:06:34 +01:00
Tom Z?hner c97d45db63 Initial typescript conversion of rtf.js 2018-02-24 00:06:34 +01:00
Warren R Bank 0e4500e3d7 organize directory structure + relink 2018-02-19 07:39:22 -08:00
Thomas Bluemel cbe104c6ac Add support for picture groups. 2018-01-26 13:04:38 -07:00
Thomas Bluemel a47a637403 More path fixes. 2018-01-25 12:51:53 -07:00
Thomas Bluemel e9cb51b2a7 Some more improvements for EMF support. 2018-01-23 19:08:50 -07:00
Tom Z?hner 29c22f4dfb Don't use jquery.binarytransport.js for rtf sample page for better compatability with old devices 2016-06-29 12:59:25 +02:00
Tom Z?hner 4066890d96 update README and rtf sample page 2016-05-16 16:00:37 +02:00
Tom Z?hner 6aebc5d4af convert adobe symbol encoding to unicode 2016-05-16 15:56:00 +02: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
Tom Z?hner 1dba119f84 implement codepage support using cptable.js 2016-02-14 20:19:43 +01:00
Thomas Bluemel 4f41cc06b8 Fix alignment bug. 2015-09-19 12:05:05 -06:00
Thomas Bluemel 6288b751e1 Add support for hyperlinks. 2015-09-19 11:27:13 -06:00
Thomas Bluemel 00d56ab086 Add support for text alignment. 2015-09-19 07:27:26 -06:00
Thomas Bluemel cba49c0fab Initial commit. 2015-09-17 20:33:55 -06:00