001: /*
002:
003: Licensed to the Apache Software Foundation (ASF) under one or more
004: contributor license agreements. See the NOTICE file distributed with
005: this work for additional information regarding copyright ownership.
006: The ASF licenses this file to You under the Apache License, Version 2.0
007: (the "License"); you may not use this file except in compliance with
008: the License. You may obtain a copy of the License at
009:
010: http://www.apache.org/licenses/LICENSE-2.0
011:
012: Unless required by applicable law or agreed to in writing, software
013: distributed under the License is distributed on an "AS IS" BASIS,
014: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
015: See the License for the specific language governing permissions and
016: limitations under the License.
017:
018: */
019: package org.apache.batik.util;
020:
021: /**
022: * Define SVG 1.2 constants, such as tag names, attribute names and URI
023: *
024: * @author <a href="mailto:tkormann@apache.org">Thierry Kormann</a>
025: * @author <a href="mailto:vincent.hardy@eng.sun.com">Vincent Hardy</a>
026: * @author <a href="mailto:stephane@hillion.org">Stephane Hillion</a>
027: * @version $Id: SVG12Constants.java 478169 2006-11-22 14:23:24Z dvholten $
028: */
029: public interface SVG12Constants extends SVGConstants {
030:
031: // SVG 1.2 element tag names ////////////////////////////////////////////
032:
033: /** Tag name for Batik's flowRoot extension (SVG 1.2). */
034: String SVG_FLOW_ROOT_TAG = "flowRoot";
035:
036: /** Tag name for Batik's flowRoot extension Region element (SVG 1.2). */
037: String SVG_FLOW_REGION_TAG = "flowRegion";
038:
039: /** Tag name for Batik's flowRoot extension Region element (SVG 1.2). */
040: String SVG_FLOW_REGION_EXCLUDE_TAG = "flowRegionExclude";
041:
042: /** Tag name for Batik's flowRoot extension div element SVG 1.2). */
043: String SVG_FLOW_DIV_TAG = "flowDiv";
044:
045: /** Tag name for Batik's flowRoot extension p element SVG 1.2). */
046: String SVG_FLOW_PARA_TAG = "flowPara";
047:
048: /** Tag name for Batik's flowRoot extension flow Region break
049: * element SVG 1.2). */
050: String SVG_FLOW_REGION_BREAK_TAG = "flowRegionBreak";
051:
052: /** Tag name for Batik's flowRoot extension line element SVG 1.2). */
053: String SVG_FLOW_LINE_TAG = "flowLine";
054:
055: /** Tag name for Batik's flowRoot extension span element SVG 1.2). */
056: String SVG_FLOW_SPAN_TAG = "flowSpan";
057:
058: /** SVG 1.2 'handler' element tag name. */
059: String SVG_HANDLER_TAG = "handler";
060:
061: /** Tag name for Batik's multiImage extension. */
062: String SVG_MULTI_IMAGE_TAG = "multiImage";
063:
064: /** Tag name for Batik's solid color extension (SVG 1.2). */
065: String SVG_SOLID_COLOR_TAG = "solidColor";
066:
067: /** Tag name for Batik's subImage multiImage extension. */
068: String SVG_SUB_IMAGE_TAG = "subImage";
069:
070: /** Tag name for Batik's subImageRef multiImage extension. */
071: String SVG_SUB_IMAGE_REF_TAG = "subImageRef";
072:
073: // SVG 1.2 attribute names ///////////////////////////////////////////////
074:
075: /** Attribute name for filterPrimitiveMarginsUnits */
076: String SVG_FILTER_PRIMITIVE_MARGINS_UNITS_ATTRIBUTE = "filterPrimitiveMarginsUnits";
077:
078: /** Attribute name for filterMarginsUnits */
079: String SVG_FILTER_MARGINS_UNITS_ATTRIBUTE = "filterMarginsUnits";
080:
081: /** Attribute name for pixel-height attribute */
082: String SVG_MAX_PIXEL_SIZE_ATTRIBUTE = "max-pixel-size";
083:
084: /** Attribute name for pixel-width attribute */
085: String SVG_MIN_PIXEL_SIZE_ATTRIBUTE = "min-pixel-size";
086:
087: /** Attribute name for filter mx attribute */
088: String SVG_MX_ATRIBUTE = "mx";
089:
090: /** Attribute name for filter my attribute */
091: String SVG_MY_ATRIBUTE = "my";
092:
093: /** Attribute name for filter mw attribute */
094: String SVG_MW_ATRIBUTE = "mw";
095:
096: /** Attribute name for filter mh attribute */
097: String SVG_MH_ATRIBUTE = "mh";
098:
099: // SVG 1.2 attribute default values //////////////////////////////////////
100:
101: /** Default value for filter mx */
102: String SVG_FILTER_MX_DEFAULT_VALUE = "0";
103:
104: /** Default value for filter my */
105: String SVG_FILTER_MY_DEFAULT_VALUE = "0";
106:
107: /** Default value for filter mw */
108: String SVG_FILTER_MW_DEFAULT_VALUE = "0";
109:
110: /** Default value for filter mh */
111: String SVG_FILTER_MH_DEFAULT_VALUE = "0";
112: }
|