diff options
author | Olivier Hallot <olivier.hallot@libreoffice.org> | 2022-05-14 15:19:49 -0300 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2022-05-15 13:56:18 +0200 |
commit | cfa7975316e7fa8e88a2c2e06ad37240d1b6e057 (patch) | |
tree | 4c3373ce6d12cb599e68348d1d892a4ca2b4b40c /helpers | |
parent | 789bc6e2c10536e5a876c5c4fb0126dbffe4dcbf (diff) |
Add SQL code colorization to Help pages
Change-Id: I2c74e63c67a323a6e6b726da352dd23e1a88d886
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/134329
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'helpers')
-rw-r--r-- | helpers/xmlhelp.dtd | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/helpers/xmlhelp.dtd b/helpers/xmlhelp.dtd index fcb1076b57..99eac47f9b 100644 --- a/helpers/xmlhelp.dtd +++ b/helpers/xmlhelp.dtd @@ -24,6 +24,7 @@ Version 06-Jun-2017 Version Nov 2018 Added extensions: H1, .. H6, menuitem, keycode, literal input, widget, note, tip, warning + Added extensions: pycode, sqlcode, bascode --> <!ELEMENT ahelp (#PCDATA | embedvar | br | comment | emph | menuitem | widget | keycode | input | literal | sub | sup | item | link | switchinline | variable)*> @@ -43,7 +44,9 @@ Version Nov 2018 <!ELEMENT pycode (paragraph+)> -<!ELEMENT body (h1 | h2 | h3 | h4 | h5 | h6 | section | paragraph | table | comment | bookmark | switch | embed | list | sort | bascode | pycode | note | warning |tip)*> +<!ELEMENT sqlcode (paragraph+)> + +<!ELEMENT body (h1 | h2 | h3 | h4 | h5 | h6 | section | paragraph | table | comment | bookmark | switch | embed | list | sort | bascode | pycode | sqlcode | note | warning | tip)*> <!ELEMENT bookmark (bookmark_value)*> <!ATTLIST bookmark @@ -64,7 +67,7 @@ Version Nov 2018 localize CDATA #IMPLIED > -<!ELEMENT case (h1 | h2 | h3 | h4 | h5 | h6 | note | warning |tip | paragraph | table | comment | bookmark | embed | link | list | switch | section | sort | bascode | pycode)*> +<!ELEMENT case (h1 | h2 | h3 | h4 | h5 | h6 | note | warning |tip | paragraph | table | comment | bookmark | embed | link | list | switch | section | sort | bascode | pycode | sqlcode )*> <!ATTLIST case select CDATA #REQUIRED > @@ -81,7 +84,7 @@ Version Nov 2018 date CDATA #REQUIRED > -<!ELEMENT default (h1 | h2 | h3 | h4 | h5 | h6 | note | warning |tip | paragraph | table | comment | bookmark | embed | link | list | switch | section | sort | bascode | pycode)*> +<!ELEMENT default (h1 | h2 | h3 | h4 | h5 | h6 | note | warning |tip | paragraph | table | comment | bookmark | embed | link | list | switch | section | sort | bascode | pycode | sqlcode)*> <!ELEMENT defaultinline (#PCDATA | image | embedvar | br | emph | sub | sup | item | link | switchinline | variable | ahelp | object | keycode | menuitem | input | literal | widget)*> @@ -207,7 +210,7 @@ Version Nov 2018 localize CDATA #IMPLIED > -<!ELEMENT section (section | h1 | h2 | h3 | h4 | h5 | h6 | paragraph | table | list | comment | bookmark | embed | switch | sort | bascode | pycode | note |warning | tip)*> +<!ELEMENT section (section | h1 | h2 | h3 | h4 | h5 | h6 | paragraph | table | list | comment | bookmark | embed | switch | sort | bascode | pycode | sqlcode | note |warning | tip)*> <!ATTLIST section id CDATA #REQUIRED > |