1 <?xml version=
"1.0" encoding=
"UTF-8"?>
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 <!ENTITY % url
"CDATA">
22 <!-- URI reference -->
23 <!ENTITY % uriReference
"CDATA">
25 <!-- a color value having the format #rrggbb -->
26 <!ENTITY % color
"CDATA">
28 <!-- determine the mask mode of the image bitmap -->
29 <!ENTITY % maskMode
"(maskcolor|maskbitmap)">
31 <!ELEMENT image:entry EMPTY
>
33 image:command %url; #REQUIRED
34 image:bitmap-index CDATA #REQUIRED
37 <!ELEMENT image:externalentry EMPTY
>
38 <!ATTLIST image:externalentry
39 image:command %url; #REQUIRED
40 xlink:href %uriReference; #REQUIRED
41 xlink:type CDATA #FIXED
"simple"
44 <!ELEMENT image:externalimages (image:externalentry*)
>
45 <!ELEMENT image:images (image:entry*)
>
46 <!ATTLIST image:images
47 xlink:href %uriReference; #REQUIRED
48 xlink:type CDATA #FIXED
"simple"
49 image:maskmode %maskMode;
"maskcolor"
50 image:maskcolor %color;
"#000000"
51 image:maskurl %url; #IMPLIED
54 <!ELEMENT image:imagescontainer (image:images*, image:externalimages?)
>
55 <!ATTLIST image:imagescontainer
56 xmlns:image CDATA #FIXED
"http://openoffice.org/2001/image"
57 xmlns:xlink CDATA #FIXED
"http://www.w3.org/1999/xlink"