Examples of referencePDF()


Examples of org.apache.fop.pdf.PDF3DStream.referencePDF()

        stream.addResource(resName, xobj);

        // load JavaScript library code once (per 3D stream)
        // this is because the DOM element could exist multiple times within
        // the extension section.
        if (!libLoadedList.contains(stream.referencePDF())) {
            stream.addJSCode(getLibJSCode());
            libLoadedList.add(stream.referencePDF());
        }

        // Add JavaScript code for initializing a new textsprite
View Full Code Here

Examples of org.apache.fop.pdf.PDF3DStream.referencePDF()

        // load JavaScript library code once (per 3D stream)
        // this is because the DOM element could exist multiple times within
        // the extension section.
        if (!libLoadedList.contains(stream.referencePDF())) {
            stream.addJSCode(getLibJSCode());
            libLoadedList.add(stream.referencePDF());
        }

        // Add JavaScript code for initializing a new textsprite
        stream.addJSCode("\naddTextSprite('"
            + JavaScriptUtil.escapeString(resName)
View Full Code Here

Examples of org.apache.fop.pdf.PDF3DStream.referencePDF()

            stream.addResource(ANNOT_RESOURCE_NAME, resource);

            // load JavaScript library code once (per 3D stream)
            // this is because the DOM element could exist multiple times within
            // the extension section.
            if (!libLoadedList.contains(stream.referencePDF())) {
                stream.addJSCode(getLibJSCode());
                libLoadedList.add(stream.referencePDF());
            }

            Double scale;
View Full Code Here

Examples of org.apache.fop.pdf.PDF3DStream.referencePDF()

            // load JavaScript library code once (per 3D stream)
            // this is because the DOM element could exist multiple times within
            // the extension section.
            if (!libLoadedList.contains(stream.referencePDF())) {
                stream.addJSCode(getLibJSCode());
                libLoadedList.add(stream.referencePDF());
            }

            Double scale;
            Color color;
            Vector3 pos;
View Full Code Here

Examples of org.apache.fop.pdf.PDFImageXObject.referencePDF()

            if (mask != null) {
                BitmapImage fopimg = new BitmapImage
                    ("TempImageMask:" + pctx.toString(), devW, devH, mask, null);
                fopimg.setColorSpace(new PDFDeviceColorSpace(PDFDeviceColorSpace.DEVICE_GRAY));
                PDFImageXObject xobj = pdfDoc.addImage(resourceContext, fopimg);
                maskRef = xobj.referencePDF();

                if (outputStream != null) {
                    try {
                        this.pdfDoc.output(outputStream);
                    } catch (IOException ioe) {
View Full Code Here

Examples of org.apache.fop.pdf.PDFImageXObject.referencePDF()

            if (mask != null) {
                BitmapImage fopimg = new BitmapImage
                    ("TempImageMask:" + pctx.toString(), devW, devH, mask, null);
                fopimg.setColorSpace(new PDFDeviceColorSpace(PDFDeviceColorSpace.DEVICE_GRAY));
                PDFImageXObject xobj = pdfDoc.addImage(resourceContext, fopimg);
                maskRef = xobj.referencePDF();

                flushPDFDocument();
            }
            BitmapImage fopimg;
            fopimg = new BitmapImage("TempImage:" + pctx.toString(),
View Full Code Here

Examples of org.apache.fop.pdf.PDFImageXObject.referencePDF()

            if (mask != null) {
                BitmapImage fopimg = new BitmapImage
                    ("TempImageMask:" + pctx.toString(), devW, devH, mask, null);
                fopimg.setColorSpace(new PDFDeviceColorSpace(PDFDeviceColorSpace.DEVICE_GRAY));
                PDFImageXObject xobj = pdfDoc.addImage(resourceContext, fopimg);
                maskRef = xobj.referencePDF();

                flushPDFDocument();
            }
            BitmapImage fopimg;
            fopimg = new BitmapImage("TempImage:" + pctx.toString(),
View Full Code Here

Examples of org.apache.fop.pdf.PDFImageXObject.referencePDF()

            if (mask != null) {
                BitmapImage fopimg = new BitmapImage
                    ("TempImageMask:" + pctx.toString(), devW, devH, mask, null);
                fopimg.setColorSpace(new PDFDeviceColorSpace(PDFDeviceColorSpace.DEVICE_GRAY));
                PDFImageXObject xobj = pdfDoc.addImage(resourceContext, fopimg);
                maskRef = xobj.referencePDF();

                flushPDFDocument();
            }
            BitmapImage fopimg;
            fopimg = new BitmapImage("TempImage:" + pctx.toString(),
View Full Code Here

Examples of org.apache.fop.pdf.PDFPage.referencePDF()

        PDFResources pdfResources = this.pdfDoc.getResources();
        PDFPage page = this.pdfDoc.getFactory().makePage(pdfResources,
                width, height);
        resourceContext = page;
        pdfContext.setCurrentPage(page);
        pageRef = page.referencePDF();

        AffineTransform at = new AffineTransform(1.0, 0.0, 0.0, -1.0,
                                                 0.0, (double)height);
        currentStream.write("1 0 0 -1 0 " + height + " cm\n");
        if (svgWidth != 0) {
View Full Code Here

Examples of org.apache.fop.pdf.PDFPage.referencePDF()

        PDFResources pdfResources = this.pdfDoc.getResources();
        PDFPage page = this.pdfDoc.getFactory().makePage(pdfResources,
                width, height);
        resourceContext = page;
        pdfContext.setCurrentPage(page);
        pageRef = page.referencePDF();

        AffineTransform at = new AffineTransform(1.0, 0.0, 0.0, -1.0,
                                                 0.0, (double)height);
        currentStream.write("1 0 0 -1 0 " + height + " cm\n");
        if (svgWidth != 0) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.