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.extension.svg;
020:
021: /**
022: * Batik extension constants.
023: *
024: * @author <a href="mailto:thomas.deweese@kodak.com">Thomas DeWeese</a>
025: * @version $Id: BatikExtConstants.java 478276 2006-11-22 18:33:37Z dvholten $
026: */
027: public interface BatikExtConstants {
028:
029: /** Namespace for batik extentions. */
030: String BATIK_EXT_NAMESPACE_URI = "http://xml.apache.org/batik/ext";
031:
032: /** Namespace for batik experimental svg 1.2 elements. */
033: String BATIK_12_NAMESPACE_URI = "http://xml.apache.org/batik/ext";
034:
035: /** Namespace for batik experimental svg 1.2 attributes. */
036: String BATIK_12_ATTR_NAMESPACE_URI = "http://xml.apache.org/batik/ext";
037: // null;
038:
039: /** Tag name for Batik's regular poly extension. */
040: String BATIK_EXT_REGULAR_POLYGON_TAG = "regularPolygon";
041:
042: /** Tag name for Batik's star extension. */
043: String BATIK_EXT_STAR_TAG = "star";
044:
045: /** Tag name for Batik's color switch extension. */
046: String BATIK_EXT_COLOR_SWITCH_TAG = "colorSwitch";
047:
048: /** Tag name for Batik's histogram normalization extension. */
049: String BATIK_EXT_HISTOGRAM_NORMALIZATION_TAG = "histogramNormalization";
050:
051: /** Attribute name for sides attribute */
052: String BATIK_EXT_SIDES_ATTRIBUTE = "sides";
053:
054: /** Attribute name for inner radius attribute */
055: String BATIK_EXT_IR_ATTRIBUTE = "ir";
056:
057: /** Attribute name for trim percent attribute */
058: String BATIK_EXT_TRIM_ATTRIBUTE = "trim";
059:
060: /** Tag name for Batik's flowText extension (SVG 1.2). */
061: String BATIK_EXT_FLOW_TEXT_TAG = "flowText";
062:
063: /** Tag name for Batik's flowText extension Region element (SVG 1.2). */
064: String BATIK_EXT_FLOW_REGION_TAG = "flowRegion";
065:
066: /** Tag name for Batik's flowText extension Region element (SVG 1.2). */
067: String BATIK_EXT_FLOW_REGION_EXCLUDE_TAG = "flowRegionExclude";
068:
069: /** Tag name for Batik's flowText extension div element SVG 1.2). */
070: String BATIK_EXT_FLOW_DIV_TAG = "flowDiv";
071:
072: /** Tag name for Batik's flowText extension p element SVG 1.2). */
073: String BATIK_EXT_FLOW_PARA_TAG = "flowPara";
074:
075: /** Tag name for Batik's flowText extension flow Region break
076: * element SVG 1.2). */
077: String BATIK_EXT_FLOW_REGION_BREAK_TAG = "flowRegionBreak";
078:
079: /** Tag name for Batik's flowText extension line element SVG 1.2). */
080: String BATIK_EXT_FLOW_LINE_TAG = "flowLine";
081:
082: /** Tag name for Batik's flowText extension span element SVG 1.2). */
083: String BATIK_EXT_FLOW_SPAN_TAG = "flowSpan";
084:
085: /** Attribute name for x attribute */
086: String BATIK_EXT_X_ATTRIBUTE = "x";
087: /** Attribute name for y attribute */
088: String BATIK_EXT_Y_ATTRIBUTE = "y";
089: /** Attribute name for width attribute */
090: String BATIK_EXT_WIDTH_ATTRIBUTE = "width";
091: /** Attribute name for height attribute */
092: String BATIK_EXT_HEIGHT_ATTRIBUTE = "height";
093:
094: /** Attribute name for margin psudo-attribute */
095: String BATIK_EXT_MARGIN_ATTRIBUTE = "margin";
096: /** Attribute name for top-margin attribute */
097: String BATIK_EXT_TOP_MARGIN_ATTRIBUTE = "top-margin";
098: /** Attribute name for right-margin attribute */
099: String BATIK_EXT_RIGHT_MARGIN_ATTRIBUTE = "right-margin";
100: /** Attribute name for bottom-margin attribute */
101: String BATIK_EXT_BOTTOM_MARGIN_ATTRIBUTE = "bottom-margin";
102: /** Attribute name for left-margin attribute */
103: String BATIK_EXT_LEFT_MARGIN_ATTRIBUTE = "left-margin";
104: /** Attribute name for indent attribute/property */
105: String BATIK_EXT_INDENT_ATTRIBUTE = "indent";
106: /** Attribute name for justification */
107: String BATIK_EXT_JUSTIFICATION_ATTRIBUTE = "justification";
108: /** Value for justification to start of region */
109: String BATIK_EXT_JUSTIFICATION_START_VALUE = "start";
110: /** Value for justification to middle of region */
111: String BATIK_EXT_JUSTIFICATION_MIDDLE_VALUE = "middle";
112: /** Value for justification to end of region */
113: String BATIK_EXT_JUSTIFICATION_END_VALUE = "end";
114: /** Value for justification to both edges of region */
115: String BATIK_EXT_JUSTIFICATION_FULL_VALUE = "full";
116:
117: /** Attribute name for preformated data */
118: String BATIK_EXT_PREFORMATTED_ATTRIBUTE = "preformatted";
119:
120: /** Attribute name for preformated data */
121: String BATIK_EXT_VERTICAL_ALIGN_ATTRIBUTE = "vertical-align";
122:
123: /** Value for vertical-align to top of region */
124: String BATIK_EXT_ALIGN_TOP_VALUE = "top";
125: /** Value for vertical-align to middle of region */
126: String BATIK_EXT_ALIGN_MIDDLE_VALUE = "middle";
127: /** Value for vertical-align to bottom of region */
128: String BATIK_EXT_ALIGN_BOTTOM_VALUE = "bottom";
129:
130: }
|