Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

Header.java 2.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. * Common definition of a HSSF or XSSF page header.
  18. * For a list of all the different fields that can be
  19. * placed into a header, such as page number,
  20. * bold, underline etc, see
  21. * {@link org.apache.poi.ss.usermodel.HeaderFooter}.
  22. */
  23. public interface Header extends HeaderFooter {
  24. /**
  25. * Get the left side of the header.
  26. *
  27. * @return The string representing the left side.
  28. */
  29. String getLeft();
  30. /**
  31. * Sets the left string.
  32. *
  33. * @param newLeft The string to set as the left side.
  34. */
  35. void setLeft(String newLeft);
  36. /**
  37. * Get the center of the header.
  38. *
  39. * @return The string representing the center.
  40. */
  41. String getCenter();
  42. /**
  43. * Sets the center string.
  44. *
  45. * @param newCenter The string to set as the center.
  46. */
  47. void setCenter(String newCenter);
  48. /**
  49. * Get the right side of the header.
  50. *
  51. * @return The string representing the right side.
  52. */
  53. String getRight();
  54. /**
  55. * Sets the right string.
  56. *
  57. * @param newRight The string to set as the right side.
  58. */
  59. void setRight(String newRight);
  60. }