From 13bc573e7f9e0602404dd37fec2c7cd14b5c56ee Mon Sep 17 00:00:00 2001 From: Hubert Plociniczak Date: Wed, 26 Oct 2016 15:53:33 +0200 Subject: 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. --- data/odt/styles.xml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'data') 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="http://www.w3.org/TR/css3-text/" office:version="1.2"> style:font-name-complex="Courier New" style:font-size-complex="10pt" /> + + + style:font-name-asian="Courier New" style:font-name-complex="Courier New" /> +