Commit Graph
112 Commits
Author SHA1 Message Date
Tom Z?hner f0320e1cd5 Pap fix for subs without their own pap (e.g. RenderTextElement) 2018-03-13 09:59:11 +01:00
Tom Z?hner c01e46e3cc Update state-handling fix for new par handling 2018-03-13 09:40:21 +01:00
Tom Z?hner 9ab48bf442 Switch new console.log statements to logger 2018-03-13 09:40:21 +01:00
Tom Z?hner 414aebc947 prepare for potential future containers 2018-03-13 09:40:21 +01:00
Tom Z?hner 1306eb72e7 Fix paragraph after table not displayed 2018-03-13 09:40:21 +01:00
Tom Z?hner 28ff397c2e fix rendering for test table 2018-03-13 09:40:21 +01:00
Thomas Bluemel b5881f23a1 Rebasing table-support on latest master 2018-03-13 09:40:18 +01:00
Thomas Bluemel cbe104c6ac Add support for picture groups. 2018-01-26 13:04:38 -07:00
Thomas Bluemel 515ec545f9 Fix bezier logic. 2018-01-26 10:30:46 -07:00
Thomas Bluemel 456f682fd0 Add polygon support. 2018-01-25 16:56:02 -07:00
Thomas Bluemel 15925f178c Add support for bezier lines. 2018-01-25 13:49:16 -07:00
Thomas Bluemel a47a637403 More path fixes. 2018-01-25 12:51:53 -07:00
Thomas Bluemel 571dbbda9c Fix rendering embedded EMF images. 2018-01-25 11:17:03 -07:00
Thomas Bluemel 48506586e3 A few path fixes. 2018-01-25 10:28:18 -07:00
Tom Z?hner f3a3fd0fb2 Support fldrslt destination which is not child of a field 2018-01-25 11:09:25 +01:00
Tom Zöhner fc507bcec6 Use correct logger 2018-01-25 10:43:48 +01:00
Thomas Bluemel 0ed7549210 Fix typos. 2018-01-24 23:59:21 -07:00
Thomas Bluemel 78ff5b7812 Fix a number of bugs and regressions. 2018-01-24 23:35:09 -07:00
Thomas Bluemel 842ecc1395 More EMF improvements. 2018-01-24 19:41:13 -07:00
Thomas Bluemel 6e3c80e30d Log record names. 2018-01-23 19:52:15 -07:00
Thomas Bluemel e9cb51b2a7 Some more improvements for EMF support. 2018-01-23 19:08:50 -07:00
Tom Z?hner adf9615e69 Handle cases where characters aren't found in a codepage 2018-01-12 16:45:04 +01:00
zoehneto 2bcf4fce22 Add initial support for languages with double width characters 2018-01-10 14:30:56 +01:00
Tom Zöhner 80fc594632 Merge pull request #26 from mmicalle/patch-1
Use current charset instead of global codepage
2018-01-10 10:42:27 +01:00
mmicalle 15a237e293 Added safety test and removed codepage 42
as pointed by zoehneto in comments
2018-01-10 10:28:44 +01:00
mmicalle dda5057959 Didn't use codepage for document parsing
RTF usually use ASCII, we didn't need to use convertion here.
2018-01-10 09:42:51 +01:00
mmicalle ef44c785c6 Added mapping list from RTF specifications
Charset to pagecode mapping list as defined in RTF specifications.
2018-01-10 09:34:35 +01:00
zoehneto 6dbdc26693 Overwrite fcharset with cpg if provided 2018-01-09 18:19:47 +01:00
mmicalle 376e8bb37e Use current charset instead of global codepage
RTF seems to define charset for each fragment with related codepage; we should use it instead of main one.
We still need to define the charset mapping list.
2018-01-09 17:20:22 +01:00
zoehneto 0b6d586a3c Don't require an fldrslt destination in every field 2017-10-12 15:36:46 +02:00
zoehneto 3620222736 Log line number and column if an exception is thrown during parsing 2017-10-10 17:16:47 +02:00
zoehneto d339f8f5fe Make custom errors extend the default error object to preserve the stacktrace 2017-10-10 17:08:19 +02:00
Tom Z?hner 1cdaf31121 Support theme fonts for non compliant rtf files (which don't provide fallback information) 2017-09-09 19:01:50 +02:00
Tom Z?hner 853f47a568 Workaround for documents with invalid codepage definition 2017-05-20 15:47:18 +02:00
Tom Z?hner 8b590c40bc Support \rtf control word without version number 2017-05-19 22:08:50 +02:00
Tom Zöhner 49cc9189ef Fix fontfamily lookup for font with index 0, fixes #23 2017-03-11 10:36:06 +01:00
Tom Z?hner c9ed24fbda Remove unused code from emf.js 2016-12-23 15:10:42 +01:00
Tom Z?hner 96297b0dc0 Update documentation to mention emf.js 2016-12-23 15:04:22 +01:00
Tom Z?hner 3c25a7eb8b Implement pen, remove wmf unit conversion, add rectangle, polygon16 and lineto support 2016-12-23 14:59:37 +01:00
Tom Z?hner 8553bbc9fd Implement Brush and PenEx 2016-12-23 14:53:18 +01:00
Tom Z?hner d655d99446 Added many records, draws polyline16 (without color) 2016-12-23 14:53:18 +01:00
Tom Z?hner 9abda693f1 Initial emf parser based on wmfjs (only parses records and creates an empty svg for now) 2016-12-23 14:53:18 +01:00
Tom Zöhner aac6ec6725 Fix log message in wmfjs stretchDib 2016-12-22 18:39:14 +01:00
Tom Z?hner 7bd33e7d23 Handle picture wrapped in shppict 2016-10-02 15:39:49 +02:00
Tom Z?hner 95aeae98c9 Implement META_EXTTEXTOUT in wmfjs 2016-09-28 12:02:01 +02:00
Tom Z?hner 9b0547ff54 Allow redefining stylesheets 2016-09-28 09:50:50 +02:00
Tom Z?hner 50970ba746 Handle edge case with missing font table 2016-09-28 09:38:49 +02:00
Tom Zöhner dff6c730c9 Merge pull request #21 from zoehneto/sample-data-loading
Don't use jquery.binarytransport.js for rtf sample page
2016-06-29 13:01:14 +02: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 8a2099aa19 Merge pull request #17 from zoehneto/unicode-characters
Unicode characters
2016-05-16 16:15:03 +02:00