001: /*
002: * Licensed to the Apache Software Foundation (ASF) under one or more
003: * contributor license agreements. See the NOTICE file distributed with
004: * this work for additional information regarding copyright ownership.
005: * The ASF licenses this file to You under the Apache License, Version 2.0
006: * (the "License"); you may not use this file except in compliance with
007: * the License. You may obtain a copy of the License at
008: *
009: * http://www.apache.org/licenses/LICENSE-2.0
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: */
017:
018: /* $Id: IBorderAttributes.java 426576 2006-07-28 15:44:37Z jeremias $ */
019:
020: package org.apache.fop.render.rtf.rtflib.rtfdoc;
021:
022: /*
023: * This file is part of the RTF library of the FOP project, which was originally
024: * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
025: * contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
026: * the FOP project.
027: */
028:
029: /** Constants for RTF border attribute names. */
030:
031: public interface IBorderAttributes {
032:
033: /** Constant for border left */
034: String BORDER_LEFT = "brdrl";
035: /** Constant for border right */
036: String BORDER_RIGHT = "brdrr";
037: /** Constant for border top */
038: String BORDER_TOP = "brdrt";
039: /** Constant for border bottom */
040: String BORDER_BOTTOM = "brdrb";
041: /** Constant for character border (border always appears on all sides) */
042: String BORDER_CHARACTER = "chbrdr";
043: /** Constant for a single-thick border */
044: String BORDER_SINGLE_THICKNESS = "brdrs";
045: /** Constant for a double-thick border */
046: String BORDER_DOUBLE_THICKNESS = "brdrth";
047: /** Constant for a shadowed border */
048: String BORDER_SHADOWED = "brdrsh";
049: /** Constant for a double border */
050: String BORDER_DOUBLE = "brdrdb";
051: /** Constant for a dotted border */
052: String BORDER_DOTTED = "brdrdot";
053: /** Constant for a dashed border */
054: String BORDER_DASH = "brdrdash";
055: /** Constant for a hairline border */
056: String BORDER_HAIRLINE = "brdrhair";
057: /** Constant for a small-dashed border */
058: String BORDER_DASH_SMALL = "brdrdashsm";
059: /** Constant for a dot-dashed border */
060: String BORDER_DOT_DASH = "brdrdashd";
061: /** Constant for a dot-dot-dashed border */
062: String BORDER_DOT_DOT_DASH = "brdrdashdd";
063: /** Constant for a triple border */
064: String BORDER_TRIPLE = "brdrtriple";
065: /** Constant for a think-thin-small border */
066: String BORDER_THINK_THIN_SMALL = "brdrtnthsg";
067: /** Constant for a thin-thick-small border */
068: String BORDER_THIN_THICK_SMALL = "brdrthtnsg";
069: /** Constant for a thin-thick-thin-small border */
070: String BORDER_THIN_THICK_THIN_SMALL = "brdrthtnthsg";
071: /** Constant for a think-thin-medium border */
072: String BORDER_THINK_THIN_MEDIUM = "brdrtnthmg";
073: /** Constant for a thin-thick-medium border */
074: String BORDER_THIN_THICK_MEDIUM = "brdrthtnmg";
075: /** Constant for a thin-thick-thin-medium border */
076: String BORDER_THIN_THICK_THIN_MEDIUM = "brdrthtnthmg";
077: /** Constant for a think-thin-large border */
078: String BORDER_THINK_THIN_LARGE = "brdrtnthlg";
079: /** Constant for a thin-thick-large border */
080: String BORDER_THIN_THICK_LARGE = "brdrthtnlg";
081: /** Constant for a thin-thick-thin-large border */
082: String BORDER_THIN_THICK_THIN_LARGE = "brdrthtnthlg";
083: /** Constant for a wavy border */
084: String BORDER_WAVY = "brdrwavy";
085: /** Constant for a double wavy border */
086: String BORDER_WAVY_DOUBLE = "brdrwavydb";
087: /** Constant for a striped border */
088: String BORDER_STRIPED = "brdrdashdotstr";
089: /** Constant for an embossed border */
090: String BORDER_EMBOSS = "brdremboss";
091: /** Constant for an engraved border */
092: String BORDER_ENGRAVE = "brdrengrave";
093: /** Constant for an nil border */
094: String BORDER_NIL = "brdrnil";
095: /** Constant for border color */
096: String BORDER_COLOR = "brdrcf";
097: /** Constant for border space */
098: String BORDER_SPACE = "brsp";
099: /** Constant for border width */
100: String BORDER_WIDTH = "brdrw";
101:
102: /** String array of border attributes */
103: String[] BORDERS = new String[] { BORDER_SINGLE_THICKNESS,
104: BORDER_DOUBLE_THICKNESS, BORDER_SHADOWED, BORDER_DOUBLE,
105: BORDER_DOTTED, BORDER_DASH, BORDER_HAIRLINE,
106: BORDER_DASH_SMALL, BORDER_DOT_DASH, BORDER_DOT_DOT_DASH,
107: BORDER_TRIPLE, BORDER_THINK_THIN_SMALL,
108: BORDER_THIN_THICK_SMALL, BORDER_THIN_THICK_THIN_SMALL,
109: BORDER_THINK_THIN_MEDIUM, BORDER_THIN_THICK_MEDIUM,
110: BORDER_THIN_THICK_THIN_MEDIUM, BORDER_THINK_THIN_LARGE,
111: BORDER_THIN_THICK_LARGE, BORDER_THIN_THICK_THIN_LARGE,
112: BORDER_WAVY, BORDER_WAVY_DOUBLE, BORDER_STRIPED,
113: BORDER_EMBOSS, BORDER_ENGRAVE, BORDER_COLOR, BORDER_SPACE,
114: BORDER_WIDTH };
115: }
|