RE: FOP memory usage

2001-07-04 Thread Keiron Liddle

 On Tue, 03 Jul 2001 16:42:47 Rorvick, Chris wrote:
 I mean O(C) where C is a constant amount of memory.

That may be the case for the pdf generation but when FOP needs to deal with
reading an xml document, resolving properties, creating an area tree then
rendering to the target (which may be pdf) it isn't so simple.

So it might be possible to generate the pdf in constant memory but that is
only part of the process.

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




cvs commit: xml-fop/src/org/apache/fop/fo/flow TableBody.java

2001-07-04 Thread keiron

keiron  01/07/04 00:37:49

  Modified:src/org/apache/fop/fo/flow TableBody.java
  Log:
  fixed minor problem with footnote size changes
  
  Revision  ChangesPath
  1.35  +2 -1  xml-fop/src/org/apache/fop/fo/flow/TableBody.java
  
  Index: TableBody.java
  ===
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/flow/TableBody.java,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- TableBody.java2001/05/16 10:24:52 1.34
  +++ TableBody.java2001/07/04 07:37:42 1.35
  @@ -1,4 +1,4 @@
  -/*-- $Id: TableBody.java,v 1.34 2001/05/16 10:24:52 keiron Exp $ --
  +/*-- $Id: TableBody.java,v 1.35 2001/07/04 07:37:42 keiron Exp $ --
*
* Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
* For details on use and redistribution please refer to the
  @@ -237,6 +237,7 @@
   
   if (spaceAfter != 0) {
   area.increaseHeight(spaceAfter);
  +area.setMaxHeight(area.getMaxHeight() - spaceAfter);
   }
   
   if (area instanceof BlockArea) {
  
  
  

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




border-style problem in tables

2001-07-04 Thread pascal Baptiste

Hi everybody,

I'd like to have a piece of help on an problem I have encountered with 
tables in Fop 0.17.
In fact I have a xsl stylesheet which contains xsl/fo instructions in 
order to generate pdf from an xml tree. In this stylesheet, I have a 
table and I want to have each row's bottom border visible in dashed 
style. So I use the attribute border-bottom-style of the fo:table-row 
element with the value dashed.
And it doesn't work. In fact it seems to be interpreted by the Driver as 
if it had the value solid in state of  dashed.
I have also tried with Fop 0.19 and borders are invisible, so it's worse.

Please help!
Thanks in advance.

PS: don't mind the mistakes because I'm french.


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




Drawing lines in PDF using FOP

2001-07-04 Thread Ricardo Coutinho

Hi all,

I have the requirement to draw shapes/lines (horizontal, vertical, diagonal)
based on x/y coordinates passed on to me. Is this possible?

I checked the xslfoRef.pdf that comes with FOP and there was no indication
that this is possible. I have also searched the net and came up with no
references/examples.

If someone has any ideas/examples, I would be grateful if you would pass
them on to me.

Ricardo Coutinho


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




Text Decoration

2001-07-04 Thread John Wyman
Title: Message



It appears as if 
between .12 and the current cvs the last parameter for fontstate which was 
textdecoration in .12 is now only supporting text-variant and the 
text-decoration is lost as it is not passed through. Was this picked up 
somewhere else and I'm missing it ?

John

John H. Wyman5160 Darry LaneDublin, OH 
43016(614)-889-0698[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]Wyman 
Genealogy Site http://www.wyman.orgFrancis Wyman Assoc 
email List http://groups.yahoo.com/group/FrancisWymanAssocWyman 
Family Genealogy Forum http://genforum.genealogy.com/wyman/The 
Wyman Surname Message Board http://www.familyhistory.com/messages/messages.asp?category=surnameforum=Wyman 




cvs commit: xml-fop/src/org/apache/fop/layout BlockArea.java

2001-07-04 Thread klease

klease  01/07/04 14:10:47

  Modified:src/org/apache/fop/layout BlockArea.java
  Log:
  Fix a bug which caused FOP to overestimate the space available for the first line of 
a Block
  
  Revision  ChangesPath
  1.29  +2 -2  xml-fop/src/org/apache/fop/layout/BlockArea.java
  
  Index: BlockArea.java
  ===
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/layout/BlockArea.java,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- BlockArea.java2001/06/12 11:37:37 1.28
  +++ BlockArea.java2001/07/04 21:10:47 1.29
  @@ -1,4 +1,4 @@
  -/* $Id: BlockArea.java,v 1.28 2001/06/12 11:37:37 keiron Exp $
  +/* $Id: BlockArea.java,v 1.29 2001/07/04 21:10:47 klease Exp $
* Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
* For details on use and redistribution please refer to the
* LICENSE file included with these sources.
  @@ -122,7 +122,7 @@
* @return the line area to be used to add inlie objects
*/
   public LineArea getCurrentLineArea() {
  -if (currentHeight + this.currentLineArea.getHeight()  maxHeight) {
  + if (currentHeight + lineHeight  maxHeight) {
   return null;
   }
   this.currentLineArea.changeHyphenation(hyphProps);
  
  
  

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




Re: border-style problem in tables

2001-07-04 Thread Karen Lease

Hi Weiqi,

There are some slight improvements in the current CVS.
border-collapse=collapse is working better, at least in cases where
all the cells have the same size borders.

The handling of border specifications on the rows is still not done: it
should be taken into account on the cells in the collapse style. The
next version of the XSL Specification (hopefully PR) should be clearer
about how this works. I know it's a pain, and I'll try to do something
soon (ie, without waiting for the PR).

Regards,
Karen

Weiqi Gao wrote:

 I had lot of problems with tables with borders in FOP 0.19.0.  The only
 thing that worked reliably for me is to specify the
 border-collapse=separate property on the table, and use borders only
 on the table or table-cells, and never on table-rows or table-columns.
 Fortunately the effects I wanted are all achievable this way (through
 some wacky calculation in the stylesheets).
 
 --
 Weiqi Gao
 [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]




Can't build latest CVS

2001-07-04 Thread John Wyman
Title: Message



I 
get
 [javac] Compiling 638 
source files to C:\CVSRoot\xml-fop\build\classes [javac] 
C:\CVSRoot\xml-fop\build\src\org\apache\fop\fo\flow\TableBody.java:40: Class org.apache.fop.fo.flow.RowSpanMgr not 
found. [javac] RowSpanMgr 
rowSpanMgr; // manage information about spanning rows

Can't find a 
definition for Row Span Mgr, where is it declared ?

John
John H. Wyman5160 Darry LaneDublin, OH 
43016(614)-889-0698[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]Wyman 
Genealogy Site http://www.wyman.orgFrancis Wyman Assoc 
email List http://groups.yahoo.com/group/FrancisWymanAssocWyman 
Family Genealogy Forum http://genforum.genealogy.com/wyman/The 
Wyman Surname Message Board http://www.familyhistory.com/messages/messages.asp?category=surnameforum=Wyman 




Re: bit OT but..streaming PDF to browsers

2001-07-04 Thread David Frankson

I get pdfs from servlets to work fine in IE, but I never have overcome
the 2 hits per pdf.  Is there a solution to this?


- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 04, 2001 7:31 PM
Subject: bit OT but..streaming PDF to browsers


 Hi all,
  i have been pulling my hair out trying to get my nicely created PDFs
 from FOP to IE4/5.5. Has anyone out there managed to bytestream a PDF to
 any version of IE. I can get it to work but the browser makes 2-3 hits to
 the server (presumably some bad hack by Bill based on the Expires Http
 header that i am sending) it all works fine in Netscape/Mozilla. As i
 cannot server a file due to security i really don't know wot else to do.
 Any help much appreciated :-)
 BTW i am serving via servlets  JSP, setting the content type to
 'application/pdf'.

 cheers
 Dave


 Streamlink Pty Ltd, Level 5, 33 York Street, Sydney  NSW 2000 Australia

 Ph: +61 2 8243 1200   Fax: +61 2 8243 1210   Web: www.streamlink.com.au

 ***
 This email and any attachments is confidential and is the intellectual
 property of Streamlink Pty Ltd. If you are not the intended recipient
 you cannot use, distribute or copy this message or attachments. If this
 is the case, please notify the sender by return email immediately and
 erase all copies of the message and attachments, Thank you.
 ***


 -
 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: Is it true!!

2001-07-04 Thread Seshadri G.K.

html-doc , is an open src effort that converts html to pdf, and paginates
quite well. try it out. get it from http://www.easysw.com/htmldoc/

regards
seshadri


- Original Message -
From: Abdul Wahab [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 04, 2001 12:11 PM
Subject: Is it true!!


Hi

FOP can recognise only fo files.  Is it true?
My situation is, I want to convert HTML files to PDF.
So what are the steps I have to do.
Expecting ur advise.

Thanks
Wahab.



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