RE: [REDESIGN] Line layout manager discussion

2002-05-07 Thread Keiron Liddle

On Tue, 2002-05-07 at 03:56, Arved Sandstrom wrote:
  From a practical viewpoint it makes sense to wrap the block in an inline
  area with the traits and treat the block normally in layout terms but it
  still feels uncomfortable. It also introduces a whole lot of other
  questions about line height, padding etc.
 
 The use of line-height for inlines is as a synonym for height; one _can_
 use height but only for replaced inline-level FOs. So for an original
 inline, say, we'd ignore a height but use line-height instead, which
 more often than not is just going to inherit from the block containing it. I
 think this is pretty straightforward.
 
 I don't know if this is what you were getting at, though. Because I figure
 you're on top of this already.

I was referring to the line-stacking-strategy. If it is font-height then
It has the same block-progression dimension for each line-area child of
a block-area.

This means that if we embedd the block within a line area then the line
is still the same height as other lines. So even if the block is big
enough to fill a page it will be placed in a line area that has the same
height as as other lines with only text.


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




RE: [REDESIGN] Line layout manager discussion

2002-05-07 Thread Arved Sandstrom

Comments down under...

 -Original Message-
 From: Keiron Liddle [mailto:[EMAIL PROTECTED]]
 Sent: May 7, 2002 4:40 AM
 To: [EMAIL PROTECTED]
 Subject: RE: [REDESIGN] Line layout manager discussion


 On Tue, 2002-05-07 at 03:56, Arved Sandstrom wrote:
   From a practical viewpoint it makes sense to wrap the block
 in an inline
   area with the traits and treat the block normally in layout
 terms but it
   still feels uncomfortable. It also introduces a whole lot of other
   questions about line height, padding etc.
  
  The use of line-height for inlines is as a synonym for
 height; one _can_
  use height but only for replaced inline-level FOs. So for an original
  inline, say, we'd ignore a height but use line-height
 instead, which
  more often than not is just going to inherit from the block
 containing it. I
  think this is pretty straightforward.
 
  I don't know if this is what you were getting at, though.
 Because I figure
  you're on top of this already.

 I was referring to the line-stacking-strategy. If it is font-height then
 It has the same block-progression dimension for each line-area child of
 a block-area.

 This means that if we embedd the block within a line area then the line
 is still the same height as other lines. So even if the block is big
 enough to fill a page it will be placed in a line area that has the same
 height as as other lines with only text.

font-height has the same effect on other things also, though, where a
person may have some expectation that the element has a larger size. Like
external-graphic, for example. Which is why a note in Section 6.6.5 even
says that one normally uses max-height (the default) or line-height for
this FO.

I think this is a situation that would be cause for a runtime warning, using
some kind of heuristics - the user has imposed conditions on the FO that
really don't go well together. Something that big they should maybe think of
doing a float. But the spec itself is reasonably clear on what we can expect
from font-height, I think.

Arved


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




DO NOT REPLY [Bug 3215] - fo:leader with a percentage as leader-length does not display

2002-05-07 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3215.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3215

fo:leader with a percentage as leader-length does not display

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2002-05-07 13:48 ---
Fixed in 0.20.3

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




DO NOT REPLY [Bug 3216] - break-after=page throws a break when page is full

2002-05-07 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3216.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3216

break-after=page throws a break when page is full

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WORKSFORME



--- Additional Comments From [EMAIL PROTECTED]  2002-05-07 13:54 ---
I can't reproduce the problem with a simple testcase using 0.20.3.
A full testcase would have helped.

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




DO NOT REPLY [Bug 3258] - Fop-0.20.0 fo:leader leader-pattern=dots/ is broken

2002-05-07 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3258.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3258

Fop-0.20.0 fo:leader leader-pattern=dots/ is broken

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2002-05-07 13:56 ---
Fixed in 0.20.3

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




Getting an error when using an XHTML file??

2002-05-07 Thread chadford . hilton

Hello -

I have an application that produces HTML as output. I used tidy to make the
HTML well-formed and added the XML header and renamed the file to
filename.xml from filename.html. I then use FOP to try and create a
filename.pdf file. I get a / by zero exception. The problem is the
pageCount variable in the StreamRender class isn't get incremented. Since
it's initialized to zero, an Arithmetic exception is thrown when the log
tries to write out the average time it took to render each page. Since
XHTML is  XML, I would have expected this to work. Has anyone else come
across this issue/exception??

Thanks,
Chad

Chadford Hilton
Web Integration
PNC Financial Services
v - 412-768-2395
e - [EMAIL PROTECTED]


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




Re: Getting an error when using an XHTML file??

2002-05-07 Thread Jeremias Maerki

FOP is a renderer for XSL:FO, not for XHTML. If you want to render XHTML,
you have to convert it to XSL:FO first.

 I have an application that produces HTML as output. I used tidy to make the
 HTML well-formed and added the XML header and renamed the file to
 filename.xml from filename.html. I then use FOP to try and create a
 filename.pdf file. I get a / by zero exception. The problem is the
 pageCount variable in the StreamRender class isn't get incremented. Since
 it's initialized to zero, an Arithmetic exception is thrown when the log
 tries to write out the average time it took to render each page. Since
 XHTML is  XML, I would have expected this to work. Has anyone else come
 across this issue/exception??

Cheers,
Jeremias Märki

mailto:[EMAIL PROTECTED]

OUTLINE AG
Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Tel. +41 41 317 2020 - Fax +41 41 317 2029
Internet http://www.outline.ch


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




cvs commit: xml-fop/conf xml-lang.xml config.xml userconfig.xml config.dtd

2002-05-07 Thread pbwest

pbwest  02/05/07 07:42:59

  Modified:conf Tag: FOP_0-20-0_Alt-Design config.xml
userconfig.xml config.dtd
  Added:   conf Tag: FOP_0-20-0_Alt-Design xml-lang.xml
  Log:
  Initial checkin of versions for experimental code.
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.7.4.1   +15 -9 xml-fop/conf/config.xml
  
  Index: config.xml
  ===
  RCS file: /home/cvs/xml-fop/conf/config.xml,v
  retrieving revision 1.7
  retrieving revision 1.7.4.1
  diff -u -r1.7 -r1.7.4.1
  --- config.xml28 Mar 2001 05:33:31 -  1.7
  +++ config.xml7 May 2002 14:42:58 -   1.7.4.1
  @@ -1,3 +1,5 @@
  +?xml version=1.0 encoding=iso-8859-1?
  +!DOCTYPE configuration
   !--!DOCTYPE configuration SYSTEM config.dtd--
   !-- to developers: have a look at the config.dtd to 
see how to structure your config entries --
  @@ -5,7 +7,7 @@
   configuration
 entry
   keyversion/key
  -valueFOP @version@/value
  +valueFOP 0.20.0 Alt-Design/value
 /entry
   
 !-- default values for commandline options --
  @@ -14,8 +16,8 @@
   keyquiet/key
   valuefalse/value
 /entry
  -!-- sets debug mode on/off; debug mode hasm more progress 
  - information and a stacktrace in case of a fatal exception --
  +  !-- sets debug mode on/off; debug mode hasm more progress 
  +  information and a stacktrace in case of a fatal exception --
 entry
   keydebugMode/key
   valuefalse/value
  @@ -27,14 +29,18 @@
 /entry
 !--  --
 entry
  -keydebugMode/key
  -valuefalse/value
  +keyuserConfigFileName/key
  +valueuserconfig.xml/value
 /entry
   
  +  entry
  +keylanguageConfigFileName/key
  +valuexml-lang.xml/value
  +  /entry
   
 !-- stream-filter-list provides the default filters that are applied to all
  -   stream objects within the PDF file. These are normally used for 
  -   compression --
  +  stream objects within the PDF file. These are normally used for 
  +  compression --
 entry role=pdf
   keystream-filter-list/key
   list
  @@ -42,11 +48,11 @@
 valueflate/value
 
 !-- encodes binary data into printable ascii characters (default off)
  -   This provides about a 4:5 expansion of data size --
  +  This provides about a 4:5 expansion of data size --
 valueascii-85/value
   
 !-- encodes binary data with hex representation (default off)
  -   This filter is not recommended as it doubles the data size --
  +  This filter is not recommended as it doubles the data size --
 !-- valueascii-hex/value --
   /list
 /entry
  
  
  
  1.5.4.1   +30 -1 xml-fop/conf/userconfig.xml
  
  Index: userconfig.xml
  ===
  RCS file: /home/cvs/xml-fop/conf/userconfig.xml,v
  retrieving revision 1.5
  retrieving revision 1.5.4.1
  diff -u -r1.5 -r1.5.4.1
  --- userconfig.xml16 May 2001 08:49:53 -  1.5
  +++ userconfig.xml7 May 2002 14:42:58 -   1.5.4.1
  @@ -7,8 +7,37 @@
Usage: java org.apache.fop.apps.Fop -c userconfig.xml -fo fo-file -pdf pdf-file
   --
   
  -
   configuration
  +
  +  entry
  +keydebugMode/key
  +valuetrue/value
  +  /entry
  + 
  +  entry
  +keyfoFileName/key
  +value/home/pbw/public_html/xml/newtest3.fo/value
  +  /entry
  +
  +  entry
  +keyinputMode/key
  +valuefo/value
  +  /entry
  +
  +  entry
  +keyfoFileName/key
  +value/home/pbw/public_html/xml/newtest3.fo/value
  +  /entry
  +
  +  entry
  +keyoutputMode/key
  +valuepdf/value
  +  /entry
  +
  +  entry
  +keyoutputFileName/key
  +value/home/pbw/public_html/xml/newtest3.pdf/value
  +  /entry
   
   !--  NOT IMPLEMENTED
   basedir: normally the base directory is the directory where the fo file is 
  
  
  
  1.1.6.1   +1 -1  xml-fop/conf/config.dtd
  
  Index: config.dtd
  ===
  RCS file: /home/cvs/xml-fop/conf/config.dtd,v
  retrieving revision 1.1
  retrieving revision 1.1.6.1
  diff -u -r1.1 -r1.1.6.1
  --- config.dtd12 Dec 2000 19:18:06 -  1.1
  +++ config.dtd7 May 2002 14:42:58 -   1.1.6.1
  @@ -3,4 +3,4 @@
   !ELEMENT key (#PCDATA)
   !ELEMENT value (#PCDATA)
   !ELEMENT list (value+ | subentry+)
  -!ELEMENT subentry (key,value+)
  \ No newline at end of file
  +!ELEMENT subentry (key,value+)
  
  
  
  No   revision
  
  
  No   revision
  
  
  1.1.2.1   +574 -0xml-fop/conf/Attic/xml-lang.xml
  
  
  
  

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




Re: Getting an error when using an XHTML file??

2002-05-07 Thread chadford . hilton


Yes, correct. Since FOP ships with an XSLT processor, I believe that FOP
can take XML and XSL:FO as inputs to render a pdf file. Which I have tested
successfully. Because XHTML is XML, I would also expect that FOP could
render a pdf file with an XHTML (saved as XML) and XSL:FO file as input. I
guess I should have been more clear.

Chad

Chadford Hilton
Web Integration
PNC Financial Services
v - 412-768-2395
e - [EMAIL PROTECTED]


   
 
Jeremias Maerki
 
jeremias.maerki@oTo: [EMAIL PROTECTED]   
 
utline.chcc:  
 
  Subject: Re: Getting an error when 
using an XHTML file??  
05/07/2002 10:25   
 
AM 
 
Please respond to  
 
fop-dev
 
   
 
   
 



FOP is a renderer for XSL:FO, not for XHTML. If you want to render XHTML,
you have to convert it to XSL:FO first.

 I have an application that produces HTML as output. I used tidy to make
the
 HTML well-formed and added the XML header and renamed the file to
 filename.xml from filename.html. I then use FOP to try and create a
 filename.pdf file. I get a / by zero exception. The problem is the
 pageCount variable in the StreamRender class isn't get incremented. Since
 it's initialized to zero, an Arithmetic exception is thrown when the log
 tries to write out the average time it took to render each page. Since
 XHTML is  XML, I would have expected this to work. Has anyone else come
 across this issue/exception??

Cheers,
Jeremias Märki

mailto:[EMAIL PROTECTED]

OUTLINE AG
Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Tel. +41 41 317 2020 - Fax +41 41 317 2029
Internet http://www.outline.ch


-
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/configuration LanguageFileReader.java

2002-05-07 Thread pbwest

pbwest  02/05/07 07:51:30

  Added:   src/org/apache/fop/configuration Tag: FOP_0-20-0_Alt-Design
LanguageFileReader.java
  Log:
  Reader for Country, Language  Script data file.
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.1.2.1   +177 -0
xml-fop/src/org/apache/fop/configuration/Attic/LanguageFileReader.java
  
  
  
  

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




Re: Getting an error when using an XHTML file??

2002-05-07 Thread Cyril Rognon

Chad,


Fop can render a FO file to PDF.
Fop can render a XML file to PDF if you provide the convenient XSL file to 
transform the XML to FO.

Anthena house tutorial gives some XHTML2FO stylesheet you could use or 
enhance to fit yur need.

Cyril

At 10:44 07/05/2002 -0400, you wrote:

Yes, correct. Since FOP ships with an XSLT processor, I believe that FOP
can take XML and XSL:FO as inputs to render a pdf file. Which I have tested
successfully. Because XHTML is XML, I would also expect that FOP could
render a pdf file with an XHTML (saved as XML) and XSL:FO file as input. I
guess I should have been more clear.

Chad


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




Re: Getting an error when using an XHTML file??

2002-05-07 Thread Jeremias Maerki

You're still expressing yourself in strange terms, I think. FOP can only
process XSL:FO input. That means if you have some XML file to be
rendered by FOP, you have to write an XSLT Stylesheet that converts that
XML format to XSL:FO. Same for XHTML.

When you're doing both (XSLT and FOP) at the same time you may have
difficulty finding the problem spots. So, if you get error messages from
FOP, it's best you do the XHTML to XSL:FO transformation separately and
check whether the generated XSL:FO is correct. 

Do you have an XSLT stylesheet that converts your XHTML to XSL:FO?

 Yes, correct. Since FOP ships with an XSLT processor, I believe that FOP
 can take XML and XSL:FO as inputs to render a pdf file. Which I have tested
 successfully. Because XHTML is XML, I would also expect that FOP could
 render a pdf file with an XHTML (saved as XML) and XSL:FO file as input. I
 guess I should have been more clear.

Cheers,
Jeremias Märki

mailto:[EMAIL PROTECTED]

OUTLINE AG
Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Tel. +41 41 317 2020 - Fax +41 41 317 2029
Internet http://www.outline.ch


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




cvs commit: xml-fop/src/org/apache/fop/configuration FontInfo.java

2002-05-07 Thread pbwest

pbwest  02/05/07 08:05:46

  Modified:src/org/apache/fop/configuration Tag: FOP_0-20-0_Alt-Design
FontInfo.java
  Log:
  Vector - ArrayList
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.2.4.1   +5 -5  xml-fop/src/org/apache/fop/configuration/FontInfo.java
  
  Index: FontInfo.java
  ===
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/configuration/FontInfo.java,v
  retrieving revision 1.2
  retrieving revision 1.2.4.1
  diff -u -r1.2 -r1.2.4.1
  --- FontInfo.java 30 Jul 2001 20:29:19 -  1.2
  +++ FontInfo.java 7 May 2002 15:05:46 -   1.2.4.1
  @@ -1,5 +1,5 @@
   /*
  - * $Id: FontInfo.java,v 1.2 2001/07/30 20:29:19 tore Exp $
  + * $Id: FontInfo.java,v 1.2.4.1 2002/05/07 15:05:46 pbwest 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.
  @@ -8,7 +8,7 @@
   
   package org.apache.fop.configuration;
   
  -import java.util.Vector;
  +import java.util.ArrayList;
   
   /**
* FontInfo contains meta information on fonts (where is the metrics file etc.)
  @@ -17,10 +17,10 @@
   public class FontInfo {
   private String metricsFile, embedFile, name;
   private boolean kerning;
  -private Vector fontTriplets;
  +private ArrayList fontTriplets;
   
   public FontInfo(String name, String metricsFile, boolean kerning,
  -Vector fontTriplets, String embedFile) {
  +ArrayList fontTriplets, String embedFile) {
   this.name = name;
   this.metricsFile = metricsFile;
   this.embedFile = embedFile;
  @@ -40,7 +40,7 @@
   return kerning;
   }
   
  -public Vector getFontTriplets() {
  +public ArrayList getFontTriplets() {
   return fontTriplets;
   }
   
  
  
  

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




cvs commit: xml-fop/src/org/apache/fop/configuration ConfigurationParser.java

2002-05-07 Thread pbwest

pbwest  02/05/07 08:11:15

  Modified:src/org/apache/fop/configuration Tag: FOP_0-20-0_Alt-Design
ConfigurationParser.java
  Log:
  Vector-ArrayList Hashtable-HashMap
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.9.4.1   +21 -21
xml-fop/src/org/apache/fop/configuration/ConfigurationParser.java
  
  Index: ConfigurationParser.java
  ===
  RCS file: 
/home/cvs/xml-fop/src/org/apache/fop/configuration/ConfigurationParser.java,v
  retrieving revision 1.9
  retrieving revision 1.9.4.1
  diff -u -r1.9 -r1.9.4.1
  --- ConfigurationParser.java  30 Jul 2001 20:29:18 -  1.9
  +++ ConfigurationParser.java  7 May 2002 15:11:15 -   1.9.4.1
  @@ -1,5 +1,5 @@
   /*
  - * $Id: ConfigurationParser.java,v 1.9 2001/07/30 20:29:18 tore Exp $
  + * $Id: ConfigurationParser.java,v 1.9.4.1 2002/05/07 15:11:15 pbwest 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.
  @@ -14,8 +14,8 @@
   import org.xml.sax.Locator;
   
   // java
  -import java.util.Hashtable;
  -import java.util.Vector;
  +import java.util.HashMap;
  +import java.util.ArrayList;
   
   // fop
   import org.apache.fop.messaging.MessageHandler;
  @@ -45,12 +45,12 @@
   private int datatype = -1;
   
   // store the result configuration
  -private static Hashtable configuration;
  -private static Hashtable activeConfiguration;
  +private static HashMap configuration;
  +private static HashMap activeConfiguration;
   
   // stores key for new config entry
   private String key = ;
  -private Vector keyStack = new Vector();
  +private ArrayList keyStack = new ArrayList();
   
   // stores string value
   private String value = ;
  @@ -59,10 +59,10 @@
   private String subkey = ;
   
   // stores list value
  -private Vector list = new Vector(15);
  +private ArrayList list = new ArrayList(15);
   
   // stores hashtable value
  -private Hashtable map = new Hashtable(15);
  +private HashMap map = new HashMap(15);
   
   /**
* locator for line number information
  @@ -75,7 +75,7 @@
   private String role = standard;
   
   // stores fonts
  -private Vector fontList = null;
  +private ArrayList fontList = null;
   
   // stores information on one font
   private FontInfo fontInfo = null;
  @@ -86,7 +86,7 @@
   // information on a font
   private String fontName, metricsFile, embedFile, kerningAsString;
   private boolean kerning;
  -private Vector fontTriplets;
  +private ArrayList fontTriplets;
   
   // information on a font triplet
   private String fontTripletName, weight, style;
  @@ -125,7 +125,7 @@
   }
   } else if (localName.equals(configuration)) {}
   else if (localName.equals(fonts)) {// list of fonts starts
  -fontList = new Vector(10);
  +fontList = new ArrayList(10);
   } else if (localName.equals(font)) {
   kerningAsString = attributes.getValue(kerning);
   if (kerningAsString.equalsIgnoreCase(yes)) {
  @@ -136,13 +136,13 @@
   metricsFile = attributes.getValue(metrics-file);
   embedFile = attributes.getValue(embed-file);
   fontName = attributes.getValue(name);
  -fontTriplets = new Vector(5);
  +fontTriplets = new ArrayList(5);
   } else if (localName.equals(font-triplet)) {
   fontTripletName = attributes.getValue(name);
   weight = attributes.getValue(weight);
   style = attributes.getValue(style);
   fontTriplet = new FontTriplet(fontTripletName, weight, style);
  -fontTriplets.addElement(fontTriplet);
  +fontTriplets.add(fontTriplet);
   } else {
   // to make sure that user knows about false tag
   MessageHandler.errorln(Unknown tag in configuration file: 
  @@ -168,10 +168,10 @@
   status = OUT;
   role = standard;
   if (keyStack.size()  0) {
  -keyStack.removeElementAt(keyStack.size() - 1);
  +keyStack.remove(keyStack.size() - 1);
   }
   if (keyStack.size()  0) {
  -key = (String)keyStack.elementAt(keyStack.size() - 1);
  +key = (String)keyStack.get(keyStack.size() - 1);
   } else {
   key = ;
   }
  @@ -180,17 +180,17 @@
   map.put(subkey, value);
   status -= IN_SUBENTRY;
   if (keyStack.size()  0) {
  -keyStack.removeElementAt(keyStack.size() - 1);
  +keyStack.remove(keyStack.size() - 1);

cvs commit: xml-fop/src/org/apache/fop/configuration package.html

2002-05-07 Thread pbwest

pbwest  02/05/07 08:13:03

  Added:   src/org/apache/fop/configuration Tag: FOP_0-20-0_Alt-Design
package.html
  Log:
  Package description
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.1.2.1   +6 -0  xml-fop/src/org/apache/fop/configuration/Attic/package.html
  
  
  
  

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




cvs commit: xml-fop/src/org/apache/fop/configuration Configuration.java

2002-05-07 Thread pbwest

pbwest  02/05/07 08:16:53

  Modified:src/org/apache/fop/configuration Tag: FOP_0-20-0_Alt-Design
Configuration.java
  Log:
  Vector-ArrayList, Hashtable-HashMap, Enumerator-Iterator
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.6.4.1   +132 -88   xml-fop/src/org/apache/fop/configuration/Configuration.java
  
  Index: Configuration.java
  ===
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/configuration/Configuration.java,v
  retrieving revision 1.6
  retrieving revision 1.6.4.1
  diff -u -r1.6 -r1.6.4.1
  --- Configuration.java30 Jul 2001 20:29:18 -  1.6
  +++ Configuration.java7 May 2002 15:16:53 -   1.6.4.1
  @@ -1,5 +1,5 @@
   /*
  - * $Id: Configuration.java,v 1.6 2001/07/30 20:29:18 tore Exp $
  + * $Id: Configuration.java,v 1.6.4.1 2002/05/07 15:16:53 pbwest 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.
  @@ -7,16 +7,16 @@
   
   package org.apache.fop.configuration;
   
  -import java.util.Vector;
  -import java.util.Hashtable;
  -import java.util.Enumeration;
  +import java.util.ArrayList;
  +import java.util.HashMap;
  +import java.util.Iterator;
   import org.apache.fop.messaging.MessageHandler;
   
   /**
* a configuration class for all general configuration aspects except those
  - * related to specific renderers. All configuration is stored
  - * in key / value pairs. The value can be a String, a list of Strings
  - * or a map, containing a list of key / value pairs.
  + * related to specific renderers. All configuration is stored in
  + * key.value pairs. The value can be a String, a Boolean, an Integer,
  + * or a list of Strings or a map, containing a list of key.value pairs.
*
*/
   public class Configuration {
  @@ -31,18 +31,18 @@
   /**
* stores the configuration information
*/
  -private static Hashtable standardConfiguration = new Hashtable(30);
  +private static HashMap standardConfiguration = new HashMap(30);
   ;
  -private static Hashtable pdfConfiguration = new Hashtable(20);
  -private static Hashtable awtConfiguration = new Hashtable(20);
  +private static HashMap pdfConfiguration = new HashMap(20);
  +private static HashMap awtConfiguration = new HashMap(20);
   
   /**
  - * contains a Hashtable of existing Hashtables
  + * contains a HashMap of existing HashMaps
*/
  -private static Hashtable configuration = new Hashtable(3);
  +private static HashMap configuration = new HashMap(3);
   
   /**
  - * loads the configuration types into the configuration Hashtable
  + * loads the configuration types into the configuration HashMap
*/
   static {
   configuration.put(standard, standardConfiguration);
  @@ -50,15 +50,15 @@
   configuration.put(awt, awtConfiguration);
   }
   
  -public static Hashtable getConfiguration() {
  +public static HashMap getConfiguration() {
   return configuration;
   }
   
   /**
* general access method
*
  - * @param key a string containing the key value for the configuration value
  - * role detemines the configuration target
  + * @param key a string containing the key for the configuration value
  + * role determines the configuration target
* @return Object containing the value; normally you would use one of the
* convenience methods, which return the correct form.
* null   if the key is not defined.
  @@ -76,12 +76,11 @@
   }
   }
   
  -;
   
   /**
* convenience methods to access strings values in the configuration
  - * @param key a string containing the key value for the configuration value
  - * role detemines the configuration target
  + * @param key a string containing the key for the configuration value
  + * role determines the configuration target
* @return String a string containing the value
* null   if the key is not defined.
*/
  @@ -94,12 +93,11 @@
   }
   }
   
  -;
   
   /**
* convenience methods to access int values in the configuration
  - * @param key a string containing the key value for the configuration value
  - * role detemines the configuration target
  + * @param key a string containing the key for the configuration value
  + * role determines the configuration target
* @return int a int containing the value
* -1   if the key is not defined.
*/
  @@ -107,17 +105,18 @@
   Object obj = Configuration.getValue(key, role);
   if (obj instanceof String) {
   return Integer.parseInt((String)obj);
  +} else if 

Re: Getting an error when using an XHTML file??

2002-05-07 Thread enrico . schnepel

Hello Chad,

I am programming html2fo. It is a converter which converts from HTML or
XHTML to XSL:FO. Primary goal is to generate a VALID XSL:FO file from almost any
HTML file, but you will get better result with than without tidy.

It is avilable from
http://sourceforge.net/projects/html2fo

Regards
Enrico

 Hello -
 
 I have an application that produces HTML as output. I used tidy to make
 the
 HTML well-formed and added the XML header and renamed the file to
 filename.xml from filename.html. I then use FOP to try and create a
 filename.pdf file. I get a / by zero exception. The problem is the
 pageCount variable in the StreamRender class isn't get incremented. Since
 it's initialized to zero, an Arithmetic exception is thrown when the log
 tries to write out the average time it took to render each page. Since
 XHTML is  XML, I would have expected this to work. Has anyone else come
 across this issue/exception??
 
 Thanks,
 Chad
 
 Chadford Hilton
 Web Integration
 PNC Financial Services
 v - 412-768-2395
 e - [EMAIL PROTECTED]
 

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


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




cvs commit: xml-fop/src/org/apache/fop/datatypes ColorSpace.java ColorType.java

2002-05-07 Thread pbwest

pbwest  02/05/07 08:43:42

  Modified:src/org/apache/fop/datatypes Tag: FOP_0-20-0_Alt-Design
ColorSpace.java ColorType.java
  Log:
  Initial checkin for experimental version.
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.3.4.1   +43 -5 xml-fop/src/org/apache/fop/datatypes/ColorSpace.java
  
  Index: ColorSpace.java
  ===
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/datatypes/ColorSpace.java,v
  retrieving revision 1.3
  retrieving revision 1.3.4.1
  diff -u -r1.3 -r1.3.4.1
  --- ColorSpace.java   30 Jul 2001 20:29:19 -  1.3
  +++ ColorSpace.java   7 May 2002 15:43:41 -   1.3.4.1
  @@ -1,5 +1,5 @@
   /*
  - * $Id: ColorSpace.java,v 1.3 2001/07/30 20:29:19 tore Exp $
  + * $Id: ColorSpace.java,v 1.3.4.1 2002/05/07 15:43:41 pbwest 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.
  @@ -8,6 +8,10 @@
   package org.apache.fop.datatypes;
   
   public class ColorSpace {
  + private boolean hasICCProfile;
  + private byte[] iccProfile;
  + private int numComponents;
  +
   // Ok... so I had some grand purpose for this, but I can't recall.
   // I'm just writing it
   
  @@ -18,22 +22,56 @@
   public static int DEVICE_RGB = 2;
   public static int DEVICE_CMYK = 3;
   
  +
   // Are there any others?
   
   protected int currentColorSpace = -1;
   
   public ColorSpace(int theColorSpace) {
   this.currentColorSpace = theColorSpace;
  -
  + hasICCProfile = false;
  + numComponents = calculateNumComponents();
   }
   
  + private int calculateNumComponents() {
  + if (currentColorSpace == DEVICE_GRAY)
  + return 1;
  + else if (currentColorSpace == DEVICE_RGB)
  + return 3;
  + else if (currentColorSpace == DEVICE_CMYK)
  + return 4;
  + else
  + return 0;
  + }
  +
  + public void setColorSpace(int theColorSpace) {
  + this.currentColorSpace = theColorSpace;
  + numComponents = calculateNumComponents();
  + }
  +
  + public boolean hasICCProfile() {
  + return hasICCProfile;
  + }
  +
  + public byte[] getICCProfile() {
  + if (hasICCProfile)
  + return iccProfile;
  + else
  + return new byte[0];
  + }
  +
  + public void setICCProfile(byte[] iccProfile) {
  + this.iccProfile = iccProfile;
  + hasICCProfile = true;
  + }
  +
   public int getColorSpace() {
   return (this.currentColorSpace);
   }
   
  -public void setColorSpace(int theColorSpace) {
  -this.currentColorSpace = theColorSpace;
  -}
  + public int getNumComponents() {
  + return numComponents;
  + }
   
   public String getColorSpacePDFString() {// this is for PDF Output. Does 
anyone else need a string representation?
   
  
  
  
  1.15.2.1  +945 -587  xml-fop/src/org/apache/fop/datatypes/ColorType.java
  
  Index: ColorType.java
  ===
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/datatypes/ColorType.java,v
  retrieving revision 1.15
  retrieving revision 1.15.2.1
  diff -u -r1.15 -r1.15.2.1
  --- ColorType.java30 Jul 2001 20:29:19 -  1.15
  +++ ColorType.java7 May 2002 15:43:41 -   1.15.2.1
  @@ -1,5 +1,5 @@
   /*
  - * $Id: ColorType.java,v 1.15 2001/07/30 20:29:19 tore Exp $
  + * $Id: ColorType.java,v 1.15.2.1 2002/05/07 15:43:41 pbwest 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.
  @@ -7,643 +7,1001 @@
   
   package org.apache.fop.datatypes;
   
  -import java.util.*;
  -import org.apache.fop.messaging.MessageHandler;
  +import java.util.HashMap;
  +
  +import org.apache.fop.fo.expr.PropertyException;
  +import org.apache.fop.fo.PropertyConsts;
  +import org.apache.fop.fo.expr.AbstractPropertyValue;
   
   /**
  - * a colour quantity in XSL
  + * A base datatype class; colour in XSL
*/
  -public class ColorType {
  +public class ColorType extends AbstractPropertyValue {
  +
  +public static final int
  +RED = 0
  + ,GREEN = 1
  +  ,BLUE = 2
  + ,ALPHA = 3
  +;
   
   /**
  - * the red component
  + * A four-element array of float indexed by the ttstatic final int/tt
  + * constants RED, GREEN, BLUE and ALPHA.  It contains the normalized
  + * RGB-ALPHA values of the current colour; i.e. all of the 

Re: Getting an error when using an XHTML file??

2002-05-07 Thread chadford . hilton


This is great. Thanks, Enrico

Chadford Hilton
Web Integration
PNC Financial Services
v - 412-768-2395
e - [EMAIL PROTECTED]


   

enrico.schnep  

[EMAIL PROTECTED]To: [EMAIL PROTECTED]

 cc:   

05/07/2002   Subject: Re: Getting an error when using 
an XHTML file??  
11:36 AM   

Please 

respond to 

fop-dev

   

   




Hello Chad,

I am programming html2fo. It is a converter which converts from HTML or
XHTML to XSL:FO. Primary goal is to generate a VALID XSL:FO file from
almost any
HTML file, but you will get better result with than without tidy.

It is avilable from
http://sourceforge.net/projects/html2fo

Regards
Enrico

 Hello -

 I have an application that produces HTML as output. I used tidy to make
 the
 HTML well-formed and added the XML header and renamed the file to
 filename.xml from filename.html. I then use FOP to try and create a
 filename.pdf file. I get a / by zero exception. The problem is the
 pageCount variable in the StreamRender class isn't get incremented. Since
 it's initialized to zero, an Arithmetic exception is thrown when the log
 tries to write out the average time it took to render each page. Since
 XHTML is  XML, I would have expected this to work. Has anyone else come
 across this issue/exception??

 Thanks,
 Chad

 Chadford Hilton
 Web Integration
 PNC Financial Services
 v - 412-768-2395
 e - [EMAIL PROTECTED]


--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


-
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/datatypes package.html

2002-05-07 Thread pbwest

pbwest  02/05/07 08:45:18

  Modified:src/org/apache/fop/datatypes Tag: FOP_0-20-0_Alt-Design
package.html
  Log:
  Changed package description for experimental code.
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.3.12.1  +2 -2  xml-fop/src/org/apache/fop/datatypes/package.html
  
  Index: package.html
  ===
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/datatypes/package.html,v
  retrieving revision 1.3
  retrieving revision 1.3.12.1
  diff -u -r1.3 -r1.3.12.1
  --- package.html  22 Nov 1999 17:54:54 -  1.3
  +++ package.html  7 May 2002 15:45:17 -   1.3.12.1
  @@ -1,6 +1,6 @@
   HTML
   TITLEorg.apache.fop.datatypes Package/TITLE
   BODY
  -PXSL Datatypes/P
  +PFOP representations of the XSL Datatypes and other pseudo-types/P
   /BODY
  -/HTML
  \ No newline at end of file
  +/HTML
  
  
  

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




Re: Getting an error when using an XHTML file??

2002-05-07 Thread chadford . hilton


Enrico -

I notice this is native code. Any plans to port to Java??

Chad

Chadford Hilton
Web Integration
PNC Financial Services
v - 412-768-2395
e - [EMAIL PROTECTED]


   

enrico.schnep  

[EMAIL PROTECTED]To: [EMAIL PROTECTED]

 cc:   

05/07/2002   Subject: Re: Getting an error when using 
an XHTML file??  
11:36 AM   

Please 

respond to 

fop-dev

   

   




Hello Chad,

I am programming html2fo. It is a converter which converts from HTML or
XHTML to XSL:FO. Primary goal is to generate a VALID XSL:FO file from
almost any
HTML file, but you will get better result with than without tidy.

It is avilable from
http://sourceforge.net/projects/html2fo

Regards
Enrico

 Hello -

 I have an application that produces HTML as output. I used tidy to make
 the
 HTML well-formed and added the XML header and renamed the file to
 filename.xml from filename.html. I then use FOP to try and create a
 filename.pdf file. I get a / by zero exception. The problem is the
 pageCount variable in the StreamRender class isn't get incremented. Since
 it's initialized to zero, an Arithmetic exception is thrown when the log
 tries to write out the average time it took to render each page. Since
 XHTML is  XML, I would have expected this to work. Has anyone else come
 across this issue/exception??

 Thanks,
 Chad

 Chadford Hilton
 Web Integration
 PNC Financial Services
 v - 412-768-2395
 e - [EMAIL PROTECTED]


--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


-
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/datatypes Length.java Keep.java

2002-05-07 Thread pbwest

pbwest  02/05/07 08:58:53

  Modified:src/org/apache/fop/datatypes Tag: FOP_0-20-0_Alt-Design
Length.java Keep.java
  Log:
  Updated to experimental code.
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.12.2.1  +119 -117  xml-fop/src/org/apache/fop/datatypes/Length.java
  
  Index: Length.java
  ===
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/datatypes/Length.java,v
  retrieving revision 1.12
  retrieving revision 1.12.2.1
  diff -u -r1.12 -r1.12.2.1
  --- Length.java   9 Aug 2001 13:51:55 -   1.12
  +++ Length.java   7 May 2002 15:58:53 -   1.12.2.1
  @@ -1,131 +1,133 @@
  +
  +package org.apache.fop.datatypes;
  +
  +import org.apache.fop.fo.expr.PropertyException;
  +
   /*
  - * $Id: Length.java,v 1.12 2001/08/09 13:51:55 keiron Exp $
  + * Length.java
  + * $Id: Length.java,v 1.12.2.1 2002/05/07 15:58:53 pbwest Exp $
  + * Created: Wed Nov 21 15:39:30 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.
  + * @author a href=mailto:[EMAIL PROTECTED];Peter B. West/a
  + * @version $Revision: 1.12.2.1 $ $Name:  $
*/
  -
  -package org.apache.fop.datatypes;
  -
  -import org.apache.fop.fo.Property;
  -import org.apache.fop.messaging.MessageHandler;
  -
   /**
  - * a length quantity in XSL
  + * A constructor class for Length datatype.  Constructs a ttNumeric/tt.
*/
  -public class Length {
  -public static final Length AUTO = new Length(0);
  -
  -static {
  -AUTO.bAuto = true;
  -}
  -
  -protected int millipoints = 0;
  -protected boolean bIsComputed = false;
  -private boolean bAuto = false;
   
  -/**
  - * Set the length given a number of relative units and the current
  - * font size in base units.
  - */
  -public Length(double numRelUnits, int iCurFontSize) {
  -millipoints = (int)(numRelUnits * (double)iCurFontSize);
  -setIsComputed(true);
  -}
  -
  -/**
  - * Set the length given a number of units and a unit name.
  - */
  -public Length(double numUnits, String units) {
  -convert(numUnits, units);
  -}
  -
  -/**
  - * set the length as a number of base units
  - */
  -public Length(int baseUnits) {
  -millipoints = baseUnits;
  -setIsComputed(true);
  -}
  +public class Length {
   
  -/**
  - * Convert the given length to a dimensionless integer representing
  - * a whole number of base units (milli-points).
  +/*
  + * Constants for LengthUnitNames
*/
  -protected void convert(double dvalue, String unit) {
  -
  -int assumed_resolution = 1;// points/pixel
  -
  -if (unit.equals(in))
  -dvalue = dvalue * 72;
  -else if (unit.equals(cm))
  -dvalue = dvalue * 28.3464567;
  -else if (unit.equals(mm))
  -dvalue = dvalue * 2.83464567;
  -else if (unit.equals(pt))
  -dvalue = dvalue;
  -else if (unit.equals(pc))
  -dvalue = dvalue * 12;
  -/*
  - * else if (unit.equals(em))
  - * dvalue = dvalue * fontsize;
  - */
  -else if (unit.equals(px))
  -dvalue = dvalue * assumed_resolution;
  -else {
  -dvalue = 0;
  -MessageHandler.errorln(ERROR: unknown length unit ' + unit
  -   + ');
  +public static final int
  + NOUNIT = 0
  +,CM = 1
  +,MM = 2
  +,IN = 3
  +,PT = 4
  +,PC = 5
  +,PX = 6
  +   ,MPT = 7  // Millipoints
  +;
  +
  +/*
  + * Constants for conversions into millipoints
  + */
  +public static final double
  +  PTSPERINCH = 72.0
  + ,PTSPERPICA = 12.0
  + ,CMSPERINCH = 2.54
  + ,MMSPERINCH = 25.4
  +   ,PTSPERCM = PTSPERINCH / CMSPERINCH
  +   ,PTSPERMM = PTSPERINCH / MMSPERINCH
  + ,PXSPERINCH = 92.0
  +   ,PTSPERPX = PTSPERINCH / PXSPERINCH
  +   ,PXSPERPT = PXSPERINCH / PTSPERINCH
  + ,PXSPERPICA = PTSPERPICA * PXSPERPT
  +   ,PXSPERCM = PXSPERINCH / CMSPERINCH
  +   ,PXSPERMM = PXSPERINCH / MMSPERINCH
  +   ;
  +
  +/**
  + * Array of constant conversion factors from unit to millipoints,
  + * indexed by integer unit constant.  Keep this array in sync with
  + * the integer constants or bear the consequences.
  + */
  +public static final double[] milliPtsPerUnit = {
  +0.0
  +,PTSPERCM * 1000.0
  +,PTSPERMM * 1000.0
  +,PTSPERINCH * 1000.0
  +,1000.0

cvs commit: xml-fop/src/org/apache/fop/datatypes CompoundDatatype.java CondLength.java IDNode.java IDReferences.java KeepValue.java LengthBase.java LengthPair.java LengthRange.java LinearCombinationLength.java MixedLength.java PercentBase.java PercentLength.java Space.java TableColLength.java ToBeImplemented.java ToBeImplementedProperty.java

2002-05-07 Thread pbwest

pbwest  02/05/07 09:04:18

  Removed: src/org/apache/fop/datatypes Tag: FOP_0-20-0_Alt-Design
CompoundDatatype.java CondLength.java IDNode.java
IDReferences.java KeepValue.java LengthBase.java
LengthPair.java LengthRange.java
LinearCombinationLength.java MixedLength.java
PercentBase.java PercentLength.java Space.java
TableColLength.java ToBeImplemented.java
ToBeImplementedProperty.java
  Log:
  Removed for experimental code.

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




cvs commit: xml-fop/src/org/apache/fop/datatypes Angle.java Auto.java Bool.java Compound.java Country.java Ems.java EnumType.java FontFamilySet.java Frequency.java FromNearestSpecified.java FromParent.java InheritCompound.java Inherit.java IntegerType.java Ints.java Language.java Literal.java MappedEnumType.java MimeType.java NCName.java None.java Numeric.java Percentage.java Script.java ShadowEffect.java StringType.java TextDecorations.java TextDecorator.java Time.java UriType.java

2002-05-07 Thread pbwest

pbwest  02/05/07 09:06:37

  Added:   src/org/apache/fop/datatypes Tag: FOP_0-20-0_Alt-Design
Angle.java Auto.java Bool.java Compound.java
Country.java Ems.java EnumType.java
FontFamilySet.java Frequency.java
FromNearestSpecified.java FromParent.java
InheritCompound.java Inherit.java IntegerType.java
Ints.java Language.java Literal.java
MappedEnumType.java MimeType.java NCName.java
None.java Numeric.java Percentage.java Script.java
ShadowEffect.java StringType.java
TextDecorations.java TextDecorator.java Time.java
UriType.java
  Log:
  New files for experimental code.
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.1.2.1   +108 -0xml-fop/src/org/apache/fop/datatypes/Attic/Angle.java
  
  
  
  
  1.1.2.1   +53 -0 xml-fop/src/org/apache/fop/datatypes/Attic/Auto.java
  
  
  
  
  1.1.2.1   +108 -0xml-fop/src/org/apache/fop/datatypes/Attic/Bool.java
  
  
  
  
  1.1.2.1   +14 -0 xml-fop/src/org/apache/fop/datatypes/Attic/Compound.java
  
  
  
  
  1.1.2.1   +52 -0 xml-fop/src/org/apache/fop/datatypes/Attic/Country.java
  
  
  
  
  1.1.2.1   +57 -0 xml-fop/src/org/apache/fop/datatypes/Attic/Ems.java
  
  
  
  
  1.1.2.1   +119 -0xml-fop/src/org/apache/fop/datatypes/Attic/EnumType.java
  
  
  
  
  1.1.2.1   +96 -0 xml-fop/src/org/apache/fop/datatypes/Attic/FontFamilySet.java
  
  
  
  
  1.1.2.1   +94 -0 xml-fop/src/org/apache/fop/datatypes/Attic/Frequency.java
  
  
  
  
  1.1.2.1   +84 -0 
xml-fop/src/org/apache/fop/datatypes/Attic/FromNearestSpecified.java
  
  
  
  
  1.1.2.1   +82 -0 xml-fop/src/org/apache/fop/datatypes/Attic/FromParent.java
  
  
  
  
  1.1.2.1   +86 -0 xml-fop/src/org/apache/fop/datatypes/Attic/InheritCompound.java
  
  
  
  
  1.1.2.1   +96 -0 xml-fop/src/org/apache/fop/datatypes/Attic/Inherit.java
  
  
  
  
  1.1.2.1   +50 -0 xml-fop/src/org/apache/fop/datatypes/Attic/IntegerType.java
  
  
  
  
  1.1.2.1   +63 -0 xml-fop/src/org/apache/fop/datatypes/Attic/Ints.java
  
  
  
  
  1.1.2.1   +55 -0 xml-fop/src/org/apache/fop/datatypes/Attic/Language.java
  
  
  
  
  1.1.2.1   +66 -0 xml-fop/src/org/apache/fop/datatypes/Attic/Literal.java
  
  
  
  
  1.1.2.1   +83 -0 xml-fop/src/org/apache/fop/datatypes/Attic/MappedEnumType.java
  
  
  
  
  1.1.2.1   +72 -0 xml-fop/src/org/apache/fop/datatypes/Attic/MimeType.java
  
  
  
  
  1.1.2.1   +63 -0 xml-fop/src/org/apache/fop/datatypes/Attic/NCName.java
  
  
  
  
  1.1.2.1   +53 -0 xml-fop/src/org/apache/fop/datatypes/Attic/None.java
  
  
  
  
  1.1.2.1   +931 -0xml-fop/src/org/apache/fop/datatypes/Attic/Numeric.java
  
  
  
  
  1.1.2.1   +59 -0 xml-fop/src/org/apache/fop/datatypes/Attic/Percentage.java
  
  
  
  
  1.1.2.1   +55 -0 xml-fop/src/org/apache/fop/datatypes/Attic/Script.java
  
  
  
  
  1.1.2.1   +191 -0xml-fop/src/org/apache/fop/datatypes/Attic/ShadowEffect.java
  
  
  
  
  1.1.2.1   +70 -0 xml-fop/src/org/apache/fop/datatypes/Attic/StringType.java
  
  
  
  
  1.1.2.1   +82 -0 xml-fop/src/org/apache/fop/datatypes/Attic/TextDecorations.java
  
  
  
  
  1.1.2.1   +73 -0 xml-fop/src/org/apache/fop/datatypes/Attic/TextDecorator.java
  
  
  
  
  1.1.2.1   +99 -0 xml-fop/src/org/apache/fop/datatypes/Attic/Time.java
  
  
  
  
  1.1.2.1   +71 -0 xml-fop/src/org/apache/fop/datatypes/Attic/UriType.java
  
  
  
  

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




cvs commit: xml-fop/src/org/apache/fop/image/analyser AbstractImageReader.java BMPReader.java GIFReader.java ImageReader.java ImageReaderFactory.java JPEGReader.java PNGReader.java SVGReader.java TIFFReader.java

2002-05-07 Thread pbwest

pbwest  02/05/07 09:21:37

  Removed: src/org/apache/fop/image/analyser Tag: FOP_0-20-0_Alt-Design
AbstractImageReader.java BMPReader.java
GIFReader.java ImageReader.java
ImageReaderFactory.java JPEGReader.java
PNGReader.java SVGReader.java TIFFReader.java
  Log:
  Stripped down experimental environment.

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




cvs commit: xml-fop/src/org/apache/fop/image AbstractFopImage.java BmpImage.java FopImage.java FopImageConsumer.java FopImageException.java FopImageFactory.java GifJpegImage.java ImageArea.java JAIImage.java JimiImage.java SVGImage.java

2002-05-07 Thread pbwest

pbwest  02/05/07 09:22:43

  Removed: src/org/apache/fop/image Tag: FOP_0-20-0_Alt-Design
AbstractFopImage.java BmpImage.java FopImage.java
FopImageConsumer.java FopImageException.java
FopImageFactory.java GifJpegImage.java
ImageArea.java JAIImage.java JimiImage.java
SVGImage.java
  Log:
  Stripped down experimental environment.

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




cvs commit: xml-fop/src/org/apache/fop/layout/inline ForeignObjectArea.java InlineArea.java InlineSpace.java LeaderArea.java PageNumberInlineArea.java WordArea.java

2002-05-07 Thread pbwest

pbwest  02/05/07 09:24:55

  Removed: src/org/apache/fop/layout/inline Tag: FOP_0-20-0_Alt-Design
ForeignObjectArea.java InlineArea.java
InlineSpace.java LeaderArea.java
PageNumberInlineArea.java WordArea.java
  Log:
  Stripped down experimental environment.

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




cvs commit: xml-fop/src/org/apache/fop/layout/hyphenation ByteVector.java CharVector.java Hyphen.java Hyphenation.java HyphenationException.java HyphenationTree.java Hyphenator.java PatternConsumer.java PatternParser.java TernaryTree.java

2002-05-07 Thread pbwest

pbwest  02/05/07 09:26:24

  Removed: src/org/apache/fop/layout/hyphenation Tag:
FOP_0-20-0_Alt-Design ByteVector.java
CharVector.java Hyphen.java Hyphenation.java
HyphenationException.java HyphenationTree.java
Hyphenator.java PatternConsumer.java
PatternParser.java TernaryTree.java
  Log:
  Stripped down experimental environment.

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




cvs commit: xml-fop/src/org/apache/fop/layout AbsolutePositionProps.java AccessibilityProps.java Area.java AreaClass.java AreaContainer.java AuralProps.java BackgroundProps.java BlockArea.java BodyAreaContainer.java BodyRegionArea.java BorderAndPadding.java Box.java ColumnArea.java DisplaySpace.java ExtensionArea.java FontDescriptor.java FontInfo.java FontMetric.java FontState.java HyphenationProps.java LineArea.java LinkSet.java LinkedRectangle.java MarginInlineProps.java MarginProps.java Page.java PageMaster.java RegionArea.java RelativePositionProps.java Space.java SpanArea.java TextState.java

2002-05-07 Thread pbwest

pbwest  02/05/07 09:28:08

  Removed: src/org/apache/fop/layout Tag: FOP_0-20-0_Alt-Design
AbsolutePositionProps.java AccessibilityProps.java
Area.java AreaClass.java AreaContainer.java
AuralProps.java BackgroundProps.java BlockArea.java
BodyAreaContainer.java BodyRegionArea.java
BorderAndPadding.java Box.java ColumnArea.java
DisplaySpace.java ExtensionArea.java
FontDescriptor.java FontInfo.java FontMetric.java
FontState.java HyphenationProps.java LineArea.java
LinkSet.java LinkedRectangle.java
MarginInlineProps.java MarginProps.java Page.java
PageMaster.java RegionArea.java
RelativePositionProps.java Space.java SpanArea.java
TextState.java
  Log:
  Stripped down experimental environment.

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




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

2002-05-07 Thread pbwest

pbwest  02/05/07 09:29:02

  Modified:src/org/apache/fop/layout Tag: FOP_0-20-0_Alt-Design
AreaTree.java
  Log:
  Precursor of the experimental AreaTree code.
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.13.4.1  +14 -88xml-fop/src/org/apache/fop/layout/AreaTree.java
  
  Index: AreaTree.java
  ===
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/layout/AreaTree.java,v
  retrieving revision 1.13
  retrieving revision 1.13.4.1
  diff -u -r1.13 -r1.13.4.1
  --- AreaTree.java 6 Aug 2001 17:56:35 -   1.13
  +++ AreaTree.java 7 May 2002 16:29:02 -   1.13.4.1
  @@ -1,97 +1,23 @@
  -/*
  - * $Id: AreaTree.java,v 1.13 2001/08/06 17:56:35 gears 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.
  +/**
  + * AreaTree.java
  + *
  + *
  + * Created: Wed Nov  7 21:44:03 2001
  + *
  + * @author a href=mailto: Peter B. West/a
  + * @version
*/
   
   package org.apache.fop.layout;
   
  -// FOP
  -import org.apache.fop.apps.FOPException;
  -import org.apache.fop.apps.StreamRenderer;
  -import org.apache.fop.fo.flow.StaticContent;
  -import org.apache.fop.svg.*;
  -import org.apache.fop.render.Renderer;
  -import org.apache.fop.datatypes.IDReferences;
  -import org.apache.fop.extensions.ExtensionObj;
  -import org.apache.fop.fo.pagination.PageSequence;
  +import org.apache.fop.datastructs.Tree;
   
  -// Java
  -import java.io.IOException;
  -import java.io.PrintWriter;
  -import java.util.Enumeration;
  -import java.util.Stack;
  -import java.util.Vector;
  -
  -/*
  - * Modified by Mark Lillywhite, [EMAIL PROTECTED] No longer keeps
  -   a list of pages in the tree, instead these are passed to the
  -   StreamRenderer. No longer keeps it's own list of IDReferences;
  -   these are handled by StreamRenderer. In many ways StreamRenderer
  -   has taken over from AreaTree and possibly this might be a better
  -   place to deal with things in the future..?P
  -   
  -   Any extensions added to the AreaTree while generating a page
  -   are given to the Page for the renderer to deal with.
  -  */
  -
  -public class AreaTree {
  -
  -/**
  - * object containing information on available fonts, including
  - * metrics
  - */
  -FontInfo fontInfo;
  -
  -/**
  - * List of root extension objects
  - */
  -Vector rootExtensions = null;
  -
  -private StreamRenderer streamRenderer;
  -
  -public AreaTree(StreamRenderer streamRenderer) {
  -this.streamRenderer = streamRenderer;
  -}
  -
  -public void setFontInfo(FontInfo fontInfo) {
  -this.fontInfo = fontInfo;
  -}
  -
  -public FontInfo getFontInfo() {
  -return this.fontInfo;
  +public class AreaTree extends Tree implements Runnable{
  +public AreaTree (){
  +// initialize an empty tree
  +super();
   }
   
  -public Page getNextPage(Page current, boolean isWithinPageSequence,
  -boolean isFirstCall) {
  -return streamRenderer.getNextPage(current, 
isWithinPageSequence,isFirstCall);
  +public void run() {
   }
  -
  -public Page getPreviousPage(Page current, boolean isWithinPageSequence,
  -boolean isFirstCall) {
  -return 
streamRenderer.getPreviousPage(current,isWithinPageSequence,isFirstCall);
  -}
  -
  -public void addPage(Page page)
  -throws FOPException {
  -try {
  -page.setExtensions(rootExtensions);
  -rootExtensions = null;
  -streamRenderer.queuePage(page);
  -} catch (IOException e) {
  -throw new FOPException(e);
  -}
  -}
  -
  -public IDReferences getIDReferences() {
  -return streamRenderer.getIDReferences();
  -}
  -
  -public void addExtension(ExtensionObj obj) {
  -if(rootExtensions ==null)
  -rootExtensions = new Vector();
  -rootExtensions.addElement(obj);
  -}
  -
   }
  
  
  

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




cvs commit: xml-fop/src/org/apache/fop/messaging MessageHandler.java

2002-05-07 Thread pbwest

pbwest  02/05/07 09:31:44

  Modified:src/org/apache/fop/messaging Tag: FOP_0-20-0_Alt-Design
MessageHandler.java
  Log:
  Reformatted
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.5.2.1   +16 -11xml-fop/src/org/apache/fop/messaging/Attic/MessageHandler.java
  
  Index: MessageHandler.java
  ===
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/messaging/Attic/MessageHandler.java,v
  retrieving revision 1.5
  retrieving revision 1.5.2.1
  diff -u -r1.5 -r1.5.2.1
  --- MessageHandler.java   30 Jul 2001 20:29:29 -  1.5
  +++ MessageHandler.java   7 May 2002 16:31:44 -   1.5.2.1
  @@ -15,25 +15,28 @@
* The class MessageHandler contains the static methods log and error which
* should be used for any end user information instead of System.out.print() or
* System.err.print(). The class defines several output methods:
  - * writing to the screen (default), logging to a file, creating message events and 
repressing all
  - * output. If you don't want to change the default behaviour, you should be
  + * writing to the screen (default), logging to a file, creating message events
  + * and repressing all output.
  + * If you don't want to change the default behaviour, you should be
* happy with MessageHandler.log(message) and MessageHandler.error(message)br
  - * The class MessageHandler also supports the setting of an id. If set every message
  - * has as a prefix an identifying string. That way Fop probably can also be used in
  - * environments, where more than one Fop instance are running in same  JVM.br
  + * The class MessageHandler also supports the setting of an id.
  + * If set every message has as a prefix an identifying string.
  + * That way Fop probably can also be used in
  + * environments where more than one Fop instance are running in same  JVM.br
* If Fop is embedded in a gui application or for any reasons the existing
* messaging system doesn't meet the programmer's requirements, one can add
* a MessageEvent listener to MessageHandler and handle the incoming messages
  - * in an appropriate way. See the class DefaultMessageListener, which is a trivial
  - * implementation of the MessageListener.
  - * Here is an example how to configure MessageHandler for the 
DefaultMessageListener (anybody
  + * in an appropriate way. See the class DefaultMessageListener, which is a
  + * trivial implementation of the MessageListener.
  + * Here is an example how to configure MessageHandler for the
  + * DefaultMessageListener (anybody
* can provide his own listener by extending MessageListenerbr
* code
* MessageHandler.setOutputMethod(MessageHandler.EVENT);
* MessageHandler.addListener(new DefaultMessageListener());
* /codebr
  - * This examples shows, how to redirect the messages to a log file called fop.log.
  - * All messages are appended to this file.
  + * This examples shows how to redirect the messages to a log file called
  + * fop.log. All messages are appended to this file.
* code
* MessageHandler.setOutputMethod(MessageHandler.FILE);
* MessageHandler.setLogfileName(\\fop.log,true);
  @@ -104,7 +107,9 @@
   setMessage(message);
   Enumeration enum = listeners.elements();
   while (enum.hasMoreElements()) {
  -((MessageListener)enum.nextElement()).processMessage(new 
MessageEvent(getMessage()));
  +((MessageListener)enum.nextElement()).processMessage(
  +new MessageEvent(getMessage())
  +);
   }
   break;
   case NONE:
  
  
  

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




cvs commit: xml-fop/src/org/apache/fop/xml - New directory

2002-05-07 Thread pbwest

pbwest  02/05/07 09:36:03

  xml-fop/src/org/apache/fop/xml - New directory

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




cvs commit: xml-fop/src/org/apache/fop/xml XMLEvent.java XMLSerialHandler.java package.html

2002-05-07 Thread pbwest

pbwest  02/05/07 09:40:46

  Added:   src/org/apache/fop/xml Tag: FOP_0-20-0_Alt-Design
XMLEvent.java XMLSerialHandler.java package.html
  Log:
  New files for SAX XML event serialisation.
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.1.2.1   +809 -0xml-fop/src/org/apache/fop/xml/Attic/XMLEvent.java
  
  
  
  
  1.1.2.1   +192 -0xml-fop/src/org/apache/fop/xml/Attic/XMLSerialHandler.java
  
  
  
  
  1.1.2.1   +6 -0  xml-fop/src/org/apache/fop/xml/Attic/package.html
  
  
  
  

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




Tables: padding and borders

2002-05-07 Thread J.U. Anderegg

Tests with FOP 0.20.1 and PDF output:

o Cells
- Define a rectangle with geometric lines as sides: width = 0.
- Padding on the cell element offsets text within the cell rectangle.
- Border rectangles are centered over the sides of the cell rectangle.
Adjacent cells put both centered border rectangles on common side lines.

o Tables
- Borders are built around the cells, when cells are already formatted and
fixed to a page position.
- Padding on the table element shifts the table border (not the table
itself relative to the parent) - e.g. out into the left margin.
- Table borders are aligned outwards from the sides of the cell rectangles.
This produces an overlap with cell borders centered on cell rectangle sides.

This may sound very complicated. See my attached test data and the results,
zoom the test document as much as possible: if this is still an issue!


Hansuli Anderegg



tables.pdf
Description: Adobe PDF document

?xml version=1.0 encoding=ISO-8859-1?
fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; xmlns:src=UBSXMLSrc
fo:layout-master-set
fo:simple-page-master master-name=seiten page-height=29.7cm page-width=21cm margin-top=2cm margin-bottom=2cm margin-left=1.8cm margin-right=2.0cm
fo:region-before region-name=s2ff-before extent=2.0cm /
fo:region-body margin-top=1.0cm margin-bottom=2.0cm /
fo:region-after region-name=s2ff-after extent=2.0cm /
/fo:simple-page-master
/fo:layout-master-set
fo:page-sequence master-name=seiten initial-page-number=1
fo:static-content flow-name=s2ff-after
fo:block font-size=11pt font-family=sans-serif line-height=13pt text-align=center padding-top=12mm
fo:page-number //fo:page-number-citation ref-id=IDAWEF4 /
/fo:block
/fo:static-content
fo:flow flow-name=xsl-region-body

fo:block font-size=11pt font-family=sans-serif line-height=13pt text-align=starttable border - cell padding, border/fo:block
fo:block
fo:table space-after.optimum=13pt space-before.optimum=3pt border-color=red border-width=1.0mm border-style=solid font-size=10pt font-family=sans-serif text-align=start
fo:table-column column-width=30mm /
fo:table-column column-width=30mm /
fo:table-column column-width=30mm /
fo:table-body
fo:table-row keep-with-next=always
fo:table-cell padding-left=6pt border-width=0.5mm border-style=solid   border-color=yellow
fo:blockcell 1.1/fo:block
/fo:table-cell
fo:table-cell padding-left=6pt border-width=0.5mm border-style=dashed  border-color=green
fo:blockcell 1.2/fo:block
/fo:table-cell
fo:table-cell padding-left=6pt border-width=0.5mm border-style=dotted  border-color=yellow
fo:blockcell 1.3/fo:block
/fo:table-cell
/fo:table-row
fo:table-row keep-with-next=always
fo:table-cell padding-left=6pt border-width=0.5mm border-style=dashed  border-color=green
fo:blockcell 2.1/fo:block
/fo:table-cell
fo:table-cell padding-left=6pt border-width=0.2mm border-style=dotted  border-color=blue
fo:blockcell 2.2/fo:block
/fo:table-cell
fo:table-cell padding-left=6pt border-width=0.5mm border-style=solid   border-color=green
fo:blockcell 2.3/fo:block
/fo:table-cell
/fo:table-row
fo:table-row keep-with-next=always
fo:table-cell padding-left=6pt border-width=0.5mm border-style=dotted  border-color=yellow
fo:blockcell 3.1/fo:block
/fo:table-cell
fo:table-cell padding-left=6pt border-width=0.5mm border-style=solid   border-color=green
fo:blockcell 3.2/fo:block
/fo:table-cell
fo:table-cell padding-left=6pt border-width=0.5mm border-style=dashed  border-color=yellow
fo:blockcell 3.3/fo:block
/fo:table-cell
/fo:table-row
/fo:table-body
/fo:table
/fo:block

fo:block font-size=11pt font-family=sans-serif line-height=13pt text-align=starttable border, padding top/bottom - cell padding, border/fo:block
fo:block
fo:table space-after.optimum=13pt space-before.optimum=3pt border-color=red border-width=1.0mm border-style=solid padding-top=6pt padding-bottom=6pt font-size=10pt font-family=sans-serif text-align=start
fo:table-column column-width=30mm /
fo:table-column column-width=30mm /
fo:table-column column-width=30mm /
fo:table-body
fo:table-row keep-with-next=always
fo:table-cell padding-left=6pt border-width=0.5mm border-style=solid   border-color=yellow
fo:blockcell 1.1/fo:block
/fo:table-cell
fo:table-cell padding-left=6pt border-width=0.5mm border-style=dashed  border-color=green
fo:blockcell 1.2/fo:block
/fo:table-cell
fo:table-cell padding-left=6pt border-width=0.5mm border-style=dotted  border-color=yellow
fo:blockcell 1.3/fo:block
/fo:table-cell
/fo:table-row
fo:table-row keep-with-next=always
fo:table-cell padding-left=6pt border-width=0.5mm border-style=dashed  border-color=green
fo:blockcell 2.1/fo:block
/fo:table-cell
fo:table-cell padding-left=6pt border-width=0.2mm border-style=dotted  border-color=blue
fo:blockcell 2.2/fo:block
/fo:table-cell
fo:table-cell padding-left=6pt border-width=0.5mm border-style=solid   border-color=green
fo:blockcell 2.3/fo:block
/fo:table-cell
/fo:table-row
fo:table-row keep-with-next=always
fo:table-cell 

FOP and TransformerException

2002-05-07 Thread Jaideep Chadha

I am using FOP version 0.18.1.  I am also using ATGs Dynamo 4.5.1 
for serving the UI for the application.
I get TransformerExceptions and IOExceptions at times.
Sometimes these exceptions don't have any effect and a pdf is 
generated properly, but at times it fails.

Any suggestions or help would be greatly appreciated.

Thanks,

Jaideep

_
Click below to visit monsterindia.com and review jobs in India or 
Abroad
http://monsterindia.rediff.com/jobs


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




Fw: keep-together.within-page implemented ?

2002-05-07 Thread Holger Prause


- Original Message -
From: Holger Prause [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 07, 2002 7:27 PM
Subject: keep-together.within-page implemented ?


 Hello,


 I have some problems using
 keep-together.within-page and i am wondering if its implemented yet.
 (Obviously not, see http://xml.apache.org/fop/implemented.html# , i could
not
 find it anywhere)

 But i dont get any warnings or errors that  keep-together.within-page is
not
 implemented yet.

 Here is a good sample stylesheet which uses the keep-together.within-page
 attribute

 http://www.renderx.com/Tests/pagebreak.fo

 The resulting pdf file is not the expected.The attribute
 keep-together.within-page will be ignored.

 http://www.renderx.com/Tests/pagebreak.pdf



Thanx in Advance,

Holger


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




TransformerException: 4098

2002-05-07 Thread Jaideep Chadha

I get stack trajavax.xml.transform.TransformerException: 4098
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.init(Compiled Code)
at java.lang.Exception.init(Compiled Code)
at javax.xml.transform.TransformerException.init(Compiled 
Code)
at 
org.apache.xalan.transformer.TransformerImpl.transformNode(Compiled 
Code)
at 
org.apache.xalan.transformer.TransformerImpl.transform(Compiled 
Code)
at 
org.apache.xalan.transformer.TransformerImpl.transform(Compiled 
Code)ces like the following one.

What does 4098 mean in the exception.


_
Click below to visit monsterindia.com and review jobs in India or 
Abroad
http://monsterindia.rediff.com/jobs


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