Re: fop and parsers

2001-07-31 Thread Raju Dave

Dear Adel,

You need to test it with parser of your choice. Normally you have to do slight 
modifications to get correct results. I am using Oracle XSLT and it is working fine.

Wish you luck.



- Original Message --
adel ben [EMAIL PROTECTED] wrote:
To:[EMAIL PROTECTED]
From:adel ben [EMAIL PROTECTED]
Date:Mon, 30 Jul 2001 05:59:00 -0700 (PDT)
Subject:fop and parsers

Hi all,

I have tested FOP with the xerces parser and xalan processor and it works
correctly.

However, I would like to use other packages like jaxp. Can FOP work without
any modification in the source code? 
can anyone tell me if it can work correctly with other parsers and
processors. 

with regards,
adel






___
Send a cool gift with your E-Card
http://www.bluemountain.com/giftcenter/



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


Raju Dave
iORMYX GmbH
Frankfurt am Main
Germany
[EMAIL PROTECTED]
[EMAIL PROTECTED]

_
For Rs. 2,000,000 worth of Aptech scholarships click below
http://events.rediff.com/aptechsch/scholarship.htm




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




Re: fop -xml file.xml -xsl file.xsl -pdf file.pdf

2001-07-31 Thread Raju Dave

Hello!
U have to convert xml into fo first and then you can use command line utility.

I would suggest using batch file to combine two steps of converting into fo and then 
into pdf.

Raju

Here is what I want to do. I am using the Fop command line application giving
to it three parameters: the xml file, the xsl file and the name of the output
pdf file.

I have an xml file with the following content:

document
 chapter
  title./title

  paragraph color=blue size=19pt
   text. /text
  /paragraph
  paragraph color=red size=10pt
   text. /text
  /paragraph
  
 /chapter
 chapter  /chapter
/document

The idea is that color and size attributes are specific to each paragraph.
The texts within different paragraphs could be coloured in different colours and
could have different sizes.
I tried to build the xsl file and for a paragraph I used a fo:block formatting
object. The problem is that the font_size attribute of fo:block formatting
object has to have a fixed value, so the xsl file should look like

xsl:template match=paragraph
   fo:block font-size=9pt
 font-family=sans-serif
 line-height=10pt
 text-align=start
 background-color=blue
 start-indent=1cm
 xsl:value-of select=./
   /fo:block
/xsl:template

But I would like that the font-size and background-color to take the values
(somehow and I don't know how) from xml file. I tried something like this:
 fo:block font-size=xsl:value-of select=@size/
 font-family=sans-serif
 line-height=10pt
 text-align=start
 background-color=blue
 start-indent=1cm
 xsl:value-of select=./
   /fo:block

but it didn't work.

Can anyone help me?

Thanks,
Horiana


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


Raju Dave
iORMYX GmbH
Frankfurt am Main
Germany
[EMAIL PROTECTED]
[EMAIL PROTECTED]

_
For Rs. 2,000,000 worth of Aptech scholarships click below
http://events.rediff.com/aptechsch/scholarship.htm




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




Re: RE: tables in PDF

2001-07-26 Thread Raju Dave


Hi Jim and Raghvendra,

Best way is to specify the column width of entire table such that it fits the width of 
the paper!.

I mean that is how it should be normally. unless u have different type of problem/.

Raju

- Original Message --
Jim Urban [EMAIL PROTECTED] wrote:
To:[EMAIL PROTECTED]
From:Jim Urban [EMAIL PROTECTED]
Date:Wed, 25 Jul 2001 07:18:11 -0500
Subject:RE: tables in PDF

I have the same issue with FOP 0.19.  If anyone can figure this out, please
post it so I can get a copy of the solution too.

Thanks,
Jim Urban
Product Manager
Netsteps Inc.
Suite 505E
1 Pierce Pl.
Itasca, IL  60143
Voice:  (630) 250-3045 x2164
Fax:  (630) 250-3046


-Original Message-
From: Vaidya, Raghavendra (CORP, GEITC)
[mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 24, 2001 11:09 PM
To: [EMAIL PROTECTED]
Subject: tables in PDF


Hi,
I am trying to print a big table in which the rows span more than one page.
In some cases a part of the row at the end of the page is flowing to next
page.
How to keep all the rows on the same page.
I am using FOP 0.17
Can some body help me
Thsnks in advance
Raghavendra


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



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


Raju Dave
iORMYX GmbH
Frankfurt am Main
Germany
[EMAIL PROTECTED]
[EMAIL PROTECTED]

_
For Rs. 2,000,000 worth of Aptech scholarships click below
http://events.rediff.com/aptechsch/scholarship.htm




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




FOP in a servlet under load

2001-07-18 Thread Raju Dave

Hi,

xhtml-xsl-fo takes very short time say only fraction of total time. Thus it is best 
done with external tool and not to load fop with it. 


Raju Dave
iORMYX GmbH


http://www.monsterindia.com - The Best Jobs. For the Best Minds.




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




Faster Process Time

2001-07-09 Thread Raju Dave

Hi Folks,

I donot know why my previous posting has not been displayed, hence posting this query 
again.

My problem is time taken to convert the fo file into pdf. The formatting comes out 
exactly as required using fop. But each report of say around 30-35 pages takes 1 to 
1.5 mins.
Since we are generating more than 1000 reports in single batch it takes lot of time to 
get the pdf reports.

The batch process is executed in Solaris8 environment on a 10k IBM m/c. The java 
memory setting is at 256m. Can someone suggest a faster way of executing this process. 
Each report has 50% of pages with images.

Any hints on reducing process time is appreciated.

By the way, I did tried 'htmldoc' as suggested by seshadri but i lose control over the 
format of pdf which is not acceptable.

Please send reply.

Best Regards

Raju Dave
iORMYX GmbH
Frankfurt am Main
[EMAIL PROTECTED]



Buy Feng Shui Package for Rs. 151/- only, at 
http://shopping.rediff.com/shopping/fengshui_mailer.htm




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




Re: AW: Faster Process Time

2001-07-09 Thread Raju Dave

Thanks for reply Jens,

I tried using fop 0.19 on my reports and didnot find any improvement. But i will try 
PDFDocumentGraphics2D, i hope it works. do u have some sample examples worked out?



Best Regards

Raju Dave
iORMYX GmbH
Frankfurt am Main
Germany


- Original Message --
Thieler Jens [EMAIL PROTECTED] wrote:
To:'[EMAIL PROTECTED]' [EMAIL PROTECTED]
From:Thieler Jens [EMAIL PROTECTED]
Date:Mon, 9 Jul 2001 16:24:45 +0200 
Subject:AW: Faster Process Time

Images seem to slow down FOP.
That's especially true for SVG images.

For a simple SVG with 4096 random geometric objects
(PNG dump with 1024 objects attached)
rendering to PDF took:
520 seconds with FOP 0.18
 12 seconds with FOP 0.19
  2.5 seconds using PDFDocumentGraphics2D

Perhaps you should try the latest version.

Jens Thieler




Buy Feng Shui Package for Rs. 151/- only, at 
http://shopping.rediff.com/shopping/fengshui_mailer.htm




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




Re: Re: problem running FOP with servlet - (code gets executed multiple times)urgent

2001-06-20 Thread Raju Dave

Hi Kumar,

Try enclosed fo file..

Problem was with nesting in tables and please specify table-column as these are 
presently required by FOP.

Raju

- Original Message --
f0 fo [EMAIL PROTECTED] wrote:
To:[EMAIL PROTECTED]
From:f0 fo [EMAIL PROTECTED]
Date:Tue, 19 Jun 2001 09:00:28 -0700 (PDT)
Subject:Re: problem running FOP with servlet - (code gets executed multiple 
times)urgent

hi Raju!!
  Thanks for u'r reply
I'm trying to create the fo file at run time using an
xml  xsl file. The template of the fo file generated
attached to this file,

thanks,
Kumar



--- Raju Dave [EMAIL PROTECTED] wrote:
 
 Can u sent ur code file,
 
 With servlets fop works fine.. maybe problem with
 specifing page sequence?
 
 Raju 
 
 - Original Message --
 f0 fo [EMAIL PROTECTED] wrote:
 To:[EMAIL PROTECTED]
 From:f0 fo [EMAIL PROTECTED]
 Date:Tue, 19 Jun 2001 07:00:23 -0700 (PDT)
 Subject:problem running FOP with servlet - (code
 gets executed multiple times)urgent
 
 hi all!!
   I'm trying to create a PDF using FOP.jar 0.17
 (version), The code works great as a application,
 but
 when  I tried running it as servlet the code tries
 to
 execute multiple times..but I'm able to get the pdf
 but the code gets executed multiple time.The output
 in
 the console is
 ***
 Tue Jun 19 08:56:24 CDT 2001:I
 ServletContext-General PDFGenerator: init
 using renderer org.apache.fop.render.pdf.PDFRenderer
 using element mapping
 org.apache.fop.fo.StandardElementMapping
 using element mapping
 org.apache.fop.svg.SVGElementMapping
 using element mapping
 org.apache.fop.extensions.ExtensionElementMapping
 using property list mapping
 org.apache.fop.fo.StandardPropertyListMapping
 using property list mapping
 org.apache.fop.svg.SVGPropertyListMapping
 using property list mapping

org.apache.fop.extensions.ExtensionPropertyListMapping
 building formatting object tree
 setting up fonts
 formatting FOs into areas
  [1]
 rendering areas to PDF
 writing out PDF
 using renderer org.apache.fop.render.pdf.PDFRenderer
 using element mapping
 org.apache.fop.fo.StandardElementMapping
 using element mapping
 org.apache.fop.svg.SVGElementMapping
 using element mapping
 org.apache.fop.extensions.ExtensionElementMapping
 using property list mapping
 org.apache.fop.fo.StandardPropertyListMapping
 using property list mapping
 org.apache.fop.svg.SVGPropertyListMapping
 using property list mapping

org.apache.fop.extensions.ExtensionPropertyListMapping
 building formatting object tree
 setting up fonts
 formatting FOs into areas
  [1]
 rendering areas to PDF
 writing out PDF
 using renderer org.apache.fop.render.pdf.PDFRenderer
 using element mapping
 org.apache.fop.fo.StandardElementMapping
 using element mapping
 org.apache.fop.svg.SVGElementMapping
 using element mapping
 org.apache.fop.extensions.ExtensionElementMapping
 using property list mapping
 org.apache.fop.fo.StandardPropertyListMapping
 using property list mapping
 org.apache.fop.svg.SVGPropertyListMapping
 using property list mapping

org.apache.fop.extensions.ExtensionPropertyListMapping
 building formatting object tree
 setting up fonts
 formatting FOs into areas
  [1]
 rendering areas to PDF
 writing out PDF
 *
 I tried with FopServlet with fop0.18.jar also the
 same
 thing happens. I would appreciate any suggestions on
 this.
 
 Thanks,
 Kumar
 
 
 
 __
 Do You Yahoo!?
 Spot the hottest trends in music, movies, and more.
 http://buzz.yahoo.com/
 

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

_
 Buy Lagaan  Yaadein music for 30% less.
 Avail this special offer at

http://shopping.rediff.com/shopping/music/offerrediffmailer.htm
 
 
 
 
 

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


__
Do You Yahoo!?
Spot the hottest trends in music, movies, and more.
http://buzz.yahoo.com/

_
Buy Lagaan  Yaadein music for 30% less.
Avail this special offer at 
http://shopping.rediff.com/shopping/music/offerrediffmailer.htm 



?xml version=1.0 encoding=UTF-8?
fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
fo:layout-master-set
fo:simple-page-master margin-right=.5cm 
		margin-left=.5cm margin-bottom=1cm margin-top=0.5cm 
		master-name=first
	fo:region-before extent=3.5cm margin-top=0.8cm/
	fo:region-body margin-bottom=2cm margin-top=3.8cm/
	fo:region-after extent=1cm margin-top=0.5cm/
/fo:simple-page-master
/fo:layout-master-set
fo:page-sequence master-name=first
fo:static-content flow-name=xsl-region-after
	fo:block text-align=end

Re: keep-together

2001-06-18 Thread Raju Dave


Falk,

keep-together is not supported presently..
Try keep-with-previous or
keep-with-next..

That may help.

Raju Dave

- Original Message --
Falk [EMAIL PROTECTED] wrote:
To:[EMAIL PROTECTED]
From:Falk [EMAIL PROTECTED]
Date:Mon, 18 Jun 2001 10:04:27 +0200
Subject: keep-together

Hello,
i have the following table:
fo:table keep-together.within-page=3Dalways
by using  keep together the table should not be broken at the end of the
page.
FOP 0.17  doesn't give any error messages.
But the table is split at the end of the page.
How can I prevent the table from breaking ?

Thanks a lot.
Falk





_
Buy Lagaan  Yaadein music for 30% less.
Avail this special offer at 
http://shopping.rediff.com/shopping/music/offerrediffmailer.htm 




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




cvs login

2001-06-15 Thread Raju Dave

I am using wincvs 1.10 and I am getting error as

cvs -z9 -d :pserver:[EMAIL PROTECTED]:/home/cvspublic init 

Unknown host xml.apache.org.

I have confugured CVSROOT as
[EMAIL PROTECTED]:/home/cvspublic and
Authentication as 

Passwd file on CVS server..

Am i wrong somewhere??

I want to download CVS version 0.19.

Regards

Raju Dave



_
Chat with your friends as soon as they come online. Get Rediff Bol at
http://bol.rediff.com





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