Re: FW: cvs commit: xml-fop/src/org/apache/fop/render/xml XMLRenderer .java

2001-09-18 Thread Keiron Liddle

Art,

The point of view I was thinking of is that the driver should be put back
into the state it started with (from the no argument constructor) and that
it shouldn't hold onto things if it is going to be reused. This means that
it uses a minimum of memory while it is idle.
I would argue that because the structure was not created by the Driver and
it was set externally then it should not hold a reference to it. If you
want to hold onto the driver and let the output stream get garbage
collected then the caller of driver is able to controll that.

In your situation you are still able to set the output stream again. I
wouldn't think making that one call is too inconvenient unless there is
something I don't know about.

As for asking for an npe, that will hapen if you create a new driver with
the no argument constructor then call render.

As for the bug, I think this is due to the renderer not being reset (which
it is now in the current cvs).



On Mon, 17 Sep 2001 18:26:34 Art Welch wrote:
 Keiron,
 
 I wonder if NULLing _source, _stream, and _reader in Driver.reset() is
 such
 a good idea. For my own use with the PCLRenderer I take advantage of the
 stream staying open to concatenate multiple invocations into one output.
 I
 suppose that the desired things could be saved off before calling reset
 (since thankfully you do not call close() or anything) and then put them
 back after. But this seems like a bit of a nuisance. But maybe I am the
 only
 one that does this. I know that for most of the other renderers it is not
 currently possible to concatenate multiple invocations in FOP. Just a
 though.
 
 Art

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




Re: 0.16.0 to 0.20.1

2001-09-18 Thread MEMMADI Said

I've tested with fop 0.20.1 it and it seem work fine :


using SAX parser org.apache.xerces.parsers.SAXParser
building formatting object tree
setting up fonts
 [1]
 [2]
 [3]
 [4]
 [5]
 [6]
Parsing of document complete, stopping renderer
Initial heap size: 953Kb
Current heap size: 1373Kb
Total memory used: 419Kb
  Memory use is indicative; no GC was performed
  These figures should not be used comparatively
Total time used: 1843ms
Pages rendererd: 6
Avg render time: 307ms/page


 Messages d´origine 
De: Hugues REROLLE [EMAIL PROTECTED]
Date: lundi 17 septembre  2001 15:53
Objet: 0.16.0 to 0.20.1

 Hellp,
 
 I'm used to use the 0.16.0 version of FOP.
 And when I want to try the last version of FOP (0.20.1) and when I compiled
 my files (.XSL and .XML) which are working under 0.16 don't working under
 0.20.
 
 The message is :
 
 FOP 0.20.1
 ERROR: null
 
 Could you help me ???
 
 



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


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


cvs commit: xml-fop/src/org/apache/fop/pdf DCTFilter.java PDFXObject.java

2001-09-18 Thread keiron

keiron  01/09/18 01:17:08

  Modified:src/org/apache/fop/image AbstractFopImage.java
FopImageFactory.java
   src/org/apache/fop/pdf PDFXObject.java
  Added:   src/org/apache/fop/image GifImage.java JpegImage.java
   src/org/apache/fop/pdf DCTFilter.java
  Removed: src/org/apache/fop/image GifJpegImage.java
  Log:
  Patch to handle direct embedding of jpeg images into pdf
  Submitted by: Eric Dalquist [EMAIL PROTECTED]
  Reviewed by:  Keiron
  
  Revision  ChangesPath
  1.5   +18 -2 xml-fop/src/org/apache/fop/image/AbstractFopImage.java
  
  Index: AbstractFopImage.java
  ===
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/image/AbstractFopImage.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- AbstractFopImage.java 2001/07/30 20:29:26 1.4
  +++ AbstractFopImage.java 2001/09/18 08:17:07 1.5
  @@ -1,5 +1,5 @@
   /*
  - * $Id: AbstractFopImage.java,v 1.4 2001/07/30 20:29:26 tore Exp $
  + * $Id: AbstractFopImage.java,v 1.5 2001/09/18 08:17:07 keiron 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.
  @@ -21,6 +21,7 @@
   /**
* Base class to implement the FopImage interface.
* @author Eric SCHAEFFER
  + * @author Modified by Eric Dalquist - 9/14/2001 - [EMAIL PROTECTED]
* @see FopImage
*/
   public abstract class AbstractFopImage implements FopImage {
  @@ -76,6 +77,12 @@
   protected PDFColor m_transparentColor = null;
   
   /**
  + * Image compression type.
  + * Added by Eric Dalquist
  + */
  +protected PDFFilter m_compressionType = null;
  +
  +/**
* Constructor.
* Construct a new FopImage object and initialize its default properties:
* UL
  @@ -250,7 +257,16 @@
* @exception FopImageException an error occured during loading
*/
   public PDFFilter getPDFFilter() throws FopImageException {
  -return null;
  +
  +/*
  + * Added by Eric Dalquist
  + * Using the bitsPerPixel var as our flag since many imges will
  + * have a null m_compressionType even after being loaded
  + */
  +if (this.m_bitsPerPixel == 0)
  +this.loadImage();
  +
  +return m_compressionType;
   }
   
   /**
  
  
  
  1.24  +3 -3  xml-fop/src/org/apache/fop/image/FopImageFactory.java
  
  Index: FopImageFactory.java
  ===
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/image/FopImageFactory.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- FopImageFactory.java  2001/09/07 14:10:07 1.23
  +++ FopImageFactory.java  2001/09/18 08:17:07 1.24
  @@ -1,5 +1,5 @@
   /*
  - * $Id: FopImageFactory.java,v 1.23 2001/09/07 14:10:07 keiron Exp $
  + * $Id: FopImageFactory.java,v 1.24 2001/09/18 08:17:07 keiron 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.
  @@ -118,10 +118,10 @@
   String imgMimeType = imgReader.getMimeType();
   String imgClassName = null;
   if (image/gif.equals(imgMimeType)) {
  -imgClassName = org.apache.fop.image.GifJpegImage;
  +imgClassName = org.apache.fop.image.GifImage;
   // imgClassName = org.apache.fop.image.JAIImage;
   } else if (image/jpeg.equals(imgMimeType)) {
  -imgClassName = org.apache.fop.image.GifJpegImage;
  +imgClassName = org.apache.fop.image.JpegImage;
   // imgClassName = org.apache.fop.image.JAIImage;
   } else if (image/bmp.equals(imgMimeType)) {
   imgClassName = org.apache.fop.image.BmpImage;
  
  
  
  1.1  xml-fop/src/org/apache/fop/image/GifImage.java
  
  Index: GifImage.java
  ===
  /*
   * $Id: GifImage.java,v 1.1 2001/09/18 08:17:07 keiron 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.
   */
  
  package org.apache.fop.image;
  
  // Java
  import java.net.URL;
  import java.awt.image.ImageProducer;
  import java.awt.image.ColorModel;
  import java.awt.image.IndexColorModel;
  
  // FOP
  import org.apache.fop.datatypes.ColorSpace;
  import org.apache.fop.pdf.PDFColor;
  import org.apache.fop.image.analyser.ImageReader;
  
  /**
   * FopImage object for GIF images, using Java native classes.
   * @author Eric SCHAEFFER
   * @author Modified by Eric Dalquist - 9/14/2001 - 

Basic question re: spacing on same line

2001-09-18 Thread PATEL, DINESH


Hi all,

I'm still pretty new to fop so this may seem like a silly question but here
goes..

How do I display spaces between objects on the same line?
eg.
I have, in my XSLFO file.

xsl:value-of select=$MONTHSTR /   xsl:value-of select=$YEAR
/

I would like it to render as:
Mar  1947

but I get
Mar1947

TIA,
--
Dinesh.
[EMAIL PROTECTED]
(apologies for the disclaimer below but our mail software automatically
appends it.)



 



This email and any accompanying documents are intended only for the named recipient, 
are confidential and may be  privileged.If you are not the intended recipient 
please notify us immediately by email to [EMAIL PROTECTED] and you must not copy, 
disclose or otherwise use this message. Unauthorised use is strictly prohibited and 
may be unlawful. The content of this e-mail represents the view of the individual and 
not the company.   The company reserves the right to monitor the content of all 
e-mails in accordance with lawful business practice. 

Whilst attachments are virus checked before transmission, Britannic Assurance plc does 
not accept any liability in respect of any virus which is not detected.

Britannic Assurance plc, No. 3002 is registered in England and maintains its 
registered office at 1 Wythall Green Way, Wythall, Birmingham B47 6WG.  
Telephone 01564 82 88 88  Fax: 01564 82 88 22 
Website: www.britannicassurance.com

Britannic Assurance plc, Britannic Unit Linked Assurance Limited and Britannic ISA 
Managers Limited are regulated by the Personal Investment Authority.  Britannic Unit 
Trust Managers Limited is regulated by IMRO. Each of these companies is a member of 
the Britannic marketing group which only advises on and sells its own life assurance, 
pensions, unit trust and ISA products.


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




RE: Basic question re: spacing on same line

2001-09-18 Thread B.Rabi Shankar

  hi,
  u can put #160; where u want the space.

xsl:value-of select=$MONTHSTR /#160; #160;xsl:value-of select=$YEAR/ should 
give u the result that u want.

rgds,
Rabi.



-Original Message-
From:   PATEL, DINESH [SMTP:[EMAIL PROTECTED]]
Sent:   Tuesday, September 18, 2001 2:54 PM
To: [EMAIL PROTECTED]
Subject:Basic question re: spacing on same line


Hi all,

I'm still pretty new to fop so this may seem like a silly question but here
goes..

How do I display spaces between objects on the same line?
eg.
I have, in my XSLFO file.

xsl:value-of select=$MONTHSTR /   xsl:value-of select=$YEAR
/

I would like it to render as:
Mar  1947

but I get
Mar1947

TIA,
--
Dinesh.
[EMAIL PROTECTED]
(apologies for the disclaimer below but our mail software automatically
appends it.)




application/ms-tnef
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


RE: Basic question re: spacing on same line

2001-09-18 Thread Daniel Pfuhl

hi,

for adding spaces i always use #160;
so for you this should be:

xsl:value-of select=$MONTHSTR /#160;xsl:value-of
select=$YEAR/

hth

daniel

 --- B.Rabi Shankar [EMAIL PROTECTED] schrieb:  
 hi,
   u can put   where u want the space.
 
 xsl:value-of select=$MONTHSTR / 
  xsl:value-of select=$YEAR/ should give u
 the result that u want.
 
 rgds,
 Rabi.
 
 
 
 -Original Message-
 From: PATEL, DINESH [SMTP:[EMAIL PROTECTED]]
 Sent: Tuesday, September 18, 2001 2:54 PM
 To:   [EMAIL PROTECTED]
 Subject:  Basic question re: spacing on same line
 
 
 Hi all,
 
 I'm still pretty new to fop so this may seem like a
 silly question but here
 goes..
 
 How do I display spaces between objects on the same
 line?
 eg.
 I have, in my XSLFO file.
 
   xsl:value-of select=$MONTHSTR /   xsl:value-of
 select=$YEAR
 /
 
 I would like it to render as:
   Mar  1947
 
 but I get
   Mar1947
 
 TIA,
 --
 Dinesh.
 [EMAIL PROTECTED]
 (apologies for the disclaimer below but our mail
 software automatically
 appends it.)
 
 
 
 

 ATTACHMENT part 2 application/ms-tnef 

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

=

Daniel Pfuhl
mailto:[EMAIL PROTECTED]

__
Do You Yahoo!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de

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




RE: Basic question re: spacing on same line

2001-09-18 Thread Daniel Pfuhl

wow they read my space as space an don't display
the unicode so i try with spaces between:

Space=  # 1 6 0 ;

daniel

 --- Daniel Pfuhl [EMAIL PROTECTED] schrieb:  hi,
 
 for adding spaces i always use  
 so for you this should be:
 
 xsl:value-of select=$MONTHSTR
 / xsl:value-of
 select=$YEAR/
 
 hth
 
 daniel
 
  --- B.Rabi Shankar [EMAIL PROTECTED] schrieb:
  
  hi,
u can put   where u want the space.
  
  xsl:value-of select=$MONTHSTR / 
   xsl:value-of select=$YEAR/ should give u
  the result that u want.
  
  rgds,
  Rabi.
  
  
  
  -Original Message-
  From:   PATEL, DINESH [SMTP:[EMAIL PROTECTED]]
  Sent:   Tuesday, September 18, 2001 2:54 PM
  To: [EMAIL PROTECTED]
  Subject:Basic question re: spacing on same line
  
  
  Hi all,
  
  I'm still pretty new to fop so this may seem like
 a
  silly question but here
  goes..
  
  How do I display spaces between objects on the
 same
  line?
  eg.
  I have, in my XSLFO file.
  
  xsl:value-of select=$MONTHSTR /  
 xsl:value-of
  select=$YEAR
  /
  
  I would like it to render as:
  Mar  1947
  
  but I get
  Mar1947
  
  TIA,
  --
  Dinesh.
  [EMAIL PROTECTED]
  (apologies for the disclaimer below but our mail
  software automatically
  appends it.)
  
  
  
  
 
  ATTACHMENT part 2 application/ms-tnef 
 

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


 Daniel Pfuhl
 mailto:[EMAIL PROTECTED]
 

__
 Do You Yahoo!?
 Gesendet von Yahoo! Mail - http://mail.yahoo.de
 

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

=

Daniel Pfuhl
mailto:[EMAIL PROTECTED]

__
Do You Yahoo!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de

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




RE: Basic question re: spacing on same line

2001-09-18 Thread B.Rabi Shankar

hi daniel,
  even i had the same problem.  i just replied with the   # 1 6 0 ; put together but 
didnt display it.
rabi

-Original Message-
From:   Daniel Pfuhl [SMTP:[EMAIL PROTECTED]]
Sent:   Tuesday, September 18, 2001 3:44 PM
To: [EMAIL PROTECTED]
Subject:RE: Basic question re: spacing on same line

wow they read my space as space an don't display
the unicode so i try with spaces between:

Space=  # 1 6 0 ;

daniel

 --- Daniel Pfuhl [EMAIL PROTECTED] schrieb:  hi,
 
 for adding spaces i always use  
 so for you this should be:
 
 xsl:value-of select=$MONTHSTR
 / xsl:value-of
 select=$YEAR/
 
 hth
 
 daniel
 
  --- B.Rabi Shankar [EMAIL PROTECTED] schrieb:
  
  hi,
u can put   where u want the space.
  
  xsl:value-of select=$MONTHSTR / 
   xsl:value-of select=$YEAR/ should give u
  the result that u want.
  
  rgds,
  Rabi.
  
  
  
  -Original Message-
  From:   PATEL, DINESH [SMTP:[EMAIL PROTECTED]]
  Sent:   Tuesday, September 18, 2001 2:54 PM
  To: [EMAIL PROTECTED]
  Subject:Basic question re: spacing on same line
  
  
  Hi all,
  
  I'm still pretty new to fop so this may seem like
 a
  silly question but here
  goes..
  
  How do I display spaces between objects on the
 same
  line?
  eg.
  I have, in my XSLFO file.
  
  xsl:value-of select=$MONTHSTR /  
 xsl:value-of
  select=$YEAR
  /
  
  I would like it to render as:
  Mar  1947
  
  but I get
  Mar1947
  
  TIA,
  --
  Dinesh.
  [EMAIL PROTECTED]
  (apologies for the disclaimer below but our mail
  software automatically
  appends it.)
  
  
  
  
 
  ATTACHMENT part 2 application/ms-tnef 
 

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


 Daniel Pfuhl
 mailto:[EMAIL PROTECTED]
 

__
 Do You Yahoo!?
 Gesendet von Yahoo! Mail - http://mail.yahoo.de
 

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

=

Daniel Pfuhl
mailto:[EMAIL PROTECTED]

__
Do You Yahoo!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de

-
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: table-header problem

2001-09-18 Thread Keiron Liddle

This problem is now fix. Gotta like those one line fixes.

On Mon, 17 Sep 2001 23:41:35 Shkuro, Yuri wrote:
 Hi,
 
   I am using FOP 0.20.1 CVS build of 9/17.  I have two tables in the
 document
 with fo:table-header defined for each, and the header contains three
 lines
 of text
 in some columns, something like this:
 
 fo:table-header font-size=8pt
   fo:table-row
 fo:table-cell
   fo:block text-align=endExercisable/fo:block 
 /fo:table-cell
 fo:table-cell
   fo:block text-align=endExercisable/fo:block 
   fo:block text-align=endBeginning/fo:block 
   fo:block text-align=end05/2002/fo:block 
 /fo:table-cell
   /fo:table-row
 /fo:table-header
 
 When the first table is longer than one page, its header is repeated on
 the
 second 
 page and the second table renders fine - as expected.  However, when the
 first table is just as hign as to fit on the first page but push the
 second
 table
 on the second page, the header of the second page only displays the last
 line of
 text.  Is this a bug?
 
   I attach the .fo file - it actually has six tables, but the problem is
 with the
 last two.  If the table elements are changed from
 
   fo:table space-before.optimum=10pt border-collapse=separate
 
 to
 
   fo:table space-before.optimum=50pt border-collapse=separate
 
 then the first of the last two tables wraps to the second page and the
 last
 table shows correctly - sort of tells me that my stylesheet is correct.
 
 I would appreciate any advice on this.  Thanks in advance,
 
 YS.
 
 P.S. Also, if someone could tell me how to enforce valign=bottom in the
 first
 cell of the example above?

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




Re: Basic question re: spacing on same line

2001-09-18 Thread Oliver Schulz

Hi,

 How do I display spaces between objects on the same line?
 eg.
 I have, in my XSLFO file.

   xsl:value-of select=$MONTHSTR /   xsl:value-of select=$YEAR
 /

the problem is, that your text-node between the tags contains
only whitespace, and is therefore stripped from the nodetree
as requested per xslt-spec.
Ich you want one space, you could use:

xsl:value-of select=$MONTHSTR /
xsl:text /xsl:text
xsl:value-of select=$YEAR/

The content of xsl:text nodes is not stripped.

cu
Oliver

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




XMLFormatter

2001-09-18 Thread Johnson, Jack
Title: XMLFormatter





I believe that there is an XMLFormatter class in package: org.apache.fop.apps.*;


Is this true? If so, I can't seem to find it in fop.jar. Can anyone tell me where I
can find this class or how can I get it.


Thanks,
Jack




***
WARNING:  All e-mail sent to and from this address will be received or
otherwise recorded by the A.G. Edwards corporate e-mail system and is
subject to archival, monitoring or review by, and/or disclosure to,
someone other than the recipient.
***



RE: ETA on 0.20.2

2001-09-18 Thread Michel Lehon

Hi,

I just updated my local CVS copy to test a few things, and I cant build it.
I get compile error in SVGObj and SVGElement.

Is that normal ? Any fix?

Thanks.

Michel Lehon
Outwares.

 -Original Message-
 From: Keiron Liddle [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, 18 September, 2001 12:03
 To: [EMAIL PROTECTED]
 Subject: Re: ETA on 0.20.2


 We should probably have a 0.21 release sometime in the next two weeks.

 Things that will need doing are:
 - testing for any unnoticed problems
 - building and putting the release on the server
 - update the website to reflect the new version
 - changes list, todo list, status etc.

 We could have a hold on new features or major changes for a few days and
 then when everything is done it will be available.
 So who is going to help out?

 On Mon, 17 Sep 2001 13:35:28 [EMAIL PROTECTED] wrote:
  Any ETA on  0.20.2?  I really need markers to implement running headers.
  Thanks,
  Lou

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





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




AW: How to do pre in PDF...

2001-09-18 Thread Duttle Wolfgang ZFF IV

Hi Christian,

try to use the fo:block attribute white-space-collapse=false for the whole
code example in one block. Then you will get the same behavior as you use
pre in HTML.

Wolfgang

Wolfgang Duttle
ZF Friedrichshafen AG
Bereich I   Abt. IV
88038 Friedrichshafen
Tel.: 07541/77-7656  Fax: -907656
email: [EMAIL PROTECTED]


-Ursprüngliche Nachricht-
Von: Beer, Christian [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 14. September 2001 14:41
An: Fop-liste (E-Mail)
Betreff: How to do pre in PDF...


Hi there!

I have a question:
I am developing a XSL, that transforms a XML to PDF using FOP. This shall
include some
code-samples included like one can do using pre in HTML. 

How can I then convert the newlines into fo:blocks??

Christian

__
DIRON Wirtschaftsinformatik GmbH  Co. KG
Christian Beer  ([EMAIL PROTECTED])
Daimlerweg 39-41Tel. : +49(251)979-200
48163 Muenster  Fax  : +49(251)979-2020
Germany 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]




Image location

2001-09-18 Thread Michel Lehon

Hi,

I'm currently trying to figure out where fop is looking for images (but I'd
like to know how external resource are located).
I'd like to be able to load images with relative paths, however I'm using
fop from a servlet (through the Driver class).
I'm firing SAX events myself to Fop's ContentHandler.

and I'd like the relative path be be taken/derived from the SystemID of the
SAXSource.

How could I acheive that, or how can I set Fop's basedir at runtime for the
relative paths ?

Thanks.

Michel Lehon.
Outwares.


 -Original Message-
 From: Keiron Liddle [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, 18 September, 2001 12:03
 To: [EMAIL PROTECTED]
 Subject: Re: ETA on 0.20.2


 We should probably have a 0.21 release sometime in the next two weeks.

 Things that will need doing are:
 - testing for any unnoticed problems
 - building and putting the release on the server
 - update the website to reflect the new version
 - changes list, todo list, status etc.

 We could have a hold on new features or major changes for a few days and
 then when everything is done it will be available.
 So who is going to help out?

 On Mon, 17 Sep 2001 13:35:28 [EMAIL PROTECTED] wrote:
  Any ETA on  0.20.2?  I really need markers to implement running headers.
  Thanks,
  Lou

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





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




AW: How to do pre in PDF...

2001-09-18 Thread Beer, Christian

Hi Wolfgang!

Thanks, that did the trick!

Christian

-Ursprüngliche Nachricht-
Von: Duttle Wolfgang ZFF IV [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 18. September 2001 16:19
An: '[EMAIL PROTECTED]'
Betreff: AW: How to do pre in PDF...


Hi Christian,

try to use the fo:block attribute white-space-collapse=false for the whole
code example in one block. Then you will get the same behavior as you use
pre in HTML.

Wolfgang

Wolfgang Duttle
ZF Friedrichshafen AG
Bereich I   Abt. IV
88038 Friedrichshafen
Tel.: 07541/77-7656  Fax: -907656
email: [EMAIL PROTECTED]


-Ursprüngliche Nachricht-
Von: Beer, Christian [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 14. September 2001 14:41
An: Fop-liste (E-Mail)
Betreff: How to do pre in PDF...


Hi there!

I have a question:
I am developing a XSL, that transforms a XML to PDF using FOP. This shall
include some
code-samples included like one can do using pre in HTML. 

How can I then convert the newlines into fo:blocks??

Christian

__
DIRON Wirtschaftsinformatik GmbH  Co. KG
Christian Beer  ([EMAIL PROTECTED])
Daimlerweg 39-41Tel. : +49(251)979-200
48163 Muenster  Fax  : +49(251)979-2020
Germany 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]




Programmatically creating PDF files that reference an external image

2001-09-18 Thread Michael Woinoski

I need to generate pdf from a Java servlet for archiving as well as
viewing in a web browser. The servlet will grab info from a database and
create pdf with a scanned form as a background image. The image will be
the same for all documents. The generated pdf files need to be as small
as possible, since we'll be storing a large number of them.

FO's external-graphic tag gives me what we need, except (in FOP, at
least) the image is embedded in the pdf file, resulting in a large file:
fo:block-container position=absolute left=0.0in top=0.0in
width=8.5in height=11.0in
fo:external-graphic src=pageSizeImage.jpg/
/fo:block-container
fo:block-container position=absolute left=5.3in top=1.85in
width=1.0in height=0.2in
fo:block font-size=10pt font-family=monospace
Hello World
/fo:block
/fo:block-container
I'm looking for something that will keep the image external to the pdf.

I know that pdf 1.3 supports references to external files, so I thought
that instead of using FO, I could simply generate pdf directly. However,
the sample files in the pdf spec appendix G have no examples that show
how to reference external files.

I'm looking for a sample PDF file in plain ASCII that references an
external jpeg image and superimposes text strings on the image.

I'm not committed to this approach, so I'd be willing to try something
different (creating a pdf template from the image and then merging it
with the text, using a pdf form, etc.) But the solution needs to be
something that can be executed dynamically without human intervention,
so any solution that requires using Acrobat or clicking a button in a
pdf form is not an option.

Thanks in advance,
Mike

-- 

Mike Woinoski  Pine Needle Consulting
mailto:[EMAIL PROTECTED]

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




FOP without XML-File in file system

2001-09-18 Thread MEMMADI Said

Hi all,

What is the best way to use FOP without XML-File when my data source is database ?
Must I create a DOM Object  ? Must I use DTD coresponding to my Proposal Object ?


Thanks in adavance.



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




Re: ETA on 0.20.2

2001-09-18 Thread Arved Sandstrom

If nothing else you can always count on me to do the release stuff. Mind 
you, if someone else _really_ wants to do that, I won't complain. But I do 
have it down.

If we shoot for a 0.20.1 release, say on 30 September, then I'd say we hold 
any new commits after 25 September. Objections?

And I do really need to address markers. Thanks for the prod.

Regards,
Arved Sandstrom

At 12:02 PM 9/18/01 +0200, Keiron Liddle wrote:
We should probably have a 0.21 release sometime in the next two weeks.

Things that will need doing are:
- testing for any unnoticed problems
- building and putting the release on the server
- update the website to reflect the new version
- changes list, todo list, status etc.

We could have a hold on new features or major changes for a few days and
then when everything is done it will be available.
So who is going to help out?

On Mon, 17 Sep 2001 13:35:28 [EMAIL PROTECTED] wrote:
 Any ETA on  0.20.2?  I really need markers to implement running headers.
 Thanks,
 Lou

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


Fairly Senior Software Type
e-plicity (http://www.e-plicity.com)
Wireless * B2B * J2EE * XML --- Halifax, Nova Scotia


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




RE: ETA on 0.20.2

2001-09-18 Thread Jim Wright

When the time comes, if you get me the 0.20.1 release, and what's new, I can
at least run it through testing.

jw

-Original Message-
From: Arved Sandstrom [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 18, 2001 8:46 PM
To: [EMAIL PROTECTED]
Subject: Re: ETA on 0.20.2


If nothing else you can always count on me to do the release stuff. Mind
you, if someone else _really_ wants to do that, I won't complain. But I do
have it down.

If we shoot for a 0.20.1 release, say on 30 September, then I'd say we hold
any new commits after 25 September. Objections?

And I do really need to address markers. Thanks for the prod.

Regards,
Arved Sandstrom

At 12:02 PM 9/18/01 +0200, Keiron Liddle wrote:
We should probably have a 0.21 release sometime in the next two weeks.

Things that will need doing are:
- testing for any unnoticed problems
- building and putting the release on the server
- update the website to reflect the new version
- changes list, todo list, status etc.

We could have a hold on new features or major changes for a few days and
then when everything is done it will be available.
So who is going to help out?

On Mon, 17 Sep 2001 13:35:28 [EMAIL PROTECTED] wrote:
 Any ETA on  0.20.2?  I really need markers to implement running headers.
 Thanks,
 Lou

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


Fairly Senior Software Type
e-plicity (http://www.e-plicity.com)
Wireless * B2B * J2EE * XML --- Halifax, Nova Scotia


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


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