diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/options-reader.js | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/lib/options-reader.js b/lib/options-reader.js index 636f648..e16e472 100644 --- a/lib/options-reader.js +++ b/lib/options-reader.js @@ -22,22 +22,26 @@ var defaultStyleMap = exports._defaultStyleMap = [ "p[style-name='heading 4'] => h4:fresh", "p[style-name='heading 5'] => h5:fresh", "p[style-name='heading 6'] => h6:fresh", - + + // Apple Pages + "p.Heading => h1:fresh", + "p[style-name='Heading'] => h1:fresh", + "r[style-name='Strong'] => strong", - + "p[style-name='footnote text'] => p:fresh", "r[style-name='footnote reference'] =>", "p[style-name='endnote text'] => p:fresh", "r[style-name='endnote reference'] =>", "p[style-name='annotation text'] => p:fresh", "r[style-name='annotation reference'] =>", - + // LibreOffice "p[style-name='Footnote'] => p:fresh", "r[style-name='Footnote anchor'] =>", "p[style-name='Endnote'] => p:fresh", "r[style-name='Endnote anchor'] =>", - + "p:unordered-list(1) => ul > li:fresh", "p:unordered-list(2) => ul|ol > li > ul > li:fresh", "p:unordered-list(3) => ul|ol > li > ul|ol > li > ul > li:fresh", @@ -48,10 +52,14 @@ var defaultStyleMap = exports._defaultStyleMap = [ "p:ordered-list(3) => ul|ol > li > ul|ol > li > ol > li:fresh", "p:ordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh", "p:ordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh", - + "r[style-name='Hyperlink'] =>", - - "p[style-name='Normal'] => p:fresh" + + "p[style-name='Normal'] => p:fresh", + + // Apple Pages + "p.Body => p:fresh", + "p[style-name='Body'] => p:fresh" ]; var standardOptions = exports._standardOptions = { |
