summaryrefslogtreecommitdiff
path: root/framework/dtd
diff options
context:
space:
mode:
authorCarsten Driesner <cd@openoffice.org>2001-11-08 05:22:57 +0000
committerCarsten Driesner <cd@openoffice.org>2001-11-08 05:22:57 +0000
commitdec8da7868a4bd564599d6f4f7520223aca6729d (patch)
treebd6e3bcf499ec3fcfd30064779f2c97af33a6e12 /framework/dtd
parent196b50c1cf44f6bdce6a31a74c061517468a5514 (diff)
#93921# new image.dtd to support storing and loading images for menus and toolbars
Diffstat (limited to 'framework/dtd')
-rw-r--r--framework/dtd/image.dtd85
1 files changed, 85 insertions, 0 deletions
diff --git a/framework/dtd/image.dtd b/framework/dtd/image.dtd
new file mode 100644
index 000000000000..e2ab6efdad5f
--- /dev/null
+++ b/framework/dtd/image.dtd
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ $Id: image.dtd,v 1.1 2001-11-08 06:22:57 cd Exp $
+
+ The Contents of this file are made available subject to the terms of
+ either of the following licenses
+
+ - GNU Lesser General Public License Version 2.1
+ - Sun Industry Standards Source License Version 1.1
+
+ Sun Microsystems Inc., October, 2000
+
+ GNU Lesser General Public License Version 2.1
+ =============================================
+ Copyright 2000 by Sun Microsystems, Inc.
+ 901 San Antonio Road, Palo Alto, CA 94303, USA
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License version 2.1, as published by the Free Software Foundation.
+
+ This library 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 for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ MA 02111-1307 USA
+
+
+ Sun Industry Standards Source License Version 1.1
+ =================================================
+ The contents of this file are subject to the Sun Industry Standards
+ Source License Version 1.1 (the "License"); You may not use this file
+ except in compliance with the License. You may obtain a copy of the
+ License at http://www.openoffice.org/license.html.
+
+ Software provided under this License is provided on an "AS IS" basis,
+ WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ See the License for the specific provisions governing your rights and
+ obligations concerning the Software.
+
+ The Initial Developer of the Original Code is: Sun Microsystems, Inc.
+
+ Copyright: 2000 by Sun Microsystems, Inc.
+
+ All Rights Reserved.
+
+ Contributor(s): _______________________________________
+-->
+
+<!ENTITY % url "CDATA">
+<!ENTITY % uriReference "CDATA">
+<!ENTITY % color "CDATA">
+
+<!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:maskcolor %color; #REQUIRED
+>
+
+<!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"
+>