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.

Hyperlink.java 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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. * Represents an Excel hyperlink.
  18. */
  19. public interface Hyperlink extends org.apache.poi.common.usermodel.Hyperlink {
  20. /**
  21. * Return the row of the first cell that contains the hyperlink
  22. *
  23. * @return the 0-based row of the cell that contains the hyperlink
  24. */
  25. public int getFirstRow();
  26. /**
  27. * Set the row of the first cell that contains the hyperlink
  28. *
  29. * @param row the 0-based row of the first cell that contains the hyperlink
  30. */
  31. public void setFirstRow(int row);
  32. /**
  33. * Return the row of the last cell that contains the hyperlink
  34. *
  35. * @return the 0-based row of the last cell that contains the hyperlink
  36. */
  37. public int getLastRow();
  38. /**
  39. * Set the row of the last cell that contains the hyperlink
  40. *
  41. * @param row the 0-based row of the last cell that contains the hyperlink
  42. */
  43. public void setLastRow(int row);
  44. /**
  45. * Return the column of the first cell that contains the hyperlink
  46. *
  47. * @return the 0-based column of the first cell that contains the hyperlink
  48. */
  49. public int getFirstColumn();
  50. /**
  51. * Set the column of the first cell that contains the hyperlink
  52. *
  53. * @param col the 0-based column of the first cell that contains the hyperlink
  54. */
  55. public void setFirstColumn(int col);
  56. /**
  57. * Return the column of the last cell that contains the hyperlink
  58. *
  59. * @return the 0-based column of the last cell that contains the hyperlink
  60. */
  61. public int getLastColumn();
  62. /**
  63. * Set the column of the last cell that contains the hyperlink
  64. *
  65. * @param col the 0-based column of the last cell that contains the hyperlink
  66. */
  67. public void setLastColumn(int col);
  68. }