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.

IFConstants.java 2.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS,
  13. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. * See the License for the specific language governing permissions and
  15. * limitations under the License.
  16. */
  17. /* $Id$ */
  18. package org.apache.fop.render.intermediate;
  19. import org.apache.fop.apps.MimeConstants;
  20. import org.apache.fop.util.XMLConstants;
  21. /**
  22. * Constants for the intermediate format.
  23. */
  24. public interface IFConstants extends XMLConstants {
  25. /** MIME type of the intermediate format. */
  26. String MIME_TYPE = MimeConstants.MIME_FOP_IF;
  27. /** XML namespace of the intermediate format. */
  28. String NAMESPACE = "http://xmlgraphics.apache.org/fop/intermediate";
  29. /** element name document */
  30. String EL_DOCUMENT = "document";
  31. /** element name header */
  32. String EL_HEADER = "header";
  33. /** element name trailer */
  34. String EL_TRAILER = "trailer";
  35. /** element name locale */
  36. String EL_LOCALE = "locale";
  37. /** element name page-sequence */
  38. String EL_PAGE_SEQUENCE = "page-sequence";
  39. /** element name page */
  40. String EL_PAGE = "page";
  41. /** element name page-header */
  42. String EL_PAGE_HEADER = "page-header";
  43. /** element name page-trailer */
  44. String EL_PAGE_TRAILER = "page-trailer";
  45. /** element name content */
  46. String EL_PAGE_CONTENT = "content";
  47. /** element name viewport */
  48. String EL_VIEWPORT = "viewport";
  49. /** element name group */
  50. String EL_GROUP = "g";
  51. /** element name image */
  52. String EL_IMAGE = "image";
  53. /** element name clip-rect */
  54. String EL_CLIP_RECT = "clip-rect";
  55. /** element name rect */
  56. String EL_RECT = "rect";
  57. /** element name line */
  58. String EL_LINE = "line";
  59. /** element name border-rect */
  60. String EL_BORDER_RECT = "border-rect";
  61. /** element name font */
  62. String EL_FONT = "font";
  63. /** element name text */
  64. String EL_TEXT = "text";
  65. /** element name id */
  66. String EL_ID = "id";
  67. /** Parent element of the logical structure tree. */
  68. String EL_STRUCTURE_TREE = "structure-tree";
  69. }