[Libreoffice-commits] help.git: helpers/xmlhelp.dtd

Christian Lohmaier lohmaier+LibreOffice at googlemail.com
Mon Apr 25 18:40:56 UTC 2016


 helpers/xmlhelp.dtd |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

New commits:
commit a14d38465c010b4feedfe6c2317a6eef59ffa09b
Author: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
Date:   Mon Jan 25 16:11:41 2016 +0100

    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 at collabora.co.uk>
    Tested-by: Olivier Hallot <ohallot at collabora.co.uk>

diff --git a/helpers/xmlhelp.dtd b/helpers/xmlhelp.dtd
index 9130e37..2c78960 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


More information about the Libreoffice-commits mailing list