RE: dicom images

2003-06-05 Thread Konstantin Priblouda

--- "Koes, Derrick" <[EMAIL PROTECTED]>
wrote:
> 
> Right, as in Digital Imaging and Communications in
> Medicine.
> Yes, I've seen some folks on the JAI-interest list
> (Java Advanced Imaging)
> state they have done exactly that--convert them to
> jpeg on png.

I used to work with DICOM ( video archiving of cardiac
images ) - yes, it's possible to extract those data. 

But there are a *lot* of possible image formats,
and transfer syntaxes...
In  my field it was mostly loseless JPEG - and I have
developed a lot of tools in this field, but not in
java.

And I doubt that there is ready and open source tool
for conversion of loseless JPEG - not very common...

regards,

=
[ Konstantin Pribluda ( ko5tik ) ]
Zu Verstärkung meines Teams suche ich ab Sofort einen
Softwareentwickler[In] für die Festanstellung. 
Arbeitsort: Mainz 
Skills:  Programieren, Kentnisse in OpenSource-Bereich
[ http://www.pribluda.de ]

__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

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



RE: dicom images

2003-06-05 Thread Koes, Derrick

Right, as in Digital Imaging and Communications in Medicine.
Yes, I've seen some folks on the JAI-interest list (Java Advanced Imaging)
state they have done exactly that--convert them to jpeg on png.

Thanks,
Derrick

-Original Message-
From: Konstantin Priblouda [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 05, 2003 11:58 AM
To: [EMAIL PROTECTED]
Subject: Re: dicom images


--- "Koes, Derrick" <[EMAIL PROTECTED]>
wrote:
> 
> Has anyone been able to include dicom images in a
> pdf generated with fo?

You mean DICOM? Medical imaging? Which modality?
I think you will have to extract them and convert
image data to some sane format befire includeing
them into pdf. 

regards,

=
[ Konstantin Pribluda ( ko5tik ) ]
Zu Verstärkung meines Teams suche ich ab Sofort einen
Softwareentwickler[In] für die Festanstellung. 
Arbeitsort: Mainz 
Skills:  Programieren, Kentnisse in OpenSource-Bereich
[ http://www.pribluda.de ]

__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This electronic transmission is strictly confidential to Smith & Nephew and
intended solely for the addressee.  It may contain information which is
covered by legal, professional or other privilege.  If you are not the
intended addressee, or someone authorized by the intended addressee to
receive transmissions on behalf of the addressee, you must not retain,
disclose in any form, copy or take any action in reliance on this
transmission.  If you have received this transmission in error, please
notify the sender as soon as possible and destroy this message.

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



Re: dicom images

2003-06-05 Thread Konstantin Priblouda

--- "Koes, Derrick" <[EMAIL PROTECTED]>
wrote:
> 
> Has anyone been able to include dicom images in a
> pdf generated with fo?

You mean DICOM? Medical imaging? Which modality?
I think you will have to extract them and convert
image data to some sane format befire includeing
them into pdf. 

regards,

=
[ Konstantin Pribluda ( ko5tik ) ]
Zu Verstärkung meines Teams suche ich ab Sofort einen
Softwareentwickler[In] für die Festanstellung. 
Arbeitsort: Mainz 
Skills:  Programieren, Kentnisse in OpenSource-Bereich
[ http://www.pribluda.de ]

__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

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



Re: dicom images

2003-06-05 Thread Jeremias Maerki
Neither JIMI, nor JAI support DICOM out of the box, as far as I know.
So the first task is to find an image library or JAI/ImageIO plug-in
that supports DICOM. The second would be to write an implementation of
the ImageReader interface which can be found in the package
org.apache.fop.image.analyser.

On 05.06.2003 17:14:04 Koes, Derrick wrote:
> Has anyone been able to include dicom images in a pdf generated with fo?


Jeremias Maerki


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



Re: Problem with Batik,Tomcat and FOP

2003-06-05 Thread Jeremias Maerki
Please check these links out:
http://xml.apache.org/fop/faq.html#NoSuchMethodException
http://xml.apache.org/fop/graphics.html#batik

Maybe it's one of these problems.

On 05.06.2003 16:42:02 Amin Schoeib wrote:
> Hi,
> I have a problem when I combine Batik,FOP and Tomcat.
> When I want to produce a PDF (over a servlet) I become the following error:
> 
> java.lang.NoSuchMethodError
>   at org.apache.fop.svg.SVGElement.init(SVGElement.java:205)
>   at org.apache.fop.svg.SVGElement.(SVGElement.java:85)
>   at org.apache.fop.svg.SVGElement$Maker.make(SVGElement.java:62)
>   at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:255)
> 
> What for hell is the cause?? I don't understand why this error happens???
> Hope someone of you guys know a solution for this problem!



Jeremias Maerki


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



dicom images

2003-06-05 Thread Koes, Derrick

Has anyone been able to include dicom images in a pdf generated with fo?




This electronic transmission is strictly confidential to Smith & Nephew and
intended solely for the addressee.  It may contain information which is
covered by legal, professional or other privilege.  If you are not the
intended addressee, or someone authorized by the intended addressee to
receive transmissions on behalf of the addressee, you must not retain,
disclose in any form, copy or take any action in reliance on this
transmission.  If you have received this transmission in error, please
notify the sender as soon as possible and destroy this message.

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



Problem with Batik,Tomcat and FOP

2003-06-05 Thread Amin Schoeib
Title: Problem with Batik,Tomcat and FOP






Hi,

I have a problem when I combine Batik,FOP and Tomcat.

When I want to produce a PDF (over a servlet) I become the following error:


exception 

javax.servlet.ServletException: Servlet execution threw an exception

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)

    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)

    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)

    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)

    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)

    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)

    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)

    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)

    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)

    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)

    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)

    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)

    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)

    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)

    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)

    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)

    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)

    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)

    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)

    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)

    at java.lang.Thread.run(Thread.java:484)

root cause 

java.lang.NoSuchMethodError

    at org.apache.fop.svg.SVGElement.init(SVGElement.java:205)

    at org.apache.fop.svg.SVGElement.(SVGElement.java:85)

    at org.apache.fop.svg.SVGElement$Maker.make(SVGElement.java:62)

    at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:255)

    at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)

    at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)

    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)

    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)

    at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)

    at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)

    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

    at org.apache.fop.apps.Driver.render(Driver.java:457)

    at org.apache.fop.apps.Driver.run(Driver.java:524)

    at berater_sellingsheets.FOtoPDF.convertFO2PDF(FOtoPDF.java:52)

    at beraterfonds_servlets.Sellingkonfigurator.Formatierung(Sellingkonfigurator.java:149)

    at beraterfonds_servlets.Sellingkonfigurator.erzeuge(Sellingkonfigurator.java:97)

    at beraterfonds_servlets.Sellingkonfigurator.doGet(Sellingkonfigurator.java:85)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)

    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)

    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)

    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

    at org.ap

Re: Status of the Postscript Renderer

2003-06-05 Thread Jeremias Maerki
I've tried to track down the problem but I don't have a clue at the
moment. I've added a Bugzilla entry for this so this doesn't get lost:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20506

In the meantime I suggest trying another image format. The image you
sent me off-list would be better suited as EPS or SVG anyway if you ask
me.

On 04.06.2003 14:34:35 Jan Bernhardt wrote:
> I want to use the Postscript renderer for regular report printing.
> Unfortunately there are a few glitches which keep from doing so: JPEGs (at
> least the ones I tried) cause range errors and the Euro sign doesn't print due
> to wrong charset mapping.


Jeremias Maerki


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



RE: True Type Font in ps renderer

2003-06-05 Thread Rob Stote
Title: True Type Font in ps renderer









I will look into this, 

 

one question though how do you use the font in the ps file,  do you embed it in FOP, or somehow embed it
in the ps file afterwards ?

 

Rob

 

-Original Message-
From: Teator, Michael
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 05, 2003 9:03 AM
To: '[EMAIL PROTECTED]'
Subject: RE: True Type Font in ps
renderer

 



We used an application
called "Fontographer" to convert some TrueType fonts to a PostScript
font.





 





Then they should work in
your PostScript files.





 





http://www.macromedia.com/software/fontographer/





 





I'm not sure if there's any
cheaper/opensource solutions, but it wouldn't suprise me if there were.



Michael Teator
[EMAIL PROTECTED]




-Original Message-
From: Rob Stote
[mailto:[EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 7:52 AM
To: '[EMAIL PROTECTED]'
Subject: RE: True Type Font in ps
renderer

Michael:

 

    Sorry I am a bit of a newbie, when it comes to fonts,
type1 etc... what do you mean by this, and how would this be accomplished

 

Rob

 

-Original Message-
From: Teator, Michael
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 05, 2003 8:37 AM
To: '[EMAIL PROTECTED]'
Subject: RE: True Type Font in ps
renderer

 



What about converting the
truetype fonts to postscript type1?





 



Michael Teator
[EMAIL PROTECTED]




-Original Message-
From: Rob Stote
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 04, 2003 5:18 PM
To: [EMAIL PROTECTED]
Subject: True Type Font in ps
renderer

 

Hello: 

    I am trying to render a document that
utilizes "ocraext.ttf" for one line on the document for bill paying.
I was able to add the font into FOP, do the configuration and get it to
work...sort of. When I render in PDF I can see the line in the document in the
correct font, when I render to PS I can not even see the line. After much
reading and searching I have come to discover that ttf is not supported in the
ps renderer. My question(s) are this:

1) has anyone created a work around ? 

2) is there a way,  post processing,  to
"define" the font in the postscript file. Can I "manually"
alter the ps file, before sending it to the printer, that is can I imbed the
definition of the font in the ps file, then alter the file where I need to and
make the line appear in the correct font.  

Currently, I need to stick to PS files because in the
PS document I inject = "statusdict begin 0 setpapertray" to select
the paper tray as there is no way to do this within FOP or the style-sheet. 

3) If I figure out away to print the PDF directly I
will render to PDF, but I have to set a tray command on the document, and I
don't know how to do this for a PDF doc. In addition to this I use some of the
contents of the PS doc to gather metrics (ie number of pages, sent to printer
etc...)

Is there a way to "inject" this command into
a PDF doc. And is there a way to get the page-count of a PDF doc?


Sorry for the long windedness... and the potential
confusion 

Rob 












RE: True Type Font in ps renderer

2003-06-05 Thread Teator, Michael
Title: True Type Font in ps renderer



We used an 
application called "Fontographer" to convert some TrueType fonts to a PostScript 
font.
 
Then they 
should work in your PostScript files.
 
http://www.macromedia.com/software/fontographer/
 
I'm not sure 
if there's any cheaper/opensource solutions, but it wouldn't suprise me if there 
were.
Michael Teator[EMAIL PROTECTED] 

  -Original Message-From: Rob Stote 
  [mailto:[EMAIL PROTECTED]Sent: Thursday, June 05, 2003 7:52 
  AMTo: '[EMAIL PROTECTED]'Subject: RE: True Type 
  Font in ps renderer
  
  Michael:
   
      
  Sorry I am a bit of a newbie, when it comes 
  to fonts, type1 etc... what do you mean by this, and how would this be 
  accomplished
   
  Rob
   
  -Original 
  Message-From: Teator, 
  Michael [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 8:37 
  AMTo: 
  '[EMAIL PROTECTED]'Subject: RE: True Type Font in ps 
  renderer
   
  
  What about 
  converting the truetype fonts to postscript 
  type1?
  
   
  Michael Teator[EMAIL PROTECTED] 
  
  
-Original 
Message-From: Rob 
Stote [mailto:[EMAIL PROTECTED]Sent: Wednesday, June 04, 2003 5:18 
PMTo: 
[EMAIL PROTECTED]Subject: True Type Font in ps 
renderer
 
Hello: 
    
I am trying to 
render a document that utilizes "ocraext.ttf" for one line on the document 
for bill paying. I was able to add the font into FOP, do the configuration 
and get it to work...sort of. When I render in PDF I can see the line in the 
document in the correct font, when I render to PS I can not even see the 
line. After much reading and searching I have come to discover that ttf is 
not supported in the ps renderer. My question(s) are 
this:
1) has anyone created a work around ? 

2) is there a way,  post processing,  to 
"define" the font in the postscript file. Can I "manually" alter the ps 
file, before sending it to the printer, that is can I imbed the definition 
of the font in the ps file, then alter the file where I need to and make the 
line appear in the correct font.  
Currently, I need to stick to PS files because in 
the PS document I inject = "statusdict begin 0 setpapertray" to select the 
paper tray as there is no way to do this within FOP or the style-sheet. 

3) If I figure out away to print the PDF directly I 
will render to PDF, but I have to set a tray command on the document, and I 
don't know how to do this for a PDF doc. In addition to this I use some of 
the contents of the PS doc to gather metrics (ie number of pages, sent to 
printer etc...)
Is there a way to "inject" this command into a PDF 
doc. And is there a way to get the page-count of a PDF doc? 

Sorry for the long windedness... and the potential 
confusion 
Rob 



RE: True Type Font in ps renderer

2003-06-05 Thread Rob Stote
Title: True Type Font in ps renderer









Michael:

 

    Sorry
I am a bit of a newbie, when it comes to fonts, type1
etc... what do you mean by this, and how would this be accomplished

 

Rob

 

-Original Message-
From: Teator, Michael
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 05, 2003 8:37
AM
To: '[EMAIL PROTECTED]'
Subject: RE: True Type Font in ps
renderer

 



What about converting the
truetype fonts to postscript type1?





 



Michael Teator
[EMAIL PROTECTED]




-Original Message-
From: Rob Stote
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 04, 2003
5:18 PM
To: [EMAIL PROTECTED]
Subject: True Type Font in ps
renderer

 

Hello: 

    I am trying to render a document that
utilizes "ocraext.ttf" for one line on the document for bill paying.
I was able to add the font into FOP, do the configuration and get it to
work...sort of. When I render in PDF I can see the line in the document in the
correct font, when I render to PS I can not even see the line. After much
reading and searching I have come to discover that ttf is not supported in the
ps renderer. My question(s) are this:

1) has anyone created a work around ? 

2) is there a way,  post processing,  to
"define" the font in the postscript file. Can I "manually"
alter the ps file, before sending it to the printer, that is can I imbed the
definition of the font in the ps file, then alter the file where I need to and
make the line appear in the correct font.  

Currently, I need to stick to PS files because in the
PS document I inject = "statusdict begin 0 setpapertray" to select
the paper tray as there is no way to do this within FOP or the style-sheet. 

3) If I figure out away to print the PDF directly I
will render to PDF, but I have to set a tray command on the document, and I
don't know how to do this for a PDF doc. In addition to this I use some of the contents
of the PS doc to gather metrics (ie number of pages, sent to printer etc...)

Is there a way to "inject" this command into
a PDF doc. And is there a way to get the page-count of a PDF doc?


Sorry for the long windedness... and the potential confusion


Rob 










RE: True Type Font in ps renderer

2003-06-05 Thread Teator, Michael
Title: True Type Font in ps renderer



What about 
converting the truetype fonts to postscript type1?
 
Michael Teator[EMAIL PROTECTED] 

  -Original Message-From: Rob Stote 
  [mailto:[EMAIL PROTECTED]Sent: Wednesday, June 04, 2003 
  5:18 PMTo: [EMAIL PROTECTED]Subject: True Type 
  Font in ps renderer
  Hello: 
      I am trying to 
  render a document that utilizes "ocraext.ttf" for one line on the document for 
  bill paying. I was able to add the font into FOP, do the configuration and get 
  it to work...sort of. When I render in PDF I can see the line in the document 
  in the correct font, when I render to PS I can not even see the line. After 
  much reading and searching I have come to discover that ttf is not supported 
  in the ps renderer. My question(s) are this:
  1) has anyone created a work around ? 
  2) is there a way,  post processing,  to "define" 
  the font in the postscript file. Can I "manually" alter the ps file, before 
  sending it to the printer, that is can I imbed the definition of the font in 
  the ps file, then alter the file where I need to and make the line appear in 
  the correct font.  
  Currently, I need to stick to PS files because in the PS 
  document I inject = "statusdict begin 0 setpapertray" to select the paper tray 
  as there is no way to do this within FOP or the style-sheet. 
  3) If I figure out away to print the PDF directly I will 
  render to PDF, but I have to set a tray command on the document, and I don't 
  know how to do this for a PDF doc. In addition to this I use some of the 
  contents of the PS doc to gather metrics (ie number of pages, sent to printer 
  etc...)
  Is there a way to "inject" this command into a PDF doc. And is 
  there a way to get the page-count of a PDF doc? 
  Sorry for the long windedness... and the potential 
  confusion 
  Rob 


RE: line break

2003-06-05 Thread Torsten Erler
Use

mailto:[EMAIL PROTECTED]
Sent: Donnerstag, 5. Juni 2003 12:44
To: [EMAIL PROTECTED]
Subject: line break


Hello.

  I have a xml:
...
 My name is Francisco
I live in Madrid 
 .

  and i use that with FOP:

 

 

  and i get in the Pdf document:

 My name is Francisco I live In Madrid

  and I would like to get the next:

My name is Francisco
I live in Madrid

  I use FOP 0.20.4

Thank you.

Francisco.





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



RE: Wrapping string (without spaces)...

2003-06-05 Thread Jamie Stillman
You can also use   area that
requires automatic wrapping .  Choose the language of your choice
as specified by RFC3066.

- Jamie

-Original Message-
From: Roland Neilands [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 04, 2003 6:02 PM
To: [EMAIL PROTECTED]
Subject: RE: Wrapping string (without spaces)...


> How can i wrap a string(which has no spaces) inside a cell.
> Example, if i have string SanFrancisco. But the cell accommodate
> only 5 letter width. Then it has to wrap the word as 
> 
> SanFr
> ancisco

Inserting zero width spaces at the right spot will trigger wrapping.
Search the archives of FOP user & XSL lists for "zero width space", it's a
FAQ.
http://xml.apache.org/fop/maillist.html

Cheers,
Roland


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



line break

2003-06-05 Thread Francisco García



Hello.
 
  I have a xml:
...
 My name 
is Francisco
    
I 
live in Madrid 

 .
 
  and i use that with 
FOP:
 

 

 >
 
  and i get in the Pdf document:
 
 My name is Francisco I 
live In Madrid
 
  and I would like to get the next:
 
    My name is Francisco
I live in Madrid
 
  I use FOP 0.20.4
 
Thank you. 
 
Francisco.
 
 
 


Re: space between table-rows

2003-06-05 Thread Francisco García
I use the space-after property in each cell of the row:


 
   Registro
 

  Municipio
 




I don´t know if there is a better option.

- Original Message -
From: "Peter Menzel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 05, 2003 11:33 AM
Subject: space between table-rows


> Hi
>
> How can I force a space between the rows of a table in fop 0.20.4 ?
>  does not work..
>
> Greetings, Peter
> --
>
> -
> 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]



space between table-rows

2003-06-05 Thread Peter Menzel
Hi

How can I force a space between the rows of a table in fop 0.20.4 ?
 does not work..

Greetings, Peter
-- 

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



RE: can I use ?

2003-06-05 Thread Torsten Erler
move table header out of the body:



 

 


 

 


cu Torsten
-Original Message-
From: Francisco García [mailto:[EMAIL PROTECTED]
Sent: Donnerstag, 5. Juni 2003 10:44
To: [EMAIL PROTECTED]
Subject: can I use ?


Hello.

I use  in a table, but i get:

Error: org.apache.fop.apps.FOPException: Currently only Table Rows are
supported in table body, header and footer

My code is:


 

 Registro
  

Municipio



I have FOP 0.20.4
Thanks.
Francisco.


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



R: can I use ?

2003-06-05 Thread Roberto Bonsignori
I use it as:



  

 Registro


Municipio

  


... table rows ...



-Messaggio originale-
Da: Francisco García [mailto:[EMAIL PROTECTED]
Inviato: giovedì 5 giugno 2003 10.44
A: [EMAIL PROTECTED]
Oggetto: can I use ?


Hello.

I use  in a table, but i get:

Error: org.apache.fop.apps.FOPException: Currently only Table Rows are
supported in table body, header and footer

My code is:


 

 Registro
  

Municipio



I have FOP 0.20.4
Thanks.
Francisco.


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



can I use ?

2003-06-05 Thread Francisco García



Hello.
 
I use  in a table, but i 
get:
 
Error: org.apache.fop.apps.FOPException: Currently only Table Rows 
are supported in table body, header and footer 
 
My code is: 
 

 
    
        
 Registrofo:block>
  fo:table-cell>

    Municipiofo:block>
fo:table-cell>
fo:table-row> 
fo:table-header>

I have FOP 
0.20.4
Thanks.
Francisco.


Re: Running FOP from Java

2003-06-05 Thread Jeremias Maerki
Look at createPreviewDialog(): There's a WindowListener being added that
performs System.exit(0). You need to change that, obviously.

On 04.06.2003 17:29:09 Christoph Strehl wrote:
> That example works fine for me ... except this little thing :
> My own application exits if I close the AWT Viewer which it isn't supposed
> to. Is it to possible to change that without having to modify the FOP-lib?


Jeremias Maerki


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



Re: FOP and user load?

2003-06-05 Thread Jeremias Maerki
That really depends on a lot of things:
- how you implement it (maybe some PDF can be cached and reused)
- what hardware you run it on
- the complexity of your stylesheets (forward references, tables etc)
- etc etc.

You might want to use a load-testing tool figure that out. JMeter might
be an idea: http://jakarta.apache.org/jmeter/

On 05.06.2003 00:30:44 Phillip Rhodes wrote:
> I am trying to figure out how many users can simultaneously generate a PDF 
> document with FOP.
> 
> Average document is 20 pages long, with 20 images that are generated via 
> servlet.
> 
> Can anyone give me some ball park numbers or ideas on how to figure this 
> out?  How should I factor in available CPU and memory into the equation?


Jeremias Maerki


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



Re: PDF form fields with FOP or other way

2003-06-05 Thread Jeremias Maerki
Jörg recently answered that: 
http://marc.theaimsgroup.com/?t=10528467403&r=1&w=2

I don't think you can expect that feature in the near future. Search the
mailing list archives. There have been discussions about that in the
past. Maybe they provide some additional insight.

On 04.06.2003 23:23:39 Michael Schlottmann wrote:
> I am looking for a way to insert text form fields or radio buttons into
> a PDF file.
> The PDF document is generated with FOP.
> I think with the actual version of FOP (0.20.5), form elements cannot
> be inserted, can't they? Will this feature be present in a near future
> version of FOP?
> 
> Otherwise can someone please tell me, how I can insert such form
> elements into a PDF file.


Jeremias Maerki


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



Re: True Type Font in ps renderer

2003-06-05 Thread Jeremias Maerki

On 04.06.2003 23:17:37 Rob Stote wrote:
>   I am trying to render a document that utilizes "ocraext.ttf" for one
> line on the document for bill paying. I was able to add the font into FOP,
> do the configuration and get it to work...sort of. When I render in PDF I
> can see the line in the document in the correct font, when I render to PS I
> can not even see the line. After much reading and searching I have come to
> discover that ttf is not supported in the ps renderer.

That's correct.

> My question(s) are this:
> 
> 1) has anyone created a work around ?

Not to my knowledge. I've made a time estimation on this for someone
recently, but they didn't want to pursue.

If the work-around below doesn't work for you, you have several options:
- This is OpenSource, you can do it yourself.
- This is OpenSource, you can wait until someone has free time and thinks
  this is fun to implement.
- You can find/hire someone to do it for you.

> 2) is there a way,  post processing,  to "define" the font in the postscript
> file. Can I "manually" alter the ps file, before sending it to the printer,
> that is can I imbed the definition of the font in the ps file, then alter
> the file where I need to and make the line appear in the correct font.  
> Currently, I need to stick to PS files because in the PS document I inject =
> "statusdict begin 0 setpapertray" to select the paper tray as there is no
> way to do this within FOP or the style-sheet. 

What you want to do is not so simple. You could just as well implement
TrueType support in the PostScript renderer.

The obvious work-around is to use the PDF renderer and use GhostScript
to do a PDF to PS conversion. Works fine, but will result in a
performance penalty (around 40-50% additional time per document). 

> 3) If I figure out away to print the PDF directly I will render to PDF, but
> I have to set a tray command on the document, and I don't know how to do
> this for a PDF doc. In addition to this I use some of the contents of the PS
> doc to gather metrics (ie number of pages, sent to printer etc...)
> Is there a way to "inject" this command into a PDF doc. And is there a way
> to get the page-count of a PDF doc?

There's no standard way to embed information like paper tray into a PDF
document. An embedded or associated jobticket might provide a solution
but that always depends on your printer. After all, your printer needs
to have a PDF RIP in the first place.

The page count of a PDF doc can easily be determined by using a
third-party PDF post-processing tool like iText.
http://xml.apache.org/fop/resources.html#products-pdf

Also, FOP gives information about the number of pages rendered as
described here: http://xml.apache.org/fop/embedding.html#render-info

> Sorry for the long windedness... and the potential confusion

No confusion, I know exactly what you're talking about. I have gone
through it all. :-)

Having written all that I went over it again and reread your first
paragraph and I got an idea: Install that OCRA font on your machine and
use SVG to write that single line of text. Make sure you have
strokeSVGText set to true. I haven't tested this here but maybe, maybe
it could work. Background: Batik will convert the text to shapes which
get painted in the PostScript file. No font support needed. Maybe. Good
luck.

Jeremias Maerki


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



Re: Eps image error : For input string: ""

2003-06-05 Thread Jeremias Maerki
There's probably something strange with your EPS file. If you run again
with the -d option on the command line you get a full stacktrace which
should give us more information what exactly is wrong because I can't
find the "For input string" error message anywhere in the code. You can
also send me (off-list) your EPS and I'll have a look at it.

On 04.06.2003 22:42:28 David Mann wrote:
> Using fop-0.20.5rc3a (j2sdk1.4.1_02/windows 2000), I am getting the
> following error message processing to pdf:
> 
> [fop] [ERROR] Error while creating area : Error while recovering Image
> Informations (file:/E:/test/images/SystemContext.eps) : For input string: ""
> 
> Using alternative formats works fine, and the eps file renders correctly in
> GSView. Any hints (ie. For string: "" ) greatly appreciated.


Jeremias Maerki


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



Re: Status of the Postscript Renderer

2003-06-05 Thread Jeremias Maerki
Can you post a little (!) JPEG image that's causing you trouble (or send
it to me off-list)? I've just checked with every special JPEG image I
have available here and haven't seen any problems. All show fine in
GhostView.

On 04.06.2003 18:37:28 Jan Bernhardt wrote:
> > The problem with JPEG images could be related to the fact that it's
> > the only feature that uses PostScript Level 3 code which may not be
> > available on your printer. Does it work when you open the PostScript
> > file in GhostView?
> 
> No, it does not work either. And I'm pretty sure that the printer is
> Level 3 capable, but I'm gonna recheck this.


Jeremias Maerki


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