path: root/data/odt/styles.xml
diff options
authorHubert Plociniczak <>2016-10-26 15:53:33 +0200
committerJesse Rosenthal <>2016-11-08 09:29:46 -0500
commit13bc573e7f9e0602404dd37fec2c7cd14b5c56ee (patch)
treea00a7be544b104df4544ddfcd5301300476b78cc /data/odt/styles.xml
parenteced02d70e0a4e8d7dfa4c373a6c4d8a4cc08407 (diff)
Inline code when text has a special style
When a piece of text has a text 'Source_Text' then we assume that this is a piece of the document that represents a code that needs to be inlined. Addapted an odt writer to also reflect that change; previously it was just writing a 'preformatted' text using a non-distinguishable font style. Code blocks are still not recognized by the ODT reader. That's a separate issue.
Diffstat (limited to 'data/odt/styles.xml')
1 files changed, 8 insertions, 0 deletions
diff --git a/data/odt/styles.xml b/data/odt/styles.xml
index 32b918406..1f1e2c5c8 100644
--- a/data/odt/styles.xml
+++ b/data/odt/styles.xml
@@ -237,6 +237,13 @@ xmlns:css3t="" office:version="1.2">
style:font-name-complex="Courier New"
style:font-size-complex="10pt" />
+ <style:style style:name="Source_Text" style:family="text">
+ <style:text-properties style:font-name="Courier New"
+ fo:font-size="10pt" style:font-name-asian="Courier New"
+ style:font-size-asian="10pt"
+ style:font-name-complex="Courier New"
+ style:font-size-complex="10pt" />
+ </style:style>
<style:style style:name="Definition_20_Term"
style:display-name="Definition Term" style:family="paragraph"
@@ -381,6 +388,7 @@ xmlns:css3t="" office:version="1.2">
style:font-name-asian="Courier New"
style:font-name-complex="Courier New" />
<style:style style:name="Internet_20_link"
style:display-name="Internet link" style:family="text">
<style:text-properties fo:color="#000080"