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.

Property.java 1.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. * $Id$
  3. * Copyright (C) 2001 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;
  8. import org.apache.fop.datatypes.ColorType;
  9. import java.io.Serializable;
  10. // properties should be serialized by the holder
  11. public class Property implements Serializable {
  12. public static final int ID_LINK = 0;
  13. public static final int INTERNAL_LINK = 1; //resolved
  14. public static final int EXTERNAL_LINK = 2;
  15. public static final int FONT_FAMILY = 3;
  16. public static final int FONT_SIZE = 4;
  17. public static final int FONT_WEIGHT = 5;
  18. public static final int FONT_STYLE = 6;
  19. public static final int COLOR = 7;
  20. public static final int ID_AREA = 8;
  21. public static final int BACKGROUND = 9;
  22. public static final int UNDERLINE = 10;
  23. public static final int OVERLINE = 11;
  24. public static final int LINETHROUGH = 12;
  25. public static final int OFFSET = 13;
  26. public static final int SHADOW = 14;
  27. public int propType;
  28. public Object data;
  29. public static class Background {
  30. ColorType color;
  31. String url;
  32. int repeat;
  33. int horiz;
  34. int vertical;
  35. }
  36. }