RE: StaticContentLayoutManager

2003-08-29 Thread Joerg Pietschmann
Well, the actual layout for static content can obviously differ from page to page because of markers and page numbers. However, constructing a LM is expensive, and in the original code I wrote a new LM would have been created for each page if the FO didn't keep it, which would have cause unwanted o

Using FOP in Servlet

2001-10-04 Thread Joerg Pietschmann
Hello, i use FOP in a servlet together with the Saxon XSL processor. I implemented the communication between the processors as a SAX event stream. The following code snippet was developed with FOP 0.20.1, i think with 0.20.2 i could use the Driver again but i don't want to bother with this yet.

FOP in WebSphere and some general notes (Was: Re: Using FOP in Servlet)

2001-10-05 Thread joerg . pietschmann
Karen Lease wrote: > Configuration.put("baseDir", SOMEURLSTRING); Thanks. I meanwhile figured it out that i could use SOMEURLSTRING="file:"+xslFileName Some other notes on FOP 0.20.2 in general and using in in an IBM WebSphere Server in particular (including problems actually caused by Batik):

Re: Fop and external fonts

2001-10-23 Thread Joerg Pietschmann
Eyermann Horst ICM Bocholt <[EMAIL PROTECTED]> wrote: > I also did not manage to install a font, as the font I have is > omseip.pfb (OMega SErif IPa), which I fail to convert to the format required > by FOP. [...] > - should I try another font (which one) There are several TrueType IPA fonts out t

Re: Servlet called twice

2001-10-25 Thread Joerg Pietschmann
Hello all, two weeks ago, Kuehnberger <[EMAIL PROTECTED]> wrote: > My servlet can produce html or pdf, depending on a parameter which is > passed. > I read the discussion about that problem, but whatever I tried my > servlet is still called twice when the output is pdf, > if the out output is html

RE: table-header with (Con't)

2001-10-26 Thread Joerg Pietschmann
"Jim Urban" <[EMAIL PROTECTED]> wrote: > Here is another thing I need to do. I have a single document which contains > reports for multiple locations. I need to reset the page number on a > location change. IE: Report contains 3 locations. The first location gets > 3 pages, the second 2 page

RE:Making PDFby combining different XML files???

2001-10-26 Thread Joerg Pietschmann
sunitha nair <[EMAIL PROTECTED]> wrote > In the commandline i'm using > java -cp org.apache.fop.apps.Fop -xsl rajeev.xsl -xml > rajeev.xml -pdf rajeev.pdf > > that is rajeev.xml is the final xml file which contain > > lot of chapter xml files.I need chapter files because > i want to make pdf of

Re: XML-file on an other webserver

2001-10-26 Thread Joerg Pietschmann
"Egmont Ritter" <[EMAIL PROTECTED]> wrote: > I must create a PDF-file with FOP. My XML-File is on another webserver. > Can FOP handle this? Basically yes, if invoked from java code. The command line FOP application requires files. > I tried it with a servlet running on the Tomcat-server but > I b

SVG error question

2001-11-15 Thread Joerg Pietschmann
Ulrich Mayring <[EMAIL PROTECTED]> wrote: > I get this exception with fop: > ... (xml): Could not set base URL for svg > What is this URL and how can I set it? You probably have an SVG embedded in you FO which is generated on the fly, perhaps in a servlet. The error message is from Batik which tr

Re: servlet called thrice on IE 4.0

2001-11-20 Thread Joerg Pietschmann
"Savino, Matt C" <[EMAIL PROTECTED]> wrote: > I know this has been discussed here before, but I just wanted to ask in case > anyone has discovered a solution. Basically I'm etting that problem where IE > is calling the FOP servelt twice. It is said this is caused by IE trying to derive the conten

Re: HELP: PDF generation hangs

2001-11-27 Thread Joerg Pietschmann
Vladimir Sneblic <[EMAIL PROTECTED]> wrote: > I have a problem when I try to generate a PDF file from a FOP file that > contains an SVG image. It doesn't matter if the image is inline or if it's > stored as a separate file. My problem is that the PDF file gets generated > but for some reason the j

Re: xpath

2001-11-28 Thread Joerg Pietschmann
"Maneshi Tuli" <[EMAIL PROTECTED]> wrote: > I want to count all rows for whom child col having attribute num='8' is not null [snip] Questions like this should be asked on the XSL list ([EMAIL PROTECTED]). Try count(row[col[not(@num='8')]]) This actually counts row elements with a col child

Antwort: RE: pdf freeze due to image?

2001-10-08 Thread joerg . pietschmann
you'll have to run a webserver there able to serve the graphic. If you want to read the graphic directly from the file system, use the file protocol: which will read the file /lzammit/whatver.gif HTH Joerg Pietschmann

Antwort: ERROR: The entity "eacute" was referenced, but not declared.

2001-10-10 Thread joerg . pietschmann
Joerg Pietschmann |+---> || "MEMMADI Said" | || | || | || 10.10.01 16:11 | || Bitte

Antwort: Fop speed improvements

2001-10-11 Thread joerg . pietschmann
uld publish your FO file, preferably trimmed down to the a small part which is still slow, this would help to analyze the situation in more detail. (Please don't send a Megabyte file to the list!) HTH Joerg Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Antwort: Making a native win32 binary out of FOP

2001-10-12 Thread joerg . pietschmann
There appears to be a way to package the MS JVM together with some Java classes into an .exe. Mr. Kay (http://saxon.sourceforge.net/) does this for his Saxon XSLT processor. Maybe he is willing to help (he is also very busy, so be patient) Freundliche Gruesse Joerg Pietschmann

Antwort: Performance

2001-10-12 Thread joerg . pietschmann
ocumentation in detail by yourself in order to get further hints. And, well, FOP is not exactly programmed to use as little space as possible. Stuff is copied a lot and often still hangs around in memory long after it isn't needed anymore, though this improved with 0.20's stream rende

Antwort: RE: Antwort: Making a native win32 binary out of FOP

2001-10-15 Thread joerg . pietschmann
right, the MS JVM has already to be installed. This should not be a problem for most MS-Systems, except perhaps some batches of XP. Joerg Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Antwort: Why XSL FO

2001-10-15 Thread joerg . pietschmann
. You may look at the FOP sources or at a TEX-distribution (http://www.tug.org) to get an impression what difficulties you might encounter. HTH Joerg Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Antwort: page numbering problem...

2001-10-15 Thread joerg . pietschmann
Tailor this to your needs. Of course you'll have to define a page master "report" (you may have different page masters for the title page, the TOC, appendices etc.) HTH Joerg Pietschmann - To unsubscribe,

Antwort: XML parser question

2001-10-15 Thread joerg . pietschmann
tory, if so, you'll only need to put this jar into the classpath instead of the Xerces jar. Be sure to place it before the Xalan and the FOP jar. HTH Joerg Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Antwort: Calling FOP with strings rather than filenames

2001-10-16 Thread joerg . pietschmann
d, as i'm using something more convoluted due to FOP 0.20.1 legacy. HTH anyway. Joerg Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Antwort: post-processing info

2001-10-17 Thread joerg . pietschmann
you think you'll need it this way? In general, the answer is "you can't" at both accounts. Your specific context may allow some tricks to achieve it, but it is difficult to take a shot at it without further knowledge. HTH Joerg Pietschmann

Re: Antwort: post-processing info

2001-10-17 Thread joerg . pietschmann
he way you formulated it is difficult to solve, as small changes in the XML source may change the content of a lot of pages in the PDF. HTH Joerg Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

RE: Page Breaks

2001-12-05 Thread Joerg Pietschmann
Hello, a form feed (\f, 0xC, ASCII FF, CTRL-L or ) is not a legal character in XML. Data containing it could/should be rejected. Also: "Jim Urban" <[EMAIL PROTECTED]> wrote: > XSLT is under the control of our client. Then you can tell your clients to cope with it. Actually, doing something for

Re: encoding

2001-12-07 Thread Joerg Pietschmann
[EMAIL PROTECTED] wrote > I'm beginner in FOP. I have a problem with windows-1250 encoding, please help > me. My source XML documents looks like this: [...] > I use xsl-fo document to transform source document to plain text: > > > http://www.w3.org/1999/XSL/Transform"; > xmlns:fo

Re: Bleeding / Hyphenation issues

2001-12-07 Thread Joerg Pietschmann
Darrel Riekhof <[EMAIL PROTECTED]> wrote: > We are having problems with our reports because FOP doesn't break on > hyphens. Well, i tried goiue sk kalks aki aks kallk kajas kals siensalks yadadadadadada- dadadadadadadadadadadadadadadadadadadadadadadadaadadoijefgjsdgfj- sdgfewhtcahtuehtcmeiuthao

Re: Specific footer on the last page

2001-12-07 Thread Joerg Pietschmann
Thierry Gounelle <[EMAIL PROTECTED]> wrote: > Here is my problem: > I have a document that may have 1 to N pages. I would like to print > something on the footer of the last page (or at least on the bottom). This may be more tricky than it seems at a first glance. One possibility is to put the te

Re: Dictionary style pages

2001-12-10 Thread Joerg Pietschmann
"Edward Dowgiallo" <[EMAIL PROTECTED]> wrote: >     The example (franklin_2pageseqs.fo) does not do what > I am looking for. Although starting with page 7, it does > alternate between odd and even masters, the page number is > always on the right hand bottom. I want to know how to make > it app

RE: Bleeding / Hyphenation issues

2001-12-10 Thread Joerg Pietschmann
Darrel Riekhof <[EMAIL PROTECTED]> wrote: > Could some expand on the paragraph below. What are the other relevant > attribs? What/Where is the database for my language (English)? The relevant attributes are more or less described in chapter 7.9 of the spec (http://www.w3.org/TR/xsl/slice7.html#

FOP-XSL:dynamic external graphics

2002-01-07 Thread Joerg Pietschmann
Rachael Blank <[EMAIL PROTECTED]> wrote: > Is there a way I can dynamically display images based on an xml tag that > I am given? [...] > I thought something like this would work: > >white-space-collapse="true"> > > select="concat('file:../default/tra-app/images/',client/id,'l

Re: FOP-XSL:dynamic external graphics

2002-01-09 Thread Joerg Pietschmann
"Romain Bertucelli" <[EMAIL PROTECTED]> wrote: > I tried to the same thing with href="{concat($filepathValue,'anXSLFile.xsl')}"/> [snip] > Does anyone know if there is a way to do this ? You can't do this. Stylesheet includes can only use statically known URIs. Actually, you probably don't need

Re: Unicode interpretation

2002-01-09 Thread Joerg Pietschmann
Joerg Flotho <[EMAIL PROTECTED]> > We have different versions of interpretations regarding unicode: [...] > (hexadecimal or decimal seems to make no difference). That's by design :-) > After passing XALAN some signs were interpreted > wrong.(viewing in IE 5.0 as filename.fo) [...] I suppose some

Re: embedding svg in xsl:fo generates nullpointer, help ...

2002-01-11 Thread Joerg Pietschmann
"Manuel Moons" <[EMAIL PROTECTED]> wrote: > I'm trying to put an svg in my xsl:fo document and then trying to generate a > pdf document. But when doing this I get the following: > ERROR 10106 [fop ] (): Could not set base URL for svg > java.net.MalformedURLException: java.lang.NullPointerE

Re: How can I print using the servlet example ?

2002-01-17 Thread joerg . pietschmann
"Anshuman" <[EMAIL PROTECTED]> wrote: >     Well I know that I can get the pdf rendition to > the browser and display the same using Acrobat. Then > the client can use the print option of the Acrobat to > print the document. But, in case I want to have a link > to print the same without displa

Re: Unicode interpretation

2002-01-18 Thread Joerg Pietschmann
"Joerg Flotho" <[EMAIL PROTECTED]> wrote: > >>>only if you use somewhat esoteric characters (for > >>>middle-european cultures) like special mathematical symbols. > The copyright-symbol (x00A9) is interpreted correctly, I think > because it's lower than 256. > Second example: a left-arrow (x2190)

Re: Euro sign

2002-01-18 Thread Joerg Pietschmann
Martin Stricker <[EMAIL PROTECTED]> wrote: > Patrick Andries wrote: > > Why do I see a bullet instead of a euro sign (EUR), when I simply > > "compile" the fonts.fo file found in the Fop-0.20-2 distribution > > (./docs/examples/fo)? > You are using the wrong OS and fonts. :-( On Win2k the Euro sig

Re: keep and break questions.

2002-01-29 Thread Joerg Pietschmann
[EMAIL PROTECTED] wrote: > i have some questions with the keep and break stuff... > I tried to keep a together with this code: > This property is not yet fully supported. Even then the value should be "always". > but when i render my xsl & xml to a pdf (through JAVA) the block is > splitted ov

Re: out of memory exception in java ?

2002-01-30 Thread Joerg Pietschmann
"Nick Winger" <[EMAIL PROTECTED]> wrote: > the footer is displayed is every page, but it overrides the text in the > table... > that means, the table doesn't stop at the region-after section... You have to declare the body region properly in your page-master so that it doesn't extend into the reg

Re: Barcode-line on a page....

2002-01-30 Thread Joerg Pietschmann
[EMAIL PROTECTED] wrote: > but one solution shows me many more problems... :( > My margins must be set to 0 now (leftmargin) and that screws up my whote > document. You can define margins on the body region, where the text flow goes. Define a region-start appropriately, where the static-conte

Re: Please help, even if it's just a reply that it can't be done

2002-01-31 Thread Joerg Pietschmann
"Scott Moore" <[EMAIL PROTECTED]> wrote: > I cross-posted this several days ago and didn't get a single reply. Before i get to the meat, a net.cop note: Use meaningful subjects, don't mention crossposting (even if it is justified in the first place), don't bother the gurus in the dev lists, there

RE: Please help, even if it's just a reply that it can't be done

2002-01-31 Thread Joerg Pietschmann
Scott Moore <[EMAIL PROTECTED]> wrote: > Sorry about the subject line, but my previous subject "SVG Problem with FOP" > got no replies. I read it but had real work to do. > However, it still can't locate the > gradient definition. It gives the following error "An I/O error occured > while proces

Re: white-space

2002-02-01 Thread Joerg Pietschmann
> I need white space between fields, how do I do that? ... > , >

Re: transforming fo to pdf

2002-02-01 Thread Joerg Pietschmann
"Katiyar, Bhawana" <[EMAIL PROTECTED]> wrote: > I have the following code : > Document docFo ; //contains a valid fo document ... > java.lang.NullPointerException > at >org.apache.fop.layoutmgr.PageLayoutManager.makeNewPage(PageLayoutManager.java:141) > at >org.apa

RE: Why do you use FOP instead of ...

2002-02-04 Thread Joerg Pietschmann
Roland <[EMAIL PROTECTED]> wrote: > Wrong! Look at iText http://www.lowagie.com/iText/ to see how simple their > examples are. They build a complex table with just a few lines of java > codes. Try doing the same with the XML/XSLT/XSL:FO approach and I guarantee > you that the total outcome will be

Re[2]: Web site maintenance

2002-02-07 Thread Joerg Pietschmann
Aleksandar Zivkovic <[EMAIL PROTECTED]> wrote: > Region "Start" is defined to be always on the left side of the > paper, which is ,in book production, not always true. This is not quite correct. Where the region-start appears, depends on the writing order. It is on the left side for the usual

FW: FOP section and page breaks

2002-02-07 Thread Joerg Pietschmann
"EXT-Reddy, Swathi A" <[EMAIL PROTECTED]> wrote: > Can someone please post a sample XSLT file that does the section breaks and > page breaks depending on the XML file? I have a XML file that looks like > this - > > > > > > . Page breaks can be achieved by placing a b

Re: problem displaying a table

2002-02-07 Thread Joerg Pietschmann
"Nick Winger" <[EMAIL PROTECTED]> wrote: > but the table has the height of 0. > i just see a line going from left to right. > but the image isnt't displayed and the text is also not there. Hehe! It's something else, as usual... > > > You are missing a fo:table-body or perhaps fo

Re: fo file

2002-02-07 Thread Joerg Pietschmann
[EMAIL PROTECTED] wrote: > if you know what instructions do i need to create a pdf > file from a xml and xsl file First try the FOP command line application, the instructions how to produce a PDF from a XML and XSL file are well documented there. Once you have working XSL code and want to integ

RE: FOP section and page breaks

2002-02-07 Thread Joerg Pietschmann
"EXT-Reddy, Swathi A" <[EMAIL PROTECTED]> wrote: > When I started writing my xml file, I didn't have a tag. I was > depending on the to do the page breaks. > > > ... > > > > > > > This worked fine when I had a 10 page document. I have to generate a

Re: sax conflicts with tomcat-4.0.2-LE-jdk1.4

2002-02-12 Thread Joerg Pietschmann
Jeremias Maerki <[EMAIL PROTECTED]> wrote: > The only place where Xerces is directly imported is the PFMReader and > TTFReader. Ok, Driver, when startet using the command line, uses Xerces > by default, but nothing prevents you from using any JAXP parser with FOP. Stuff matching org.apache.x* in

Re: sax conflicts with tomcat-4.0.2-LE-jdk1.4

2002-02-15 Thread Joerg Pietschmann
Christian Geisert <[EMAIL PROTECTED]> wrote: > > - Is there a chance to get them into the maintenance branch? > No freezing yet .. so hurry up ;-) Ug, o! > Ok, but what's your problem with ant? Ant wont run under bash/cygwin, probably because of odd directory remounts by cygwin. Works u

RE: [PROPOSAL] linebreak

2002-02-25 Thread Joerg Pietschmann
[EMAIL PROTECTED] (ewitness - Ben Fowler) wrote: [snip] > I don't mind admitting that as an outsider to the XML standard, this > looks like a bad, even a really bad, idea. > > My reading of your commentary is "Whitespace is sometimes respected, > and only a langauge lawyer can tell you when". We

RE: [PROPOSAL] linebreak

2002-02-26 Thread Joerg Pietschmann
[EMAIL PROTECTED] (ewitness - Ben Fowler) wrote: [snip] Well, this is drifting off topic for this list... but see the very end of this message. And some remarks anyway: In the example > >The correct way to express > >procedure foo(); > > begin ... > >would be something like: > > > > foo(); > >

Using Avalon/Logkit Was: Re: [Understanding] Images [4]

2002-02-26 Thread Joerg Pietschmann
Jeremias Maerki <[EMAIL PROTECTED]> wrote: > By the way: What's the current agreement whether to use Avalon or not? I > mean, we're already using LogKit (which is cool). No, it's not cool unless done properly. I don't think users who want only pure FO processing should be forced to use another he

Re: Using Avalon/Logkit

2002-02-27 Thread Joerg Pietschmann
"Nicola Ken Barozzi" <[EMAIL PROTECTED]> wrote: > I've used Avalon framework in many projects, and IMHO it's not heavyweight. Ok, scratch the heavyweight. In order to clarify issues: I have to use FOP in an environment which already provides logging, configuration management and life cycle manag

Re: Using Avalon/Logkit

2002-02-28 Thread Joerg Pietschmann
Jeremias Maerki <[EMAIL PROTECTED]> wrote: > Ok, I think that can be done, even when using Avalon in FOP. You propose > (I think) that we could provide an Avalon-Wrapper around FOP, Thanks for the help. Some comments on the concerns: I'm forced to use JDK 1.3 with JAXP1.1 and proprietary extensio

Re: FOP Interfaces

2002-02-28 Thread Joerg Pietschmann
Keiron Liddle <[EMAIL PROTECTED]> wrote: > XML input > - various ways to supply FOP with the xsl:fo file I might be an idea to rely on JAXP 1.1 here. > general options > - base directory Make this "base URI". Make sure your concept allows resolving those pesky "url(#stuff)" properties in embedded

Re: FOP Interfaces

2002-02-28 Thread Joerg Pietschmann
Jeremias Maerki <[EMAIL PROTECTED]> wrote: > Output from FOP: > - Generation statistics: Number of pages total What about: total=((Integer)processor.getAttribute("fop.totalNumberOfPages")).intValue() (Returns 0 before rendering, i suppose. Or is throwing an exception better?) > Number of pages

RE: FO -> PDF works with Netscape, not with IE

2002-03-06 Thread Joerg Pietschmann
"Katiyar, Bhawana" <[EMAIL PROTECTED]> wrote: > I am using IE 5.5 SP2. My request for a PDF document is being sent twice. This is a FAQ, you'll find answers in the archives. A summary: First, it is important that IEx takes clues how to handle the content from the URL even before it requests the

Re: Outputstream with PDF from FOP is going cutted

2002-03-06 Thread Joerg Pietschmann
"Steiner, Priska" <[EMAIL PROTECTED]> wrote: > I have a strange problem. I tried to generate with Fop0.20.2 a pdf. I would > like for output an outputStream instead of a fileOutputStream. This works > fine, but when I tried to insert this Stream as a byte[] in a DB, the > content will be cutted.

Re: FAQ Answers please

2002-03-07 Thread Joerg Pietschmann
(Crossposted to both fop-dev and fop-user. fop-user subscribers, please post follow-ups to fop-dev) alex <[EMAIL PROTECTED]> wrote: > Can anyone capture any important questions and answers which I should put > into the FAQ? Well questions are easy, answers somewhat less: Here is my impression 1.

Re: Using Avalon/Logkit

2002-03-14 Thread Joerg Pietschmann
Jeremias Maerki <[EMAIL PROTECTED]> wrote: > But I think you have some fears because you know too little of Avalon. Well, thats nearly the core of the problem. Actually, in my case JAXP is the ultimate cause. We started using XSLT in a servlet using JAXP, which defines its own facilities for dea

Re: FAQ Answers please

2002-03-14 Thread Joerg Pietschmann
Keiron Liddle <[EMAIL PROTECTED]> wrote: [rearranged] > > 2. Batik/SVG specific questions > > 2.1 SVG text rendered in bad quality, how to put SVG text as text into > > PDF > This isn't quite true... Well, it is asked in this form frequently enough. But you are right your explanation should be ad

Re: FAQ Answers please

2002-03-18 Thread Joerg Pietschmann
alex <[EMAIL PROTECTED]> wrote: > Firstly lets set up a mailing list for discussing Apache FAQs. I think it > would be a Good Thing. I think public discussions relevant to the FOP FAQ could be held on this list, everything else by email. Or did you think of a discussion on how to do FAQs in gener

Re: FAQ Answers please

2002-03-18 Thread Joerg Pietschmann
"Nicola Ken Barozzi" <[EMAIL PROTECTED]> wrote: > There is a new project in Apache called Forrest, that is redesigning the > whole xml.apache.org site to become useful as a Sourceforge on steroids. > We are at the beginning, and it would be cool if you join us there! Well, there are already GNUfo

Re: problems with keep-with-next

2002-03-18 Thread Joerg Pietschmann
Stephen Bannasch <[EMAIL PROTECTED]> wrote: > keep-with-next still doesn't work on 0.20.3 It is implemented only for table rows. > The problem is very annoying when I have a figure > with a title on one page and the image on the next. Put stuff that should be kept together in a one column blind

URI resolving

2002-03-18 Thread Joerg Pietschmann
Hi, i did some thinking about FOP interfaces and especially the URI resolving problem last weekend. In JAXP you can do some rather geeky things with the URIResolver: - implement caches - implement URL redirections - implement your own protocols for synthetic XML As an example for the latter, use

Re: Colon character problematic in ??

2002-03-19 Thread Joerg Pietschmann
"Joe Sytniak" <[EMAIL PROTECTED]> wrote: > I am able to create XSL for normal transformations to HTML just fine. But in > order to get XSLFO to work, I must change the names of the 'rs:data' and > 'z:row' nodes to something that does not contain a colon charater (ie. > rs-data & z-row). Such c

RE: Colon character problematic in ??

2002-03-19 Thread Joerg Pietschmann
Marylynne Henry <[EMAIL PROTECTED]> wrote: > Similarly, I am having problems with the '&' character. Is > there a way to escape this character when it appears in the text? Yes, there is a way, read the spec at http://www.w3.org/TR/REC-xml, one of the countless XML FAQs or get some "XML for Dumm

Re: development status

2002-03-20 Thread Joerg Pietschmann
"Nicola Ken Barozzi" <[EMAIL PROTECTED]> wrote: > Anyway, these forward references are a pain in the ass :-/ Very true. Imagine the worst case: Someone puts a "(See page )" into the text at page 1. The formatter has to allocate some space for the unknown number, lets say a "n" space. The referen

Re: pb FOP 0.20 and servlet

2002-03-22 Thread Joerg Pietschmann
Jean-Fran?ois_Selber <[EMAIL PROTECTED]> wrote: > > src="url:http://titane.oxymel.com:8080/statsfeftt/StatsDepartement?typeStats > =graph13mois" height="3.41cm" width="23.81cm"/> > I think the url: prefix is redundant. Try src="http://titane.oxymel.com:8080/statsfeftt/StatsDepartement?typeSta

Re: fo:inline borders and bgcolor...

2002-03-22 Thread Joerg Pietschmann
"Tomas Espeleta" <[EMAIL PROTECTED]> wrote: > does support backround-color, border-style and so on? None of the background-*, border-* and space-* properties have an effect on fo:inline in FOP 0.20.3. There are a few other features missing as well. I'm not aware of a workaround, in particular be

RE: Latest FOP schema

2002-05-13 Thread Joerg Pietschmann
"Arved Sandstrom" wrote: > I think the predominant opinion is (assume all of this fits on one page) - > > a normal block area (generated by the outer block) that contains: > > one or more line areas for "level_0_text fills to position A"; > then a block area with one or more line areas for "lev

Line breaks and other typographical stuff (was: Re: Latest FOP schema)

2002-05-14 Thread Joerg Pietschmann
Self-followup: > Peter B. West wrote: > > These cover such categories as > > Case, Numeric Value, Dashes, Line Breaking and Spaces. I found them online, the relevant URLs appear to be http://www.unicode.org/Public/UNIDATA/LineBreak.txt http://www.unicode.org/Public/UNIDATA/extracted/DerivedLin

Re: embedded FOP from Document to PDF

2002-05-21 Thread Joerg Pietschmann
"Juergen Lippold" <[EMAIL PROTECTED]> > It would be nice to start the conversion directly with the > org.w3c.dom.Document in memory and the XSL-File from harddisk. Look here for a code sample. You can pass whatever Source subclass you want to the transformer object, including a DOMSource. http:

Re: runtime ExceptionInInitializerError: first steps

2002-05-21 Thread Joerg Pietschmann
"Massimiliano Cuccia" <[EMAIL PROTECTED]> wrote: > > > Uncaught exception (java.lang.ExceptionInInitializerError) > > > > > > SVGElementMapping.setupSVG() > > > SVGElementMapping.addToBuilder(TreeBuilder) ... > > Do you have Batik in the classpath? > YES, it is. > > >If so, it is the version

Re: test cases

2002-06-21 Thread Joerg Pietschmann
Jeremias Maerki wrote: > I think there is one: test. Keiron, was that you who created it in the > first place? I must admit that I've never looked into this directory, > yet. Does the stuff in there work? Ah, yes. There is also a docs/examples/tests which is empty and is used to hold the results

Re: documentation for the maintenance branch

2002-06-27 Thread Joerg Pietschmann
"Peter B. West" <[EMAIL PROTECTED]> wrote: > Obviously there is a need for some documention with normal releases. We > don't need the design docs in the user releases, but all of the > operational material, including the FAQs, is necessary. > > If we were to do source and compiled releases, th

Line breaking and Hyphenation

2002-07-03 Thread Joerg Pietschmann
Hello all, I tracked down the bugs 10374, 2106 and 6042. The last bug was caused by a simple, easy to fix mistake in the hyphenation framework. The bug 10374 is unfortunately a duplicate of 2106, not 6042, and a bit more interesting. It is caused by the parser delivering character references as a

[vote] removing BufferManager and XTTreeBuilder

2002-07-04 Thread Joerg Pietschmann
Hello all, there is some dead wood to cut: - The BufferManager isn't used anymore, because it apparently caused more harm than good (see Mark Lillywhite's comments) +1 for removing all references and delete the files in fop/system - The XTFOTreeBuilder provides a SAX1 interface. It is not used

Maintenance: Java 1.2 Containers, HEAD PDF Renderer

2002-07-29 Thread Joerg Pietschmann
Hello, I tried to clean up a bit in the maintenance branch, with focus on reducing memory load and improving performance. I'd like to discuss the following issues: - Java 1.2 containers (HashMap) sneaked into the maintenance branch during a merge of a minor feature from the HEAD I made some tim

Re: just a thought

2002-08-13 Thread Joerg Pietschmann
Oleg Tkachenko wrote > It's probably not too late to consider some trivial optimization of fo > tree in redesign code. In a typical fo document probably about 30% of > elements have no children or have only one child (text node usually), so > instead of eager > protected ArrayList children = ne

Re: FOP performance - frustrating.. help!!

2002-12-28 Thread Joerg Pietschmann
On Friday 27 December 2002 22:57, "Lee, Insoo" wrote: > [run] org.apache.xalan.xslt.Process -IN rates.xml -XSL rates_pdf.xsl -OUT > rates.fo > > this step took about 1 minute... You seem to use a seriously underpowered machine, or you've complicated the transformation too much. I routinely transfo

Re: FOP Style Guide (update)

2003-01-03 Thread Joerg Pietschmann
On Friday 03 January 2003 10:16, Jeremias Maerki wrote: > (Joerg, I'm still missing your comments.) Done, added a lot of comments! J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL P

Re: Table Question

2003-01-03 Thread Joerg Pietschmann
On Friday 03 January 2003 22:19, Jarrod Stenberg wrote: > According to the recommendation a cell can exist as a child of a > table-body as well as a table-row Yes, but only the latter is implemented and works. The error message should prevent bad surprises. > I also noticed that the recent snapsho

Footnote Problem

2003-01-03 Thread Joerg Pietschmann
Hi all, is the footnote are supposed to span the whole page width even if the body region has columns? If so, adding a footnote would cause reshuffling of content of already filled columns, which in turn might push the FO causing the footnote onto the next page (another candidate for the "anomalous

Re: Throwing derivatives of RuntimeException

2003-01-04 Thread Joerg Pietschmann
On Saturday 04 January 2003 15:59, Jeremias Maerki wrote: > Hi Joerg Oops! Sorry, I should have checked twice before committing to the wiki, of course its not the PS renderer but the TTFReader and PFMReader which throw CascadingRuntimeExceptions. I admit this makes the case less relevant. Also, ne

Re: Throwing derivatives of RuntimeException

2003-01-04 Thread Joerg Pietschmann
On Saturday 04 January 2003 21:36, Jeremias Maerki wrote: > I promise to fix these uglies as soon as my local FOP > compiles again. I don't think it is more urgent than, lets say, turn the font readers into libraries which can be called both from the FOP core as well as from stand alone command lin

Documentation woes

2003-01-05 Thread Joerg Pietschmann
Hi all, I think there are still some problems with regard to our documentation. 1. There is a src/documentation/content/design/alt.design with some HTML files 2. There's also a src/documentation/content/xdocs/design/alt.design with some more XML files 3. Furthermore there is a docs/design/alt.d