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.

PDFRendererContextConstants.java 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /*
  2. * Copyright 2005 The Apache Software Foundation.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. /* $Id$ */
  17. package org.apache.fop.render.pdf;
  18. import org.apache.fop.render.RendererContextConstants;
  19. /**
  20. * Defines a number of standard constants (keys) for use by the RendererContext class.
  21. */
  22. public interface PDFRendererContextConstants extends RendererContextConstants {
  23. /** The PDF document that this image is being drawn into. */
  24. String PDF_DOCUMENT = "pdfDoc";
  25. /** The current pdf state. */
  26. String PDF_STATE = "pdfState";
  27. /** The current PDF page for page renference and as a resource context. */
  28. String PDF_PAGE = "pdfPage";
  29. /** The current PDF page for page renference and as a resource context. */
  30. String PDF_CONTEXT = "pdfContext";
  31. /** The current PDF stream to draw directly to. */
  32. String PDF_STREAM = "pdfStream";
  33. /** The current font information for the pdf renderer. */
  34. String PDF_FONT_INFO = "fontInfo";
  35. /** The current pdf font name. */
  36. String PDF_FONT_NAME = "fontName";
  37. /** The current pdf font size. */
  38. String PDF_FONT_SIZE = "fontSize";
  39. }