xref: /aoo41x/main/framework/dtd/image.dtd (revision dde34420)
1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2*dde34420SAndrew Rist<!--***********************************************************
3*dde34420SAndrew Rist *
4*dde34420SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
5*dde34420SAndrew Rist * or more contributor license agreements.  See the NOTICE file
6*dde34420SAndrew Rist * distributed with this work for additional information
7*dde34420SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
8*dde34420SAndrew Rist * to you under the Apache License, Version 2.0 (the
9*dde34420SAndrew Rist * "License"); you may not use this file except in compliance
10*dde34420SAndrew Rist * with the License.  You may obtain a copy of the License at
11*dde34420SAndrew Rist *
12*dde34420SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
13*dde34420SAndrew Rist *
14*dde34420SAndrew Rist * Unless required by applicable law or agreed to in writing,
15*dde34420SAndrew Rist * software distributed under the License is distributed on an
16*dde34420SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17*dde34420SAndrew Rist * KIND, either express or implied.  See the License for the
18*dde34420SAndrew Rist * specific language governing permissions and limitations
19*dde34420SAndrew Rist * under the License.
20*dde34420SAndrew Rist *
21*dde34420SAndrew Rist ***********************************************************-->
22cdf0e10cSrcweir
23cdf0e10cSrcweir
24cdf0e10cSrcweir
25cdf0e10cSrcweir<!ENTITY % url "CDATA">
26cdf0e10cSrcweir
27cdf0e10cSrcweir<!-- URI reference -->
28cdf0e10cSrcweir<!ENTITY % uriReference "CDATA">
29cdf0e10cSrcweir
30cdf0e10cSrcweir<!-- a color value having the format #rrggbb -->
31cdf0e10cSrcweir<!ENTITY % color				"CDATA">
32cdf0e10cSrcweir
33cdf0e10cSrcweir<!-- determine the mask mode of the image bitmap -->
34cdf0e10cSrcweir<!ENTITY % maskMode "(maskcolor|maskbitmap)">
35cdf0e10cSrcweir
36cdf0e10cSrcweir<!ELEMENT image:entry EMPTY>
37cdf0e10cSrcweir<!ATTLIST image:entry
38cdf0e10cSrcweir	image:command %url; #REQUIRED
39cdf0e10cSrcweir	image:bitmap-index CDATA #REQUIRED
40cdf0e10cSrcweir>
41cdf0e10cSrcweir
42cdf0e10cSrcweir<!ELEMENT image:externalentry EMPTY>
43cdf0e10cSrcweir<!ATTLIST image:externalentry
44cdf0e10cSrcweir	image:command %url; #REQUIRED
45cdf0e10cSrcweir	xlink:href %uriReference; #REQUIRED
46cdf0e10cSrcweir	xlink:type CDATA #FIXED "simple"
47cdf0e10cSrcweir>
48cdf0e10cSrcweir
49cdf0e10cSrcweir<!ELEMENT image:externalimages (image:externalentry*)>
50cdf0e10cSrcweir<!ELEMENT image:images (image:entry*)>
51cdf0e10cSrcweir<!ATTLIST image:images
52cdf0e10cSrcweir	xlink:href %uriReference; #REQUIRED
53cdf0e10cSrcweir	xlink:type CDATA #FIXED "simple"
54cdf0e10cSrcweir	image:maskmode %maskMode; "maskcolor"
55cdf0e10cSrcweir	image:maskcolor %color; "#000000"
56cdf0e10cSrcweir	image:maskurl %url; #IMPLIED
57cdf0e10cSrcweir>
58cdf0e10cSrcweir
59cdf0e10cSrcweir<!ELEMENT image:imagescontainer (image:images*, image:externalimages?)>
60cdf0e10cSrcweir<!ATTLIST image:imagescontainer
61cdf0e10cSrcweir	xmlns:image CDATA #FIXED "http://openoffice.org/2001/image"
62cdf0e10cSrcweir	xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink"
63cdf0e10cSrcweir>
64