01: /*
02:
03: Licensed to the Apache Software Foundation (ASF) under one or more
04: contributor license agreements. See the NOTICE file distributed with
05: this work for additional information regarding copyright ownership.
06: The ASF licenses this file to You under the Apache License, Version 2.0
07: (the "License"); you may not use this file except in compliance with
08: the License. You may obtain a copy of the License at
09:
10: http://www.apache.org/licenses/LICENSE-2.0
11:
12: Unless required by applicable law or agreed to in writing, software
13: distributed under the License is distributed on an "AS IS" BASIS,
14: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15: See the License for the specific language governing permissions and
16: limitations under the License.
17:
18: */
19:
20: package org.apache.batik.util;
21:
22: /**
23: * This interface defines constants for CSS with SVG12.
24: * Important: Constants must not contain uppercase characters.
25: *
26: * @author <a href="mailto:deweese@apache.org">deweese</a>
27: * @version $Id: SVG12CSSConstants.java 478169 2006-11-22 14:23:24Z dvholten $
28: */
29: public interface SVG12CSSConstants extends CSSConstants {
30:
31: /** Property name for margin shorthand */
32: String CSS_MARGIN_PROPERTY = "margin";
33: /** Property name for top-margin */
34: String CSS_MARGIN_TOP_PROPERTY = "margin-top";
35: /** Property name for right-margin */
36: String CSS_MARGIN_RIGHT_PROPERTY = "margin-right";
37: /** Property name for bottom-margin */
38: String CSS_MARGIN_BOTTOM_PROPERTY = "margin-bottom";
39: /** Property name for left-margin */
40: String CSS_MARGIN_LEFT_PROPERTY = "margin-left";
41: /** property name for indent */
42: String CSS_INDENT_PROPERTY = "indent";
43: /** propery name for text-align */
44: String CSS_TEXT_ALIGN_PROPERTY = "text-align";
45: /** property name for color attribute */
46: String CSS_SOLID_COLOR_PROPERTY = "solid-color";
47: /** property name for opacity attribute */
48: String CSS_SOLID_OPACITY_PROPERTY = "solid-opacity";
49:
50: /** Value for text-align to start of text on line */
51: String CSS_START_VALUE = "start";
52: /** Value for text-align to middle of text on line */
53: String CSS_MIDDLE_VALUE = "middle";
54: /** Value for text-align to end of region */
55: String CSS_END_VALUE = "end";
56: /** Value for text-align to both edges of region */
57: String CSS_FULL_VALUE = "full";
58: /** Value for line-height for 'normal' line height */
59: String CSS_NORMAL_VALUE = "normal";
60:
61: }
|