home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 2002 October / VPR0210A.ISO / OPENOFFICE / f_0096 / image.dtd
Extensible Markup Language  |  2001-11-28  |  3KB  |  95 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3.     $Id: image.dtd,v 1.3 2001/11/28 10:53:08 mba Exp $
  4.  
  5.    The Contents of this file are made available subject to the terms of
  6.    either of the following licenses
  7.  
  8.           - GNU Lesser General Public License Version 2.1
  9.           - Sun Industry Standards Source License Version 1.1
  10.  
  11.    Sun Microsystems Inc., October, 2000
  12.  
  13.    GNU Lesser General Public License Version 2.1
  14.    =============================================
  15.    Copyright 2000 by Sun Microsystems, Inc.
  16.    901 San Antonio Road, Palo Alto, CA 94303, USA
  17.  
  18.    This library is free software; you can redistribute it and/or
  19.    modify it under the terms of the GNU Lesser General Public
  20.    License version 2.1, as published by the Free Software Foundation.
  21.  
  22.    This library is distributed in the hope that it will be useful,
  23.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  24.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  25.    Lesser General Public License for more details.
  26.  
  27.    You should have received a copy of the GNU Lesser General Public
  28.    License along with this library; if not, write to the Free Software
  29.    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  30.    MA  02111-1307  USA
  31.  
  32.  
  33.    Sun Industry Standards Source License Version 1.1
  34.    =================================================
  35.    The contents of this file are subject to the Sun Industry Standards
  36.    Source License Version 1.1 (the "License"); You may not use this file
  37.    except in compliance with the License. You may obtain a copy of the
  38.    License at http://www.openoffice.org/license.html.
  39.  
  40.    Software provided under this License is provided on an "AS IS" basis,
  41.    WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
  42.    WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
  43.    MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
  44.    See the License for the specific provisions governing your rights and
  45.    obligations concerning the Software.
  46.  
  47.    The Initial Developer of the Original Code is: Sun Microsystems, Inc.
  48.  
  49.    Copyright: 2000 by Sun Microsystems, Inc.
  50.  
  51.    All Rights Reserved.
  52.  
  53.    Contributor(s): _______________________________________
  54. -->
  55.  
  56. <!ENTITY % url "CDATA">
  57.  
  58. <!-- URI reference -->
  59. <!ENTITY % uriReference "CDATA">
  60.  
  61. <!-- a color value having the format #rrggbb -->
  62. <!ENTITY % color                "CDATA">
  63.  
  64. <!-- determine the mask mode of the image bitmap -->
  65. <!ENTITY % maskMode "(maskcolor|maskbitmap)">
  66.  
  67. <!ELEMENT image:entry EMPTY>
  68. <!ATTLIST image:entry
  69.     image:command %url; #REQUIRED
  70.     image:bitmap-index CDATA #REQUIRED
  71. >
  72.  
  73. <!ELEMENT image:externalentry EMPTY>
  74. <!ATTLIST image:externalentry
  75.     image:command %url; #REQUIRED
  76.     xlink:href %uriReference; #REQUIRED
  77.     xlink:type CDATA #FIXED "simple"
  78. >
  79.  
  80. <!ELEMENT image:externalimages (image:externalentry*)>
  81. <!ELEMENT image:images (image:entry*)>
  82. <!ATTLIST image:images
  83.     xlink:href %uriReference; #REQUIRED
  84.     xlink:type CDATA #FIXED "simple"
  85.     image:maskmode %maskMode; "maskcolor"
  86.     image:maskcolor %color; "#000000"
  87.     image:maskurl %url; #IMPLIED
  88. >
  89.  
  90. <!ELEMENT image:imagescontainer (image:images*, image:externalimages?)>
  91. <!ATTLIST image:imagescontainer
  92.     xmlns:image CDATA #FIXED "http://openoffice.org/2001/image"
  93.     xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink"
  94. >
  95.