Klaas Bals/Inventive Designers is out of the office.

2002-09-19 Thread Klaas_Bals
I will be out of the office starting 19/09/2002 and will not return until 22/09/2002. I will be out of the office and will have very limited access to my email. I will respond to your message when I return. If you have technical questions or issues regarding Scriptura, please send them to [EMAIL

Re: is it possible to supply fop driver with xml stream instead of xml file?

2002-09-19 Thread mark_sim-smith
Tobias, One alternative is to do the XSLT transform outside of FOP - i.e. do it directly with Xalan. You can provide a stream to Xalan, and output into a ByteArrayOutputStream, and then provide the fop Driver with an input source that wraps the byte[] in the ByteArrayOutputStream. I find it mo

Re: Problem with fonts

2002-09-19 Thread J.Pietschmann
Raúl Carazo wrote: > I've got a problem with my fonts!!! I used FOP 0.20.1 with Verdana without >problems. but suddenly (I'm sure we have done something, but I can't find it!!!), >this message appears > > WARNING: unknown font Verdana,normal,normal so defaulted font to any > > and Ver

Re: uneven table borders

2002-09-19 Thread J.Pietschmann
[EMAIL PROTECTED] wrote: > 1) use border-collapse="collapse" on the table element to make adjacent > borders overlap Ahem. From the source: // System.err.println("Collapse borders"); /* * Hard case. * Cell border is combination of other cell borders, or table

Re: block containers

2002-09-19 Thread J.Pietschmann
[EMAIL PROTECTED] wrote: > Running Fop 0.20.3 we cannot get fo:Block-containers to work at all. ... > - > java.lang.ClassCastException: org.apache.fop.layout.BlockArea > at > org.apache.fop.fo.flow.BlockContainer.layout(BlockContainer.java:109) You must not put block-container int

Re: is it possible to supply fop driver with xml stream instead ofxml file?

2002-09-19 Thread J.Pietschmann
Tobias Kuhn wrote: > i wonder if it is possible to supply the fop driver in my section: > > XSLTInputHandler inputHandler = new XSLTInputHandler( >> new > File(xmlFile) <<, new File(xslFile)); > > with an xml stream instead of an xml file. No, unless you change the source. Look here for an al

Re: size of images placed using

2002-09-19 Thread J.Pietschmann
Ambar Roy wrote: > Who is the > maintainer of these classes, and how do i submit a patch. I > am using windows, so what tools will i require? Open a bug in Bugzilla http://nagoya.apache.org/bugzilla/ and append the diff. It would be nice to adhere to the usual standards (unified or context diff

Re: Fix for paragraph breaking

2002-09-19 Thread J.Pietschmann
[EMAIL PROTECTED] wrote: > I suggest we write a special language hyphenation file for URLs -- it is > not a natural language, but it is one nevertheless, with its own lexical > rules. interesstingly, I just had the same thought. > (Can someone provide me with a pointer to the pertinent spec?)

Re: AW: AW: AW: Embedding FOP in Java

2002-09-19 Thread J.Pietschmann
Amin Schoeib wrote: > I tried the code of JohnPT. ... > java.lang.NullPointerException > at org.apache.fop.fo.flow.Flow.setFlowName(Unknown Source) > at org.apache.fop.fo.flow.Flow.(Unknown Source) This is the real problem. Ensure your fo:flow has a flow name specified: Actually, FOP attem

Re: Long table cell text gets outside cell

2002-09-19 Thread J.Pietschmann
Kevin Yeung wrote: > I am having troubles with long strings and table cells. The common approach is to put zero width spaces into the product number in order to give FOP a chance to break the line. Note that 0.20.4 appears to have a bug in the width calculation, you'll probably have to get the co

Re: AW: AW: AW: Embedding FOP in Java

2002-09-19 Thread jthaemlitz
The newer version probably uses the Avalon logger.  This will throw the ERROR message, but should not "break" the code.  You'll have to search for that fix in the archives. It sounds like your not getting the right data in your FO file.  Try running your data through the stylesheet on the command

RE: Page breaking infinite loop

2002-09-19 Thread Rhett Aultman
Sounds reasonable. Depending on certain things, though, the system classloader might not be able to find the classes. I asked the guy in charge of deployment at my workplace where we kept FOP under Apache 4.0.4, and he said we kept it in Apache's "common-lib" folder, so perhaps the best way t

Re: Fix for paragraph breaking

2002-09-19 Thread jaccoud
The concept of correctness is highly subjective; what is 'correct' in one situation may not be in another. In this context 'correct' means _conforming_ behaviour. I can't remember any section in the FO standard that says the processor must guess where and how to hyphenate, perhaps because machine

DO NOT REPLY [Bug 12809] New: - footnote coming at the bottom page

2002-09-19 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_b

Re: uneven table borders

2002-09-19 Thread jaccoud
A table consists of a series of embeded elements; the hyerarchy goes somewhat like this (assume fo namespace): here is the actual content Since any of these elements can take borders, an

Problem with fonts

2002-09-19 Thread Raúl Carazo
    I've got a problem with my fonts!!! I used FOP 0.20.1 with Verdana without problems. but suddenly (I'm sure we have done something, but I can't find it!!!), this message appears   WARNING: unknown font Verdana,normal,normal so defaulted font to any       and Verdana doesn't appear.      

Re: size of images placed using

2002-09-19 Thread Ambar Roy
> If you know how to extract the dpi from the file then it should only be > a matter of scaling the dimensions. > How is the dpi retrieved, is it format specific. > > If you know how to do it then why not submit a patch and the rest of it > should be easy to work out. Well, I have done this only f

Re: size of images placed using

2002-09-19 Thread Keiron Liddle
On Thu, 2002-09-19 at 11:00, Ambar Roy wrote: > > I look to source code, and IMHO you must modify > > src/org/apache/fop/images and > src/org/apache/fop/images/analyzer > > classes to suport DPI (extract dpi from file and compute > "right" > > width/height) > Thanx for the info. I did modify these

cvs commit: xml-fop/src/org/apache/fop/area Area.java Block.java BlockParent.java RegionReference.java

2002-09-19 Thread keiron
keiron 2002/09/19 02:20:06 Modified:src/org/apache/fop/area Area.java Block.java BlockParent.java RegionReference.java Log: don't implement serializable twice Revision ChangesPath 1.10 +3 -1 xml-fop/src/org/apache/fop/area/Area.java

Re: size of images placed using

2002-09-19 Thread Ambar Roy
> I look to source code, and IMHO you must modify > src/org/apache/fop/images and src/org/apache/fop/images/analyzer > classes to suport DPI (extract dpi from file and compute "right" > width/height) Thanx for the info. I did modify these classes, and also ExternalGraphic.java in org/apache/fop/fo

[Redesign] finding breaks

2002-09-19 Thread Keiron Liddle
Hi All, Trying to work out the best way to find breaks on a page. I think each layout manager should add breaks to a list of breaks until the last break is worse than the second last break. This way each layout manager can decide from the list of child breaks which one to use. For the table it c

[Redesign] layout update

2002-09-19 Thread Keiron Liddle
The area tree now only contains the values used for rendering. The min/opt/max values should only be handled by the layout managers and when the areas are created and added then it can set the fixed size of the areas. The area tree has also be cleaned up a bit to make better use of the block pare

TransformerFactory cannot be found

2002-09-19 Thread Andreas Kroop
Hi, i have a problem with the fop. when I execute my Servlet , I become a list of errors! i use tomcat 3.2.3, fop 0.20.4 and winnt 4 Here are the errors: javax.xml.transform.TransformerFactoryConfigurationError: Provider for javax.xml.transform.TransformerFactory cannot be found at javax.xml.t

Re: Page breaking infinite loop

2002-09-19 Thread Keiron Liddle
On Wed, 2002-09-18 at 20:38, Christian Geisert wrote: > Go for it! (don't forget to assign the bug to yourself) > > By the way .. any comments from you (as a classloader expert ;-) > on the following bug: > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10255 If you want to fix that bug why n

Re: uneven table borders

2002-09-19 Thread Keiron Liddle
On Thu, 2002-09-19 at 02:48, Steve Cameron wrote: > Can anyone provide me with an example of a 'nice' looking PDF table > generated with Fop. I have tried a few border options and end up with > lines of different width along different sides of the table and rows. Have you looked in the examples?