diff options
author | Jesse Rosenthal <jrosenthal@jhu.edu> | 2014-06-25 08:10:19 -0400 |
---|---|---|
committer | Jesse Rosenthal <jrosenthal@jhu.edu> | 2014-06-25 08:10:19 -0400 |
commit | c343f1a90bc35d745de673de5ff771ddbe60be54 (patch) | |
tree | 9975bb9d2190a90e067fd00ac28e02a83b0c0c8f /src/Text | |
parent | 5ba47605276cf52aeef06043b47a04ca05bd0339 (diff) | |
download | pandoc-c343f1a90bc35d745de673de5ff771ddbe60be54.tar.gz |
Docx Reader: Add change types
Insertion and deletion. Dates are just strings for now.
Diffstat (limited to 'src/Text')
-rw-r--r-- | src/Text/Pandoc/Readers/Docx/Parse.hs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/Docx/Parse.hs b/src/Text/Pandoc/Readers/Docx/Parse.hs index 18200bcf9..1cb5fe2e3 100644 --- a/src/Text/Pandoc/Readers/Docx/Parse.hs +++ b/src/Text/Pandoc/Readers/Docx/Parse.hs @@ -455,6 +455,8 @@ elemToCell ns element elemToCell _ _ = Nothing data ParPart = PlainRun Run + | Insertion ChangeId Author ChangeDate [Run] + | Deletion ChangeId Author ChangeDate [Run] | BookMark BookMarkId Anchor | InternalHyperLink Anchor [Run] | ExternalHyperLink RelId [Run] @@ -604,4 +606,6 @@ type Target = String type Anchor = String type BookMarkId = String type RelId = String - +type ChangeId = String +type Author = String +type ChangeDate = String |