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.

Java2DDocumentHandler.java 4.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  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. package org.apache.fop.render.java2d;
  18. import java.awt.Dimension;
  19. import java.util.Locale;
  20. import javax.xml.transform.Result;
  21. import org.apache.fop.accessibility.StructureTreeEventHandler;
  22. import org.apache.fop.fonts.FontInfo;
  23. import org.apache.fop.render.intermediate.IFContext;
  24. import org.apache.fop.render.intermediate.IFDocumentHandler;
  25. import org.apache.fop.render.intermediate.IFDocumentHandlerConfigurator;
  26. import org.apache.fop.render.intermediate.IFDocumentNavigationHandler;
  27. import org.apache.fop.render.intermediate.IFException;
  28. import org.apache.fop.render.intermediate.IFPainter;
  29. /**
  30. * {@link org.apache.fop.render.intermediate.IFDocumentHandler} implementation that produces
  31. * Graphics2D instance.
  32. */
  33. public class Java2DDocumentHandler implements IFDocumentHandler {
  34. public void setContext(IFContext context) {
  35. throw new UnsupportedOperationException();
  36. }
  37. public IFContext getContext() {
  38. throw new UnsupportedOperationException();
  39. }
  40. public void setResult(Result result) throws IFException {
  41. throw new UnsupportedOperationException();
  42. }
  43. public void setFontInfo(FontInfo fontInfo) {
  44. throw new UnsupportedOperationException();
  45. }
  46. public FontInfo getFontInfo() {
  47. throw new UnsupportedOperationException();
  48. }
  49. public void setDefaultFontInfo(FontInfo fontInfo) {
  50. throw new UnsupportedOperationException();
  51. }
  52. public IFDocumentHandlerConfigurator getConfigurator() {
  53. throw new UnsupportedOperationException();
  54. }
  55. public StructureTreeEventHandler getStructureTreeEventHandler() {
  56. throw new UnsupportedOperationException();
  57. }
  58. public IFDocumentNavigationHandler getDocumentNavigationHandler() {
  59. throw new UnsupportedOperationException();
  60. }
  61. public boolean supportsPagesOutOfOrder() {
  62. throw new UnsupportedOperationException();
  63. }
  64. public String getMimeType() {
  65. throw new UnsupportedOperationException();
  66. }
  67. public void startDocument() throws IFException {
  68. throw new UnsupportedOperationException();
  69. }
  70. public void endDocument() throws IFException {
  71. throw new UnsupportedOperationException();
  72. }
  73. public void setDocumentLocale(Locale locale) {
  74. throw new UnsupportedOperationException();
  75. }
  76. public void startDocumentHeader() throws IFException {
  77. throw new UnsupportedOperationException();
  78. }
  79. public void endDocumentHeader() throws IFException {
  80. throw new UnsupportedOperationException();
  81. }
  82. public void startDocumentTrailer() throws IFException {
  83. throw new UnsupportedOperationException();
  84. }
  85. public void endDocumentTrailer() throws IFException {
  86. throw new UnsupportedOperationException();
  87. }
  88. public void startPageSequence(String id) throws IFException {
  89. throw new UnsupportedOperationException();
  90. }
  91. public void endPageSequence() throws IFException {
  92. throw new UnsupportedOperationException();
  93. }
  94. public void startPage(int index, String name, String pageMasterName, Dimension size)
  95. throws IFException {
  96. throw new UnsupportedOperationException();
  97. }
  98. public void endPage() throws IFException {
  99. throw new UnsupportedOperationException();
  100. }
  101. public void startPageHeader() throws IFException {
  102. throw new UnsupportedOperationException();
  103. }
  104. public void endPageHeader() throws IFException {
  105. throw new UnsupportedOperationException();
  106. }
  107. public IFPainter startPageContent() throws IFException {
  108. throw new UnsupportedOperationException();
  109. }
  110. public void endPageContent() throws IFException {
  111. throw new UnsupportedOperationException();
  112. }
  113. public void startPageTrailer() throws IFException {
  114. throw new UnsupportedOperationException();
  115. }
  116. public void endPageTrailer() throws IFException {
  117. throw new UnsupportedOperationException();
  118. }
  119. public void handleExtensionObject(Object extension) throws IFException {
  120. throw new UnsupportedOperationException();
  121. }
  122. }