diff options
Diffstat (limited to 'framework/dtd')
-rw-r--r-- | framework/dtd/accelerator.dtd | 44 | ||||
-rw-r--r-- | framework/dtd/event.dtd | 45 | ||||
-rw-r--r-- | framework/dtd/groupuinames.dtd | 35 | ||||
-rw-r--r-- | framework/dtd/image.dtd | 67 | ||||
-rw-r--r-- | framework/dtd/menubar.dtd | 46 | ||||
-rw-r--r-- | framework/dtd/statusbar.dtd | 48 | ||||
-rw-r--r-- | framework/dtd/toolbar.dtd | 67 |
7 files changed, 352 insertions, 0 deletions
diff --git a/framework/dtd/accelerator.dtd b/framework/dtd/accelerator.dtd new file mode 100644 index 000000000000..5217b635cd14 --- /dev/null +++ b/framework/dtd/accelerator.dtd @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + + Copyright 2000, 2010 Oracle and/or its affiliates. + + OpenOffice.org - a multi-platform office productivity suite + + This file is part of OpenOffice.org. + + OpenOffice.org is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License version 3 + only, as published by the Free Software Foundation. + + OpenOffice.org is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License version 3 for more details + (a copy is included in the LICENSE file that accompanied this code). + + You should have received a copy of the GNU Lesser General Public License + version 3 along with OpenOffice.org. If not, see + <http://www.openoffice.org/license.html> + for a copy of the LGPLv3 License. + +--> + +<!ENTITY % boolean "(true|false)"> + +<!ELEMENT accel:acceleratorlist (accel:item*)> +<!ATTLIST accel:acceleratorlist + xmlns:accel CDATA #FIXED "http://openoffice.org/2001/accel" + xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink" +> + +<!ELEMENT accel:item EMPTY> +<!ATTLIST accel:item + accel:code CDATA #REQUIRED + accel:shift %boolean; "false" + accel:mod1 %boolean; "false" + accel:mod2 %boolean; "false" + xlink:href CDATA #REQUIRED +> diff --git a/framework/dtd/event.dtd b/framework/dtd/event.dtd new file mode 100644 index 000000000000..bf83b6458383 --- /dev/null +++ b/framework/dtd/event.dtd @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + + Copyright 2000, 2010 Oracle and/or its affiliates. + + OpenOffice.org - a multi-platform office productivity suite + + This file is part of OpenOffice.org. + + OpenOffice.org is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License version 3 + only, as published by the Free Software Foundation. + + OpenOffice.org is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License version 3 for more details + (a copy is included in the LICENSE file that accompanied this code). + + You should have received a copy of the GNU Lesser General Public License + version 3 along with OpenOffice.org. If not, see + <http://www.openoffice.org/license.html> + for a copy of the LGPLv3 License. + +--> + +<!-- xlink:type --> +<!ENTITY % xlinkType "CDATA"> + +<!ELEMENT event:event EMPTY> +<!ATTLIST event:event + event:name CDATA #REQUIRED + event:language CDATA #REQUIRED + event:library CDATA #IMPLIED + event:macro-name CDATA #IMPLIED + xlink:type %xlinkType; "simple" + xlink:href CDATA #IMPLIED +> +<!ELEMENT event:events (event:event*)> +<!ATTLIST event:events + xmlns:event CDATA #FIXED "http://openoffice.org/2001/event" + xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink" +> diff --git a/framework/dtd/groupuinames.dtd b/framework/dtd/groupuinames.dtd new file mode 100644 index 000000000000..7feb3c5e0618 --- /dev/null +++ b/framework/dtd/groupuinames.dtd @@ -0,0 +1,35 @@ +<!-- + + DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + + Copyright 2000, 2010 Oracle and/or its affiliates. + + OpenOffice.org - a multi-platform office productivity suite + + This file is part of OpenOffice.org. + + OpenOffice.org is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License version 3 + only, as published by the Free Software Foundation. + + OpenOffice.org is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License version 3 for more details + (a copy is included in the LICENSE file that accompanied this code). + + You should have received a copy of the GNU Lesser General Public License + version 3 along with OpenOffice.org. If not, see + <http://www.openoffice.org/license.html> + for a copy of the LGPLv3 License. + +--> +<!ELEMENT groupuinames:template-group-list (groupuinames:template-group*)> +<!ATTLIST groupuinames:template-group-list xmlns:groupuinames CDATA #FIXED "http://openoffice.org/2006/groupuinames"> + +<!ELEMENT groupuinames:template-group> +<!ATTLIST groupuinames:template-group + groupuinames:name CDATA #REQUIRED + groupuinames:default-ui-name CDATA #REQUIRED +> + diff --git a/framework/dtd/image.dtd b/framework/dtd/image.dtd new file mode 100644 index 000000000000..e79fdbbb42db --- /dev/null +++ b/framework/dtd/image.dtd @@ -0,0 +1,67 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + + Copyright 2000, 2010 Oracle and/or its affiliates. + + OpenOffice.org - a multi-platform office productivity suite + + This file is part of OpenOffice.org. + + OpenOffice.org is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License version 3 + only, as published by the Free Software Foundation. + + OpenOffice.org is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License version 3 for more details + (a copy is included in the LICENSE file that accompanied this code). + + You should have received a copy of the GNU Lesser General Public License + version 3 along with OpenOffice.org. If not, see + <http://www.openoffice.org/license.html> + for a copy of the LGPLv3 License. + +--> + +<!ENTITY % url "CDATA"> + +<!-- URI reference --> +<!ENTITY % uriReference "CDATA"> + +<!-- a color value having the format #rrggbb --> +<!ENTITY % color "CDATA"> + +<!-- determine the mask mode of the image bitmap --> +<!ENTITY % maskMode "(maskcolor|maskbitmap)"> + +<!ELEMENT image:entry EMPTY> +<!ATTLIST image:entry + image:command %url; #REQUIRED + image:bitmap-index CDATA #REQUIRED +> + +<!ELEMENT image:externalentry EMPTY> +<!ATTLIST image:externalentry + image:command %url; #REQUIRED + xlink:href %uriReference; #REQUIRED + xlink:type CDATA #FIXED "simple" +> + +<!ELEMENT image:externalimages (image:externalentry*)> +<!ELEMENT image:images (image:entry*)> +<!ATTLIST image:images + xlink:href %uriReference; #REQUIRED + xlink:type CDATA #FIXED "simple" + image:maskmode %maskMode; "maskcolor" + image:maskcolor %color; "#000000" + image:maskurl %url; #IMPLIED +> + +<!ELEMENT image:imagescontainer (image:images*, image:externalimages?)> +<!ATTLIST image:imagescontainer + xmlns:image CDATA #FIXED "http://openoffice.org/2001/image" + xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink" +> diff --git a/framework/dtd/menubar.dtd b/framework/dtd/menubar.dtd new file mode 100644 index 000000000000..df118322742c --- /dev/null +++ b/framework/dtd/menubar.dtd @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + + Copyright 2000, 2010 Oracle and/or its affiliates. + + OpenOffice.org - a multi-platform office productivity suite + + This file is part of OpenOffice.org. + + OpenOffice.org is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License version 3 + only, as published by the Free Software Foundation. + + OpenOffice.org is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License version 3 for more details + (a copy is included in the LICENSE file that accompanied this code). + + You should have received a copy of the GNU Lesser General Public License + version 3 along with OpenOffice.org. If not, see + <http://www.openoffice.org/license.html> + for a copy of the LGPLv3 License. + +--> + +<!ELEMENT menu:menubar (menu:menu+)> +<!ELEMENT menu:menu (menu:menupopup)> +<!ELEMENT menu:menupopup (menu:menuitem | menu:menuseparator | menu:menu)+> +<!ELEMENT menu:menuseparator EMPTY> +<!ELEMENT menu:menuitem EMPTY> +<!ATTLIST menu:menubar + menu:id CDATA #REQUIRED + xmlns:menu CDATA #FIXED "http://openoffice.org/2001/menu" +> +<!ATTLIST menu:menu + menu:id CDATA #REQUIRED + menu:label CDATA #IMPLIED +> +<!ATTLIST menu:menuitem + menu:id CDATA #REQUIRED + menu:helpid CDATA #IMPLIED + menu:label CDATA #IMPLIED +> diff --git a/framework/dtd/statusbar.dtd b/framework/dtd/statusbar.dtd new file mode 100644 index 000000000000..3b380317b65e --- /dev/null +++ b/framework/dtd/statusbar.dtd @@ -0,0 +1,48 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + + Copyright 2000, 2010 Oracle and/or its affiliates. + + OpenOffice.org - a multi-platform office productivity suite + + This file is part of OpenOffice.org. + + OpenOffice.org is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License version 3 + only, as published by the Free Software Foundation. + + OpenOffice.org is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License version 3 for more details + (a copy is included in the LICENSE file that accompanied this code). + + You should have received a copy of the GNU Lesser General Public License + version 3 along with OpenOffice.org. If not, see + <http://www.openoffice.org/license.html> + for a copy of the LGPLv3 License. + +--> + +<!ENTITY % boolean "(true|false)"> +<!ENTITY % numeric "CDATA"> +<!ENTITY % alignment "(left|center|right)"> +<!ENTITY % style "(in|out|flat)"> + +<!ELEMENT statusbar:statusbar (statusbar:statusbaritem*)> +<!ATTLIST statusbar:statusbar + xmlns:statusbar CDATA #FIXED "http://openoffice.org/2001/statusbar" + xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink" +> +<!ELEMENT statusbar:statusbaritem EMPTY> +<!ATTLIST statusbar:statusbaritem + xlink:href CDATA #REQUIRED + statusbar:align %alignment; "center" + statusbar:style %style; "in" + statusbar:autosize %boolean; "false" + statusbar:ownerdraw %boolean; "false" + statusbar:width %numeric; "0" + statusbar:offset %numeric; "5" +> diff --git a/framework/dtd/toolbar.dtd b/framework/dtd/toolbar.dtd new file mode 100644 index 000000000000..258f9ddb3066 --- /dev/null +++ b/framework/dtd/toolbar.dtd @@ -0,0 +1,67 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + + Copyright 2000, 2010 Oracle and/or its affiliates. + + OpenOffice.org - a multi-platform office productivity suite + + This file is part of OpenOffice.org. + + OpenOffice.org is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License version 3 + only, as published by the Free Software Foundation. + + OpenOffice.org is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License version 3 for more details + (a copy is included in the LICENSE file that accompanied this code). + + You should have received a copy of the GNU Lesser General Public License + version 3 along with OpenOffice.org. If not, see + <http://www.openoffice.org/license.html> + for a copy of the LGPLv3 License. + +--> +<!ENTITY % boolean "(true|false)"> +<!ENTITY % numeric "CDATA"> +<!ENTITY % alignment "(top|bottom|left|right)"> +<!ENTITY % style "(symbol|text|symboltext)"> +<!ELEMENT toolbar:toolbar (toolbar:toolbaritem | toolbar:toolbarspace | toolbar:toolbarbreak | toolbar:toolbarseparator)*> +<!ATTLIST toolbar:toolbar + xmlns:toolbar CDATA #FIXED "http://openoffice.org/2001/toolbar" + xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink" +> +<!ELEMENT toolbar:toolbaritem EMPTY> +<!ATTLIST toolbar:toolbaritem + xlink:href CDATA #REQUIRED + toolbar:visible %boolean; "true" + toolbar:userdefined %boolean; "false" + toolbar:text CDATA #IMPLIED + toolbar:width %numeric; "0" + toolbar:style CDATA #IMPLIED + toolbar:bitmap CDATA #IMPLIED + toolbar:helpid CDATA #IMPLIED +> +<!ELEMENT toolbar:toolbarspace EMPTY> +<!ELEMENT toolbar:toolbarbreak EMPTY> +<!ELEMENT toolbar:toolbarseparator EMPTY> +<!ELEMENT toolbar:toolbarlayouts (toolbar:toolbarlayout*)> +<!ATTLIST toolbar:toolbarlayouts + xmlns:toolbar CDATA #FIXED "http://openoffice.org/2001/toolbar" +> +<!ELEMENT toolbar:toolbarlayout EMPTY> +<!ATTLIST toolbar:toolbarlayout + toolbar:id CDATA #REQUIRED + toolbar:floatingposleft %numeric; #IMPLIED + toolbar:floatingpostop %numeric; #IMPLIED + toolbar:floatinglines %numeric; "0" + toolbar:dockinglines %numeric; "1" + toolbar:align %alignment; "left" + toolbar:visible %boolean; "false" + toolbar:floating %boolean; "false" + toolbar:style %style; "symbol" + toolbar:userdefname CDATA #IMPLIED +> |