You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

IBorderAttributes.java 5.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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. /* $Id$ */
  18. package org.apache.fop.render.rtf.rtflib.rtfdoc;
  19. /*
  20. * This file is part of the RTF library of the FOP project, which was originally
  21. * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
  22. * contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
  23. * the FOP project.
  24. */
  25. /** Constants for RTF border attribute names. */
  26. public interface IBorderAttributes {
  27. /** Constant for border left */
  28. String BORDER_LEFT = "brdrl";
  29. /** Constant for border right */
  30. String BORDER_RIGHT = "brdrr";
  31. /** Constant for border top */
  32. String BORDER_TOP = "brdrt";
  33. /** Constant for border bottom */
  34. String BORDER_BOTTOM = "brdrb";
  35. /** Constant for character border (border always appears on all sides) */
  36. String BORDER_CHARACTER = "chbrdr";
  37. /** Constant for a single-thick border */
  38. String BORDER_SINGLE_THICKNESS = "brdrs";
  39. /** Constant for a double-thick border */
  40. String BORDER_DOUBLE_THICKNESS = "brdrth";
  41. /** Constant for a shadowed border */
  42. String BORDER_SHADOWED = "brdrsh";
  43. /** Constant for a double border */
  44. String BORDER_DOUBLE = "brdrdb";
  45. /** Constant for a dotted border */
  46. String BORDER_DOTTED = "brdrdot";
  47. /** Constant for a dashed border */
  48. String BORDER_DASH = "brdrdash";
  49. /** Constant for a hairline border */
  50. String BORDER_HAIRLINE = "brdrhair";
  51. /** Constant for a small-dashed border */
  52. String BORDER_DASH_SMALL = "brdrdashsm";
  53. /** Constant for a dot-dashed border */
  54. String BORDER_DOT_DASH = "brdrdashd";
  55. /** Constant for a dot-dot-dashed border */
  56. String BORDER_DOT_DOT_DASH = "brdrdashdd";
  57. /** Constant for a triple border */
  58. String BORDER_TRIPLE = "brdrtriple";
  59. /** Constant for a think-thin-small border */
  60. String BORDER_THINK_THIN_SMALL = "brdrtnthsg";
  61. /** Constant for a thin-thick-small border */
  62. String BORDER_THIN_THICK_SMALL = "brdrthtnsg";
  63. /** Constant for a thin-thick-thin-small border */
  64. String BORDER_THIN_THICK_THIN_SMALL = "brdrthtnthsg";
  65. /** Constant for a think-thin-medium border */
  66. String BORDER_THINK_THIN_MEDIUM = "brdrtnthmg";
  67. /** Constant for a thin-thick-medium border */
  68. String BORDER_THIN_THICK_MEDIUM = "brdrthtnmg";
  69. /** Constant for a thin-thick-thin-medium border */
  70. String BORDER_THIN_THICK_THIN_MEDIUM = "brdrthtnthmg";
  71. /** Constant for a think-thin-large border */
  72. String BORDER_THINK_THIN_LARGE = "brdrtnthlg";
  73. /** Constant for a thin-thick-large border */
  74. String BORDER_THIN_THICK_LARGE = "brdrthtnlg";
  75. /** Constant for a thin-thick-thin-large border */
  76. String BORDER_THIN_THICK_THIN_LARGE = "brdrthtnthlg";
  77. /** Constant for a wavy border */
  78. String BORDER_WAVY = "brdrwavy";
  79. /** Constant for a double wavy border */
  80. String BORDER_WAVY_DOUBLE = "brdrwavydb";
  81. /** Constant for a striped border */
  82. String BORDER_STRIPED = "brdrdashdotstr";
  83. /** Constant for an embossed border */
  84. String BORDER_EMBOSS = "brdremboss";
  85. /** Constant for an engraved border */
  86. String BORDER_ENGRAVE = "brdrengrave";
  87. /** Constant for an nil border */
  88. String BORDER_NIL = "brdrnil";
  89. /** Constant for border color */
  90. String BORDER_COLOR = "brdrcf";
  91. /** Constant for border space */
  92. String BORDER_SPACE = "brsp";
  93. /** Constant for border width */
  94. String BORDER_WIDTH = "brdrw";
  95. /** String array of border attributes */
  96. String [] BORDERS = new String[] {
  97. BORDER_SINGLE_THICKNESS, BORDER_DOUBLE_THICKNESS, BORDER_SHADOWED,
  98. BORDER_DOUBLE, BORDER_DOTTED, BORDER_DASH,
  99. BORDER_HAIRLINE, BORDER_DASH_SMALL, BORDER_DOT_DASH,
  100. BORDER_DOT_DOT_DASH, BORDER_TRIPLE, BORDER_THINK_THIN_SMALL,
  101. BORDER_THIN_THICK_SMALL, BORDER_THIN_THICK_THIN_SMALL, BORDER_THINK_THIN_MEDIUM,
  102. BORDER_THIN_THICK_MEDIUM, BORDER_THIN_THICK_THIN_MEDIUM, BORDER_THINK_THIN_LARGE,
  103. BORDER_THIN_THICK_LARGE, BORDER_THIN_THICK_THIN_LARGE, BORDER_WAVY,
  104. BORDER_WAVY_DOUBLE, BORDER_STRIPED, BORDER_EMBOSS,
  105. BORDER_ENGRAVE, BORDER_COLOR, BORDER_SPACE,
  106. BORDER_WIDTH
  107. };
  108. }