Re: Java/POJO based FOP transformation (instead of XSL) like in JasperReports

2006-03-16 Thread Christian Geisert

Geoffrey De Smet schrieb:

I've worked with both FOP and JasperReports
and I really prefer the FO format over jasperreport's custom format.
But Jasperreports allows to use Java/POJO based transformations, so I am 
wondering if this is possible in FOP.


Basically the idea is to replace:
- generate XML based on POJO
- transform XML with XSL to FO
- feed FOP the FO
with
- supply POJO to "JSP without http" which generates FO
- feed FOP the FO

Does anyone know an (open source?) library which can do something like:


Sounds like a template engine like velocity[1] might be something for you.

Christian

[1] http://jakarta.apache.org/velocity/index.html

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: TTFreader not able to convert barcode font into XML

2006-03-16 Thread Pardha Paruchuri
I tried with -enc ansi, it still giving the same message  "Unicode cmap table not present"     "J.Pietschmann" <[EMAIL PROTECTED]> wrote:  Pardha Paruchuri wrote:> FOP TTF reader is not able to convert the barcode font into XML> metrics file. It was able to convert other fonts like TIMES and COUR> etc.,You probably need to add-enc ansito the command line, seehttp://xmlgraphics.apache.org/fop/0.91/fonts.html#truetype-metricsJ.Pietschmann-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]
		Relax. Yahoo! Mail 
virus scanning helps detect nasty viruses!

Re: TTFreader not able to convert barcode font into XML

2006-03-16 Thread J.Pietschmann

Pardha Paruchuri wrote:

FOP TTF reader is not able to convert the barcode font into XML
metrics file. It was able to convert other fonts like TIMES and COUR
etc.,


You probably need to add
 -enc ansi
to the command line, see
 http://xmlgraphics.apache.org/fop/0.91/fonts.html#truetype-metrics

J.Pietschmann

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Java/POJO based FOP transformation (instead of XSL) like in JasperReports

2006-03-16 Thread Glen Mazza
The SAX processing model (instead of constructing DOM trees to 
subsequently feed FOP) would probably be much faster for you.  No JSP 
needed for this.  I would take a look at Jeremias' ExampleObj2PDF[1] and 
corresponding model[2] to get an idea of the process.  I've been using 
this method at work for some time now and it has been working quite well 
for me.


Glen

[1] 
http://svn.apache.org/viewcvs.cgi/xmlgraphics/fop/trunk/examples/embedding/java/embedding/ExampleObj2PDF.java?rev=332791&view=markup


[2]
http://svn.apache.org/viewcvs.cgi/xmlgraphics/fop/trunk/examples/embedding/java/embedding/model/


Geoffrey De Smet wrote:


I've worked with both FOP and JasperReports
and I really prefer the FO format over jasperreport's custom format.
But Jasperreports allows to use Java/POJO based transformations, so I am 
wondering if this is possible in FOP.


Basically the idea is to replace:
- generate XML based on POJO
- transform XML with XSL to FO
- feed FOP the FO
with
- supply POJO to "JSP without http" which generates FO
- feed FOP the FO

Does anyone know an (open source?) library which can do something like:

class Person {
  private String firstName;
  private String lastName;
  // getters and setters
}

...
class="java.util.List"/>

...
<% for (Person person : personList) { %>
  
<%= person.getFirstName%>
  
  
<%= person.getLastName%>
  
<% } %>
...

This should be usable in fat clients, webclients, ...: it is not bound 
to the HTTP protocol.





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Java/POJO based FOP transformation (instead of XSL) like in JasperReports

2006-03-16 Thread Jay Bryant
I don't know of such a library (which doesn't mean one doesn't exist), but
the concept is sound. All FOP needs is valid FO, regardless of how it's
generated.

Jay Bryant
Bryant Communication Services

- Original Message - 
From: "Geoffrey De Smet" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, March 16, 2006 4:56 AM
Subject: Java/POJO based FOP transformation (instead of XSL) like in
JasperReports


> I've worked with both FOP and JasperReports
> and I really prefer the FO format over jasperreport's custom format.
> But Jasperreports allows to use Java/POJO based transformations, so I am
> wondering if this is possible in FOP.
>
> Basically the idea is to replace:
> - generate XML based on POJO
> - transform XML with XSL to FO
> - feed FOP the FO
> with
> - supply POJO to "JSP without http" which generates FO
> - feed FOP the FO
>
> Does anyone know an (open source?) library which can do something like:
>
> class Person {
>private String firstName;
>private String lastName;
>// getters and setters
> }
>
> ...
>  class="java.util.List"/>
> ...
> <% for (Person person : personList) { %>
>
>  <%= person.getFirstName%>
>
>
>  <%= person.getLastName%>
>
> <% } %>
> ...
>
> This should be usable in fat clients, webclients, ...: it is not bound
> to the HTTP protocol.
>
> -- 
> With kind regards,
> Geoffrey De Smet
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Java/POJO based FOP transformation (instead of XSL) like in JasperReports

2006-03-16 Thread Geoffrey De Smet

I've worked with both FOP and JasperReports
and I really prefer the FO format over jasperreport's custom format.
But Jasperreports allows to use Java/POJO based transformations, so I am 
wondering if this is possible in FOP.


Basically the idea is to replace:
- generate XML based on POJO
- transform XML with XSL to FO
- feed FOP the FO
with
- supply POJO to "JSP without http" which generates FO
- feed FOP the FO

Does anyone know an (open source?) library which can do something like:

class Person {
  private String firstName;
  private String lastName;
  // getters and setters
}

...
class="java.util.List"/>

...
<% for (Person person : personList) { %>
  
<%= person.getFirstName%>
  
  
<%= person.getLastName%>
  
<% } %>
...

This should be usable in fat clients, webclients, ...: it is not bound 
to the HTTP protocol.


--
With kind regards,
Geoffrey De Smet


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Sequential page numbers on alternate pages

2006-03-16 Thread Anil Pinto
J, Thanks for the direction with the markers it managed to provide a
solution.

Wish there was less "trickier" way to handle this in the XSL-FO standards
:-) like being able to control the page sequence with the 
tag.

But the problem has been address for now, and thank you very much for the
help.

Anil.

-Original Message-
From: J.Pietschmann [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 09, 2006 1:20 PM
To: fop-users@xmlgraphics.apache.org
Subject: Re: Sequential page numbers on alternate pages


Anil Pinto wrote:
> Now the requirement that is causing us a headache :-) is that only pages
> with data need to show page numbers and only sequenced on the data pages,
...
> The  FO element does not seem to help with this requirement.

Nor anything else from the standard.

> Would appreciate if anybody could help with this specific scenario.

You can try playing tricks with markers. Get a rough estimate
for the middle of the data pages, place a marker there, like
  3
and reference the marker in the footer instead of using fo:page-number.

J.Pietschmann

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: can fop handle this (memory question)

2006-03-16 Thread Christian Geisert
Jeremias Maerki schrieb:
> On 16.03.2006 00:17:28 Paul Tremblay wrote:
> 
>>On Wed, Mar 15, 2006 at 09:22:36AM +0100, Jeremias Maerki wrote:
>>
>>>It's always difficult to estimate if there will be a problem. Trying it
>>>out will help a lot. :-) Anyway, given that the latest code hasn't
>>>received much attention on memory consumption, yet, there's a good
>>>chance that your document might not work. Having a lot of RAM (and an

Hey Jeremias, you're way too pessimistic here, in fact I just tried a
document with 120 pages of text, a TOC at the beginning and a table with
99 512x512 images (~200k each) at the end and it worked without a problem.
I've used JDK1.4 (without jvm tuning) and the result I got after 1:15
min was a 20MB PDF.

So if you are using jpeg as image format and PDF as output format FOP
should handle your document (In any case please report back your result ;-)

-- 
Christian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: TTFreader not able to convert barcode font into XML

2006-03-16 Thread Pardha Paruchuri
here is the error msg:     Reading c:\windows\fonts\3of9.ttf...  Number of glyphs in font: 218Unicode cmap table not presentjava.lang.IndexOutOfBoundsException: Index: 0, Size: 0    at java.util.ArrayList.RangeCheck(ArrayList.java:507)    at java.util.ArrayList.get(ArrayList.java:324)    at org.apache.fop.fonts.TTFFile.createCMaps(TTFFile.java:449)    at org.apache.fop.fonts.TTFFile.readFont(TTFFile.java:439)    at org.apache.fop.fonts.apps.TTFReader.loadTTF(TTFReader.java:222)    at org.apache.fop.fonts.apps.TTFReader.main(TTFReader.java:184)     Chris Bowditch <[EMAIL PROTECTED]> wrote:  Pardha Paruchuri wrote:> Hi,> > FOP TTF reader is not able to convert the barcode font into XML metrics > file. It was able to convert other fonts like TIMES and COUR etc.,In addition to the information Clay has already asked for. We are going to need to see the error message you get when you run the TTFReader.Chris-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]
		Yahoo! Travel 
Find  
great deals to the top 10 hottest destinations!

Re: Setting fop 0.91 to know relative path.

2006-03-16 Thread John Wiberg

Thank you. I will try what you suggest.
--
View this message in context: 
http://www.nabble.com/Setting-fop-0.91-to-know-relative-path.-t1288332.html#a3439826
Sent from the FOP - Users forum at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: TTFreader not able to convert barcode font into XML

2006-03-16 Thread Chris Bowditch

Pardha Paruchuri wrote:


Hi,
 
FOP TTF reader is not able to convert the barcode font into XML metrics 
file. It was able to convert other fonts like TIMES and COUR etc.,


In addition to the information Clay has already asked for. We are going 
to need to see the error message you get when you run the TTFReader.


Chris



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: TTFreader not able to convert barcode font into XML

2006-03-16 Thread Pardha Paruchuri
FOP version: 0.20.5     font name: 3of9 barcode(3of9.ttf)     JVM 1.4     Web Maestro Clay <[EMAIL PROTECTED]> wrote:  On Mar 16, 2006, at 8:24 AM, Pardha Paruchuri wrote:> Hi,>> FOP TTF reader is not able to convert the barcode font into XML > metrics file. It was able to convert other fonts like TIMES and > COUR etc.,>> Could you please advise.>> PardhaIn order to help, we'll need more info.What is the FONT name? Is there a URL where it can be downloaded for testing?Which version of FOP (0.20.5? 0.91x? TRUNK?)Which JVM/JRE? (1.3x, 1.4x, 1.5x?)Also, you shouldn't need to create XML metrics files for Times or Courier, as they're in the
 BASE-14[1].[1]http://xmlgraphics.apache.org/fop/0.20.5/fonts.html#Base-14+FontsClay Leeds[EMAIL PROTECTED]My religion is simple. My religion is kindness.-- HH Dalai Lama of Tibet-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]
		 Yahoo! Mail 
Use Photomail to share photos without annoying attachments.

Re: TTFreader not able to convert barcode font into XML

2006-03-16 Thread Web Maestro Clay

On Mar 16, 2006, at 8:24 AM, Pardha Paruchuri wrote:

Hi,

FOP TTF reader is not able to convert the barcode font into XML  
metrics file. It was able to convert other fonts like TIMES and  
COUR etc.,


Could you please advise.

Pardha


In order to help, we'll need more info.

What is the FONT name? Is there a URL where it can be downloaded for  
testing?


Which version of FOP (0.20.5? 0.91x? TRUNK?)

Which JVM/JRE? (1.3x, 1.4x, 1.5x?)

Also, you shouldn't need to create XML metrics files for Times or  
Courier, as they're in the BASE-14[1].


[1]
http://xmlgraphics.apache.org/fop/0.20.5/fonts.html#Base-14+Fonts

Clay Leeds
[EMAIL PROTECTED]

My religion is simple. My religion is kindness.
-- HH Dalai Lama of Tibet




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



TTFreader not able to convert barcode font into XML

2006-03-16 Thread Pardha Paruchuri
Hi,     FOP TTF reader is not able to convert the barcode font into XML metrics file. It was able to convert other fonts like TIMES and COUR etc.,      Could you please advise.     Pardha
		Relax. Yahoo! Mail 
virus scanning helps detect nasty viruses!

Re: fo:region-start, align text at bottom of region

2006-03-16 Thread Johannes Becker

Hi,

the block-container did work!! Me stupid being probably implemented it wrong 
before!


Thanks all
Jonny



From: Chris Bowditch <[EMAIL PROTECTED]>
Reply-To: fop-users@xmlgraphics.apache.org
To: fop-users@xmlgraphics.apache.org
Subject: Re: fo:region-start, align text at bottom of region
Date: Thu, 16 Mar 2006 14:37:38 +

Johannes Becker wrote:


Hi,

sorry, missed youre follow up mail. But unfortunately display-align also 
doesn't work with fop 0.91beta either.


http://xmlgraphics.apache.org/fop/compliance.html


I think the TODO on the compliance page means the current behaviour needs 
to be worked out and the compliance page updated. I don't think it means 
display-align has yet to be implemented! However, I tried display-align on 
the region-start and it had no affect :(


BUT putting the test into a block-container and using display-align on that 
works ok :)




!ny other possibilites, or should I switch to fop 0.25?


No way!

Chris



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



_
Haben Spinnen Ohren? Finden Sie es heraus – mit dem MSN Suche Superquiz via  
http://www.msn-superquiz.de  Jetzt mitmachen und gewinnen!



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: fo:region-start, align text at bottom of region

2006-03-16 Thread Johannes Becker

Hi,

the block-container did work!! Me stupid being probably implemented it wrong 
before!


Thanks all
Jonny



From: Chris Bowditch <[EMAIL PROTECTED]>
Reply-To: fop-users@xmlgraphics.apache.org
To: fop-users@xmlgraphics.apache.org
Subject: Re: fo:region-start, align text at bottom of region
Date: Thu, 16 Mar 2006 14:37:38 +

Johannes Becker wrote:


Hi,

sorry, missed youre follow up mail. But unfortunately display-align also 
doesn't work with fop 0.91beta either.


http://xmlgraphics.apache.org/fop/compliance.html


I think the TODO on the compliance page means the current behaviour needs 
to be worked out and the compliance page updated. I don't think it means 
display-align has yet to be implemented! However, I tried display-align on 
the region-start and it had no affect :(


BUT putting the test into a block-container and using display-align on that 
works ok :)




!ny other possibilites, or should I switch to fop 0.25?


No way!

Chris



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



_
Haben Spinnen Ohren? Finden Sie es heraus – mit dem MSN Suche Superquiz via  
http://www.msn-superquiz.de  Jetzt mitmachen und gewinnen!



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: fo:region-start, align text at bottom of region

2006-03-16 Thread Chris Bowditch

Johannes Becker wrote:


Hi,

sorry, missed youre follow up mail. But unfortunately display-align also 
doesn't work with fop 0.91beta either.


http://xmlgraphics.apache.org/fop/compliance.html


I think the TODO on the compliance page means the current behaviour 
needs to be worked out and the compliance page updated. I don't think it 
means display-align has yet to be implemented! However, I tried 
display-align on the region-start and it had no affect :(


BUT putting the test into a block-container and using display-align on 
that works ok :)




!ny other possibilites, or should I switch to fop 0.25?


No way!

Chris



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: fo:region-start, align text at bottom of region

2006-03-16 Thread Jeremias Maerki
If the compliance page says "partial", it doesn't mean it doesn't work.
It only means there may be some restrictions. In this case, it's
"partial" since there are some open questions about external-graphic and
instream-foreign-object.

Anyway, I've tested my advice and it works. Here's what I put into my FO
file:

  

On 16.03.2006 15:14:42 Johannes Becker wrote:
> Hi,
> 
> sorry, missed youre follow up mail. But unfortunately display-align also 
> doesn't work with fop 0.91beta either.
> 
> http://xmlgraphics.apache.org/fop/compliance.html
> 
> !ny other possibilites, or should I switch to fop 0.25?
> 
> Cheers
> Jonny
> 
> 
> >From: "Johannes Becker" <[EMAIL PROTECTED]>
> >Reply-To: fop-users@xmlgraphics.apache.org
> >To: fop-users@xmlgraphics.apache.org
> >Subject: Re: fo:region-start, align text at bottom of region
> >Date: Thu, 16 Mar 2006 14:09:22 +
> >
> >Hi,
> >
> >thanks for the quick reply. I use fop 0.91beta. Somehow the space-before 
> >doesn't work here in this case.
> >
> >>You can also try a block-container you can use display-align="bottom".
> >There's no "bottom" for display-align !?!?
> >
> >cheers
> >jonny
> >
> >
> >>From: Jeremias Maerki <[EMAIL PROTECTED]>
> >>Reply-To: fop-users@xmlgraphics.apache.org
> >>To: fop-users@xmlgraphics.apache.org
> >>Subject: Re: fo:region-start, align text at bottom of region
> >>Date: Thu, 16 Mar 2006 14:54:12 +0100
> >>
> >>space-before works just fine but only if you use
> >>space-before.conditionality="retain". The space-before gets removed by
> >>default because it starts a reference area.
> >>
> >>You can also try a block-container whose height you set to 100% and then
> >>you can use display-align="bottom".
> >>
> >>HTH
> >>
> >>On 16.03.2006 14:48:08 Johannes Becker wrote:
> >> > Hi,
> >> >
> >> > fop 0.91beta
> >> >
> >> > I have a   area. My aim is to always place my text at 
> >>the
> >> > bottom of this region.
> >> >
> >> > something like this:
> >> >
> >> >   region-before
> >> > ___
> >> > region   region
> >> > start end
> >> >
> >> > body
> >> > my
> >> > text
> >> > here
> >> > on
> >> > bottom
> >> > ___
> >> >   region-after
> >> >
> >> >
> >> > Since the space-before attribute (for a block) doesn't seem to work in 
> >>this
> >> > case:
> >> > Is there a possibility to manage that somehow else?



Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: fo:region-start, align text at bottom of region

2006-03-16 Thread Johannes Becker

Hi,

sorry, missed youre follow up mail. But unfortunately display-align also 
doesn't work with fop 0.91beta either.


http://xmlgraphics.apache.org/fop/compliance.html

!ny other possibilites, or should I switch to fop 0.25?

Cheers
Jonny



From: "Johannes Becker" <[EMAIL PROTECTED]>
Reply-To: fop-users@xmlgraphics.apache.org
To: fop-users@xmlgraphics.apache.org
Subject: Re: fo:region-start, align text at bottom of region
Date: Thu, 16 Mar 2006 14:09:22 +

Hi,

thanks for the quick reply. I use fop 0.91beta. Somehow the space-before 
doesn't work here in this case.



You can also try a block-container you can use display-align="bottom".

There's no "bottom" for display-align !?!?

cheers
jonny



From: Jeremias Maerki <[EMAIL PROTECTED]>
Reply-To: fop-users@xmlgraphics.apache.org
To: fop-users@xmlgraphics.apache.org
Subject: Re: fo:region-start, align text at bottom of region
Date: Thu, 16 Mar 2006 14:54:12 +0100

space-before works just fine but only if you use
space-before.conditionality="retain". The space-before gets removed by
default because it starts a reference area.

You can also try a block-container whose height you set to 100% and then
you can use display-align="bottom".

HTH

On 16.03.2006 14:48:08 Johannes Becker wrote:
> Hi,
>
> fop 0.91beta
>
> I have a   area. My aim is to always place my text at 
the

> bottom of this region.
>
> something like this:
>
>   region-before
> ___
> region   region
> start end
>
> body
> my
> text
> here
> on
> bottom
> ___
>   region-after
>
>
> Since the space-before attribute (for a block) doesn't seem to work in 
this

> case:
> Is there a possibility to manage that somehow else?


Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



_
Sie suchen E-Mails, Dokumente oder Fotos? Die neue MSN Suche Toolbar mit 
Windows-Desktopsuche liefert in sekundenschnelle Ergebnisse. Jetzt neu! 
http://desktop.msn.de/ Jetzt gratis downloaden!



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



_
Die neue MSN Suche Toolbar mit Windows-Desktopsuche. Suchen Sie gleichzeitig 
im Web, Ihren E-Mails und auf Ihrem PC! Jetzt neu! http://desktop.msn.de/ 
Jetzt gratis downloaden!



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: fo:region-start, align text at bottom of region

2006-03-16 Thread Johannes Becker

Hi,

thanks for the quick reply. I use fop 0.91beta. Somehow the space-before 
doesn't work here in this case.



You can also try a block-container you can use display-align="bottom".

There's no "bottom" for display-align !?!?

cheers
jonny



From: Jeremias Maerki <[EMAIL PROTECTED]>
Reply-To: fop-users@xmlgraphics.apache.org
To: fop-users@xmlgraphics.apache.org
Subject: Re: fo:region-start, align text at bottom of region
Date: Thu, 16 Mar 2006 14:54:12 +0100

space-before works just fine but only if you use
space-before.conditionality="retain". The space-before gets removed by
default because it starts a reference area.

You can also try a block-container whose height you set to 100% and then
you can use display-align="bottom".

HTH

On 16.03.2006 14:48:08 Johannes Becker wrote:
> Hi,
>
> fop 0.91beta
>
> I have a   area. My aim is to always place my text at 
the

> bottom of this region.
>
> something like this:
>
>   region-before
> ___
> region   region
> start end
>
> body
> my
> text
> here
> on
> bottom
> ___
>   region-after
>
>
> Since the space-before attribute (for a block) doesn't seem to work in 
this

> case:
> Is there a possibility to manage that somehow else?


Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



_
Sie suchen E-Mails, Dokumente oder Fotos? Die neue MSN Suche Toolbar mit 
Windows-Desktopsuche liefert in sekundenschnelle Ergebnisse. Jetzt neu! 
http://desktop.msn.de/ Jetzt gratis downloaden!



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: fo:region-start, align text at bottom of region

2006-03-16 Thread Jeremias Maerki
Uhm, I shouldn't have sent that so quickly. First, it's
display-align="after" (not "bottom") and you can simply set that on the
region-start and you don't even need the block-container or the
space-before.

On 16.03.2006 14:54:12 Jeremias Maerki wrote:
> space-before works just fine but only if you use
> space-before.conditionality="retain". The space-before gets removed by
> default because it starts a reference area.
> 
> You can also try a block-container whose height you set to 100% and then
> you can use display-align="bottom".
> 
> HTH
> 
> On 16.03.2006 14:48:08 Johannes Becker wrote:
> > Hi,
> > 
> > fop 0.91beta
> > 
> > I have a   area. My aim is to always place my text at the 
> > bottom of this region.
> > 
> > something like this:
> > 
> >   region-before
> > ___
> > region   region
> > start end
> > 
> > body
> > my
> > text
> > here
> > on
> > bottom
> > ___
> >   region-after
> > 
> > 
> > Since the space-before attribute (for a block) doesn't seem to work in this 
> > case:
> > Is there a possibility to manage that somehow else?


Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: fo:region-start, align text at bottom of region

2006-03-16 Thread Jeremias Maerki
space-before works just fine but only if you use
space-before.conditionality="retain". The space-before gets removed by
default because it starts a reference area.

You can also try a block-container whose height you set to 100% and then
you can use display-align="bottom".

HTH

On 16.03.2006 14:48:08 Johannes Becker wrote:
> Hi,
> 
> fop 0.91beta
> 
> I have a   area. My aim is to always place my text at the 
> bottom of this region.
> 
> something like this:
> 
>   region-before
> ___
> region   region
> start end
> 
> body
> my
> text
> here
> on
> bottom
> ___
>   region-after
> 
> 
> Since the space-before attribute (for a block) doesn't seem to work in this 
> case:
> Is there a possibility to manage that somehow else?


Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



fo:region-start, align text at bottom of region

2006-03-16 Thread Johannes Becker

Hi,

fop 0.91beta

I have a   area. My aim is to always place my text at the 
bottom of this region.


something like this:

 region-before
___
region   region
start end

   body
my
text
here
on
bottom
___
 region-after


Since the space-before attribute (for a block) doesn't seem to work in this 
case:

Is there a possibility to manage that somehow else?


Thanks
Jonny

_
Sie suchen E-Mails, Dokumente oder Fotos? Die neue MSN Suche Toolbar mit 
Windows-Desktopsuche liefert in sekundenschnelle Ergebnisse. Jetzt neu! 
http://desktop.msn.de/ Jetzt gratis downloaden!



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Table Borders (was Re: AW: AW: Infinite loop with FOP 0.20.5)

2006-03-16 Thread Chris Bowditch

[EMAIL PROTECTED] wrote:


Hi Chris,

There are no border-collapse attributes inside the FO - I have just checked
it. A Screenshot is attached.


Well in that case, the lack of border-collapse="separate" on fo:table is 
your problem. You should have seen a bunch of Warning messages on stdout 
when you ran FOP. Try adding border-collapse="separate" to all your 
fo:table elements.


Chris



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to set level on fop's (0.91 beta) logger

2006-03-16 Thread Jeremias Maerki

On 16.03.2006 01:08:13 John Wiberg wrote:
> 
> I would like to be able to set the message output level (severe, warning,
> etc.) on the logger fop 0.91 beta is using.
> 
> How is this done?

Does your question mean that the info found in [1] is not helpful enough,
yet?

Anyway, there's no direct possibility in FOP to control the output level
because that is delegated to the logging backend which is used through
the logging abstraction kit (Jakarta Commons Logging). You need to
consult the documentation of the logging backend you're using to set the
right output level.

[1] http://xmlgraphics.apache.org/fop/0.91/embedding.html#basic-logging


> Thanks,
> John
> 
> 
> --
> View this message in context: 
> http://www.nabble.com/How-to-set-level-on-fop%27s-%280.91-beta%29-logger-t1288301.html#a3427344
> Sent from the FOP - Users forum at Nabble.com.

Interesting. Looks like Nabble recently activated posting from their web
interface. Cool.

Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]