aboutsummaryrefslogtreecommitdiff
path: root/tests/docx/german_styled_lists.native
diff options
context:
space:
mode:
authorJesse Rosenthal <jrosenthal@jhu.edu>2015-02-13 14:07:50 -0500
committerJesse Rosenthal <jrosenthal@jhu.edu>2015-02-19 00:17:04 -0500
commita01913b45c00891006a935f0d4f0a0cf2e054190 (patch)
tree14967f79b39529a938db2411a061bb3a110ded87 /tests/docx/german_styled_lists.native
parent3480189e8e3edce51351629444e5ed0db2c21eef (diff)
downloadpandoc-a01913b45c00891006a935f0d4f0a0cf2e054190.tar.gz
Docx reader: Allow numbering in the style file.
This allows inherited styles with numbering (lists). It works like this: 1. check to see if the style has numbering info. 2. if the paragraph has explicit numbering info in the doc that takes precedence. 3. if not we use the numbering info in the style, if it's there. 4. otherwise normal paragraph. We no longer assume it's not a numbering element if it doesn't have an explicit level---we just set that level to 1. (In the style files, the examples I've seen don't have that explicit level.)
Diffstat (limited to 'tests/docx/german_styled_lists.native')
0 files changed, 0 insertions, 0 deletions