Files
rtf.js/samples
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
..
2018-02-24 00:06:34 +01:00
2018-02-24 00:06:34 +01:00
2018-02-24 00:06:34 +01:00