Hello Mark,
> If I try a PDF I get an error: ...
Could you please send FO source and PDF files that demonstrate the problem
directly to support@renderx.com
With best regards,
Alexei Gagarinov
RenderX
----- Original Message -----
From: "Mark Gabriel" <markg@limehouse.co.uk>
To: <xep-support@renderx.com>
Sent: Thursday, January 13, 2005 3:02 PM
Subject: [xep-support] Filetypes for Background Images
> I am trying to add a background image to a block with a coloured
background
> with XEP 4.1
>
> I want the image to have a part which is 50% white (semitransparent) so
that
> the background colour of the block will show through.
>
> When using an SVG the semitransparent white just appears as white.
>
> If I try a PDF I get an error:
>
> (sequence [master-reference two-col-landscape]
> (flow [11])
> (static-content
> [11]|right-edge||right-header|java.lang.ClassCastException
> at
> com.renderx.util.SeekableByteArrayInputStream.getFilePointer(Unknown
Source)
> at com.renderx.pdflib.parser.Lexer.skipEndl(Unknown Source)
> at com.renderx.pdflib.parser.Lexer.readTillTerminal(Unknown
Source)
> at com.renderx.pdflib.parser.Lexer.nextToken(Unknown Source)
> at com.renderx.pdflib.parser.ElementParser.parse(Unknown Source)
> at com.renderx.pdflib.parser.XRefTable.readCrossTables(Unknown
Source)
> at com.renderx.pdflib.parser.XRefTable.<init>(Unknown Source)
> at com.renderx.pdflib.parser.PDFInstance.init(Unknown Source)
> at com.renderx.pdflib.parser.PDFInstance.parse(Unknown Source)
> at com.renderx.pdflib.parser.PDFInstance.parse(Unknown Source)
> at com.renderx.graphics.ImageFactory.makeImage(Unknown Source)
> at com.renderx.xep.cmp.ImageFactory.makeImage(Unknown Source)
> at com.renderx.xep.cmp.ImageFactory.makeImage(Unknown Source)
> at com.renderx.xep.fmt.BPB.<init>(Unknown Source)
> at com.renderx.xep.fmt.BPB$Block.<init>(Unknown Source)
> at com.renderx.xep.fmt.MTF.newBpb(Unknown Source)
> at com.renderx.xep.fmt.MTF.bArea(Unknown Source)
> at com.renderx.xep.fmt.MTF.ibArea(Unknown Source)
> at com.renderx.xep.fmt.MTF.process(Unknown Source)
> at com.renderx.xep.cmp.Item$Block.pass(Unknown Source)
> at com.renderx.xep.fmt.MTF.fmt(Unknown Source)
> at com.renderx.xep.fmt.BkMaker.mkStream(Unknown Source)
> at com.renderx.xep.fmt.BkMaker.mkStatic(Unknown Source)
> at com.renderx.xep.fmt.BkMaker.mkBook(Unknown Source)
> at
com.renderx.xep.FormatterCore$ContentHandlerDriver.endDocument(Unknown
Source)
> at org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown
Source)
> at org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown
Source)
> at org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown
Source)
> at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
> at org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown
Source)
> at
org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatc
h(Unknown Source)
> at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
> at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
> at com.renderx.xep.FormatterCore.render(Unknown Source)
> at com.renderx.xep.FormatterImpl.render(Unknown Source)
> at com.renderx.xep.FormatterImpl.render(Unknown Source)
> at com.renderx.xep.FormatterImpl.render(Unknown Source)
> at
uk.co.client.class.publish.PDFWriter.writeXEP41PDF(PDFWriter.java:482
)
> at
uk.co.client.class.publish.PDFWriter.write(PDFWriter.java:124)
> at
uk.co.client.class.publish.PDFProcessor.publishReport(PDFProcessor.ja
va:116)
> at
uk.co.client.class.publish.AbstractProcessor.run(AbstractProcessor.ja
va:116)
> [error] Failed to create image
>
http://localhost:8080/publisherv2/templates/template_2/template_settings_5/r
> esources/top.pdf of type application/pdf
> [error] java.io.IOException: Broken PDF file!
> ))
>
> But the same PDF in XEP 3.5.1 which we have just upgraded from it does not
> error.
>
> Many thanks
> Mark
>
>
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
Received on Mon Jan 17 07:33:24 2005
This archive was generated by hypermail 2.1.8 : Mon Jan 17 2005 - 07:33:24 PST