KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > fop > render > rtf > rtflib > rtfdoc > IBorderAttributes


1 /*
2  * Licensed to the Apache Software Foundation (ASF) under one or more
3  * contributor license agreements. See the NOTICE file distributed with
4  * this work for additional information regarding copyright ownership.
5  * The ASF licenses this file to You under the Apache License, Version 2.0
6  * (the "License"); you may not use this file except in compliance with
7  * the License. You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */

17
18 /* $Id: IBorderAttributes.java 426576 2006-07-28 15:44:37Z jeremias $ */
19
20 package org.apache.fop.render.rtf.rtflib.rtfdoc;
21
22 /*
23  * This file is part of the RTF library of the FOP project, which was originally
24  * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
25  * contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
26  * the FOP project.
27  */

28
29
30
31 /** Constants for RTF border attribute names. */
32
33 public interface IBorderAttributes {
34
35     /** Constant for border left */
36     String JavaDoc BORDER_LEFT = "brdrl";
37     /** Constant for border right */
38     String JavaDoc BORDER_RIGHT = "brdrr";
39     /** Constant for border top */
40     String JavaDoc BORDER_TOP = "brdrt";
41     /** Constant for border bottom */
42     String JavaDoc BORDER_BOTTOM = "brdrb";
43     /** Constant for character border (border always appears on all sides) */
44     String JavaDoc BORDER_CHARACTER = "chbrdr";
45     /** Constant for a single-thick border */
46     String JavaDoc BORDER_SINGLE_THICKNESS = "brdrs";
47     /** Constant for a double-thick border */
48     String JavaDoc BORDER_DOUBLE_THICKNESS = "brdrth";
49     /** Constant for a shadowed border */
50     String JavaDoc BORDER_SHADOWED = "brdrsh";
51     /** Constant for a double border */
52     String JavaDoc BORDER_DOUBLE = "brdrdb";
53     /** Constant for a dotted border */
54     String JavaDoc BORDER_DOTTED = "brdrdot";
55     /** Constant for a dashed border */
56     String JavaDoc BORDER_DASH = "brdrdash";
57     /** Constant for a hairline border */
58     String JavaDoc BORDER_HAIRLINE = "brdrhair";
59     /** Constant for a small-dashed border */
60     String JavaDoc BORDER_DASH_SMALL = "brdrdashsm";
61     /** Constant for a dot-dashed border */
62     String JavaDoc BORDER_DOT_DASH = "brdrdashd";
63     /** Constant for a dot-dot-dashed border */
64     String JavaDoc BORDER_DOT_DOT_DASH = "brdrdashdd";
65     /** Constant for a triple border */
66     String JavaDoc BORDER_TRIPLE = "brdrtriple";
67     /** Constant for a think-thin-small border */
68     String JavaDoc BORDER_THINK_THIN_SMALL = "brdrtnthsg";
69     /** Constant for a thin-thick-small border */
70     String JavaDoc BORDER_THIN_THICK_SMALL = "brdrthtnsg";
71     /** Constant for a thin-thick-thin-small border */
72     String JavaDoc BORDER_THIN_THICK_THIN_SMALL = "brdrthtnthsg";
73     /** Constant for a think-thin-medium border */
74     String JavaDoc BORDER_THINK_THIN_MEDIUM = "brdrtnthmg";
75     /** Constant for a thin-thick-medium border */
76     String JavaDoc BORDER_THIN_THICK_MEDIUM = "brdrthtnmg";
77     /** Constant for a thin-thick-thin-medium border */
78     String JavaDoc BORDER_THIN_THICK_THIN_MEDIUM = "brdrthtnthmg";
79     /** Constant for a think-thin-large border */
80     String JavaDoc BORDER_THINK_THIN_LARGE = "brdrtnthlg";
81     /** Constant for a thin-thick-large border */
82     String JavaDoc BORDER_THIN_THICK_LARGE = "brdrthtnlg";
83     /** Constant for a thin-thick-thin-large border */
84     String JavaDoc BORDER_THIN_THICK_THIN_LARGE = "brdrthtnthlg";
85     /** Constant for a wavy border */
86     String JavaDoc BORDER_WAVY = "brdrwavy";
87     /** Constant for a double wavy border */
88     String JavaDoc BORDER_WAVY_DOUBLE = "brdrwavydb";
89     /** Constant for a striped border */
90     String JavaDoc BORDER_STRIPED = "brdrdashdotstr";
91     /** Constant for an embossed border */
92     String JavaDoc BORDER_EMBOSS = "brdremboss";
93     /** Constant for an engraved border */
94     String JavaDoc BORDER_ENGRAVE = "brdrengrave";
95     /** Constant for an nil border */
96     String JavaDoc BORDER_NIL = "brdrnil";
97     /** Constant for border color */
98     String JavaDoc BORDER_COLOR = "brdrcf";
99     /** Constant for border space */
100     String JavaDoc BORDER_SPACE = "brsp";
101     /** Constant for border width */
102     String JavaDoc BORDER_WIDTH = "brdrw";
103
104     /** String array of border attributes */
105     String JavaDoc [] BORDERS = new String JavaDoc[] {
106         BORDER_SINGLE_THICKNESS, BORDER_DOUBLE_THICKNESS, BORDER_SHADOWED,
107         BORDER_DOUBLE, BORDER_DOTTED, BORDER_DASH,
108         BORDER_HAIRLINE, BORDER_DASH_SMALL, BORDER_DOT_DASH,
109         BORDER_DOT_DOT_DASH, BORDER_TRIPLE, BORDER_THINK_THIN_SMALL,
110         BORDER_THIN_THICK_SMALL, BORDER_THIN_THICK_THIN_SMALL, BORDER_THINK_THIN_MEDIUM,
111         BORDER_THIN_THICK_MEDIUM, BORDER_THIN_THICK_THIN_MEDIUM, BORDER_THINK_THIN_LARGE,
112         BORDER_THIN_THICK_LARGE, BORDER_THIN_THICK_THIN_LARGE, BORDER_WAVY,
113         BORDER_WAVY_DOUBLE, BORDER_STRIPED, BORDER_EMBOSS,
114         BORDER_ENGRAVE, BORDER_COLOR, BORDER_SPACE,
115         BORDER_WIDTH
116     };
117 }
118
Popular Tags