RE: OutofMemoryException

2002-09-24 Thread RamanaJV

HI group,
I'm trying to fix the memory snag in the AWT viewer. I experimented
with other formats too and found that the memory obstacle also exist (not
much as AWT viewer, but it is there) at the Area Tree construction too.
Could an experienced FO developer, help me where actually the memory is
leaking at the area tree construction phase. I'm also trying with JProfiler
and it is not giving any fruitful results. 


Ramana.

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




RE: just a thought

2002-08-13 Thread RamanaJV

HI devs,
Can we directly say Driver.render(Document). It gives me the
following error. I'm sure the document is good. Any help?

[ERROR]: Logger not set
[INFO]: building formatting object tree
java.lang.NullPointerException
at
org.apache.fop.apps.StreamRenderer.startRenderer(StreamRenderer.java:129)
at
org.apache.fop.fo.FOTreeBuilder.startDocument(FOTreeBuilder.java:199)
at
org.apache.fop.tools.DocumentReader.parse(DocumentReader.java:414)
at org.apache.fop.apps.Driver.render(Driver.java:481)
at org.apache.fop.apps.Driver.render(Driver.java:501)
at FillReport.startReport(FillReport.java:37)
at FillReport.main(FillReport.java:46)
Exception in thread main 

Ramana.

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




Rendering document directly

2002-08-13 Thread RamanaJV


HI devs,
Can we directly say Driver.render(Document). It gives me the
following error. I'm sure the document is good. Any help?

[ERROR]: Logger not set
[INFO]: building formatting object tree
java.lang.NullPointerException
at
org.apache.fop.apps.StreamRenderer.startRenderer(StreamRenderer.java:129)
at
org.apache.fop.fo.FOTreeBuilder.startDocument(FOTreeBuilder.java:199)
at
org.apache.fop.tools.DocumentReader.parse(DocumentReader.java:414)
at org.apache.fop.apps.Driver.render(Driver.java:481)
at org.apache.fop.apps.Driver.render(Driver.java:501)
at FillReport.startReport(FillReport.java:37)
at FillReport.main(FillReport.java:46)
Exception in thread main 

Ramana.


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




RE: Duplex print problem. Does someone could help ???

2002-08-13 Thread RamanaJV

Even I'm also troubled with the same problem. Cannot print in duplex mode. I
have even tried the new print services API in 1.4, but unsuccessful. Is it
possible to do it through FOP?

Ramana.

-Original Message-
From: IvanLatysh [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 13, 2002 6:33 PM
To: [EMAIL PROTECTED]
Subject: Duplex print problem. Does someone could help ???


Hello, IvanLatysh!
You wrote to [EMAIL PROTECTED] on Mon, 12 Aug 2002 10:56:57 -0400:

 I Hi.

 I I have problem with printing on duplex printer HP LaserJet IIISi.
 I Report have 2 pages.
 I If I am printing simplex - Ok.
 I But if I am trying to print duplex only one side is printing, but
 I printer flipping the page and indicate that it is duplex printing.
 I The second page is going to another page, like simplex printing.

 I I did check, there are only 2 pages, nothing between.
 I This is page declaration:
 I fo:layout-master-set
 I fo:simple-page-master master-name=first page-height=27cm
 I page-width=21cm
 I margin-top=0.5cm margin-bottom=0.5cm margin-left=2cm
 I margin-right=1cm
 I /fo:simple-page-master
 I /fo:layout-master-set

 I Using FOP 0.20.3. Printing from AWT preview window.

 I Sincerely yours, Ivan Latysh.
 I [EMAIL PROTECTED] http://ivan.yourmail.com


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


---
Yours sincerely, Ivan Latysh.
[EMAIL PROTECTED]
http://ivan.yourmail.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]




Duplex print problem. Does someone could help ???

2002-08-13 Thread RamanaJV

I don't whether this question is relevant here or not. But, I expect some
answer from the experts in this group.

Has any body successful in duplex printing through Java? If so, can
u please post the code. 
If not, Is the new Java print service API buggy?

Thanks
Ramana.

-Original Message-
From: RamanaJV [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 13, 2002 6:54 PM
To: [EMAIL PROTECTED]
Subject: RE: Duplex print problem. Does someone could help ???


Even I'm also troubled with the same problem. Cannot print in duplex mode. I
have even tried the new print services API in 1.4, but unsuccessful. Is it
possible to do it through FOP?

Ramana.

-Original Message-
From: IvanLatysh [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 13, 2002 6:33 PM
To: [EMAIL PROTECTED]
Subject: Duplex print problem. Does someone could help ???


Hello, IvanLatysh!
You wrote to [EMAIL PROTECTED] on Mon, 12 Aug 2002 10:56:57 -0400:

 I Hi.

 I I have problem with printing on duplex printer HP LaserJet IIISi.
 I Report have 2 pages.
 I If I am printing simplex - Ok.
 I But if I am trying to print duplex only one side is printing, but
 I printer flipping the page and indicate that it is duplex printing.
 I The second page is going to another page, like simplex printing.

 I I did check, there are only 2 pages, nothing between.
 I This is page declaration:
 I fo:layout-master-set
 I fo:simple-page-master master-name=first page-height=27cm
 I page-width=21cm
 I margin-top=0.5cm margin-bottom=0.5cm margin-left=2cm
 I margin-right=1cm
 I /fo:simple-page-master
 I /fo:layout-master-set

 I Using FOP 0.20.3. Printing from AWT preview window.

 I Sincerely yours, Ivan Latysh.
 I [EMAIL PROTECTED] http://ivan.yourmail.com


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


---
Yours sincerely, Ivan Latysh.
[EMAIL PROTECTED]
http://ivan.yourmail.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]

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




RE: Duplex print problem. Does someone could help ???

2002-08-13 Thread RamanaJV

IvanLatysh,
Did u try printing someother document throgh 1.4 print API? Are u
able to do? 
I didn't try duplex printing, but tried to execute the
PrintPS.java example supplied in the examples. But, I couldn't print the
PostScript file. Even there is no printer tray available. I'm sure the PS
file has the data. I have checked in the PS viewer. There should be
something wrong with the new print API or the documentation?

Ramana.

-Original Message-
From: IvanLatysh [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 13, 2002 7:19 PM
To: [EMAIL PROTECTED]
Subject: Re: Duplex print problem. Does someone could help ???


Hello, RamanaJV!
You wrote to [EMAIL PROTECTED] on Tue, 13 Aug 2002 18:59:30 +0530:

 R I don't whether this question is relevant here or not. But, I expect
 R some answer from the experts in this group.
I am shure that this questions are relevant to this group.
Because problems with FOP not with a driver.
And by my opinion there something happened with page heigh.
Or printer getting pages like a separate documents this why printer does
flip the page but
doesn't print second side.

 R Has any body successful in duplex printing through Java? If so, can
 R u please post the code.
 R If not, Is the new Java print service API buggy?

---
Yours sincerely, Ivan Latysh.
[EMAIL PROTECTED]
http://ivan.yourmail.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]




OutofMemoryException

2002-07-25 Thread RamanaJV

Dear group,
I have a big fo file, could be around 100 pages. But the driver
gives me a outofmemoryexception when I give this file to the renderer. I use
AWTRenderer for printing the document. Can't FOP handle big FO documents. Is
there a workaround to get around this memory problem.

Ramana.

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




FO to PCL

2002-07-25 Thread RamanaJV

Dear group,
Doesn any one have a XSL to convert to FO to PCL. I want to try this
option, since FOP is not able to handle large documents.

Ramana.

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




RE: OutofMemoryException

2002-07-25 Thread RamanaJV


Cyril,
As far your suggestion, I have made the FO to be a small page
sequences (could be around 20 pages per sequence). But, it I'm bugged with
this OutofMemoryException.  My system has 192Mb RAM.  The FO document is
made of tables. There will be two tables per page. There are no forward
references.

Ramana.

-Original Message-
From: Cyril Rognon [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 5:58 PM
To: [EMAIL PROTECTED]
Subject: RE: OutofMemoryException


Ramana,

I guess you can find in the list archive that many of us have encountered 
this memory issue. I have managed to render 50 to 1500 pages documents 
using a machine with 256 Mo RAM . When you want to do that, you have to 
allow your JVM to use a large amount of memory. It can be tricky in windows 
environnement when you want to use more than the max RAM you have. You have 
to let W98 or WinNT or Win2K use some virtual memory. This should not 
trigger any blue screen of death

what is your document made of ? if you have some well known page break, you 
should make a page sequence change there. The memory is happy with short 
page sequences as for this implementation of FOP (meaning 0.20.x).

Again, search for the advice in the archive, it has been said many times : 
short page sequences, jvm memory setting, avoid forward reference when you
can.

Good luck

Cyril

At 16:45 25/07/2002 +0530, you wrote:
This shows a blue screen, if I terminate the Java program in the middle
with
Ctrl-C option. The system showing a fatal error with the Ctrl-C
termination.

Ramana.

-Original Message-
From: Jochen Deubner [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 4:19 PM
To: [EMAIL PROTECTED]
Subject: Re: OutofMemoryException


Hi,

it IS capable of rendering large documents. Out of Memory exception ist
just
caused by standard JVM Memory assignment of 64M.
Just enlarge the memory for the JVM with parameter -Xmx256m (256m for
256Megs).


-
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: OutofMemoryException

2002-07-25 Thread RamanaJV


Cyril,
I'm sure that I don't have any forward references and page footers.
What I have in the page sequence is a static text , some blocks followed by
a table.  The JDK i use is 1.4. What could be the problem and can u suggest
a solution..

Ramana.

-Original Message-
From: Cyril Rognon [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 7:29 PM
To: [EMAIL PROTECTED]
Subject: RE: OutofMemoryException


Ramana,

I have a 256 Mo Ram machine that uses JVM -Xms512m -Xmx512m and it runs
fine.

I admit that JVM memory settings gives some weird results sometimes. What 
JVM are you using ? I have seen tremendous performance upgrade when we went 
from 1.2 to 1.3. Even better with last 1.4 under Win2K.

Are you sure you have no forward reference ? like some page x of y page 
footer ?

Cyril


At 19:00 25/07/2002 +0530, you wrote:

Cyril,
 As far your suggestion, I have made the FO to be a small page
sequences (could be around 20 pages per sequence). But, it I'm bugged with
this OutofMemoryException.  My system has 192Mb RAM.  The FO document is
made of tables. There will be two tables per page. There are no forward
references.

Ramana.


-
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: OutofMemoryException

2002-07-25 Thread RamanaJV

No Louis,
It is saying java.lang.OutOfMemoryError in the Driver.render(...)
statement.  If, I print some pages below than 70, it is fine. But, if I try
more than 70, the OutOfMemoryError. 

Ramana.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 8:23 PM
To: [EMAIL PROTECTED]
Subject: RE: OutofMemoryException



Ramana:
Is it dumping out FOP error messages even though the report seems to be
working?  I think these errors can be related to overflows within your
context areas which I have seen posted as causing increased memory
consumption.
-Lou





RamanaJV [EMAIL PROTECTED] on 07/25/2002 10:42:32

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:

Subject:  RE: OutofMemoryException


Cyril,
   I'm sure that I don't have any forward references and page
footers.
What I have in the page sequence is a static text , some blocks followed by
a table.  The JDK i use is 1.4. What could be the problem and can u suggest
a solution..

Ramana.

-Original Message-
From: Cyril Rognon [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 7:29 PM
To: [EMAIL PROTECTED]
Subject: RE: OutofMemoryException


Ramana,

I have a 256 Mo Ram machine that uses JVM -Xms512m -Xmx512m and it runs
fine.

I admit that JVM memory settings gives some weird results sometimes. What
JVM are you using ? I have seen tremendous performance upgrade when we went

from 1.2 to 1.3. Even better with last 1.4 under Win2K.

Are you sure you have no forward reference ? like some page x of y page
footer ?

Cyril


At 19:00 25/07/2002 +0530, you wrote:

Cyril,
 As far your suggestion, I have made the FO to be a small page
sequences (could be around 20 pages per sequence). But, it I'm bugged with
this OutofMemoryException.  My system has 192Mb RAM.  The FO document is
made of tables. There will be two tables per page. There are no forward
references.

Ramana.


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

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









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

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




OutofMemoryException

2002-07-25 Thread RamanaJV


 I have generated the XSL:FO into a file.   I have used the FOP -d option
and pasted the debug messages thus got in the attached file temp.  I can
even send the FO file individually to test the load, since the mail to the
mailing test bounces with that attachment.

After these error messages, finally the saying in my DOS prompt.

 Exception in thread main java.lang.OutOfMemoryError

I have also set the Driver for PCLRenderer, but the same problem.




test
Description: Binary data

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


RE: OutofMemoryException

2002-07-25 Thread RamanaJV

Yep ,
I have narrowed in on the problem somewhat. Followed Hansuli
Anderegg and found that the problem is with AWTRenderer itself, with PDF and
TXT, no OutOfMemory. 
Now, I request the group to tell me whether there are any PDF
viewers, that I can use in my JavaApplication to show the thus generated
output.
   Please, help me

Ramana.

-Original Message-
From: Cyril Rognon [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 8:53 PM
To: [EMAIL PROTECTED]
Subject: RE: OutofMemoryException


I have had some similar problem with one document : Some hyphenated text in 
a cell that was on two rows (row span) : FOP warned me about some I cannot 
hyphenate!. I have not seen this with small documents (bellow 500 pages) 
but with large ones FOP went on an infinite loop. I did exactly like 
Hansuli Anderegg is telling you : tried to noarrow the problem by lowering 
the FO size and hard testing the troubleshooting part.

I know it is not some magic method that will help you to solve your 
problem in twelve seconds but this is the best we have.

You have to try with debug on.

Good luck.

Cyril

At 20:22 25/07/2002 +0530, you wrote:
No Louis,
 It is saying java.lang.OutOfMemoryError in the Driver.render(...)
statement.  If, I print some pages below than 70, it is fine. But, if I try
more than 70, the OutOfMemoryError.

Ramana.


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

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




[PDF Viewer] Utility request

2002-07-25 Thread RamanaJV

Dear FOP developers,
After seeing the OutOfMemoryError, the AWT renderer is causing, why
don't thinking of providing a PDF viewer in the FOP itself. I think, this
will be useful so much. I don't think people couldn't have ever thought
about it, but is it diffucult to do so?
   I feel, FOP is very much useful with the PDF viewer. What do
others say?

Ramana.

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




Table-cell problem

2002-07-24 Thread RamanaJV
HI group,
 I have a text in the block of a table-cell and the text is not having any
words ( It is a single world). FOP is not wrapping the word and the text is
moving on the next cell. The next cell text is super imposed with the
previous one. How to solve this problem?

Please help me.
Ramana. 

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


RE: Table Sectioning

2002-07-24 Thread RamanaJV

In the table-cell u have attribues number-columns-spanned=A Number and
number-rows-spanned=A Number. Use them to get the effect.

Ramana.

-Original Message-
From: saravana kumar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 7:01 AM
To: [EMAIL PROTECTED]
Subject: Table Sectioning


Hi Developers, I'm struck in formatting the table. pls
help me out. whts the equivalent xsl fo syntax for 
th colspan and th rowspan.

i want my table in the following format.

||
| |  Status  | Effect of |
|Total|--| Deduction |
| | Paid | UnPaid|   |
||
||
||
||
||
||
||
Thnx in Advance,
Saran.


__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.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]




Page break

2002-07-24 Thread RamanaJV

HI Group,
I want to know the block where the FOP has broke the FO for the next
page. Is it possible?

Ramana.

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




page break

2002-07-23 Thread RamanaJV



Devs,
 Is it possible to tell 
FOP to clip the text, when the block will not fit in the respctive region? I don't want the block to spanacross 
lines..
[RamanaJV]



Duplex printing

2002-07-23 Thread RamanaJV
Title: RE: Performance Analysis



Dear All,
 I'm tryingto print 
the pages in duplex mode. I have written the following function. But this is not 
working. Is it a problem with JDK or with FOP. When I call this method, a 
printer dialog is shown with the option duplex selected, but the pages are not 
printed in duplex mode. I'm able to duplex print from microsoft 
applications.
private void 
printToPrinter(){// Build a set of 
attributesPrintRequestAttributeSet aset = new 
HashPrintRequestAttributeSet(); aset.add(Sides.DUPLEX); 


PrinterJob pj = 
PrinterJob.getPrinterJob();if 
(pj.printDialog(aset)){

// 
renderer is AWT renderer
pj.setPageable(renderer);try{pj.print(aset);}catch 
(PrinterException 
pe){pe.printStackTrace();}}}Please 
correct me, 

Ramana.


RE: page break

2002-07-23 Thread RamanaJV

Then,
Is it possible to know, without actually rendering, how many lines a
block is expected to span. I really need this now in my application to get
away from the pagination problem that are occuring. Also, is it possible to
know, how many lines of text can be written on to a page with specific
dimensions?

Ramana.

-Original Message-
From: Keiron Liddle [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 12:37 PM
To: FOP
Subject: Re: page break


On Tue, 2002-07-23 at 08:47, RamanaJV wrote:
 
 Devs,
  Is it possible to tell FOP to clip the text, when the block will not
 fit in the respctive region? I don't want the block to span across lines..

Currently no.
This is something that will be implemented in the new design.


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

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




page break

2002-07-19 Thread RamanaJV



Pietschmann 
!

I'm also facing thisblock break 
problem. I have tried this solution, but it seems to be not working as expected. 
I have the "pages.fo" file. I 'm expecting the entire row "PTEST" to be in 
page 2, but it is not happening. The "PTEST" block is breaking into the third 
page.

 Is it possible to tell FOP to clip 
the text, when the block will not fit in the respctive 
region?

 The "pages.fo" file attached with 
this mail.

Ramana.





  -Original Message-From: Todd Migliore 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, July 18, 2002 9:08 
  PMTo: [EMAIL PROTECTED]; [EMAIL PROTECTED]Subject: 
  Re: page-break-inside="avoid"
  J
  
  Thanks for the reply. I was able solve my problem with the info you 
  provided. 
  
  Todd [EMAIL PROTECTED] 07/17/02 06:10PM 
  Todd Migliore wrote: My document contains one 
  repeating block of data. The data varies in  length with each 
  iteration. I need to force a page break if an  iteration of the 
  block of data can not entirely fit on the current  page page. 
  From what I understand page-break-inside="avoid" is the way  to go 
  about this, unfortunately it seems this feature is not yet  
  implemented(version-0.20.3). Does anyone know of solution to this 
   problem? Thanks in advance.  
  T Look here for hints: http://marc.theaimsgroup.com/?l=fop-userm=102102545323696w=2J.Pietschmann-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For additional 
  commands, email: 
[EMAIL PROTECTED]


pages.fo
Description: Binary data

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


suppress-at-line-break=suppress

2002-07-19 Thread RamanaJV





 
I found that this property has to clip the portion of the block, that will not 
fit in the specified area. But, this property is not supported in FOP 0.20.3. Is 
it supported in the newer version?

Ramana.


  -Original Message-From: Todd Migliore 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, July 18, 2002 9:08 
  PMTo: [EMAIL PROTECTED]; [EMAIL PROTECTED]Subject: 
  Re: page-break-inside="avoid"
  J
  
  Thanks for the reply. I was able solve my problem with the info you 
  provided. 
  
  Todd [EMAIL PROTECTED] 07/17/02 06:10PM 
  Todd Migliore wrote: My document contains one 
  repeating block of data. The data varies in  length with each 
  iteration. I need to force a page break if an  iteration of the 
  block of data can not entirely fit on the current  page page. 
  From what I understand page-break-inside="avoid" is the way  to go 
  about this, unfortunately it seems this feature is not yet  
  implemented(version-0.20.3). Does anyone know of solution to this 
   problem? Thanks in advance.  
  T Look here for hints: http://marc.theaimsgroup.com/?l=fop-userm=102102545323696w=2J.Pietschmann-To 
  unsubscribe, e-mail: [EMAIL PROTECTED]For additional 
  commands, email: 
[EMAIL PROTECTED]


[UML]: Poseidon license key

2002-07-17 Thread RamanaJV

HI All,
I have installed Poseidon 1.3.1 and it is asking me for the license
key when I start it. But, I couldn't find anything like that in the home
directory of Poseidon. 
Please, help me.

Ramana.

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




RE: Usage of UML Diagrams

2002-07-16 Thread RamanaJV

Keiron,
  First I would like to come up with a class diagram depicting the
relationship between the Driver and the Renderers. This can serve as a
top-level diagram from which we can move to deeper levels. I'll draw the UML
diagram with this basic and present it to the group for discussion.

Thanx,
Ramana.

-Original Message-
From: Keiron Liddle [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 16, 2002 3:09 PM
To: FOP
Subject: RE: Usage of UML Diagrams


Hi Ramana and others,

If you need any help trying to understand anything then just ask.

The code is sort of in a number of places at the moment but it is
generally working towards a goal.

The Driver and the things it handles may change in some ways in the
future to incorporate the avalon integration.
Jeremias or Joerg may be able to help you in this area.
In particular I believe the renderers will be created using mime types.

Once you have some diagrams we can try to sort these things out.

Keiron.

On Tue, 2002-07-09 at 06:17, RamanaJV wrote:
 Hi Keiron,
   We can create a folder named UML in the docs\design folder and can
 place the UML diagrams there. I'll start working on them, first starting
 with a diagram depicting the relationship between Driver and the different
 renderers. The team can review it and can come up with suggestions. 
   Discussing with diagrams, the overall efficiency increases...
 
 Ramana.JV.



-
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: Unable to generate PDF file from EJB using FOP

2002-07-10 Thread RamanaJV


Is it throwing any exceptions or simply the rendering not done?

Ramana.JV.

-Original Message-
From: Amit Rangari [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 10, 2002 12:39 PM
To: [EMAIL PROTECTED]
Subject: Unable to generate PDF file from EJB using FOP



I have written a simple class which takes XML and XSL and translate it
into PDF using FOP (this works fine when run it as a standalone
application) but when I embed this program/logic in a stateless EJB it
doesn't render the content to the output stream. 

I have checked out the class path also, I am using the same setEnv.bat
file to set the environment for running both standalone program as well
as weblogic application server.

Please help me 

Thanks
Amit

-Original Message-
From: RamanaJV [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, July 09, 2002 9:39 AM
To: [EMAIL PROTECTED]
Subject: RE: Page details support?

I understand that messing around with FOP is not a good idea. But what
to
do, I doesn't get any solution till. I'll put the problem in greater
detail
again.

   I will be having FO templates, that specify the style of the report. 
Let's say the template is like:

?xml version=1.0 encoding=utf-8?
  fo:root
xmlns:fo=http://www.w3.org/1999/XSL/Format
!-- defines the layout master --
   fo:layout-master-set
  fo:simple-page-master
master-name=first
page-height=11in
page-width=8.5in
margin-top=25pt
margin-bottom=25pt
margin-left=20pt
margin-right=10pt
   fo:region-body margin-top=50pt
  fo:region-before extent=50pt
 fo:region-after extent=25pt
 /fo:simple-page-master
  /fo:layout-master-set

   !-- starts actual layout --
   fo:page-sequence master-reference=first
fo:static-content
flow-name=xsl-region-before
   !-- Static content goes here --
/fo:static-content
fo:flow flow-name=xsl-region-body
fo:block white-space-collapse=false
space-after=12pt
   fo:inline
font-weight=bold##/fo:inline +
/fo:block
/fo:flow
  /fo:page-sequence
/fo:root


There will be templates like above where the hashpart(###)
is
the hole area where the programs fill the data. The data will be got
from
the database and the client program supplies the server with the data
and
the sever program takes the data and for every write call the client
program
says, the server creates a new fo:block element and places the data
supplied in the hash portion. The client proceeds in this fashion. 
   The client program may supply large amount of records, can be
around 15,000 records also. So, it is not advisable to make the user
wait
till all the data is supplied and the entire FO constructed. There is an
assumption made now, say we can show 40 records per page. The client
supplies 40 records to the sever, which renders the page using FOP API.
But,
the problem comes if the data supplied will not fit in the single line.
If
the data spans more than 1 line, then the assumption becomes incorrect
and
the remnant portion of the data ( a small chunk, could be one or two
lines)
comes in the second page. This is not good. 
There actually will be number of templates and client filling
out
the templates. So, I'm trying to find a solution where in which at any
point
of time client should be able to know that
 Still how many lines of display remain?. With that
the
client can hold until the server gives it a ready signal again.

I hope I'm clear now... I'm not finding how to solve the above
problem... I think this type of viewing is common in business
applications...
For now, it is assumed that the page size is 8.5in * 11in
and
portrait mode. Is it possible?

I'll be waiting to hear for a solution...

-Original Message-
From: Jeremias Maerki [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 08, 2002 8:54 PM
To: [EMAIL PROTECTED]
Subject: Re: Page details support?


The font classes could help you here, too. But I wonder if that helps
you a lot. Questions like that often indicate that someone is trying to
work around a problem that is actually supposed to be worked out in a
different way. If you

RE: Stupid Question

2002-07-10 Thread RamanaJV

Refer to the JavaDocs folder in your FOP home directory.

Ramana.JV.

-Original Message-
From: Holger Prause [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 10, 2002 3:56 PM
To: [EMAIL PROTECTED]
Subject: Stupid Question


Where do i can get the api docs for fop ?
I already read the FAQ.

As far as i can see it is not include in the distribution.

Thx,

Holger





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

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




Truncating text

2002-07-08 Thread RamanaJV



HI 
All,
 I don't want the text in the 
fo:block to be wrapped if the text length did not fit the allocated region. 
Instead, I want the text to be truncated. Is it possible through FOP? 


Eagerly awaiting for the reply
Ramana.JV.


RE: Truncating text

2002-07-08 Thread RamanaJV

Thanks for the reply Pretterhofer,
I will try to explain the problem in greater detail. The blocks I have
are in the table cells and I don't want the text in the table cell block to
occupy anything extra space than allocated.  

 I have tried using this option, but the problem with wrap-option=no-wrap
is the text now will not wrap to the next line, but will occupy the next
cell and the text in that cell becomes clumsy with the overlapping text. I
actually don't want the text to occupy not more than what is allocated.
Reason, I have asked for truncation...

Ramana.JV.

-Original Message-
From: Pretterhofer, Guenter (ext.)
[mailto:[EMAIL PROTECTED]]
Sent: Monday, July 08, 2002 2:31 PM
To: [EMAIL PROTECTED]
Subject: AW: Truncating text


Hi Ramana,
 
you could try fo:block wrap-option=no-wrap.
 
hth
gP

-Ursprüngliche Nachricht-
Von: RamanaJV [mailto:[EMAIL PROTECTED]]
Gesendet am: Montag, 8. Juli 2002 10:40
An: [EMAIL PROTECTED]
Betreff: Truncating text

HI All,
I don't want the text in the fo:block to be wrapped if the text length
did not fit the allocated region. Instead, I want the text to be truncated.
Is it possible through FOP?  
 
Eagerly awaiting for the reply
Ramana.JV.


-
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: Truncating text

2002-07-08 Thread RamanaJV

Oh god,
Then, what to do?  Does FOP 0.20.4 has addressed this overflow
issue?

Ramana.JV.

-Original Message-
From: Pretterhofer, Guenter (ext.)
[mailto:[EMAIL PROTECTED]]
Sent: Monday, July 08, 2002 3:16 PM
To: [EMAIL PROTECTED]
Subject: AW: Truncating text


Hi,

according to the spec you could do the truncation with overflow=hidden.
But this is currently not implemented in FOP.


Cheers,
gP

-Ursprüngliche Nachricht-
Von: RamanaJV [mailto:[EMAIL PROTECTED]]
Gesendet am: Montag, 8. Juli 2002 11:10
An: [EMAIL PROTECTED]
Betreff: RE: Truncating text

Thanks for the reply Pretterhofer,
I will try to explain the problem in greater detail. The blocks I have
are in the table cells and I don't want the text in the table cell block to
occupy anything extra space than allocated.  

 I have tried using this option, but the problem with wrap-option=no-wrap
is the text now will not wrap to the next line, but will occupy the next
cell and the text in that cell becomes clumsy with the overlapping text. I
actually don't want the text to occupy not more than what is allocated.
Reason, I have asked for truncation...

Ramana.JV.

-Original Message-
From: Pretterhofer, Guenter (ext.)
[mailto:[EMAIL PROTECTED]]
Sent: Monday, July 08, 2002 2:31 PM
To: [EMAIL PROTECTED]
Subject: AW: Truncating text


Hi Ramana,
 
you could try fo:block wrap-option=no-wrap.
 
hth
gP

-Ursprüngliche Nachricht-
Von: RamanaJV [mailto:[EMAIL PROTECTED]]
Gesendet am: Montag, 8. Juli 2002 10:40
An: [EMAIL PROTECTED]
Betreff: Truncating text

HI All,
I don't want the text in the fo:block to be wrapped if the text length
did not fit the allocated region. Instead, I want the text to be truncated.
Is it possible through FOP?  
 
Eagerly awaiting for the reply
Ramana.JV.


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

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

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

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




Page details support?

2002-07-08 Thread RamanaJV

Dear All,
Is it possible to through FOP API to find the number of lines ( for
a defined font and page) that can be rendered?

Ramana.JV.

-Original Message-
From: RamanaJV [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 08, 2002 3:24 PM
To: [EMAIL PROTECTED]
Subject: RE: Truncating text


Oh god,
Then, what to do?  Does FOP 0.20.4 has addressed this overflow
issue?

Ramana.JV.

-Original Message-
From: Pretterhofer, Guenter (ext.)
[mailto:[EMAIL PROTECTED]]
Sent: Monday, July 08, 2002 3:16 PM
To: [EMAIL PROTECTED]
Subject: AW: Truncating text


Hi,

according to the spec you could do the truncation with overflow=hidden.
But this is currently not implemented in FOP.


Cheers,
gP

-Ursprüngliche Nachricht-
Von: RamanaJV [mailto:[EMAIL PROTECTED]]
Gesendet am: Montag, 8. Juli 2002 11:10
An: [EMAIL PROTECTED]
Betreff: RE: Truncating text

Thanks for the reply Pretterhofer,
I will try to explain the problem in greater detail. The blocks I have
are in the table cells and I don't want the text in the table cell block to
occupy anything extra space than allocated.  

 I have tried using this option, but the problem with wrap-option=no-wrap
is the text now will not wrap to the next line, but will occupy the next
cell and the text in that cell becomes clumsy with the overlapping text. I
actually don't want the text to occupy not more than what is allocated.
Reason, I have asked for truncation...

Ramana.JV.

-Original Message-
From: Pretterhofer, Guenter (ext.)
[mailto:[EMAIL PROTECTED]]
Sent: Monday, July 08, 2002 2:31 PM
To: [EMAIL PROTECTED]
Subject: AW: Truncating text


Hi Ramana,
 
you could try fo:block wrap-option=no-wrap.
 
hth
gP

-Ursprüngliche Nachricht-
Von: RamanaJV [mailto:[EMAIL PROTECTED]]
Gesendet am: Montag, 8. Juli 2002 10:40
An: [EMAIL PROTECTED]
Betreff: Truncating text

HI All,
I don't want the text in the fo:block to be wrapped if the text length
did not fit the allocated region. Instead, I want the text to be truncated.
Is it possible through FOP?  
 
Eagerly awaiting for the reply
Ramana.JV.


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

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

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

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

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




Usage of UML Diagrams

2002-07-08 Thread RamanaJV

To FOP Developers,
There is a lot amount of  work going on and lot of design issues.
Since, FOP codebase has become very large now, I think it is time we think
about UML diagrams to keep the things simple and easily understandable. Why
don't we draw the UML diagrams like depicting the overall design with Class
and Object diagrams and also the sequence and activity diagrams for the new
contributors to make the induction smooth.
I also feel these diagrams will help a lot to the entire FOP
developer community so that design can be easily verified and make sure that
no flaws exist in the design?
What do others feel about this?

Ramana.JV.

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




Pagination problem

2002-07-02 Thread RamanaJV

HI all,
I'm developing a reporting application using FOP.  AWTRenderer is
used. Since, there are several types of reports, the design followed is a
client-server one, where the client will be supplying the data to the sever
(report viewer component). This data will be constructed as a FO Text and
supplied to FOP for viewing as a report. 
   The actual problem here is the client program will not supply the
data for the entire report.(The report will consist of several pages). There
will be a Next button in the report viewer component and for every Next
click the client is asked to supply the data set. The trick here is the data
set supplied by the client can some times span just more than 1 page. Let's
say the first supplied data set spanned the entire first page and half of
the second page. With the Next click to the button I have to get the data
from the client, fill up the remaining half portion of the data with the
second supplied data and then start a fresh page.  This will  solve my
pagination problem. Is there a way the FOP provides me to update the
previously created pages? This is one solution to the pagination problem I'm
worried with.

Waiting in anticipation of the solution
Ramana.JV.


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




Could not compile

2002-07-01 Thread RamanaJV

Hi everyone,
I'm trying to compile the source files through build.bat and it
fails saying the following error

F:\fop-0.20.3-src\fop-0.20.3\build.xml:590: Cannot use classic compiler, as
it is not available A
 common solution is to set the environment variable JAVA_HOME to your jdk
directory.

But, I have jdk installed here. I use JDK 1.4.  I'm new to this fop
development and want to work on this project. Any help please.

Ramana.JV.

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




RE: Could not compile

2002-07-01 Thread RamanaJV

Thanks for the reply Keiron,
I have the JAVA_HOME pointing towards the JDK and not the JRE. Just
for confirmation, I have installed JDK 1.3 and changed the JAVA_HOME
pointing towards the JDK 1.3 directory. Now, I'm able to successfully
execute build.bat. It seems like to be a problem with the java version.  I'm
using fop version 0.20.3. Is 0.20.3 not ready for JDK 1.4?

-Original Message-
From: Keiron Liddle [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 01, 2002 5:23 PM
To: FOP
Subject: Re: Could not compile



You probably have your JAVA_HOME pointing to a jre directory. It needs
to be a jdk directory that contains extra jars.

On Mon, 2002-07-01 at 13:01, RamanaJV wrote:
 Hi everyone,
   I'm trying to compile the source files through build.bat and it
 fails saying the following error
 
 F:\fop-0.20.3-src\fop-0.20.3\build.xml:590: Cannot use classic compiler,
as
 it is not available A
  common solution is to set the environment variable JAVA_HOME to your jdk
 directory.
 
 But, I have jdk installed here. I use JDK 1.4.  I'm new to this fop
 development and want to work on this project. Any help please.
 
 Ramana.JV.



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

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




FOP Pagination

2002-06-28 Thread RamanaJV

HI,
This is Ramana from India. I'm using the FOP API and it's giving me
problem while pagination. My Pages will be built dynamically, one at a time.
A block of FO stuff is supplied to FOP and the AWTRenderer is called to
render it and shown in the viewer. My problem is some times the FO stuff
supplied is spanning up more than 1 page. 
I found that call to the method 
System.out.println(renderer.getPageCount()
1:+renderer.getPageCount());
// build FO tree: time
driver.render(parser,
inputHandler.getInputSource());
System.out.println(renderer.getPageCount()
2:+renderer.getPageCount());

The page count gets incremented by 1 before and after the driver.render
call. I have gone through the source code of Driver, but found that it does
nothing but will build the fo tree from the content. I'm unable to
understand how the Driver is able to add the pages to the AWTRenderer after
this statement.

Please, help me.

Ramana.JV.

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