aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/ODT.hs
diff options
context:
space:
mode:
authorNikolay Yakimov <root@livid.pp.ru>2015-02-21 22:20:18 +0300
committerNikolay Yakimov <root@livid.pp.ru>2015-02-21 22:20:18 +0300
commit5cdd11725c2db417f7f93d09fdb7ead90d1700a6 (patch)
treed895775832d54893689fa286a2ed5c64936b3f26 /src/Text/Pandoc/Writers/ODT.hs
parenta7c67c897ecebe339078b212a93a35a54a6fc143 (diff)
downloadpandoc-5cdd11725c2db417f7f93d09fdb7ead90d1700a6.tar.gz
Initial stab at more involved fix for #1607
This patch attempts to build a style name -> style id mapping based on styles.xml from reference doc, and changes pStyle and rStyle to accept style name as a parameter instead of styleId. There is a fallback mechanic that removes spaces from style name and returns it as style id, but it likely won't help much. Style names are matched lower-case, since headings and `footnote text` have lowercase names.
Diffstat (limited to 'src/Text/Pandoc/Writers/ODT.hs')
0 files changed, 0 insertions, 0 deletions