Am 01.06.2014 19:57, schrieb Maruan Sahyoun:
Hi
Am 01.06.2014 um 18:51 schrieb Tilman Hausherr <thaush...@t-online.de>:
Am 01.06.2014 15:46, schrieb Maruan Sahyoun:
There is one important thing we have to do before releasing 2.0, an upgrade
guide including updated docs.
could handle that. Would need some input about major changes as a starting
point as I din’t follow all breaking changes.
Here are the ones I know about:
old => new
PDXObjectForm => PDFormXObject
PDXObjectImage => PDImageXObject
PDPage.convertToImage() => PDFRenderer(PDDocument).renderImage()
PDXObjectImage.getRGBImage() => PDImageXObject.getImage()
???? => PDFPrinter(PDDocument, ....).print(PDDocument,PrinterJob, …)
AFAIK this was PDDocument.print()
Yes indeed.
Got another:
1.8:
public void processStream( PDPage aPage, PDResources resources,
COSStream cosStream )
public void processSubStream(PDPage aPage, PDResources resources,
COSStream cosStream)
2.0:
public void processStream(PDResources resources, COSStream cosStream,
PDRectangle drawingSize, int rotation)
public void processSubStream(PDResources resources, COSStream cosStream)