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 David Xicota Adell <da...@opentrends.net> on 2005/07/08 16:19:33 UTC

Help about FOP 1.0 DR1

Hi All,

I'm a newbie in using Apache FOP.  I've read that there's a redesign in
progress and that the idea is to publish the first release during the
second half of this year.

The point is i'm in charge of a bussiness process based in Apache FOP
0.20.5. During this year I need to implement some more transformation
funcionalities proposed in the standard XSLT-FO but that are not covered
by FOP 0.20.5. I doubdt between implementing them over FOP 0.20.5 or
wait for FOP 1.0DR1. 

Do you know (or have some kind of document) which points of the W3C
XSLT-FO standard will be covered in 1.0DR1 release? Does somekind of
Roadmap exists?

I think i could help developing the points i need for my project and
releasing them to Apache FOP 1.0.

Thanks
  David




Re: Help about FOP 1.0 DR1

Posted by The Web Maestro <th...@gmail.com>.
On Jul 20, 2005, at 12:21 PM, Jeremias Maerki wrote:
> On 20.07.2005 17:26:04 David Xicota Adell wrote:
>> Basically we need the widow-orphan lines features.
>
> Ok, this should already work in the trunk code.
>
>> And some advanced line treatment such:
>>  - Do not end X number of lines with the same word.
>>  - Do not start X number of lines with the same word.
>>  - Do not end lines with some characters.
>
> Ok, that is indeed advanced and, as far as I can see, not in the
> specification. If you need something like that you will most probably
> have to implement it yourself.

In order to do something this advanced, I suspect you'll have to 
'hard-wrap' your fo:blocks using XSLT, by counting characters, and then 
the apply the business logic to the first/last word in each line. I 
suspect this process will not be a very fast one...

Regards,

Web Maestro Clay
-- 
<th...@gmail.com> - <http://homepage.mac.com/webmaestro/>
My religion is simple. My religion is kindness.
- HH The 14th Dalai Lama of Tibet


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


Re: Help about FOP 1.0 DR1

Posted by David Xicota Adell <da...@opentrends.net>.
We will try to implement it and let you know where we get with it. Maybe
it would be interesting to add it as an extra funcionality of FOP, or as
an additional module or extension.

David

El jue, 21-07-2005 a las 20:49 +0200, Simon Pepping escribió:

> On Wed, Jul 20, 2005 at 09:21:32PM +0200, Jeremias Maerki wrote:
> > 
> > On 20.07.2005 17:26:04 David Xicota Adell wrote:
> > > Basically we need the widow-orphan lines features. 
> > 
> > Ok, this should already work in the trunk code.
> > 
> > > And some advanced line treatment such:
> > >  - Do not end X number of lines with the same word.
> > >  - Do not start X number of lines with the same word.
> > >  - Do not end lines with some characters.
> > 
> > Ok, that is indeed advanced and, as far as I can see, not in the
> > specification. If you need something like that you will most probably
> > have to implement it yourself.
> 
> The new line breaking code is entirely based on Donald Knuth's boxes,
> glue and penalties. It should be possible to modify the algorithm such
> that it does the above. Each box has access to the text that it
> contains, and it has pointers to the line endings of the preceding
> lines. That would be an interesting exercise. But it is entirely out
> of the scope of regular FOP.
> 
> Regards, Simon
> 

Re: Help about FOP 1.0 DR1

Posted by Simon Pepping <sp...@leverkruid.nl>.
On Wed, Jul 20, 2005 at 09:21:32PM +0200, Jeremias Maerki wrote:
> 
> On 20.07.2005 17:26:04 David Xicota Adell wrote:
> > Basically we need the widow-orphan lines features. 
> 
> Ok, this should already work in the trunk code.
> 
> > And some advanced line treatment such:
> >  - Do not end X number of lines with the same word.
> >  - Do not start X number of lines with the same word.
> >  - Do not end lines with some characters.
> 
> Ok, that is indeed advanced and, as far as I can see, not in the
> specification. If you need something like that you will most probably
> have to implement it yourself.

The new line breaking code is entirely based on Donald Knuth's boxes,
glue and penalties. It should be possible to modify the algorithm such
that it does the above. Each box has access to the text that it
contains, and it has pointers to the line endings of the preceding
lines. That would be an interesting exercise. But it is entirely out
of the scope of regular FOP.

Regards, Simon

-- 
Simon Pepping
home page: http://www.leverkruid.nl


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


Re: Help about FOP 1.0 DR1

Posted by David Xicota Adell <da...@opentrends.net>.
Thanks for the answer

El mié, 20-07-2005 a las 21:21 +0200, Jeremias Maerki escribió:

> On 20.07.2005 17:26:04 David Xicota Adell wrote:
> > Basically we need the widow-orphan lines features. 
> 
> Ok, this should already work in the trunk code.
> 
> > And some advanced line treatment such:
> >  - Do not end X number of lines with the same word.
> >  - Do not start X number of lines with the same word.
> >  - Do not end lines with some characters.
> 
> Ok, that is indeed advanced and, as far as I can see, not in the
> specification. If you need something like that you will most probably
> have to implement it yourself.
> 
> 
> Jeremias Maerki
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org

Re: Help about FOP 1.0 DR1

Posted by Jeremias Maerki <de...@greenmail.ch>.
On 20.07.2005 17:26:04 David Xicota Adell wrote:
> Basically we need the widow-orphan lines features. 

Ok, this should already work in the trunk code.

> And some advanced line treatment such:
>  - Do not end X number of lines with the same word.
>  - Do not start X number of lines with the same word.
>  - Do not end lines with some characters.

Ok, that is indeed advanced and, as far as I can see, not in the
specification. If you need something like that you will most probably
have to implement it yourself.


Jeremias Maerki


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


Re: Help about FOP 1.0 DR1

Posted by David Xicota Adell <da...@opentrends.net>.
Hi,

Sorry by the late answer.
Basically we need the widow-orphan lines features. 

And some advanced line treatment such:
 - Do not end X number of lines with the same word.
 - Do not start X number of lines with the same word.
 - Do not end lines with some characters.

Thanks in advance.
    David


El vie, 08-07-2005 a las 16:38 +0200, Jeremias Maerki escribió:

> Hi David,
> 
> documenting what the next FOP release will support is on the TODO list 
> [1]. I know it's something very important but I haven't had time to
> start with the list because I mostly wanted to concentrate on getting
> the most important features to work in the first place. We need to get
> this done somehow. It would be great if you helped us with that.
> 
> I imagine that we would extend the current compliance document [2][3] to
> include information on the Trunk code. Like that we'd have a
> side-by-side comparison of the features and we could mark the features
> that are planned in the near future but not yet implemented. I can
> certainly help filling in the contents but if I didn't also have to do
> the updated framework for the compliance document I'd be grateful. Maybe
> Clay Leeds can/wants to help here, too.
> 
> What you could also do is tell us what features you need and don't have
> in FOP 0.20.5. I could then give you some quick feedback from my point
> of view. Have you made any tests with the Trunk code already?
> 
> [1] http://wiki.apache.org/xmlgraphics-fop/FOPProjectTasks?highlight=%28tasks%29
> [2] http://xml.apache.org/fop/compliance.html
> [3] http://svn.apache.org/repos/asf/xmlgraphics/fop/trunk/src/documentation/content/xdocs/compliance.ihtml
> 
> On 08.07.2005 16:19:33 David Xicota Adell wrote:
> > 
> > Hi All,
> > 
> > I'm a newbie in using Apache FOP.  I've read that there's a redesign in
> > progress and that the idea is to publish the first release during the
> > second half of this year.
> > 
> > The point is i'm in charge of a bussiness process based in Apache FOP
> > 0.20.5. During this year I need to implement some more transformation
> > funcionalities proposed in the standard XSLT-FO but that are not covered
> > by FOP 0.20.5. I doubdt between implementing them over FOP 0.20.5 or
> > wait for FOP 1.0DR1. 
> > 
> > Do you know (or have some kind of document) which points of the W3C
> > XSLT-FO standard will be covered in 1.0DR1 release? Does somekind of
> > Roadmap exists?
> > 
> > I think i could help developing the points i need for my project and
> > releasing them to Apache FOP 1.0.
> > 
> > Thanks
> >   David
> > 
> > 
> > 
> 
> 
> 
> Jeremias Maerki
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org

Re: Help about FOP 1.0 DR1

Posted by Jeremias Maerki <de...@greenmail.ch>.
Hi David,

documenting what the next FOP release will support is on the TODO list 
[1]. I know it's something very important but I haven't had time to
start with the list because I mostly wanted to concentrate on getting
the most important features to work in the first place. We need to get
this done somehow. It would be great if you helped us with that.

I imagine that we would extend the current compliance document [2][3] to
include information on the Trunk code. Like that we'd have a
side-by-side comparison of the features and we could mark the features
that are planned in the near future but not yet implemented. I can
certainly help filling in the contents but if I didn't also have to do
the updated framework for the compliance document I'd be grateful. Maybe
Clay Leeds can/wants to help here, too.

What you could also do is tell us what features you need and don't have
in FOP 0.20.5. I could then give you some quick feedback from my point
of view. Have you made any tests with the Trunk code already?

[1] http://wiki.apache.org/xmlgraphics-fop/FOPProjectTasks?highlight=%28tasks%29
[2] http://xml.apache.org/fop/compliance.html
[3] http://svn.apache.org/repos/asf/xmlgraphics/fop/trunk/src/documentation/content/xdocs/compliance.ihtml

On 08.07.2005 16:19:33 David Xicota Adell wrote:
> 
> Hi All,
> 
> I'm a newbie in using Apache FOP.  I've read that there's a redesign in
> progress and that the idea is to publish the first release during the
> second half of this year.
> 
> The point is i'm in charge of a bussiness process based in Apache FOP
> 0.20.5. During this year I need to implement some more transformation
> funcionalities proposed in the standard XSLT-FO but that are not covered
> by FOP 0.20.5. I doubdt between implementing them over FOP 0.20.5 or
> wait for FOP 1.0DR1. 
> 
> Do you know (or have some kind of document) which points of the W3C
> XSLT-FO standard will be covered in 1.0DR1 release? Does somekind of
> Roadmap exists?
> 
> I think i could help developing the points i need for my project and
> releasing them to Apache FOP 1.0.
> 
> Thanks
>   David
> 
> 
> 



Jeremias Maerki


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