Le Duy Nhac commented on FOP-2589:

Hello Simon,

Thank you for your quick feedback but I still cannot create BPS/EPS tags.

Could you please give me your example?

Below is my example:
>fop -fo afp-page-segment-demo.fo -afp afp-page-segment-demo.afp

<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";
    <fo:simple-page-master master-name="A4" page-height="29.7cm" 
page-width="21cm" margin="2cm">
      <afp:include-page-segment name="s1islogo" src="file:///C:/temp/2_BW.tif" 
  <fo:page-sequence master-reference="A4">
    <fo:flow flow-name="xsl-region-body">
        <fo:external-graphic src="file:///C:/temp/2_BW.tif"  width="160 div 
2400 * 10in" height="192 div 2400 * 10in"/>

    <renderer mime="application/x-afp">
      <images mode="b+w" bits-per-pixel="8"/>
      <default-resource-levels goca="print-file" 

> how to support BPS/EPS to the page segment functionality for AFP rendering
> --------------------------------------------------------------------------
>                 Key: FOP-2589
>                 URL: https://issues.apache.org/jira/browse/FOP-2589
>             Project: FOP
>          Issue Type: Improvement
>          Components: unqualified
>    Affects Versions: trunk
>         Environment: Operating System: All
> Platform: All
>            Reporter: Le Duy Nhac
>            Assignee: fop-dev
>         Attachments: BPS_EPS_Apearrence.png
> I don't know how to create BPS (Begin Page Segment)/ EPS (End Page Segment) 
> into the generated AFP. I found that in FOP-1809 you can do that via the 
> optional attribute 'resource-file' of The include-page-segment extension 
> element.
> Could you please give me an example how to create BPS/EPS? (I am using 
> fop-2.1.jar)
> Thank you!

This message was sent by Atlassian JIRA

Reply via email to