Package com.reportmill.pdf
Class PDFImages
- java.lang.Object
-
- com.reportmill.pdf.PDFImages
-
public class PDFImages extends java.lang.ObjectThis class handles writing images to a PDF file.
-
-
Constructor Summary
Constructors Constructor Description PDFImages()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.ObjectaddObjectDeepToXRef(PDFFile pFile, java.lang.Object anObj, PDFXTable destXRef)static java.lang.StringgetColorSpace(RMImageData anImageData, PDFFile pFile)Returns the pdf colorspace string for a given image data.static java.lang.StringgetNamePDF(RMImageData anImageData)Returns a unique PDF name for a given imagedata.static voidwriteImageData(RMImageData anImageData, PDFFile pFile)Writes the PDF to embed the actual image bytes.static voidwriteImageDataPDF(RMImageData anImageData, PDFFile pFile)static voidwriteImageFill(RMShape aShape, RMImageFill anImageFill, PDFFile pFile, PDFPageBuffer pBuffer)Writes the PDF for drawing a specific image in a specific shape.
-
-
-
Method Detail
-
getNamePDF
public static java.lang.String getNamePDF(RMImageData anImageData)
Returns a unique PDF name for a given imagedata.
-
writeImageFill
public static void writeImageFill(RMShape aShape, RMImageFill anImageFill, PDFFile pFile, PDFPageBuffer pBuffer)
Writes the PDF for drawing a specific image in a specific shape.
-
writeImageData
public static void writeImageData(RMImageData anImageData, PDFFile pFile)
Writes the PDF to embed the actual image bytes.
-
getColorSpace
public static java.lang.String getColorSpace(RMImageData anImageData, PDFFile pFile)
Returns the pdf colorspace string for a given image data.
-
writeImageDataPDF
public static void writeImageDataPDF(RMImageData anImageData, PDFFile pFile)
-
-