1 <?xml version=
"1.0" encoding=
"UTF-8"?>
4 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 Copyright 2008 by Sun Microsystems, Inc.
8 OpenOffice.org - a multi-platform office productivity suite
10 $RCSfile: image.dtd,v $
14 This file is part of OpenOffice.org.
16 OpenOffice.org is free software: you can redistribute it and/or modify
17 it under the terms of the GNU Lesser General Public License version 3
18 only, as published by the Free Software Foundation.
20 OpenOffice.org is distributed in the hope that it will be useful,
21 but WITHOUT ANY WARRANTY; without even the implied warranty of
22 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 GNU Lesser General Public License version 3 for more details
24 (a copy is included in the LICENSE file that accompanied this code).
26 You should have received a copy of the GNU Lesser General Public License
27 version 3 along with OpenOffice.org. If not, see
28 <http://www.openoffice.org/license.html>
29 for a copy of the LGPLv3 License.
33 <!ENTITY % url
"CDATA">
35 <!-- URI reference -->
36 <!ENTITY % uriReference
"CDATA">
38 <!-- a color value having the format #rrggbb -->
39 <!ENTITY % color
"CDATA">
41 <!-- determine the mask mode of the image bitmap -->
42 <!ENTITY % maskMode
"(maskcolor|maskbitmap)">
44 <!ELEMENT image:entry EMPTY
>
46 image:command %url; #REQUIRED
47 image:bitmap-index CDATA #REQUIRED
50 <!ELEMENT image:externalentry EMPTY
>
51 <!ATTLIST image:externalentry
52 image:command %url; #REQUIRED
53 xlink:href %uriReference; #REQUIRED
54 xlink:type CDATA #FIXED
"simple"
57 <!ELEMENT image:externalimages (image:externalentry*)
>
58 <!ELEMENT image:images (image:entry*)
>
59 <!ATTLIST image:images
60 xlink:href %uriReference; #REQUIRED
61 xlink:type CDATA #FIXED
"simple"
62 image:maskmode %maskMode;
"maskcolor"
63 image:maskcolor %color;
"#000000"
64 image:maskurl %url; #IMPLIED
67 <!ELEMENT image:imagescontainer (image:images*, image:externalimages?)
>
68 <!ATTLIST image:imagescontainer
69 xmlns:image CDATA #FIXED
"http://openoffice.org/2001/image"
70 xmlns:xlink CDATA #FIXED
"http://www.w3.org/1999/xlink"