You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2009/06/01 12:51:59 UTC
DO NOT REPLY [Bug 47293] New: FOP cannot handle background images in
when creating RTF.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47293
Summary: FOP cannot handle background images in <fo:block> when
creating RTF.
Product: Fop
Version: 0.95
Platform: PC
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: rtf
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: tech_doc@yahoo.com
Using XSLT + Docbook stylesheets + FOP 0.95:
I have a document (in A5 format) that can be flawlessly compiled in PDF format,
but fails in RTF. It seems that FOP cannot handle background images in
<fo:block> elements when creating an RTF file. The following API in my
print.xsl has caused this problem:
<xsl:param name="chap.label.path"
select="normalize-space(//bookinfo//imagedata[@role='chap_label']/@fileref)"/>
<xsl:attribute-set name="chap.label.properties">
...
<xsl:attribute name="background-image">
<xsl:call-template name="fo-external-image">
<xsl:with-param name="filename" select="$chap.label.path"/>
</xsl:call-template>
</xsl:attribute>
<xsl:attribute name="background-attachment">fixed</xsl:attribute>
<xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
</xsl:attribute-set>
FOP fails to place the chapter number on top of a background
icon. As I said, in PDF it works fine.
When compiling RTF, I get the following error message:
WARNING: Ignored deferred event for
org.apache.fop.fo.flow.RetrieveMarker@be49e0[@id=null]
May 27, 2009 4:11:44 PM org.apache.fop.render.rtf.RTFHandler startBlock
SEVERE: startBlock: null
May 27, 2009 4:11:44 PM org.apache.fop.cli.Main startFOP
SEVERE: Exception
java.lang.RuntimeException: Exception: java.lang.NullPointerException
at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:217)
at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125)
at org.apache.fop.cli.Main.startFOP(Main.java:166)
at org.apache.fop.cli.Main.main(Main.java:197)
...
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 47293] FOP cannot handle background images in
when creating RTF.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47293
--- Comment #1 from Roman <te...@yahoo.com> 2009-06-01 03:53:16 PST ---
This leads to a crash
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 47293] FOP cannot handle background images in
when creating RTF.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47293
Glenn Adams <gl...@skynav.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P2 |P3
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 47293] FOP cannot handle background images in
when creating RTF.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47293
Glenn Adams <gl...@skynav.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|major |normal
--- Comment #2 from Glenn Adams <gl...@skynav.com> 2012-04-07 01:37:14 UTC ---
resetting severity from major to normal pending further review
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 47293] FOP cannot handle background images in
when creating RTF.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47293
--- Comment #3 from Glenn Adams <gl...@skynav.com> 2012-04-07 01:42:33 UTC ---
resetting P2 open bugs to P3 pending further review
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.