Antwort: XML parser question

2001-10-15 Thread joerg . pietschmann
Willie Wu wrote: > Is it possible to configure FOP to use a XML parser other than Xerces? In > my existing app, I'm already using Crimson, which I want to reuse for FOP. Yes, it is possible. It's a little bit arcane, though: you'll have to set the javax.xml.parsers.SAXParserFactory service to th

AW: Embedding fop in IE..Help!!!

2001-10-15 Thread Beer, Christian
What you do is printing CHARACTER data!! Try this: OutputStream os = response.getOutputStream(); os.write(); os.close(); Cheers Christian -Ursprüngliche Nachricht- Von: Rajagopal. V [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 15. Oktober 2001 20:49 An: [EMAIL PROTECTED] Betref

Antwort: page numbering problem...

2001-10-15 Thread joerg . pietschmann
Hi wali, >I creat a PDF document which have reports for different customers. One >document can contain many reports. Now I want to mark the pages for reports >individually. i.e. ... >Every new report starts at new page. and every report can consist of >different number of pages. Create a page s

Re: [Bug 4171] New: - white-space-collapse="false" does not work

2001-10-15 Thread Christopher R. Maden
At 10:25 15-10-2001, [EMAIL PROTECTED] wrote: >When I create a FO document with > I see that in my final document I can get two spaces to separate >certain items. But when I change the document to a xsl stylesheet with FO I >stops working. No - it's working correctly, but there's a point about X

XML parser question

2001-10-15 Thread Willie Vu
Is it possible to configure FOP to use a XML parser other than Xerces? In my existing app, I'm already using Crimson, which I want to reuse for FOP. Thanks. _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com

page numbering problem...

2001-10-15 Thread wali
Hi every one! Folks i'm stuck into a problemI hope you guys can help me out... I creat a PDF document which have reports for different customers. One document can contain many reports. Now I want to mark the pages for reports individually. i.e. The whole document might have 30 pages. But I d

Calling FOP with strings rather than filenames

2001-10-15 Thread Robert Kaufman
In the embedding example at xml.apache.org: 1) Driver driver = new Driver(); 2) driver.setRenderer(Driver.RENDER_PDF); 3) InputHandler inputHandler = new XSLTInputHandler(xmlFile, xslFile); 4) XMLReader parser = inputHandler.getParser(); 5) driver.setOutputStream(new FileOutputStream(outFile)); 6

RE: How to embed FOP-0.18 in Cocoon 1.8?

2001-10-15 Thread Dianliang Zhu
Sorry, you should also modify Formatter interface (org.apache.cocoon.formatter.Formatter). source code attached. Regards, Dianliang -Original Message- From: Dianliang Zhu [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 16, 2001 2:30 PM To: '[EMAIL PROTECTED]' Subject: RE: How to embed

RE: How to embed FOP-0.18 in Cocoon 1.8?

2001-10-15 Thread Dianliang Zhu
Hi, you need to modify both Engine (org.apache.cocoon.Engine) and FO2PDFFormatter (org.apache.cocoon.formatter.FO2PDFFormatter) classes. I have already modified them (see the source code attached), hope it can be a little contribution to some cocoon developers. I'm also wondering if someone ha

How to embed FOP-0.18 in Cocoon 1.8?

2001-10-15 Thread sudhakar s sankar
Hai, i am new to FOP. now, i am using the Cocoon 1.8 build to use the FOP. here, the version of FOP is 0.13. How can i upgrade my FOP 0.13 to FOP 0.18. Please help me Thanks in Advance With Regards Sudhakar Sankar ---

Re: Fop crashes when using too many id's ??????

2001-10-15 Thread Trevor_Campbell
Thanks for the info. I am now able to work around the problem by moving the id to the first on the table row. Now works great, just need to find a way to print large reports ( > 100 pages) in reasonable amounts of memory.

RE: dpi

2001-10-15 Thread Jim Wright
If you're printing a background color (not graphic), the resolution of your printer is irrelevant. By the way, most printers will lay down flat color areas by mixing CMYK (or in some cases, just CMY) as dictated by your color, and interpreted through the OS and your printer software. So, no sweat

RE: dpi

2001-10-15 Thread panos
Thanks. What about background colours which do not use svg? So if you do Extensible Markup Language (XML) 1.0 does the blue colour also print at the printer resolution? -Original Message- From: Jim Wright [mailto:[EMAIL PROTECTED]] Sent: Monday, October 15, 2001

RE: dpi

2001-10-15 Thread Jim Wright
Change it with what? I assume you mean graphics... A pdf will display to the resolution of your printer. Gifs, pngs and the like often default to 72 dpi, but you can work around this by making the graphic bigger than it needs to be, then scaling it down within the appropriate block (just make sur

dpi

2001-10-15 Thread panos
Is it possible to change the default dpi from 72 to 600 (say)? Thanks, --Panos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Re: fo:block

2001-10-15 Thread jthaemlitz
I'm not sure what you mean by row either, but you could use inline instead of block. First textSecond text this way you don't start Second text on a new line (if new line is what you meant by row). JohnPT

RE: block

2001-10-15 Thread Scott Moore
Try using instead of . You can have several in the same parent, which could be on the same line. First text Second text This way you could define different properties for each Scott -Original Message- From: Pablo Iaria [mailto:[EMAIL PROTECTED]] Sent: Monday, October 15, 200

Re: fo:block

2001-10-15 Thread Karen Lease
Hi Pablo, I'm not sure what you mean by "row". If you mean a line of text, the answer is no, at least not like that. You can try using a leader between the text, replacing the leader-length value with what you want. First textSecond text Or using a table row with several cells and put each of y

Re: fo:block

2001-10-15 Thread Carmelo Montanez
I had not try this, but how about using a table?, then you can put each block in the same table. Greetings Carmelo - Original Message - From: "Pablo Iaria" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 15, 2001 3:03 PM Subject: fo:block > Hi all, > How can I do

Re: Table Headings

2001-10-15 Thread Karen Lease
Try using "points" (pt). 1pt is 1/72 inch. You can use 0.5 pt for example. -Karen Scott Moore wrote: > > You're right. I misunderstood your message. Even with a > border-width="1px", the border seem kinda large. Is there a way to specify > a smaller width for the gridline? > > Scott > > --

Re: Embedding fop in IE..Help!!!

2001-10-15 Thread Rajagopal. V
Hi Thanks, I did that and it worked. -Raj --- Kuehnberger <[EMAIL PROTECTED]> wrote: > Hi, > > I had the same problem: > > For me it worked to change the name of the servlet > (let's say report to > report.pdf) > For outputting I use the function: > > public void renderFO( Document doc, > H

RE: Embedding fop in IE..Help!!!

2001-10-15 Thread Rajagopal. V
Hi Infact, i use a taglib to do the PDF Rendition, I have a library written for generating PDFs and it takes the Format as an attribute like or And in the taglib, i use it like pageContext.getOut().print(bytearrayoutputstream); IF it is a problem with spaces, I guess Netscape should also not

fo:block

2001-10-15 Thread Pablo Iaria
Hi all, How can I do to have several blocks in the same row ? Example: Suposse I have: First text Second text And I want to get "First text" and "second text" in the same row. Thanks in advance, Pablo.-

RE: Table Headings

2001-10-15 Thread Scott Moore
You're right. I misunderstood your message. Even with a border-width="1px", the border seem kinda large. Is there a way to specify a smaller width for the gridline? Scott -Original Message- From: Shkuro, Yuri [mailto:[EMAIL PROTECTED]] Sent: Monday, October 15, 2001 2:56 PM To: '[EMAI

Re: Embedding fop in IE..Help!!!

2001-10-15 Thread Kuehnberger
Hi, I had the same problem: For me it worked to change the name of the servlet (let's say report to report.pdf) For outputting I use the function: public void renderFO( Document doc, HttpServletResponse response,HttpServletRequest request ) throws Exception { // Create the PDF. ByteArra

RE: Embedding fop in IE..Help!!!

2001-10-15 Thread Shkuro, Yuri
I used JSP to stream out PDF files successfully. What may be happenning in your case is that the whitespace between <%!%> <%%> is written to the output stream before you start writing the PDF content. Try calling clearBuffer() on the output stream first. YS -Original Message- From: Raja

RE: Table Headings

2001-10-15 Thread Shkuro, Yuri
I do have cells like that - some have only one line of text, some have two or more. Since the border is for the cell, not the inside the cell, it works fine. YS -Original Message- From: Scott Moore [mailto:[EMAIL PROTECTED]] Sent: Monday, October 15, 2001 2:49 PM To: '[EMAIL PROTECTED]

RE: Table Headings

2001-10-15 Thread Scott Moore
Have one of the cells wrap text so it grows taller than the other cells. Then you'll see the problem. Scott -Original Message- From: Shkuro, Yuri [mailto:[EMAIL PROTECTED]] Sent: Monday, October 15, 2001 2:47 PM To: '[EMAIL PROTECTED]' Subject: RE: Table Headings I put the borders und

Re: Embedding fop in IE..Help!!!

2001-10-15 Thread Rajagopal. V
Hi Im using a JSP to generate this PDF. I am able to open other "Static" pdfs. This is what i do, i create a bytearrayoutputstream which will hold the output of the render and then use a pageContext.getOut().print(); and this results in printing binary content on the screen.. I assume this is b

RE: Table Headings

2001-10-15 Thread Shkuro, Yuri
I put the borders under each cell, and it works fine. Yuri -Original Message- From: Scott Moore [mailto:[EMAIL PROTECTED]] Sent: Monday, October 15, 2001 2:37 PM To: '[EMAIL PROTECTED]' Subject: RE: Table Headings Karen, I have another table related question. I'm trying to add gri

RE: Table Headings

2001-10-15 Thread Scott Moore
Karen, I have another table related question. I'm trying to add gridlines into the table body by specifying: border-width="1px" border-color="black" border-bottom-style="solid" on the underneath each cell. This only works if each cell is the same height. Although the text is all rows start

Re: Embedding fop in IE..Help!!!

2001-10-15 Thread Amit
Can you open other pdf files (via a link in a html page) in IE? "Rajagopal. V" wrote: > Hi All > I have an XML file which i combine with a XSL to > generate the FO file and render it. It works fine with > Netscape but im having a tough time with IE. It is > displaying garbage on teh screen. All

DO NOT REPLY [Bug 4171] New: - white-space-collapse="false" does not work

2001-10-15 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

Tips for better performance

2001-10-15 Thread Pablo Iaria
Hi all,     I'm trying get FOP running faster... I realized that a good starting point is to optimize the .fo code. Is there any doc about best practice for fo:xml writting ?     Thanks in advance,     Pablo.-        

RE: Table Headings

2001-10-15 Thread Scott Moore
Thanks Karen. That was exactly the problem. I had just realized that before I read your email. Scott -Original Message- From: Karen Lease [mailto:[EMAIL PROTECTED]] Sent: Sunday, October 14, 2001 11:46 AM To: [EMAIL PROTECTED] Subject: Re: Table Headings Hi Scott, It sounds like you

RE: Embedding fop in IE..Help!!!

2001-10-15 Thread Rajagopal. V
Yes, I do set the content Type and NEtsacpe takes it properly. IE does not take the content type(from MSDN) --- Stefan Weber <[EMAIL PROTECTED]> wrote: > Did you set the proper content type? > > response.setContentType("application/pdf"); > > Stefan > > -Original Message- > From: Raja

Re: Embedding fop in IE..Help!!!

2001-10-15 Thread Rajagopal. V
Hi I am using a JSP to generate this stuff. I have a taglib which generates the PDF and i use OutputStream to spit out the PDF. I use Fop 0.18 for this. What is strange to me is 1) It works in Netscape(IT works all the time in Netscape) 2) When i take the FO file that is used to generate the PDF

RE: Embedding fop in IE..Help!!!

2001-10-15 Thread Stefan Weber
Did you set the proper content type? response.setContentType("application/pdf"); Stefan -Original Message- From: Rajagopal. V [mailto:[EMAIL PROTECTED]] Sent: Monday, October 15, 2001 4:45 PM To: [EMAIL PROTECTED] Subject: Embedding fop in IE..Help!!! Hi All I have an XML file which i

Re: Embedding fop in IE..Help!!!

2001-10-15 Thread Carmelo Montanez
I take it you are using an application. Are you sending both text and binary data at the same time?, are you using the printWriter? or the getOutputStream method class?, for binary data you will need the getOutputStream. I had the same problem some time ago and sending JUST the binary data solve

Embedding fop in IE..Help!!!

2001-10-15 Thread Rajagopal. V
Hi All I have an XML file which i combine with a XSL to generate the FO file and render it. It works fine with Netscape but im having a tough time with IE. It is displaying garbage on teh screen. All i get is binary characters for the PDF File. I have IE 5.5 Sp1. and i tried all the workarounds. T

RE: [ANN] XSLfast: Authoring tool for XSL-FO .. isn't the first !

2001-10-15 Thread Giannetti, Fabio
> -Original Message- > From: Stephan Albers [mailto:[EMAIL PROTECTED]] > Sent: 12 October 2001 22:15 > To: [EMAIL PROTECTED] > Subject: [ANN] XSLfast: Authoring tool for XSL-FO > > > Dear subscribers, > > after a long development period, we have finaly released the > very first > ver

AW: Why XSL FO

2001-10-15 Thread Beer, Christian
I think I didn't understand your question?? What do you want to do?? Is it XML -> PDF conversion? If yes, then think about: XML --XSLT--> XSL FO --FOP--> PDF that means: - Use xalan (or another XSLT-processor) to convert XML to XSL FO - Feed the output of xalan to FOP to produce PDF (or PCL or

Antwort: Why XSL FO

2001-10-15 Thread joerg . pietschmann
Someone wrote: >Can anyone help me in knowing that why XSL cannot be >written to translate the xml to PDF. >Why XSL FO is the approach to create the PDF. Golly, you *are* persistent. XSLFO processors have the task to layout your text structure as described by XSL FOs onto pages. That's a much mo

Why XSL FO

2001-10-15 Thread Mailer Mailer
Hi there, Can anyone help me in knowing that why XSL cannot be written to translate the xml to PDF. Why XSL FO is the approach to create the PDF. Lets forget about the generic solution to create multiple format document. Now anyone kindly tell me Can I write xsl's to create my xmls directly to

Antwort: RE: Antwort: Making a native win32 binary out of FOP

2001-10-15 Thread joerg . pietschmann
[EMAIL PROTECTED] wrote >> There appears to be a way to package the MS JVM together with >> some Java >> classes into an .exe. >Does Saxon actually package MS JMV, I've understood that saxon.exe still >required MS JMV to be installed into your system? Oops, you are right, the MS JVM has already t

How to get information about overflow...

2001-10-15 Thread Beer, Christian
Hi list! I have fop-code to create a postcard (page-height="105mm" page-width="148mm") where on the first page there is an image and on the second page there should be text on the left and space on the right (for the address). This snippet should create the text on the left: