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.

BorderExtent.java 2.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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. http://www.apache.org/licenses/LICENSE-2.0
  9. Unless required by applicable law or agreed to in writing, software
  10. distributed under the License is distributed on an "AS IS" BASIS,
  11. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. See the License for the specific language governing permissions and
  13. limitations under the License.
  14. ==================================================================== */
  15. package org.apache.poi.ss.usermodel;
  16. /**
  17. * The enumeration value indicating which borders to draw in a Property Template
  18. */
  19. public enum BorderExtent {
  20. /**
  21. * No properties defined. This can be used to remove existing properties
  22. * from the PropertyTemplate.
  23. */
  24. NONE,
  25. /**
  26. * All borders, that is top, bottom, left and right, including interior
  27. * borders for the range. Does not include diagonals which are different
  28. * and not implemented here.
  29. */
  30. ALL,
  31. /**
  32. * All inside borders. This is top, bottom, left, and right borders, but
  33. * restricted to the interior borders for the range. For a range of one
  34. * cell, this will produce no borders.
  35. */
  36. INSIDE,
  37. /**
  38. * All outside borders. That is top, bottom, left and right borders that
  39. * bound the range only.
  40. */
  41. OUTSIDE,
  42. /**
  43. * This is just the top border for the range. No interior borders will
  44. * be produced.
  45. */
  46. TOP,
  47. /**
  48. * This is just the bottom border for the range. No interior borders
  49. * will be produced.
  50. */
  51. BOTTOM,
  52. /**
  53. * This is just the left border for the range, no interior borders will
  54. * be produced.
  55. */
  56. LEFT,
  57. /**
  58. * This is just the right border for the range, no interior borders will
  59. * be produced.
  60. */
  61. RIGHT,
  62. /**
  63. * This is all horizontal borders for the range, including interior and
  64. * outside borders.
  65. */
  66. HORIZONTAL,
  67. /**
  68. * This is just the interior horizontal borders for the range.
  69. */
  70. INSIDE_HORIZONTAL,
  71. /**
  72. * This is just the outside horizontal borders for the range.
  73. */
  74. OUTSIDE_HORIZONTAL,
  75. /**
  76. * This is all vertical borders for the range, including interior and
  77. * outside borders.
  78. */
  79. VERTICAL,
  80. /**
  81. * This is just the interior vertical borders for the range.
  82. */
  83. INSIDE_VERTICAL,
  84. /**
  85. * This is just the outside vertical borders for the range.
  86. */
  87. OUTSIDE_VERTICAL
  88. }