Carsten,
The renderer does not currently provide support for embedding images.
Please feel to submit a patch if you wish to develop this support
yourself, alternatively I will add it to our enhancement list.
The normal way to embed images in AFP is to use a include page segment
or overlay. This is a separate AFP resource and that you would need
developed (there are many companies who can do this for you, please see
our supporters page). You can then reference the Include Page Segment or
Overlay and it will be included provided the resource is added to your.
This is the most suitable way to include images as it reduces the size
of the AFP data stream (i.e. only a reference is added rather that the
complete raster image).
The syntax for using include page overlays/segments is fully documented
on the web site.=20
Rgds, Pete.
-----Original Message-----
From: afp...@li...
[mailto:afp...@li...] On Behalf Of
Car...@hs...
Sent: 28 January 2005 15:17
To: afp...@li...
Subject: [afp-renderer-users] Problems with getting images in AFP [Virus
checked HSH Nordbank]
Hello,
i'm new to this forum, but any help will be appreciated.
I tried searching for this problem/error in the internet but couldn't
find
anything!
We want to put our company logo into the AFP document.
Unfortunaley this doesn't work!
After rendering the AFP Document doesn't have any image.
We got no error messages only a warning from FOP :
[INFO ][massendruck.render.AFPRenderBean:73]: building formatting object
tree
[INFO ] [massendruck.render.AFPRenderBean:73]: [1]
[INFO ] [massendruck.render.AFPRenderBean:73]: area contents overflows
area
in line
[INFO ] [massendruck.render.AFPRenderBean:73]: area contents overflows
area
in line
[WARN ] [massendruck.render.AFPRenderBean:104]: Some static content
could
not fit in the area.
For including the image we use following snippet in the XSL-File :
<fo:table-row>
<fo:table-cell text-align=3D"center" number-columns-spanned=3D"2">
<fo:block font-size=3D"7pt" line-height=3D"14pt">
<fo:external-graphic src=3D"C:\pictures\logo.gif"/></fo:block>
</fo:table-cell>
</fo:table-row>
Anyone know why I'm getting this and how I can solve it?
Or how to include an image in the AFP Document?
Thanks in advance!
Carsten Heiber
________________________________________________________________________
________________
Diese Nachricht kann vertrauliche Informationen enthalten. Sollten Sie
nicht der vorgesehene Empf=E4nger sein, so bitten wir Sie, den Absender
unverz=FCglich zu informieren und die E-Mail zu l=F6schen. Jeder =
unbefugte
Zugriff oder unbefugte Weiterleitung, die Fertigung einer Kopie, die
Ver=F6ffentlichung oder sonstige in diesem Zusammenhang stehende =
Handlung
ist
untersagt. Da wir nicht die Echtheit oder Vollst=E4ndigkeit der in =
dieser
Nachricht enthaltenen Informationen garantieren k=F6nnen, schlie=DFen =
wir
die
rechtliche Verbindlichkeit der vorstehenden Erkl=E4rungen und =
=C4u=DFerungen
aus.
This message may contain confidential information. If you are not the
intended recipient please promptly inform the sender and delete this
email.
Any other unauthorized access or unauthorized forwarding, copy creation,
publication or any other action in this connection is prohibited. As we
cannot guarantee the genuineness or completeness of the information
contained in this message, the statements set forth above are not
legally
binding.
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
afp-renderer-users mailing list
afp...@li...
https://lists.sourceforge.net/lists/listinfo/afp-renderer-users
|