Patch: fox:document-info

2003-03-19 Thread Stefan . Wachter
Hi all.

I added an extension element that allows to set entries in the PDF document
information map. The extenstion element is a root extension element and it
has two attributes: document-info-key and document-info-value. A usage example
is:

fox:document-info document-info-key=CreationDate
document-info-value=2003-03-19/

I hope someone has time to look on it and can commit it into the CVS. The
supplied patch is taken from the current CVS (fop-0_20_2-maintain branch).

--Stefan

PS: The following diff is the same as in the attachment:

Only in projekte/infotakt/vdp/xml-fop: build
diff -x .nbattrs -ru fop/xml-fop/src/codegen/extproperties.xml
projekte/infotakt/vdp/xml-fop/src/codegen/extproperties.xml
--- fop/xml-fop/src/codegen/extproperties.xml   Wed Mar 19 08:46:33 2003
+++ projekte/infotakt/vdp/xml-fop/src/codegen/extproperties.xml Wed Mar 19
09:27:48 2003
@@ -19,5 +19,17 @@
   datatypeString/datatype
   default/default
 /property
+property
+  namedocument-info-key/name
+  inheritedfalse/inherited
+  datatypeString/datatype
+  default/
+/property
+property
+  namedocument-info-value/name
+  inheritedfalse/inherited
+  datatypeString/datatype
+  default/
+/property
   /generic-property-list
 /property-list
diff -x .nbattrs -ru fop/xml-fop/src/codegen/foproperties.xml
projekte/infotakt/vdp/xml-fop/src/codegen/foproperties.xml
--- fop/xml-fop/src/codegen/foproperties.xmlWed Mar 19 08:46:33 2003
+++ projekte/infotakt/vdp/xml-fop/src/codegen/foproperties.xml  Wed Mar 19
08:54:36 2003
@@ -1650,6 +1650,20 @@
   datatypeString/datatype
   default/default
 /property
+!-- property of document-info extension element --
+property
+  namedocument-info-key/name
+  inheritedfalse/inherited
+  datatypeString/datatype
+  default/
+/property
+!-- property of document-info extension element --
+property
+  namedocument-info-value/name
+  inheritedfalse/inherited
+  datatypeString/datatype
+  default/
+/property
 property
   nameshow-destination/name
   inheritedfalse/inherited
Only in projekte/infotakt/vdp/xml-fop/src/org/apache/fop/extensions:
DocumentInfo.java
diff -x .nbattrs -ru
fop/xml-fop/src/org/apache/fop/extensions/ExtensionElementMapping.java
projekte/infotakt/vdp/xml-fop/src/org/apache/fop/extensions/ExtensionElementMapping.java
---
fop/xml-fop/src/org/apache/fop/extensions/ExtensionElementMapping.java  Wed Mar 19 
08:46:33 2003
+++
projekte/infotakt/vdp/xml-fop/src/org/apache/fop/extensions/ExtensionElementMapping.java
Wed Mar 19 09:01:15 2003
@@ -70,6 +70,7 @@
 foObjs.put(label, Label.maker());
 foObjs.put(continued-label, ContinuedLabel.maker());
 foObjs.put(destination, Destination.maker());
+foObjs.put(document-info, DocumentInfo.maker());
 }
 }
 
diff -x .nbattrs -ru fop/xml-fop/src/org/apache/fop/pdf/PDFDocument.java
projekte/infotakt/vdp/xml-fop/src/org/apache/fop/pdf/PDFDocument.java
--- fop/xml-fop/src/org/apache/fop/pdf/PDFDocument.java Wed Mar 19 08:46:33
2003
+++
projekte/infotakt/vdp/xml-fop/src/org/apache/fop/pdf/PDFDocument.java   Wed Mar 19 
09:08:25 2003
@@ -314,7 +314,11 @@
 PDFInfo pdfInfo = new PDFInfo(++this.objectcount);
 // set the default producer
 pdfInfo.setProducer(org.apache.fop.apps.Version.getVersion());
-this.objects.add(pdfInfo);
+
+// The document info is a trailer object. Extension elements have
+// a chance to add document info before it is rendered.
+addTrailerObject(pdfInfo);
+
 return pdfInfo;
 }
 
@@ -1436,4 +1440,12 @@
root.getDestinations().add(obj);
 }
 
+/**
+ * Sets an entry in the document information map.
+ * @param aKey (required).
+ * @param aValue (required).
+ */
+public void setInfoEntry(String aKey, String aValue) {
+info.setEntry(aKey, aValue);
+}
 }
diff -x .nbattrs -ru fop/xml-fop/src/org/apache/fop/pdf/PDFInfo.java
projekte/infotakt/vdp/xml-fop/src/org/apache/fop/pdf/PDFInfo.java
--- fop/xml-fop/src/org/apache/fop/pdf/PDFInfo.java Wed Mar 19 08:46:33 2003
+++ projekte/infotakt/vdp/xml-fop/src/org/apache/fop/pdf/PDFInfo.java   Wed
Mar 19 09:26:39 2003
@@ -52,6 +52,7 @@
 
 // Java
 import java.io.UnsupportedEncodingException;
+import java.util.*;
 
 /**
  * class representing an /Info object
@@ -59,10 +60,10 @@
 public class PDFInfo extends PDFObject {
 
 /**
- * the application producing the PDF
+ * Maps entry names (like CreationDate or Producer to string
values.
  */
-protected String producer;
-
+private Map entries = new HashMap();
+
 /**
  * create an Info object
  *
@@ -78,7 +79,7 @@
  * @param producer the producer string
  */
 public void setProducer(String producer) {
-this.producer = producer;
+setEntry(Producer, producer);
 }
 

SV: Embedding fonts!

2003-03-19 Thread Uwe Klosa
I changed the class org.apache.fop.render.pdf.fonts.MultiByteFont.java. The
namePrefix is always set to NULL.

/Uwe

-Ursprungligt meddelande-
Från: Müller, Markus [mailto:[EMAIL PROTECTED] 
Skickat: den 17 mars 2003 15:36
Till: [EMAIL PROTECTED]
Kopia: Klosa Uwe
Ämne: AW: Embedding fonts!

I'm not sure, but I remember we had a similar problem: Our corporate fonts
were replaced by Acrobat with built-in fonts, since the font names in the
PDF had a prefix like yours. So Acrobat could not find a font like
023442-Corporate12Bold. Try creating the font metrics file using that
option. 

MM

$ -Ursprüngliche Nachricht-
$ Von: Uwe Klosa [mailto:[EMAIL PROTECTED] 
$ Gesendet: Montag, 17. März 2003 15:31
$ An: [EMAIL PROTECTED]
$ Betreff: SV: Embedding fonts!
$ 
$ 
$ No, I didn't. Should I have done that?
$ 
$ /Uwe
$ 
$ -Ursprungligt meddelande-
$ Från: Müller, Markus [mailto:[EMAIL PROTECTED] 
$ Skickat: den 17 mars 2003 11:40
$ Till: [EMAIL PROTECTED]
$ Ämne: AW: Embedding fonts!
$ 
$ Hi,
$ 
$ How did you create the font metrics files? Did you use the 
$ option -enc
$ ansi ?
$ 
$ Markus
$ 
$ $ -Ursprüngliche Nachricht-
$ $ Von: Uwe Klosa [mailto:[EMAIL PROTECTED] 
$ $ Gesendet: Montag, 17. März 2003 11:33
$ $ An: [EMAIL PROTECTED]; [EMAIL PROTECTED]
$ $ Betreff: Embedding fonts!
$ $ 
$ $ 
$ $ Hi,
$ $ 
$ $ I'm using embedded fonts in fop. That is working fine. But 
$ $ if I want to edit
$ $ the resulting pdf files with Acrobat, the font names aren't 
$ $ correct in the
$ $ file. I'm getting 1Eec24TimesNewRoman or 2Ef1d7TimesNewRoman 
$ $ where it should
$ $ be TimesNewRoman. Why creates fop theses font names? Has 
$ $ anyone tried do
$ $ edit the resulting pdf files?
$ $ 
$ $ Regards Uwe
$ $ 
$ $ 
$ $ 
$ -
$ $ 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]



cvs commit: xml-fop/src/org/apache/fop/apps CommandLineStarter.java Driver.java ErrorHandler.java FOInputHandler.java FOPException.java Fop.java InputHandler.java Options.java Version.java

2003-03-19 Thread pbwest
pbwest  2003/03/19 05:35:56

  Modified:src/org/apache/fop/apps Tag: FOP_0-20-0_Alt-Design
CommandLineStarter.java Driver.java
ErrorHandler.java FOInputHandler.java
FOPException.java Fop.java InputHandler.java
Options.java Version.java
  Log:
  Full LICENSE text.
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.9.2.2   +49 -4 xml-fop/src/org/apache/fop/apps/Attic/CommandLineStarter.java
  
  Index: CommandLineStarter.java
  ===
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/apps/Attic/CommandLineStarter.java,v
  retrieving revision 1.9.2.1
  retrieving revision 1.9.2.2
  diff -u -r1.9.2.1 -r1.9.2.2
  --- CommandLineStarter.java   7 May 2002 04:51:00 -   1.9.2.1
  +++ CommandLineStarter.java   19 Mar 2003 13:35:56 -  1.9.2.2
  @@ -1,8 +1,53 @@
   /*
* $Id$
  - * 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.
  + * 
  + *  
  + *The Apache Software License, Version 1.1
  + *  
  + *  
  + *  Copyright (C) 1999-2003 The Apache Software Foundation. All rights reserved.
  + *  
  + *  Redistribution and use in source and binary forms, with or without modifica-
  + *  tion, are permitted provided that the following conditions are met:
  + *  
  + *  1. Redistributions of  source code must  retain the above copyright  notice,
  + * this list of conditions and the following disclaimer.
  + *  
  + *  2. Redistributions in binary form must reproduce the above copyright notice,
  + * this list of conditions and the following disclaimer in the documentation
  + * and/or other materials provided with the distribution.
  + *  
  + *  3. The end-user documentation included with the redistribution, if any, must
  + * include  the following  acknowledgment:  This product includes  software
  + * developed  by the  Apache Software Foundation  (http://www.apache.org/).
  + * Alternately, this  acknowledgment may  appear in the software itself,  if
  + * and wherever such third-party acknowledgments normally appear.
  + *  
  + *  4. The names FOP and  Apache Software Foundation  must not be used to
  + * endorse  or promote  products derived  from this  software without  prior
  + * written permission. For written permission, please contact
  + * [EMAIL PROTECTED]
  + *  
  + *  5. Products  derived from this software may not  be called Apache, nor may
  + * Apache appear  in their name,  without prior written permission  of the
  + * Apache Software Foundation.
  + *  
  + *  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
  + *  INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
  + *  FITNESS  FOR A PARTICULAR  PURPOSE ARE  DISCLAIMED.  IN NO  EVENT SHALL  THE
  + *  APACHE SOFTWARE  FOUNDATION  OR ITS CONTRIBUTORS  BE LIABLE FOR  ANY DIRECT,
  + *  INDIRECT, INCIDENTAL, SPECIAL,  EXEMPLARY, OR CONSEQUENTIAL  DAMAGES (INCLU-
  + *  DING, BUT NOT LIMITED TO, PROCUREMENT  OF SUBSTITUTE GOODS OR SERVICES; LOSS
  + *  OF USE, DATA, OR  PROFITS; OR BUSINESS  INTERRUPTION)  HOWEVER CAUSED AND ON
  + *  ANY  THEORY OF LIABILITY,  WHETHER  IN CONTRACT,  STRICT LIABILITY,  OR TORT
  + *  (INCLUDING  NEGLIGENCE OR  OTHERWISE) ARISING IN  ANY WAY OUT OF THE  USE OF
  + *  THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  + *  
  + *  This software  consists of voluntary contributions made  by many individuals
  + *  on  behalf of the Apache Software  Foundation and was  originally created by
  + *  James Tauber [EMAIL PROTECTED]. For more  information on the Apache 
  + *  Software Foundation, please see http://www.apache.org/.
  + *  
*/
   
   package org.apache.fop.apps;
  
  
  
  1.31.2.4  +49 -4 xml-fop/src/org/apache/fop/apps/Attic/Driver.java
  
  Index: Driver.java
  ===
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/apps/Attic/Driver.java,v
  retrieving revision 1.31.2.3
  retrieving revision 1.31.2.4
  diff -u -r1.31.2.3 -r1.31.2.4
  --- Driver.java   24 Oct 2002 15:00:29 -  1.31.2.3
  +++ Driver.java   19 Mar 2003 13:35:56 -  1.31.2.4
  @@ -1,8 +1,53 @@
   /*
* $Id$
  - * 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.
  + * 
  + *  
  + 

cvs commit: xml-fop/src/org/apache/fop/configuration Configuration.java ConfigurationParser.java ConfigurationReader.java FontInfo.java FontTriplet.java LanguageFileReader.java

2003-03-19 Thread pbwest
pbwest  2003/03/19 05:37:32

  Modified:src/org/apache/fop/configuration Tag: FOP_0-20-0_Alt-Design
Configuration.java ConfigurationParser.java
ConfigurationReader.java FontInfo.java
FontTriplet.java LanguageFileReader.java
  Log:
  Full LICENSE text.
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.6.4.2   +49 -4 
xml-fop/src/org/apache/fop/configuration/Attic/Configuration.java
  
  Index: Configuration.java
  ===
  RCS file: 
/home/cvs/xml-fop/src/org/apache/fop/configuration/Attic/Configuration.java,v
  retrieving revision 1.6.4.1
  retrieving revision 1.6.4.2
  diff -u -r1.6.4.1 -r1.6.4.2
  --- Configuration.java7 May 2002 15:16:53 -   1.6.4.1
  +++ Configuration.java19 Mar 2003 13:37:31 -  1.6.4.2
  @@ -1,8 +1,53 @@
   /*
* $Id$
  - * 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.
  + * 
  + *  
  + *The Apache Software License, Version 1.1
  + *  
  + *  
  + *  Copyright (C) 1999-2003 The Apache Software Foundation. All rights reserved.
  + *  
  + *  Redistribution and use in source and binary forms, with or without modifica-
  + *  tion, are permitted provided that the following conditions are met:
  + *  
  + *  1. Redistributions of  source code must  retain the above copyright  notice,
  + * this list of conditions and the following disclaimer.
  + *  
  + *  2. Redistributions in binary form must reproduce the above copyright notice,
  + * this list of conditions and the following disclaimer in the documentation
  + * and/or other materials provided with the distribution.
  + *  
  + *  3. The end-user documentation included with the redistribution, if any, must
  + * include  the following  acknowledgment:  This product includes  software
  + * developed  by the  Apache Software Foundation  (http://www.apache.org/).
  + * Alternately, this  acknowledgment may  appear in the software itself,  if
  + * and wherever such third-party acknowledgments normally appear.
  + *  
  + *  4. The names FOP and  Apache Software Foundation  must not be used to
  + * endorse  or promote  products derived  from this  software without  prior
  + * written permission. For written permission, please contact
  + * [EMAIL PROTECTED]
  + *  
  + *  5. Products  derived from this software may not  be called Apache, nor may
  + * Apache appear  in their name,  without prior written permission  of the
  + * Apache Software Foundation.
  + *  
  + *  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
  + *  INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
  + *  FITNESS  FOR A PARTICULAR  PURPOSE ARE  DISCLAIMED.  IN NO  EVENT SHALL  THE
  + *  APACHE SOFTWARE  FOUNDATION  OR ITS CONTRIBUTORS  BE LIABLE FOR  ANY DIRECT,
  + *  INDIRECT, INCIDENTAL, SPECIAL,  EXEMPLARY, OR CONSEQUENTIAL  DAMAGES (INCLU-
  + *  DING, BUT NOT LIMITED TO, PROCUREMENT  OF SUBSTITUTE GOODS OR SERVICES; LOSS
  + *  OF USE, DATA, OR  PROFITS; OR BUSINESS  INTERRUPTION)  HOWEVER CAUSED AND ON
  + *  ANY  THEORY OF LIABILITY,  WHETHER  IN CONTRACT,  STRICT LIABILITY,  OR TORT
  + *  (INCLUDING  NEGLIGENCE OR  OTHERWISE) ARISING IN  ANY WAY OUT OF THE  USE OF
  + *  THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  + *  
  + *  This software  consists of voluntary contributions made  by many individuals
  + *  on  behalf of the Apache Software  Foundation and was  originally created by
  + *  James Tauber [EMAIL PROTECTED]. For more  information on the Apache 
  + *  Software Foundation, please see http://www.apache.org/.
  + *  
*/
   
   package org.apache.fop.configuration;
  
  
  
  1.9.4.2   +49 -4 
xml-fop/src/org/apache/fop/configuration/Attic/ConfigurationParser.java
  
  Index: ConfigurationParser.java
  ===
  RCS file: 
/home/cvs/xml-fop/src/org/apache/fop/configuration/Attic/ConfigurationParser.java,v
  retrieving revision 1.9.4.1
  retrieving revision 1.9.4.2
  diff -u -r1.9.4.1 -r1.9.4.2
  --- ConfigurationParser.java  7 May 2002 15:11:15 -   1.9.4.1
  +++ ConfigurationParser.java  19 Mar 2003 13:37:31 -  1.9.4.2
  @@ -1,8 +1,53 @@
   /*
* $Id$
  - * 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.
  + * 
  + *  

cvs commit: xml-fop/src/org/apache/fop/fo/declarations FoColorProfile.java FoDeclarations.java

2003-03-19 Thread pbwest
pbwest  2003/03/19 06:02:59

  Modified:src/org/apache/fop/fo/declarations Tag:
FOP_0-20-0_Alt-Design FoColorProfile.java
FoDeclarations.java
  Log:
  Full LICENSE text.
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.1.2.4   +50 -5 
xml-fop/src/org/apache/fop/fo/declarations/Attic/FoColorProfile.java
  
  Index: FoColorProfile.java
  ===
  RCS file: 
/home/cvs/xml-fop/src/org/apache/fop/fo/declarations/Attic/FoColorProfile.java,v
  retrieving revision 1.1.2.3
  retrieving revision 1.1.2.4
  diff -u -r1.1.2.3 -r1.1.2.4
  --- FoColorProfile.java   3 Dec 2002 07:31:25 -   1.1.2.3
  +++ FoColorProfile.java   19 Mar 2003 14:02:59 -  1.1.2.4
  @@ -1,8 +1,53 @@
   /*
* $Id$
  - * 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.
  + * 
  + *  
  + *The Apache Software License, Version 1.1
  + *  
  + *  
  + *  Copyright (C) 1999-2003 The Apache Software Foundation. All rights reserved.
  + *  
  + *  Redistribution and use in source and binary forms, with or without modifica-
  + *  tion, are permitted provided that the following conditions are met:
  + *  
  + *  1. Redistributions of  source code must  retain the above copyright  notice,
  + * this list of conditions and the following disclaimer.
  + *  
  + *  2. Redistributions in binary form must reproduce the above copyright notice,
  + * this list of conditions and the following disclaimer in the documentation
  + * and/or other materials provided with the distribution.
  + *  
  + *  3. The end-user documentation included with the redistribution, if any, must
  + * include  the following  acknowledgment:  This product includes  software
  + * developed  by the  Apache Software Foundation  (http://www.apache.org/).
  + * Alternately, this  acknowledgment may  appear in the software itself,  if
  + * and wherever such third-party acknowledgments normally appear.
  + *  
  + *  4. The names FOP and  Apache Software Foundation  must not be used to
  + * endorse  or promote  products derived  from this  software without  prior
  + * written permission. For written permission, please contact
  + * [EMAIL PROTECTED]
  + *  
  + *  5. Products  derived from this software may not  be called Apache, nor may
  + * Apache appear  in their name,  without prior written permission  of the
  + * Apache Software Foundation.
  + *  
  + *  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
  + *  INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
  + *  FITNESS  FOR A PARTICULAR  PURPOSE ARE  DISCLAIMED.  IN NO  EVENT SHALL  THE
  + *  APACHE SOFTWARE  FOUNDATION  OR ITS CONTRIBUTORS  BE LIABLE FOR  ANY DIRECT,
  + *  INDIRECT, INCIDENTAL, SPECIAL,  EXEMPLARY, OR CONSEQUENTIAL  DAMAGES (INCLU-
  + *  DING, BUT NOT LIMITED TO, PROCUREMENT  OF SUBSTITUTE GOODS OR SERVICES; LOSS
  + *  OF USE, DATA, OR  PROFITS; OR BUSINESS  INTERRUPTION)  HOWEVER CAUSED AND ON
  + *  ANY  THEORY OF LIABILITY,  WHETHER  IN CONTRACT,  STRICT LIABILITY,  OR TORT
  + *  (INCLUDING  NEGLIGENCE OR  OTHERWISE) ARISING IN  ANY WAY OUT OF THE  USE OF
  + *  THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  + *  
  + *  This software  consists of voluntary contributions made  by many individuals
  + *  on  behalf of the Apache Software  Foundation and was  originally created by
  + *  James Tauber [EMAIL PROTECTED]. For more  information on the Apache 
  + *  Software Foundation, please see http://www.apache.org/.
  + *  
*
* @author a href=mailto:[EMAIL PROTECTED]Peter B. West/a
*/
  
  
  
  1.1.2.5   +51 -6 
xml-fop/src/org/apache/fop/fo/declarations/Attic/FoDeclarations.java
  
  Index: FoDeclarations.java
  ===
  RCS file: 
/home/cvs/xml-fop/src/org/apache/fop/fo/declarations/Attic/FoDeclarations.java,v
  retrieving revision 1.1.2.4
  retrieving revision 1.1.2.5
  diff -u -r1.1.2.4 -r1.1.2.5
  --- FoDeclarations.java   3 Dec 2002 07:31:25 -   1.1.2.4
  +++ FoDeclarations.java   19 Mar 2003 14:02:59 -  1.1.2.5
  @@ -18,9 +18,54 @@
   
   /*
* $Id$
  - * 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.
  + * 
  + *  
  + *The Apache 

cvs commit: xml-fop/src/org/apache/fop/fo FOAttributes.java FONode.java FOPropertySets.java FOTree.java FObjectNames.java FObjectSets.java FObjects.java FoRoot.java PropNames.java PropertyConsts.java PropertySets.java ReferenceAreaFO.java ShorthandPropSets.java WritingModes.java

2003-03-19 Thread pbwest
pbwest  2003/03/19 06:36:49

  Modified:src/org/apache/fop/fo Tag: FOP_0-20-0_Alt-Design
FOAttributes.java FONode.java FOPropertySets.java
FOTree.java FObjectNames.java FObjectSets.java
FObjects.java FoRoot.java PropNames.java
PropertyConsts.java PropertySets.java
ReferenceAreaFO.java ShorthandPropSets.java
WritingModes.java
  Log:
  Full LICENSE text.
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.1.2.14  +51 -6 xml-fop/src/org/apache/fop/fo/Attic/FOAttributes.java
  
  Index: FOAttributes.java
  ===
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/Attic/FOAttributes.java,v
  retrieving revision 1.1.2.13
  retrieving revision 1.1.2.14
  diff -u -r1.1.2.13 -r1.1.2.14
  --- FOAttributes.java 13 Nov 2002 15:09:26 -  1.1.2.13
  +++ FOAttributes.java 19 Mar 2003 14:36:47 -  1.1.2.14
  @@ -24,9 +24,54 @@
* $Id$
*
* Created: Wed Nov 14 15:19:51 2001
  - * 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.
  + * 
  + *  
  + *The Apache Software License, Version 1.1
  + *  
  + *  
  + *  Copyright (C) 1999-2003 The Apache Software Foundation. All rights reserved.
  + *  
  + *  Redistribution and use in source and binary forms, with or without modifica-
  + *  tion, are permitted provided that the following conditions are met:
  + *  
  + *  1. Redistributions of  source code must  retain the above copyright  notice,
  + * this list of conditions and the following disclaimer.
  + *  
  + *  2. Redistributions in binary form must reproduce the above copyright notice,
  + * this list of conditions and the following disclaimer in the documentation
  + * and/or other materials provided with the distribution.
  + *  
  + *  3. The end-user documentation included with the redistribution, if any, must
  + * include  the following  acknowledgment:  This product includes  software
  + * developed  by the  Apache Software Foundation  (http://www.apache.org/).
  + * Alternately, this  acknowledgment may  appear in the software itself,  if
  + * and wherever such third-party acknowledgments normally appear.
  + *  
  + *  4. The names FOP and  Apache Software Foundation  must not be used to
  + * endorse  or promote  products derived  from this  software without  prior
  + * written permission. For written permission, please contact
  + * [EMAIL PROTECTED]
  + *  
  + *  5. Products  derived from this software may not  be called Apache, nor may
  + * Apache appear  in their name,  without prior written permission  of the
  + * Apache Software Foundation.
  + *  
  + *  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
  + *  INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
  + *  FITNESS  FOR A PARTICULAR  PURPOSE ARE  DISCLAIMED.  IN NO  EVENT SHALL  THE
  + *  APACHE SOFTWARE  FOUNDATION  OR ITS CONTRIBUTORS  BE LIABLE FOR  ANY DIRECT,
  + *  INDIRECT, INCIDENTAL, SPECIAL,  EXEMPLARY, OR CONSEQUENTIAL  DAMAGES (INCLU-
  + *  DING, BUT NOT LIMITED TO, PROCUREMENT  OF SUBSTITUTE GOODS OR SERVICES; LOSS
  + *  OF USE, DATA, OR  PROFITS; OR BUSINESS  INTERRUPTION)  HOWEVER CAUSED AND ON
  + *  ANY  THEORY OF LIABILITY,  WHETHER  IN CONTRACT,  STRICT LIABILITY,  OR TORT
  + *  (INCLUDING  NEGLIGENCE OR  OTHERWISE) ARISING IN  ANY WAY OUT OF THE  USE OF
  + *  THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  + *  
  + *  This software  consists of voluntary contributions made  by many individuals
  + *  on  behalf of the Apache Software  Foundation and was  originally created by
  + *  James Tauber [EMAIL PROTECTED]. For more  information on the Apache 
  + *  Software Foundation, please see http://www.apache.org/.
  + *  
*
* @author a href=mailto:[EMAIL PROTECTED]Peter B. West/a
* @version $Revision$ $Name$
  
  
  
  1.19.2.31 +84 -6 xml-fop/src/org/apache/fop/fo/Attic/FONode.java
  
  Index: FONode.java
  ===
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/Attic/FONode.java,v
  retrieving revision 1.19.2.30
  retrieving revision 1.19.2.31
  diff -u -r1.19.2.30 -r1.19.2.31
  --- FONode.java   3 Dec 2002 07:22:23 -   1.19.2.30
  +++ FONode.java   19 Mar 2003 14:36:47 -  1.19.2.31
  @@ -39,9 +39,54 @@
* FONode.java
* Created: Sat Nov 10 01:39:37 2001
* $Id$
  - * Copyright (C) 

cvs commit: xml-fop/src/org/apache/fop/xml FoXMLEvent.java FoXMLEventPool.java FoXMLSerialHandler.java SyncedFoXmlEventsBuffer.java UnexpectedStartElementException.java XMLEvent.java XMLEventPool.java XMLNamespaces.java

2003-03-19 Thread pbwest
pbwest  2003/03/19 06:44:54

  Modified:src/org/apache/fop/xml Tag: FOP_0-20-0_Alt-Design
FoXMLEvent.java FoXMLEventPool.java
FoXMLSerialHandler.java
SyncedFoXmlEventsBuffer.java
UnexpectedStartElementException.java XMLEvent.java
XMLEventPool.java XMLNamespaces.java
  Log:
  Full LICENSE text.
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.1.2.5   +51 -6 xml-fop/src/org/apache/fop/xml/Attic/FoXMLEvent.java
  
  Index: FoXMLEvent.java
  ===
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/xml/Attic/FoXMLEvent.java,v
  retrieving revision 1.1.2.4
  retrieving revision 1.1.2.5
  diff -u -r1.1.2.4 -r1.1.2.5
  --- FoXMLEvent.java   1 Dec 2002 14:51:58 -   1.1.2.4
  +++ FoXMLEvent.java   19 Mar 2003 14:44:52 -  1.1.2.5
  @@ -7,9 +7,54 @@
   
   /*
* $Id$
  - * 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.
  + * 
  + *  
  + *The Apache Software License, Version 1.1
  + *  
  + *  
  + *  Copyright (C) 1999-2003 The Apache Software Foundation. All rights reserved.
  + *  
  + *  Redistribution and use in source and binary forms, with or without modifica-
  + *  tion, are permitted provided that the following conditions are met:
  + *  
  + *  1. Redistributions of  source code must  retain the above copyright  notice,
  + * this list of conditions and the following disclaimer.
  + *  
  + *  2. Redistributions in binary form must reproduce the above copyright notice,
  + * this list of conditions and the following disclaimer in the documentation
  + * and/or other materials provided with the distribution.
  + *  
  + *  3. The end-user documentation included with the redistribution, if any, must
  + * include  the following  acknowledgment:  This product includes  software
  + * developed  by the  Apache Software Foundation  (http://www.apache.org/).
  + * Alternately, this  acknowledgment may  appear in the software itself,  if
  + * and wherever such third-party acknowledgments normally appear.
  + *  
  + *  4. The names FOP and  Apache Software Foundation  must not be used to
  + * endorse  or promote  products derived  from this  software without  prior
  + * written permission. For written permission, please contact
  + * [EMAIL PROTECTED]
  + *  
  + *  5. Products  derived from this software may not  be called Apache, nor may
  + * Apache appear  in their name,  without prior written permission  of the
  + * Apache Software Foundation.
  + *  
  + *  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
  + *  INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
  + *  FITNESS  FOR A PARTICULAR  PURPOSE ARE  DISCLAIMED.  IN NO  EVENT SHALL  THE
  + *  APACHE SOFTWARE  FOUNDATION  OR ITS CONTRIBUTORS  BE LIABLE FOR  ANY DIRECT,
  + *  INDIRECT, INCIDENTAL, SPECIAL,  EXEMPLARY, OR CONSEQUENTIAL  DAMAGES (INCLU-
  + *  DING, BUT NOT LIMITED TO, PROCUREMENT  OF SUBSTITUTE GOODS OR SERVICES; LOSS
  + *  OF USE, DATA, OR  PROFITS; OR BUSINESS  INTERRUPTION)  HOWEVER CAUSED AND ON
  + *  ANY  THEORY OF LIABILITY,  WHETHER  IN CONTRACT,  STRICT LIABILITY,  OR TORT
  + *  (INCLUDING  NEGLIGENCE OR  OTHERWISE) ARISING IN  ANY WAY OUT OF THE  USE OF
  + *  THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  + *  
  + *  This software  consists of voluntary contributions made  by many individuals
  + *  on  behalf of the Apache Software  Foundation and was  originally created by
  + *  James Tauber [EMAIL PROTECTED]. For more  information on the Apache 
  + *  Software Foundation, please see http://www.apache.org/.
  + *  
* @author a href=mailto:[EMAIL PROTECTED]Peter B. West/a
* @version $Revision$ $Name$
*/
  
  
  
  1.1.2.4   +51 -6 xml-fop/src/org/apache/fop/xml/Attic/FoXMLEventPool.java
  
  Index: FoXMLEventPool.java
  ===
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/xml/Attic/FoXMLEventPool.java,v
  retrieving revision 1.1.2.3
  retrieving revision 1.1.2.4
  diff -u -r1.1.2.3 -r1.1.2.4
  --- FoXMLEventPool.java   29 Nov 2002 17:29:10 -  1.1.2.3
  +++ FoXMLEventPool.java   19 Mar 2003 14:44:52 -  1.1.2.4
  @@ -8,9 +8,54 @@
   
   /*
* $Id$
  - * Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
  - * For details on use and redistribution please refer to the
  - * LICENSE file included with 

Problem with the driver

2003-03-19 Thread vikram . x . kondadasula

Hai,

I am getting an exception while using the driver
  org.apache.fop.apps.Driver driver1 =   new
org.apache.fop.apps.Driver(in,response.getOutputStream());

It throws the following eception :
om.ibm.servlet.engine.webapp.UncaughtServletException: Server caught
unhandled exception from servlet [report]:
org/apache/avalon/framework/logger/Logger
  at
com.ibm.servlet.engine.webapp.WebAppNamedDispatcher.handleWebAppDispatch(WebAppNamedDispatcher.java:295)
  at
com.ibm.servlet.engine.webapp.WebAppNamedDispatcher.dispatch(WebAppNamedDispatcher.java:146)
  at
com.ibm.servlet.engine.webapp.WebAppNamedDispatcher.forward(WebAppNamedDispatcher.java:80)
  at
com.verizon.wbtt.components.servlet.controller.ControllerServlet.doProcess(ControllerServlet.java:105)
  at
com.verizon.wbtt.components.servlet.controller.ControllerServlet.doGet(ControllerServlet.java:68)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:827)
  at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.
_service(StrictLifecycleServlet.java:167)
  at
com.ibm.servlet.engine.webapp.ServicingServletState.service(StrictLifecycleServlet.java:317)
  at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:110)
  at
com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:472)
  at
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:1012)
  at
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:913)
  at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:523)
  at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:282)
  at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:112)
  at
com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:91)
  at
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:184)
  at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
  at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:122)
  at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:315)
  at
com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.java:60)
  at
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:323)
  at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:252)
  at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
com.ibm.servlet.engine.webapp.UncaughtServletException: Server caught
unhandled exception from servlet [report]:
org/apache/avalon/framework/logger/Logger[3/19/03 16:00:55:062 EST]
1eddaa8 SystemOut U Stack Trace


Could anyone help

Thanks
Vikram




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



Re: Problem with the driver

2003-03-19 Thread Jeremias Maerki
That's probably the avalon-framework.jar not in your class path. It's in
FOP's lib directory.

On 19.03.2003 22:03:36 vikram.x.kondadasula wrote:
 org/apache/avalon/framework/logger/Logger


Jeremias Maerki

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



Re: Problem with the driver

2003-03-19 Thread vikram . x . kondadasula

Hai,

I have a problem , withthe driver , whenever I create a driver
Driver driver = new Driver();

I get the Following exception:
com.ibm.servlet.engine.webapp.UncaughtServletException: Server caught
unhandled exception from servlet [report]: org/apache/fop/apps/Driver
  at
com.ibm.servlet.engine.webapp.WebAppNamedDispatcher.dispatch(WebAppNamedDispatcher.java:150)
  at
com.ibm.servlet.engine.webapp.WebAppNamedDispatcher.forward(WebAppNamedDispatcher.java:80)
  at
com.verizon.wbtt.components.servlet.controller.ControllerServlet.doProcess(ControllerServlet.java:105)
  at
com.verizon.wbtt.components.servlet.controller.ControllerServlet.doGet(ControllerServlet.java:68)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:827)
  at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.
_service(StrictLifecycleServlet.java:167)
  at
com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:297)
  at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:110)
  at
com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:472)
  at
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:1012)
  at
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:913)
  at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:523)
  at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:282)
  at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:112)
  at
com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:91)
  at
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:184)
  at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
  at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:122)
  at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:315)
  at
com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.java:60)
  at
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:323)
  at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:252)
  at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
com.ibm.servlet.engine.webapp.UncaughtServletException: Server caught
unhandled exception from servlet [report]: org/apache/fop/apps/Driver
  at
com.ibm.servlet.engine.webapp.WebAppNamedDispatcher.dispatch(WebAppNamedDispatcher.java:150)
[3/19/03 17:55:01:125 EST] 6b2cb760 SystemOut U Stack Trace

  at
com.ibm.servlet.engine.webapp.WebAppNamedDispatcher.forward(WebAppNamedDispatcher.java:80)
  at
com.verizon.wbtt.components.servlet.controller.ControllerServlet.doProcess(ControllerServlet.java:105)
  at
com.verizon.wbtt.components.servlet.controller.ControllerServlet.doGet(ControllerServlet.java:68)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:827)
  at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.
_service(StrictLifecycleServlet.java:167)
  at
com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:297)
  at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:110)
  at
com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:472)
  at
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:1012)
  at
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:913)
  at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:523)
  at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:282)
  at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:112)
  at
com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:91)
  at
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:184)
  at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
  at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:122)
  at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:315)
  at

jimi, jai, jce conditional compilation

2003-03-19 Thread Victor Mote
I just committed a change to build.xml (trunk) to fix what appeared to be a
problem with the way we were doing conditional builds for jimi, jai, and
jce. Each had a separate compile job, which was properly ignored if the
presence tests failed. However, the classes dependent on the presence of
these classes were included in the compile-src target, which caused
compile errors if the conditional packages were not present. I changed
compile-src to exclude the dependent classes, and eliminated the special
compile targets. I also added a message indicating the presence or lack
thereof of each of these conditional packages (init-avail target).

Please let me know if this messes anybody up. Also, similar changes may need
to be made in the maintenance branch. I haven't tried to do a build there
recently.

Victor Mote (mailto:[EMAIL PROTECTED])
2025 Eddington Way
Colorado Springs, Colorado 80916
Voice +1 (719) 622-0650
Fax   +1 (720) 293-0044


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



Re: logo contest

2003-03-19 Thread J.Pietschmann
Peter B. West wrote:
This will have to wait until Joerg gets back from London.
...and until a SVG viewer is up and running :-/

J.Pietschmann



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


cvs commit: xml-fop/src/documentation/content/design/alt.design codedisplay.js

2003-03-19 Thread pbwest
pbwest  2003/03/19 21:15:45

  Added:   src/documentation/content/design/alt.design codedisplay.js
  Log:
  Htmlized code display javascript.
  
  Revision  ChangesPath
  1.1  
xml-fop/src/documentation/content/design/alt.design/codedisplay.js
  
  Index: codedisplay.js
  ===
  // $Id: codedisplay.js,v 1.1 2003/03/20 05:15:45 pbwest Exp $
  var showing = new Array();
  var x = new Array(); // scrollX
  var y = new Array(); // scrollY
  
  function toggleCode(id, src, height, width) {
  //alert('In toggleCode');
  if (showing[id]) {
  hideCode(id);
  } else {
  showCode(id, src, height, width);
  }
  }
  
  function showCode(id, src, height, width) {
  //alert('In showCode');
  if (showing[id]) { return; }
  if (document.getElementById  document.createElement) {
  if (window.scrollX != undefined) {
  x[id] = window.scrollX;
  y[id] = window.scrollY;
  }
  var parent = document.getElementById(id);
  var span = document.createElement('SPAN');
  parent.appendChild(span);
  var br = document.createElement('BR');
  var iframe = document.createElement('IFRAME');
  iframe.setAttribute('src', src);
  iframe.setAttribute('height', height);
  iframe.setAttribute('width', width);
  span.appendChild(br);
  span.appendChild(iframe);
  //parent.replaceChild(iframe, parent.lastChild);
  // window.scrollTo(x[id],y[id]);
  showing[id] = true;
  } else {
  alert(
  Requires Navigator = 7, Mozilla = 1.2.1 or IE = 6);
  return;
  }
  }
  
  function hideCode(id) {
  //alert('In hideCode');
  if ( ! showing[id]) { return; }
  if (document.getElementById  document.createElement) {
  var parent = document.getElementById(id);
  parent.removeChild(parent.lastChild);
  if (x[id] != undefined) {
  window.scrollTo(x[id],y[id]);
  }
  showing[id] = false;
  } else {
  alert(
  Requires Navigator = 7, Mozilla = 1.2.1 or IE = 6);
  return;
  }
  }
  
  
  
  

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



cvs commit: xml-fop/src/documentation/content/design/alt.design/properties codedisplay.js

2003-03-19 Thread pbwest
pbwest  2003/03/19 21:33:33

  Added:   src/documentation/content/design/alt.design/properties
codedisplay.js
  Log:
  Javascript for code display.
  
  Revision  ChangesPath
  1.1  
xml-fop/src/documentation/content/design/alt.design/properties/codedisplay.js
  
  Index: codedisplay.js
  ===
  // $Id: codedisplay.js,v 1.1 2003/03/20 05:33:33 pbwest Exp $
  var showing = new Array();
  var x = new Array(); // scrollX
  var y = new Array(); // scrollY
  
  function toggleCode(id, src, height, width) {
  //alert('In toggleCode');
  if (showing[id]) {
  hideCode(id);
  } else {
  showCode(id, src, height, width);
  }
  }
  
  function showCode(id, src, height, width) {
  //alert('In showCode');
  if (showing[id]) { return; }
  if (document.getElementById  document.createElement) {
  if (window.scrollX != undefined) {
  x[id] = window.scrollX;
  y[id] = window.scrollY;
  }
  var parent = document.getElementById(id);
  var span = document.createElement('SPAN');
  parent.appendChild(span);
  var br = document.createElement('BR');
  var iframe = document.createElement('IFRAME');
  iframe.setAttribute('src', src);
  iframe.setAttribute('height', height);
  iframe.setAttribute('width', width);
  span.appendChild(br);
  span.appendChild(iframe);
  //parent.replaceChild(iframe, parent.lastChild);
  // window.scrollTo(x[id],y[id]);
  showing[id] = true;
  } else {
  alert(
  Requires Navigator = 7, Mozilla = 1.2.1 or IE = 6);
  return;
  }
  }
  
  function hideCode(id) {
  //alert('In hideCode');
  if ( ! showing[id]) { return; }
  if (document.getElementById  document.createElement) {
  var parent = document.getElementById(id);
  parent.removeChild(parent.lastChild);
  if (x[id] != undefined) {
  window.scrollTo(x[id],y[id]);
  }
  showing[id] = false;
  } else {
  alert(
  Requires Navigator = 7, Mozilla = 1.2.1 or IE = 6);
  return;
  }
  }
  
  
  
  

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



Re: Problem with the driver

2003-03-19 Thread Jeremias Maerki
And now you're probably missing fop.jar in your classpath. Please check
that you've got all necessary JAR files for FOP in your classpath:
fop.jar, avalon-framework.jar, batik.jar, an XML parser and an XSLT
engine and optionally: jimi.jar, jai.jar etc.

If you have an exception like that you can find out yourself where the
missing classes are: You can open JAR file with tools like WinZip to see
what classes are inside. Then, I'm sure you'll find out yourself what
JAR is missing.

By the way: Please post pleas for help on the fop-user mailing list.
Thank you.

On 19.03.2003 23:51:48 vikram.x.kondadasula wrote:
 unhandled exception from servlet [report]: org/apache/fop/apps/Driver



Jeremias Maerki


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