[xep-support] Filetypes for Background Images
Mark Gabriel
markg at limehouse.co.uk
Thu Jan 13 04:02:31 PST 2005
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.limehouse.publisher.publish.PDFWriter.writeXEP41PDF(PDFWriter.java:482
)
at
uk.co.limehouse.publisher.publish.PDFWriter.write(PDFWriter.java:124)
at
uk.co.limehouse.publisher.publish.PDFProcessor.publishReport(PDFProcessor.ja
va:116)
at
uk.co.limehouse.publisher.publish.AbstractProcessor.run(AbstractProcessor.ja
va:116)
[error] Failed to create image
http://localhost:8080/publisherv2/templates/template_2/template_settings_5/r
esour
ces/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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20050113/2069099c/attachment.html>
More information about the Xep-support
mailing list