You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Fatih Piristine <fa...@gmail.com> on 2008/04/01 11:58:06 UTC

AFP - Adding Page-Groups

Hi guys,

I want to add page-groups in to afp files including TLEs but still could not
figure it out how. the oldest version of AFP renderer uses these tag to add
them:

<?xml version="1.0" encoding="utf-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:afp="
http://org.apache.fop/extensions/afp">
    <afp:page-group id="PAG001">
        <afp:tag-logical-element name="HRNO" value="HR001"/>
        <afp:tag-logical-element name="STAFFNO" value="ST001"/>
        <afp:tag-logical-element name="NAME" value="NAME001"/>
        <afp:tag-logical-element name="LASTNAME" value="LAST001"/>
        <afp:tag-logical-element name="HOURSINBANK" value="20"/>
        <afp:tag-logical-element name="WEEKENDINGDATE" value="20080312"/>
    </afp:page-group>
...


Do you know how to add them in FOP v0.94??

thanks.

Fatih

Re: AFP - Adding Page-Groups

Posted by Fatih Piristine <fa...@gmail.com>.
Thanks for the update, Maerki.


On Tue, Apr 1, 2008 at 3:28 PM, Jeremias Maerki <de...@jeremias-maerki.ch>
wrote:

> Please note that FOP 0.20.5 did not contain an AFP renderer. It was
> published as a separate component [1] and was developed outside of this
> project. During FOP's redesign the code has been donated to the Apache
> Software Foundation and integrated into FOP. It could very well be that
> some features may not have survived the adjustment process for the new
> FOP codebase.
>
> [1] http://afp-renderer.sourceforge.net/afp-extensions.html
>
> As always, help is welcome to improve any parts of FOP.
>
> On 01.04.2008 13:10:24 Adrian Cumiskey wrote:
> > Hi Fatih,
> >
> > What you are describing seems not to be available in 0.94 or 0.93.
>  Without checking I'm guessing
> > they were available in 0.20 and somehow got lost, can anyone verify
> this?
> >
> > My changes in the Temp_AFPGOCAResources code branch will include a new
> page group being created for
> > each <fo:page-sequence/> encountered (which is currently not the case).
>  I will also verify this
> > functionality you describe is working correctly and these features
> should make their way back into
> > the latest FOP.
> >
> > Adrian.
> >
> > Fatih Piristine wrote:
> > > Hi guys,
> > >
> > > I want to add page-groups in to afp files including TLEs but still
> could
> > > not figure it out how. the oldest version of AFP renderer uses these
> tag
> > > to add them:
> > >
> > > <?xml version="1.0" encoding="utf-8"?>
> > > <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
> > > xmlns:afp="http://org.apache.fop/extensions/afp">
> > >     <afp:page-group id="PAG001">
> > >         <afp:tag-logical-element name="HRNO" value="HR001"/>
> > >         <afp:tag-logical-element name="STAFFNO" value="ST001"/>
> > >         <afp:tag-logical-element name="NAME" value="NAME001"/>
> > >         <afp:tag-logical-element name="LASTNAME" value="LAST001"/>
> > >         <afp:tag-logical-element name="HOURSINBANK" value="20"/>
> > >         <afp:tag-logical-element name="WEEKENDINGDATE"
> value="20080312"/>
> > >     </afp:page-group>
> > > ...
> > >
> > >
> > > Do you know how to add them in FOP v0.94??
> > >
> > > thanks.
> > >
> > > Fatih
>
>
>
> Jeremias Maerki
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>

Re: AFP - Adding Page-Groups

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Please note that FOP 0.20.5 did not contain an AFP renderer. It was
published as a separate component [1] and was developed outside of this
project. During FOP's redesign the code has been donated to the Apache
Software Foundation and integrated into FOP. It could very well be that
some features may not have survived the adjustment process for the new
FOP codebase.

[1] http://afp-renderer.sourceforge.net/afp-extensions.html

As always, help is welcome to improve any parts of FOP.

On 01.04.2008 13:10:24 Adrian Cumiskey wrote:
> Hi Fatih,
> 
> What you are describing seems not to be available in 0.94 or 0.93.  Without checking I'm guessing 
> they were available in 0.20 and somehow got lost, can anyone verify this?
> 
> My changes in the Temp_AFPGOCAResources code branch will include a new page group being created for 
> each <fo:page-sequence/> encountered (which is currently not the case).  I will also verify this 
> functionality you describe is working correctly and these features should make their way back into 
> the latest FOP.
> 
> Adrian.
> 
> Fatih Piristine wrote:
> > Hi guys,
> > 
> > I want to add page-groups in to afp files including TLEs but still could 
> > not figure it out how. the oldest version of AFP renderer uses these tag 
> > to add them:
> > 
> > <?xml version="1.0" encoding="utf-8"?>
> > <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" 
> > xmlns:afp="http://org.apache.fop/extensions/afp">
> >     <afp:page-group id="PAG001">
> >         <afp:tag-logical-element name="HRNO" value="HR001"/>
> >         <afp:tag-logical-element name="STAFFNO" value="ST001"/>
> >         <afp:tag-logical-element name="NAME" value="NAME001"/>
> >         <afp:tag-logical-element name="LASTNAME" value="LAST001"/>
> >         <afp:tag-logical-element name="HOURSINBANK" value="20"/>
> >         <afp:tag-logical-element name="WEEKENDINGDATE" value="20080312"/>
> >     </afp:page-group>
> > ...
> > 
> > 
> > Do you know how to add them in FOP v0.94??
> > 
> > thanks.
> > 
> > Fatih



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: AFP - Adding Page-Groups

Posted by Fatih Piristine <fa...@gmail.com>.
Hi Adrian,

I use the render which I have downloaded from afprenderer.sourceforge.net.
that one support page groups. without these groups, afp files cannot be
loaded on IBM onDeamand system which is big problem here. FOP 0.9x support
page based TLEs and it is incompatible.
Formatting the page ( fonts, color, images etc ) is very limited too.

Fatih


On Tue, Apr 1, 2008 at 1:10 PM, Adrian Cumiskey <ad...@gmail.com>
wrote:

> Hi Fatih,
>
> What you are describing seems not to be available in 0.94 or 0.93.
>  Without checking I'm guessing
> they were available in 0.20 and somehow got lost, can anyone verify this?
>
> My changes in the Temp_AFPGOCAResources code branch will include a new
> page group being created for
> each <fo:page-sequence/> encountered (which is currently not the case).  I
> will also verify this
> functionality you describe is working correctly and these features should
> make their way back into
> the latest FOP.
>
> Adrian.
>
> Fatih Piristine wrote:
> > Hi guys,
> >
> > I want to add page-groups in to afp files including TLEs but still could
> > not figure it out how. the oldest version of AFP renderer uses these tag
> > to add them:
> >
> > <?xml version="1.0" encoding="utf-8"?>
> > <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
> > xmlns:afp="http://org.apache.fop/extensions/afp">
> >     <afp:page-group id="PAG001">
> >         <afp:tag-logical-element name="HRNO" value="HR001"/>
> >         <afp:tag-logical-element name="STAFFNO" value="ST001"/>
> >         <afp:tag-logical-element name="NAME" value="NAME001"/>
> >         <afp:tag-logical-element name="LASTNAME" value="LAST001"/>
> >         <afp:tag-logical-element name="HOURSINBANK" value="20"/>
> >         <afp:tag-logical-element name="WEEKENDINGDATE"
> value="20080312"/>
> >     </afp:page-group>
> > ...
> >
> >
> > Do you know how to add them in FOP v0.94??
> >
> > thanks.
> >
> > Fatih
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>

Re: AFP - Adding Page-Groups

Posted by Adrian Cumiskey <ad...@gmail.com>.
Hi Fatih,

What you are describing seems not to be available in 0.94 or 0.93.  Without checking I'm guessing 
they were available in 0.20 and somehow got lost, can anyone verify this?

My changes in the Temp_AFPGOCAResources code branch will include a new page group being created for 
each <fo:page-sequence/> encountered (which is currently not the case).  I will also verify this 
functionality you describe is working correctly and these features should make their way back into 
the latest FOP.

Adrian.

Fatih Piristine wrote:
> Hi guys,
> 
> I want to add page-groups in to afp files including TLEs but still could 
> not figure it out how. the oldest version of AFP renderer uses these tag 
> to add them:
> 
> <?xml version="1.0" encoding="utf-8"?>
> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" 
> xmlns:afp="http://org.apache.fop/extensions/afp">
>     <afp:page-group id="PAG001">
>         <afp:tag-logical-element name="HRNO" value="HR001"/>
>         <afp:tag-logical-element name="STAFFNO" value="ST001"/>
>         <afp:tag-logical-element name="NAME" value="NAME001"/>
>         <afp:tag-logical-element name="LASTNAME" value="LAST001"/>
>         <afp:tag-logical-element name="HOURSINBANK" value="20"/>
>         <afp:tag-logical-element name="WEEKENDINGDATE" value="20080312"/>
>     </afp:page-group>
> ...
> 
> 
> Do you know how to add them in FOP v0.94??
> 
> thanks.
> 
> Fatih


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org