RE: FOP internet explorer

2002-01-28 Thread Raúl Carazo



 Well. I don't know if I 
understand it but I can produce pdf reports with IE 5.0 and Adobe Acrobat 5.0 
(in Adobe Acrobat 4.0 it works, but sometimes fail).

 I call a servlet that create pdf 
and show it on the browser... just it.

 Anyway, initialy I had some 
problems, but I solved it (I don't have an answer. I can show how I do 
it...)

 Salve

 Raúl

  - Original Message - 
  From: 
  Romani 
  Mauro 
  To: FOP mailing 
  list (E-mail) 
  Sent: Monday, January 28, 2002 12:58 
  PM
  Subject: FOP  internet 
explorer
  
  We would like 
  definitly resolve the neverending problem about Internet explorer and pdf 
  files.
  
  Cocoon version 
  1.8.2
  Tomcat version 
  3.2.1
  
  In our application 
  the XML files are created by anCOCOON XMLproducer 
  and 
  transformed using a xslfo stylesheet.
  
  As you 
  know,everything works fine in Netscapewhile in Internet Explorer 
  there are some problems.
  It seems IE 
  doesn't consider so much the document content type.
  
  The producer is 
  invoked in this way:
  
  http://w2k5500/prod/comune/dummy.xml?producer=CIExslfile=tryme.xsl
  note that 
  dummy.xml doesn't exist but the producer need it to start.
  
  I think the 
  problem could be resolved calling the producer in this way
  
  
  http://w2k5500/prod/comune/dummy.pdf?producer=CIExslfile=tryme.xsl
  but explorer send me a http error 404 - File not 
  found
  
  Is there a 
  configuration parameter that enable me to call a producer in this 
  way?
  
  
  
  
  


Printing properties...

2002-01-14 Thread Raúl Carazo

Can I set any printing property on my pdf-report? And how it affect to
the printing of it?

For example, can I set the border of the sheet, and can I force to the
printer not to modify it???

   Thanks a lot!

Salve


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




PS printing

2002-01-14 Thread Raúl Carazo



 I'd like to generate a PS file 
(or much better, to send it to the printer)and not a pdf report. I use the 
RENDER_PS, but the format seem to bo incorrect... Do I have to transform it 
??

 Thank you


Siete 
buoni, se potete


RE: PS printing

2002-01-14 Thread Raúl Carazo

I have an application that generate a pdf report. But if I change
RENDER_PDF with RENDER_PS, the PS file is not correct... I think if I can
generate a PS file, it's because it's possible to generate PS files, so I
hope to see them...
Where can I know if it is possible? Anyone has tried to create a PS file
directly for printing it?

Salve

- Original Message -
From: Jeremias Maerki [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 14, 2002 1:07 PM
Subject: Re: PS printing


What exactly do you think is incorrect? It can very well be, that the
PostScript renderer does not work well on every occasion, a lot of
features are still missing.

On Mon, 14 Jan 2002 11:49:32 +0100 Raúl Carazo wrote:
 I'd like to generate a PS file (or much better, to send it to the
 printer) and not a pdf report. I use the RENDER_PS, but the format seem
 to bo incorrect... Do I have to transform it ??

Cheers,
Jeremias Märki

mailto:[EMAIL PROTECTED]

OUTLINE AG
Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Fon +41 (41) 317 2020 - Fax +41 (41) 317 2029
Internet http://www.outline.ch


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


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




RE: PS printing

2002-01-14 Thread Raúl Carazo

Excuse me...

I'm using xsl with tables, stylesheet and an image. But what I can't see
is the data.

The PDF I generate is correct, but is not a file, but a data-flow to the
browser. I can see it and print it correctly (even if I want to save it, I
can. But this isn't the idea).

But if I change it for RENDER_PS and I make the file (or I send it to
the printer), I can't print it (the format is not correct), and if I
transform it in a PDF (with Acrobat Distiller), the image is correctly set
and some of the characters (lines, even an underline) are correct.

Where can I found the files for past e-mails?

And thank you very much!!

Salve



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




Printing a PDF Report

2002-01-10 Thread Raúl Carazo



 I have a pdf report on a frame 
of a jsp-page, and I want to print it BUT calling from the jsp where the report 
is, not waiting the user call it...
 
 Any idea...?

 Thx a lot

 Salve

Siete 
buoni, se potete


Numbre of pages

2002-01-10 Thread Raúl Carazo



Is it possible to know the numbre of pages of a 
document before showing it (after renderring, but without showing it on the web 
browser...)?


Siete 
buoni, se potete


RE: How to rotate text 90 degrees using fop, please help me???

2002-01-09 Thread Raúl Carazo

In fact, I'm using Fop 0.20.1 and reference-orientation or direction are
not implemented (yet, they say!!)

Well, I am also looking for an answer, but unluckily. If someone
discover something, make me know...

Salve

- Original Message -
From: Alex McLintock [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 09, 2002 5:24 PM
Subject: Re: How to rotate text 90 degrees using fop, please help me???


 --- Manuel Moons [EMAIL PROTECTED] wrote:
  Does anyone know how I can rotate text 90 degrees, so that it appears
  vertically.  I have used reference-orientation but this is not supported
by
  fop.  I also tried embedding SVG but this also was refused by fop, both
  worked fine in Antenna XSL-formatter though.
 

 You need to be a bit more specific. Do you need the letters to appear the
right way up but
 immediately below one another or should the letters be on their side. If
the latter should they go
 down the page or up the page?

 I have had this working fine by using SVG text. (I was using it for the
axes of an SVG chart)
 but this was six months ago.

 I remember looking into this and seeing that the relevant XSL:FO
functionality wasn't implemented
 in FOP but this was a long time ago.

 Alex


 =
 Alex McLintock[EMAIL PROTECTED]Open Source Consultancy in London
 OpenWeb Analysts Ltd, http://www.OWAL.co.uk/
 ---
 SF and Computing Book News and Reviews: http://news.diversebooks.com/
 Get Your XML T-Shirt t-shirt/ at http://www.inversity.co.uk/
 COMPETITION : http://news.diversebooks.com/article.pl?sid=01/10/08/1947255

 __
 Do You Yahoo!?
 Everything you'll ever need on one web page
 from News and Sport to Email and Music Charts
 http://uk.my.yahoo.com

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


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




Concat

2002-01-09 Thread Raúl Carazo



Is there a function like concat for Strings. 


 I have a param in the xml file 
(the path of a directory) and the name in the XSL file, so I want to create a 
full path with the path of the directory and the name of the file. 

 Any Idea??

 Salve


Siete 
buoni, se potete


RE: Concat

2002-01-09 Thread Raúl Carazo

Well. Thank you. Any way, I 've found another way I can use...
{$variableName}imageName.

Salve

- Original Message -
From: Michiel Verhoef [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 10, 2002 8:23 AM
Subject: RE: Concat


Yep, the function is called concat.

simply call :

concat (string1, string2, ... , stringn)

You can mix variables, strings etc.

BTW: this is an XSLT thiing rather than XSLFO.

For more information on concat and other XSLT functions:
http://www.zvon.org/xxl/XSLTreference/Output/index.html

HTH,

Michiel


-Original Message-
From: Raúl Carazo [mailto:[EMAIL PROTECTED]]
Sent: woensdag 9 januari 2002 17:53
To: FOP
Subject: Concat


Is there a function like concat for Strings.

I have a param in the xml file (the path of a directory) and the name in
the XSL file, so I want to create a full path with the path of the directory
and the name of the file.

Any Idea??

Salve





Siete buoni, se potete

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


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




RE: Fonts

2002-01-08 Thread Raúl Carazo

At the end, I use the fonts, but only if I set them on the weblogic dir. Is
it necessary, or I can set in in the server dir?

I hope this is the last question...!

Thx


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




RE: Fonts

2001-12-27 Thread Raúl Carazo

But I'm using it from a servlet. And I do call to the userconfig file. This
file contains a line like this:
font metrics-file=complete Path for the verdana.xml file kerning=yes
embed-file=
   font-triplet name=Verdana style=normal weight=normal/
  /font


- Original Message -
From: Buchtík, Michal [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 27, 2001 10:26 AM
Subject: RE: Fonts


You must run

Fop -c conf/userconfig.xml

in userconfig.xml you must define Verdana font

see http://xml.apache.org/fop/fonts.html

-Original Message-
From: Raúl Carazo [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 26, 2001 4:47 PM
To: FOP
Subject: Fonts


Hi everyone upthere

I'm trying to change the fonts in a pdf report. I have made the
xml-report and I have its xsl file for formatting it on this way:

?xml version=1.0?
xsl:stylesheet version=1.0
xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
xmlns:fo=http://www.w3.org/1999/XSL/Format;
xsl:attribute-set name=styleParam
xsl:attribute name=font-size10pt/xsl:attribute
xsl:attribute name=font-familyVerdana/xsl:attribute
xsl:attribute name=font-style/
/xsl:attribute-set
/xsl:stylesheet
But I can't change the font (it appears as TimesNewRoman!!).

Where is my mistake (obviously, it HAS to be a mistake... I hope!)


Thx

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


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




RE: Fonts

2001-12-27 Thread Raúl Carazo

Thanks to all of you, really!!

But I'm not using the example. In fact, if I try to use it, everything
works, but when I move it to my servlet...
It's really strange, because if I set any font, it appears with Times New
Roman (the default one), but if I don't set it, it appears with Arial!!!

Anyway, thank you!

Salve

P.S. I send you the right xsl:

xsl:attribute-set name=style
  xsl:attribute name=font-size10pt/xsl:attribute
/xsl:attribute-set

With this style, the font is Arial

If I set this one:

xsl:attribute-set name=style
  xsl:attribute name=font-size10pt/xsl:attribute
  xsl:attribute name=font-familyVerdana/xsl:attribute
  xsl:attribute name=font-style/
/xsl:attribute-set

(with Verdana or any other font), the font is Times New Roman.

And if I set:

xsl:attribute-set name=style
  xsl:attribute name=font-size10pt/xsl:attribute
  xsl:attribute name=font-familyVerdana/xsl:attribute
/xsl:attribute-set

there is an exception.


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




Fonts

2001-12-26 Thread Raúl Carazo



Hi everyone upthere

 I'm trying to change the fonts 
in a pdf report. I have made the xml-report and I have its xsl file for 
formatting it on this way:

?xml version="1.0"?
xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format"
xsl:attribute-set name="styleParam"
xsl:attribute name="font-size"10pt/xsl:attribute
xsl:attribute name="font-family""Verdana"/xsl:attribute
xsl:attribute name="font-style"/
/xsl:attribute-set
/xsl:stylesheet
But I can't change the font (it 
appears as TimesNewRoman!!).

 Where is my mistake 
(obviously, it HAS to be a mistake... I hope!)


 
Thx


RE: Website/design

2001-12-17 Thread Raúl Carazo

Maybe it's a silly question, but

where is the website?

Thx

- Original Message -
From: Keiron Liddle [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 17, 2001 12:57 PM
Subject: Website/design


 Hi All,

 I have updated the website and added the design docs.

 The design is not complete, it is only a start.

 Hopefully that was time well spent and will be a start to getting more
 information to users and developers (and casual observers).

 Without SLBR there is always more to do and anyone who can write
qualifies.

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


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




A simple question: Hot to close acrobat??????????????????

2001-12-12 Thread Raúl Carazo



 It's not for this place, but... 


 When I open a pdf-report on a IE 
I see it. OK. 

 But when I close the IE, there 
is an acrobat.exe process still open...

 Any idea?

 thx


PDF Reports

2001-12-07 Thread Raúl Carazo



 I've seen the messages from 
november about it, and I tryied to make something like it, but I'va got 
two problems...

 This is my adaptation to the 
solution from Yuri Shkuro

// ---// 1. 
Get a Source for XML 
document//---XSLTInputHandler 
inputHandler = new XSLTInputHandler(fileXML, fileXSL);
XMLReader parser = parser = inputHandler.getParser();

// ---// 3. Create FOP driver and set 
rendering mode and output stream// 
---objPfResponse.setContentType("application/pdf");Driver 
driver =new Driver(inputHandler.getInputSource(), 
objPfResponse.getOutputStream());
driver.setRenderer(driver.RENDER_PDF);driver.setXMLReader(parser);driver.render(parser, 
inputHandler.getInputSource());driver.run();

 My first problem is: I can't see 
the pdf report, but if I try to save it, the file is correctand I can see 
it. Anyway, the name is set is a *.html, not a *.pdf (though it is saving as an 
Adobe Application File...).

 And the second one is that I see 
an FOPException like this:

using SAX parser 
org.apache.xerces.parsers.SAXParser building formatting 
object tree setting up fonts 
[1] Parsing of document complete, stopping 
renderer Initial heap size: 97331Kb 
Current heap size: 97265Kb Total memory used: 
-66Kb  Memory use is indicative; no GC was 
performed  These figures should not be used 
comparatively Total time used: 359ms 
Pages rendererd: 1 Avg render time: 
359ms/page org.apache.fop.apps.FOPException: InputSource 
is not set. at 
org.apache.fop.apps.Driver.run(Driver.java:496)

But everything is ok, because the file is 
well-formed adn I can see it (after saving it, of course).

Thaks a lot

Raúl Carazo


Problems with seeing pdf-files in IE 5.0

2001-12-07 Thread Raúl Carazo



 I'm trying to see a pdf-report, 
created dinamically with an XML-XSL process. But if I try to see it with an IE 
5.0, I see just a blank page with an icon. If I try it with an IE 5.5, I can see 
it with no problem.

 Why is it? And there is a 
solution, because I cannot change the browser to 5.5?

 thx

 Raul 
Carazo