pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jahew...@apache.org
Subject svn commit: r1654106 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/printing/PDFPrinter.java
Date Fri, 23 Jan 2015 01:22:26 GMT
Author: jahewson
Date: Fri Jan 23 01:22:26 2015
New Revision: 1654106

URL: http://svn.apache.org/r1654106
Log:
PDFBOX-2623: Return Pageable to facilitate subclassing

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/printing/PDFPrinter.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/printing/PDFPrinter.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/printing/PDFPrinter.java?rev=1654106&r1=1654105&r2=1654106&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/printing/PDFPrinter.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/printing/PDFPrinter.java Fri Jan 23
01:22:26 2015
@@ -16,11 +16,6 @@
  */
 package org.apache.pdfbox.printing;
 
-import org.apache.pdfbox.pdmodel.PDDocument;
-import org.apache.pdfbox.pdmodel.PDPage;
-import org.apache.pdfbox.pdmodel.common.PDRectangle;
-
-import javax.print.attribute.PrintRequestAttributeSet;
 import java.awt.BasicStroke;
 import java.awt.Color;
 import java.awt.Graphics;
@@ -35,6 +30,10 @@ import java.awt.print.PrinterException;
 import java.awt.print.PrinterIOException;
 import java.awt.print.PrinterJob;
 import java.io.IOException;
+import javax.print.attribute.PrintRequestAttributeSet;
+import org.apache.pdfbox.pdmodel.PDDocument;
+import org.apache.pdfbox.pdmodel.PDPage;
+import org.apache.pdfbox.pdmodel.common.PDRectangle;
 import org.apache.pdfbox.rendering.PDFRenderer;
 
 /**
@@ -280,7 +279,7 @@ public class PDFPrinter
     /**
      * Returns the Pageable instance used in this class. Can be overridden by subclasses.
      */
-    public PDFPageable getPageable()
+    public Pageable getPageable()
     {
       return new PDFPageable();
     }



Mime
View raw message