001: /*
002: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
003: *
004: * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
005: *
006: * The contents of this file are subject to the terms of either the GNU
007: * General Public License Version 2 only ("GPL") or the Common
008: * Development and Distribution License("CDDL") (collectively, the
009: * "License"). You may not use this file except in compliance with the
010: * License. You can obtain a copy of the License at
011: * http://www.netbeans.org/cddl-gplv2.html
012: * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
013: * specific language governing permissions and limitations under the
014: * License. When distributing the software, include this License Header
015: * Notice in each file and include the License file at
016: * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
017: * particular file as subject to the "Classpath" exception as provided
018: * by Sun in the GPL Version 2 section of the License file that
019: * accompanied this code. If applicable, add the following below the
020: * License Header, with the fields enclosed by brackets [] replaced by
021: * your own identifying information:
022: * "Portions Copyrighted [year] [name of copyright owner]"
023: *
024: * Contributor(s):
025: *
026: * The Original Software is NetBeans. The Initial Developer of the Original
027: * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
028: * Microsystems, Inc. All Rights Reserved.
029: *
030: * If you wish your version of this file to be governed by only the CDDL
031: * or only the GPL Version 2, indicate your decision by adding
032: * "[Contributor] elects to include this software in this distribution
033: * under the [CDDL or GPL Version 2] license." If you do not indicate a
034: * single choice of license, a recipient has the option to distribute
035: * your version of this file under either the CDDL, the GPL Version 2 or
036: * to extend the choice of license to its licensees as provided above.
037: * However, if you add GPL Version 2 code and therefore, elected the GPL
038: * Version 2 license, then the option applies only if the new code is
039: * made subject to such option by the copyright holder.
040: */
041:
042: package org.netbeans.modules.visualweb.designer.cssengine;
043:
044: import org.apache.batik.util.CSSConstants;
045:
046: /** Yuck, constant-interface */
047: public interface CssConstants extends CSSConstants {
048: //
049: // The CSS property names.
050: //
051: String CSS_BACKGROUND_PROPERTY = "background"; // NOI18N
052: String CSS_BACKGROUND_ATTACHMENT_PROPERTY = "background-attachment"; // NOI18N
053: String CSS_BACKGROUND_COLOR_PROPERTY = "background-color"; // NOI18N
054: String CSS_BACKGROUND_IMAGE_PROPERTY = "background-image"; // NOI18N
055: String CSS_BACKGROUND_REPEAT_PROPERTY = "background-repeat"; // NOI18N
056: String CSS_BACKGROUND_POSITION_PROPERTY = "background-position"; // NOI18N
057: String CSS_BORDER_PROPERTY = "border"; // NOI18N
058: String CSS_BORDER_COLLAPSE_PROPERTY = "border-collapse"; // NOI18N
059: String CSS_BORDER_COLOR_PROPERTY = "border-color"; // NOI18N
060: String CSS_BORDER_LEFT_PROPERTY = "border-left"; // NOI18N
061: String CSS_BORDER_RIGHT_PROPERTY = "border-right"; // NOI18N
062: String CSS_BORDER_TOP_PROPERTY = "border-top"; // NOI18N
063: String CSS_BORDER_BOTTOM_PROPERTY = "border-bottom"; // NOI18N
064: String CSS_BORDER_LEFT_COLOR_PROPERTY = "border-left-color"; // NOI18N
065: String CSS_BORDER_RIGHT_COLOR_PROPERTY = "border-right-color"; // NOI18N
066: String CSS_BORDER_TOP_COLOR_PROPERTY = "border-top-color"; // NOI18N
067: String CSS_BORDER_BOTTOM_COLOR_PROPERTY = "border-bottom-color"; // NOI18N
068: String CSS_BORDER_WIDTH_PROPERTY = "border-width"; // NOI18N
069: String CSS_BORDER_LEFT_WIDTH_PROPERTY = "border-left-width"; // NOI18N
070: String CSS_BORDER_RIGHT_WIDTH_PROPERTY = "border-right-width"; // NOI18N
071: String CSS_BORDER_TOP_WIDTH_PROPERTY = "border-top-width"; // NOI18N
072: String CSS_BORDER_BOTTOM_WIDTH_PROPERTY = "border-bottom-width"; // NOI18N
073: String CSS_BORDER_STYLE_PROPERTY = "border-style"; // NOI18N
074: String CSS_BORDER_LEFT_STYLE_PROPERTY = "border-left-style"; // NOI18N
075: String CSS_BORDER_RIGHT_STYLE_PROPERTY = "border-right-style"; // NOI18N
076: String CSS_BORDER_TOP_STYLE_PROPERTY = "border-top-style"; // NOI18N
077: String CSS_BORDER_BOTTOM_STYLE_PROPERTY = "border-bottom-style"; // NOI18N
078: String CSS_BOTTOM_PROPERTY = "bottom"; // NOI18N
079: String CSS_CAPTION_SIDE_PROPERTY = "caption-side"; // NOI18N
080: String CSS_CLEAR_PROPERTY = "clear"; // NOI18N
081: String CSS_FLOAT_PROPERTY = "float"; // NOI18N
082: String CSS_HEIGHT_PROPERTY = "height"; // NOI18N
083: String CSS_LEFT_PROPERTY = "left"; // NOI18N
084: // Defined in CSSConstants
085: //String CSS_LINE_HEIGHT_PROPERTY = "line-height"; // NOI18N
086: String CSS_LIST_STYLE_PROPERTY = "list-style"; // NOI18N
087: String CSS_LIST_STYLE_IMAGE_PROPERTY = "list-style-image"; // NOI18N
088: String CSS_LIST_STYLE_TYPE_PROPERTY = "list-style-type"; // NOI18N
089: String CSS_MARGIN_PROPERTY = "margin"; // NOI18N
090: String CSS_MARGIN_LEFT_PROPERTY = "margin-left"; // NOI18N
091: String CSS_MARGIN_RIGHT_PROPERTY = "margin-right"; // NOI18N
092: String CSS_MARGIN_TOP_PROPERTY = "margin-top"; // NOI18N
093: String CSS_MARGIN_BOTTOM_PROPERTY = "margin-bottom"; // NOI18N
094: String CSS_POSITION_PROPERTY = "position"; // NOI18N
095: String CSS_PADDING_PROPERTY = "padding"; // NOI18N
096: String CSS_PADDING_LEFT_PROPERTY = "padding-left"; // NOI18N
097: String CSS_PADDING_RIGHT_PROPERTY = "padding-right"; // NOI18N
098: String CSS_PADDING_TOP_PROPERTY = "padding-top"; // NOI18N
099: String CSS_PADDING_BOTTOM_PROPERTY = "padding-bottom"; // NOI18N
100: String CSS_RIGHT_PROPERTY = "right"; // NOI18N
101: String CSS_TABLE_LAYOUT_PROPERTY = "table-layout"; // NOI18N
102: String CSS_TEXT_ALIGN_PROPERTY = "text-align"; // NOI18N
103: String CSS_TEXT_INDENT_PROPERTY = "text-indent"; // NOI18N
104: String CSS_TEXT_TRANSFORM_PROPERTY = "text-transform"; // NOI18N
105: String CSS_TOP_PROPERTY = "top"; // NOI18N
106: String CSS_VERTICAL_ALIGN_PROPERTY = "vertical-align"; // NOI18N
107: String CSS_WHITE_SPACE_PROPERTY = "white-space"; // NOI18N
108: String CSS_WIDTH_PROPERTY = "width"; // NOI18N
109: String CSS_Z_INDEX_PROPERTY = "z-index"; // NOI18N
110:
111: // The CSS property values.
112: //
113: String CSS_TRANSPARENT_VALUE = "transparent"; // NOI18N
114: // Border styles
115: String CSS_NONE_VALUE = "none"; // NOI18N
116: String CSS_HIDDEN_VALUE = "hidden"; // NOI18N
117: String CSS_DOTTED_VALUE = "dotted"; // NOI18N
118: String CSS_DASHED_VALUE = "dashed"; // NOI18N
119: String CSS_SOLID_VALUE = "solid"; // NOI18N
120: String CSS_DOUBLE_VALUE = "double"; // NOI18N
121: String CSS_GROOVE_VALUE = "groove"; // NOI18N
122: String CSS_RIDGE_VALUE = "ridge"; // NOI18N
123: String CSS_INSET_VALUE = "inset"; // NOI18N
124: String CSS_OUTSET_VALUE = "outset"; // NOI18N
125: // Border widths
126: String CSS_THIN_VALUE = "thin"; // NOI18N
127: String CSS_MEDIUM_VALUE = "medium"; // NOI18N
128: String CSS_THICK_VALUE = "thick"; // NOI18N
129: // Border collapse
130: String CSS_COLLAPSE_VALUE = "collapse"; // NOI18N
131: String CSS_SEPARATE_VALUE = "separate"; // NOI18N
132:
133: // Float types
134: String CSS_LEFT_VALUE = "left"; // NOI18N
135: String CSS_RIGHT_VALUE = "right"; // NOI18N
136:
137: // Position types
138: String CSS_ABSOLUTE_VALUE = "absolute"; // NOI18N
139: String CSS_FIXED_VALUE = "fixed"; // NOI18N
140: String CSS_RELATIVE_VALUE = "relative"; // NOI18N
141: String CSS_STATIC_VALUE = "static"; // NOI18N
142:
143: // Background Repeat choices
144: String CSS_REPEAT_VALUE = "repeat"; // NOI18N
145: String CSS_REPEAT_X_VALUE = "repeat-x"; // NOI18N
146: String CSS_REPEAT_Y_VALUE = "repeat-y"; // NOI18N
147: String CSS_NO_REPEAT_VALUE = "no-repeat"; // NOI18N
148:
149: // Background Position choices
150: /* Not yet implemented
151: String CSS_CENTER_VALUE = "center"; // NOI18N
152: String CSS_BOTTOM_VALUE = "bottom"; // NOI18N
153: String CSS_TOP_VALUE = "top"; // NOI18N
154: String CSS_LEFT_VALUE = "left"; // NOI18N
155: String CSS_RIGHT_VALUE = "right"; // NOI18N
156: */
157:
158: // Text Alignment choices (left, right, center, etc. inherited)
159: String CSS_JUSTIFY_VALUE = "justify"; // NOI18N
160:
161: // List Style Type Choices
162: String CSS_LOWER_ROMAN_VALUE = "lower-roman"; // NOI18N
163: String CSS_DISC_VALUE = "disc"; // NOI18N
164: String CSS_CIRCLE_VALUE = "circle"; // NOI18N
165: String CSS_DECIMAL_VALUE = "decimal"; // NOI18N
166: String CSS_DECIMAL_LEADING_ZERO_VALUE = "decimal-leading-zero"; // NOI18N
167: String CSS_UPPER_ROMAN_VALUE = "upper-roman"; // NOI18N
168: String CSS_LOWER_LATIN_VALUE = "lower-latin"; // NOI18N
169: String CSS_UPPER_LATIN_VALUE = "upper-latin"; // NOI18N
170: // "lower-alpha" and "upper-alpha" are not part of the CSS2.1
171: // spec. But it seems to be used in older documents so we'll
172: // support it.
173: String CSS_LOWER_ALPHA_VALUE = "lower-alpha"; // NOI18N
174: String CSS_UPPER_ALPHA_VALUE = "upper-alpha"; // NOI18N
175:
176: // Vendor specific properties: Rave specific
177: String CSS_RAVE_LAYOUT_PROPERTY = "-rave-layout"; // NOI18N
178: String CSS_GRID_VALUE = "grid"; // NOI18N
179: String CSS_FLOW_VALUE = "flow"; // NOI18N
180: String CSS_RAVE_LINK_COLOR_PROPERTY = "-rave-link-color";
181:
182: // White-space values
183: String CSS_PRE_VALUE = "pre"; // NOI18N
184: String CSS_NOWRAP_VALUE = "nowrap"; // NOI18N
185: // Defined in CSSConstants
186: //String CSS_NORMAL_VALUE = "normal"; // NOI18N
187: String CSS_PRE_WRAP_VALUE = "pre-wrap"; // NOI18N
188: String CSS_PRE_LINE_VALUE = "pre-line"; // NOI18N
189:
190: // Clear values
191: String CSS_BOTH_VALUE = "both"; // NOI18N
192:
193: // Text values
194: String CSS_CAPITALIZE_VALUE = "capitalize"; // NOI18N
195: String CSS_UPPERCASE_VALUE = "uppercase"; // NOI18N
196: String CSS_LOWERCASE_VALUE = "lowercase"; // NOI18N
197:
198: // Provide a way to specify a block center value
199: String CSS_RAVECENTER_VALUE = "-rave-center";
200: }
|