aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2023-08-04 20:43:39 -0700
committerJohn MacFarlane <[email protected]>2023-08-04 20:43:39 -0700
commit08738954162e992b21ffa83baae7f82b10e1041f (patch)
treecad4f36cf91c4987f9292594d0fc05c018eedf8e /data
parent889dcbe99ce16f66108f7a8fc6dd064f9d9ce30e (diff)
OpenDocument writer: implement syntax highlighting.
Still unimplemented: global background colors, line numbers. Closes #6710, obsoletes #6717.
Diffstat (limited to 'data')
-rw-r--r--data/odt/styles.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/data/odt/styles.xml b/data/odt/styles.xml
index ce98b73a1..d544a6750 100644
--- a/data/odt/styles.xml
+++ b/data/odt/styles.xml
@@ -250,14 +250,16 @@ xmlns:css3t="http://www.w3.org/TR/css3-text/" office:version="1.3">
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:font-size-complex="10pt"
+ fo:language="zxx" />
</style:style>
<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:font-size-complex="10pt"
+ fo:language="zxx" />
</style:style>
<style:style style:name="Definition_20_Term"
style:display-name="Definition Term" style:family="paragraph"