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.

Word.java 795B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * $Id$
  3. * Copyright (C) 2001-2002 The Apache Software Foundation. All rights reserved.
  4. * For details on use and redistribution please refer to the
  5. * LICENSE file included with these sources.
  6. */
  7. package org.apache.fop.area.inline;
  8. import org.apache.fop.render.Renderer;
  9. public class Word extends InlineArea {
  10. // character info: font, char spacing, colour, baseline
  11. private String word;
  12. private int iWSadjust = 0;
  13. public void render(Renderer renderer) {
  14. renderer.renderWord(this);
  15. }
  16. public void setWord(String w) {
  17. word = w;
  18. }
  19. public String getWord() {
  20. return word;
  21. }
  22. public int getWSadjust() {
  23. return iWSadjust;
  24. }
  25. public void setWSadjust(int iWSadjust) {
  26. this.iWSadjust = iWSadjust;
  27. }
  28. }