summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2016-01-25 16:11:41 +0100
committerOlivier Hallot <ohallot@collabora.co.uk>2016-04-25 18:40:29 +0000
commita14d38465c010b4feedfe6c2317a6eef59ffa09b (patch)
tree4db5f57a120d4aeb23e40768d4c04a55c7c7cf75
parent5a80d0373c0edd1350e9f36e24579c2289aed7d9 (diff)
tdf#94057 - add "bascode" element to xmlhelp dtd
it was introduced with d06c698b799e0e4ceaf3a3760c9589fe29dc29a9 on core to have LO apply syntax-highlighting for Basic (for 4.1.0) Change-Id: Ifbe4b511cad8810b2ebd179fb62097bcd22a556a Reviewed-on: https://gerrit.libreoffice.org/21793 Reviewed-by: Olivier Hallot <ohallot@collabora.co.uk> Tested-by: Olivier Hallot <ohallot@collabora.co.uk>
-rw-r--r--helpers/xmlhelp.dtd12
1 files changed, 7 insertions, 5 deletions
diff --git a/helpers/xmlhelp.dtd b/helpers/xmlhelp.dtd
index 9130e37c02..2c789604e4 100644
--- a/helpers/xmlhelp.dtd
+++ b/helpers/xmlhelp.dtd
@@ -33,7 +33,9 @@ Version 03-Feb-2006
localize CDATA #IMPLIED
>
-<!ELEMENT body (section | paragraph | table | comment | bookmark | switch | embed | list | sort)*>
+<!ELEMENT bascode (paragraph+)>
+
+<!ELEMENT body (section | paragraph | table | comment | bookmark | switch | embed | list | sort | bascode)*>
<!ELEMENT bookmark (bookmark_value)*>
<!ATTLIST bookmark
@@ -54,7 +56,7 @@ Version 03-Feb-2006
localize CDATA #IMPLIED
>
-<!ELEMENT case (paragraph | table | comment | bookmark | embed | link | list | switch | section | sort)*>
+<!ELEMENT case (paragraph | table | comment | bookmark | embed | link | list | switch | section | sort | bascode)*>
<!ATTLIST case
select CDATA #REQUIRED
>
@@ -71,7 +73,7 @@ Version 03-Feb-2006
date CDATA #REQUIRED
>
-<!ELEMENT default (paragraph | table | comment | bookmark | embed | link | list | switch | section | sort)*>
+<!ELEMENT default (paragraph | table | comment | bookmark | embed | link | list | switch | section | sort | bascode)*>
<!ELEMENT defaultinline (#PCDATA | image | embedvar | br | emph | sub | sup | item | link | switchinline | variable | ahelp | object)*>
@@ -163,7 +165,7 @@ Version 03-Feb-2006
localize CDATA #IMPLIED
>
-<!ELEMENT section (section | paragraph | table | list | comment | bookmark | embed | switch | sort )*>
+<!ELEMENT section (section | paragraph | table | list | comment | bookmark | embed | switch | sort | bascode)*>
<!ATTLIST section
id CDATA #REQUIRED
>
@@ -193,7 +195,7 @@ Version 03-Feb-2006
id CDATA #REQUIRED
>
-<!ELEMENT tablecell (section | paragraph | comment | embed | bookmark | image | list)*>
+<!ELEMENT tablecell (section | paragraph | comment | embed | bookmark | image | list | bascode)*>
<!ATTLIST tablecell
colspan CDATA #IMPLIED
rowspan CDATA #IMPLIED