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