Re: Error with footnote

2003-01-20 Thread Marko Petersen
At 23:13 19.01.2003 +0100, you wrote: java.lang.NullPointerException at org.apache.fop.fo.flow.BasicLink.layout(BasicLink.java:94) Seems like links do not mix well with footnote spilling. Workarounds: - Avoid links in footnotes generally. This will save you occasional other trouble too. -

what's wrong with this?

2003-01-20 Thread joni santoso
hi, below is my fo file. when i transform it using apache fop the result is a pdf that the content of "other" is shown first. is it possible to make apache fop display the contents by setting some attributes. thx ===

RE: what's wrong with this?

2003-01-20 Thread vinod.nayak
just reverse the page-sequence nodes and check it.. -Original Message- From: joni santoso [mailto:[EMAIL PROTECTED] Sent: Monday, January 20, 2003 12:15 PM To: [EMAIL PROTECTED] Subject: what's wrong with this? hi, below is my fo file. when i transform it using apache fop the result is

How to arrange back tags in XSL (XML, FO, ...) files ?

2003-01-20 Thread Jiri_Nejedly
After many edits , my XSL files become not well-arranged. Does exist some (freeware) program, which can in my XSL, XML, FO files align all starting and ending tags back together ? For example: text text - text text or text text Thanks. --

Print Server

2003-01-20 Thread Henrik Olsson
Hi. Does any one know of any printer/output servers that uses FOP or a java XSL-FO solution? /Henrik Olsson

PDF & Printing

2003-01-20 Thread Mirko Sertic
Hello Folks! I'm trying to print a generated pdf. I knew i could use the PrintRenderer from the PrintStarter class. The only problem is that my pdf is not fopped in real - time. It was generated some time ago and was stored in out application pdf database for later use. So the problem is how can i

AW: PDF & Printing

2003-01-20 Thread "Müller, Markus"
Why not using AcrobatReader with the commandline option for printing? Markus # -Ursprüngliche Nachricht- # Von: Mirko Sertic [mailto:[EMAIL PROTECTED] # Gesendet am: Montag, 20. Januar 2003 10:43 # An: Fop-User # Betreff: PDF & Printing # # Hello Folks! # # I'm trying to print a generat

AW: PDF & Printing

2003-01-20 Thread Mirko Sertic
Hello! It should work on my linux server. -Ursprüngliche Nachricht- Von: Müller, Markus [mailto:[EMAIL PROTECTED] Gesendet: Montag, 20. Januar 2003 10:45 An: [EMAIL PROTECTED] Betreff: AW: PDF & Printing Why not using AcrobatReader with the commandline option for printing? Markus #

Re: How to arrange back tags in XSL (XML, FO, ...) files ?

2003-01-20 Thread Matthew Van Horn
You can do this with sed, fairly easily I think. I wrote a regex to clean up my tags, but it doesn't fix the indenting, since my editor does that pretty well. If you are using an inferior OS from a Redmond-based corporate criminal() then the application XMLSpy handles cleaning up the code pret

Re: conditional-page-master-reference only works with 2 options, not three? first, last, rest?

2003-01-20 Thread Oleg Tkachenko
Kevin Ross wrote: I checked out from both cvs branches and neither compiles...it doesn't seem to be in a state where an outsider could easily debug any issues and contribute a patch. Right. If you wanna help you have to be involved into the redesign, it's not patch time. Start from reading fop-dev

Re: what's wrong with this?

2003-01-20 Thread Oleg Tkachenko
joni santoso wrote: below is my fo file. when i transform it using apache fop the result is a pdf that the content of "other" is shown first. is it possible to make apache fop display the contents by setting some attributes. It's order of page-sequences what determines order of generated pages.

Re: How to arrange back tags in XSL (XML, FO, ...) files ?

2003-01-20 Thread Oleg Tkachenko
[EMAIL PROTECTED] wrote: After many edits , my XSL files become not well-arranged. Does exist some (freeware) program, which can in my XSL, XML, FO files align all starting and ending tags back together ? For example: text text - text text or text text Ther

Re: AW: PDF & Printing

2003-01-20 Thread Oleg Tkachenko
Mirko Sertic wrote: It should work on my linux server. Does Acrobat for linux exist? -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAI

AW: AW: PDF & Printing

2003-01-20 Thread "Müller, Markus"
On my RedHat AcrobatReader runs pretty good! # -Ursprüngliche Nachricht- # Von: Oleg Tkachenko [mailto:[EMAIL PROTECTED] # Gesendet am: Montag, 20. Januar 2003 11:22 # An: [EMAIL PROTECTED] # Betreff: Re: AW: PDF & Printing # # Mirko Sertic wrote: # # > It should work on my linux server.

Re: Print Server

2003-01-20 Thread Oleg Tkachenko
Henrik Olsson wrote: Does any one know of any printer/output servers that uses FOP or a java XSL-FO solution? IBM has one for zOS, it's java and xsl-fo (not FOP): http://www.printers.ibm.com/R5PSC.NSF/Web/xmlextenderhome. -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel

AW: AW: PDF & Printing

2003-01-20 Thread Mirko Sertic
Ok, ok, youre right. But one of our goals is not to use the acrobat. We want to print directly from our application. Isn't there any open source java pdf printing api available -Ursprüngliche Nachricht- Von: Müller, Markus [mailto:[EMAIL PROTECTED] Gesendet: Montag, 20. Januar 2003 11

FOP and Oracle's interMedia

2003-01-20 Thread Jiri_Nejedly
I have Oracle database with interMedia, which is database support for pictures, sounds, etc ... In BC4J technology, I use simple function WriteXML ( ...) , which can output the data from the database table to XML in format like this: Data1 Data2 ... ... ...

Re: FOP and Oracle's interMedia

2003-01-20 Thread Oleg Tkachenko
[EMAIL PROTECTED] wrote: If the table contains column Photo of type ORDIMAGE ( picture ), the XML looks like this: image/pjpeg FFD8FFE000104A46494600010202FFE100424578696649492A00080001000B0002001C001A00414344205379

page-break in block

2003-01-20 Thread "Zieseniß, Markus"
Hello, I use fop 0.20.4 and want to produce a pdf-file of .xml and .xsl. What can I do, that a fo:block is not be separated by an automatic page-break. thanks in advance Markus - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: page-break in block

2003-01-20 Thread Oleg Tkachenko
Zieseniß, Markus wrote: I use fop 0.20.4 and want to produce a pdf-file of .xml and .xsl. What can I do, that a fo:block is not be separated by an automatic page-break. Don't use it or encapsulate into fo:inline-container. -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel -

AW: page-break in block

2003-01-20 Thread "Zieseniß, Markus"
inline-container does not work (the table in the block is pushed together). Does the actual version solve this problem (the whole block appears on the next page?) thanks Markus > -Ursprüngliche Nachricht- > Von: Oleg Tkachenko [SMTP:[EMAIL PROTECTED] > Gesendet am: Montag, 20. Januar 20

Re: AW: page-break in block

2003-01-20 Thread Oleg Tkachenko
Zieseniß, Markus wrote: inline-container does not work (the table in the block is pushed together). Does the actual version solve this problem (the whole block appears on the next page?) Well, right, inline-container is not implemented. What are you trying to achieve actually? -- Oleg Tkachenko e

Re: FOP and Oracle's interMedia

2003-01-20 Thread Colin Savage
Not sure if this is what you had in mind, but you should be able to manipulate the source xml into something like this inside an tag. data:image/jpeg;base64,SOMEBASE64ENCODEDDATA"/> Colin From: Oleg Tkachenko <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subje

AW: AW: page-break in block

2003-01-20 Thread "Zieseniß, Markus"
I've to generate a .pdf-letter (up to 3 pages) . The flow text is brought by xml-file. So the text on a page is variable. Some text-sections (fo:blocks) are not allowed to be separated by a page-break, they have to be written on the next page. I heard of the "page-break-inside"-attribute, which sho

Problem finding images in WAR file

2003-01-20 Thread Rakesh Patel
Hi, I have seen various posts about this but nothing definative about the solution. Here's the problem: I am building a web application to deploy and have no idea whether the deployment site runs with Unix or Windows or which Servlet engine they use. In theory, this should not be a problem if

Solution for finding images in a WAR file

2003-01-20 Thread Rakesh Patel
Hi, I have found a solution that I think works (have not got access to a Unix environment to confirm this) but I did not hard-code any window/unix specific paths. Here's a snippet of code I used: ServletContext scntxt = this.getServletContext(); String pathToFile = scntxt.getRealPath("/WEB-INF

Re: AW: AW: page-break in block

2003-01-20 Thread Chris Bowditch
Hi Markus, the correct way in XSL-FO is to use keep-together="always" property on the blocks that you don't want to be broken across pages. However, this is not implemented in general within FOP. Only work around available is to put your blocks inside a blind table, since keep-together property

Re: AW: AW: PDF & Printing

2003-01-20 Thread Jeremias Maerki
Well, there's the GNU version of GhostScript. I don't know any good, working PDF interpreter written in Java. But I've just found something new: A browser written in Java that also has a PDF interpreter: http://www.cs.berkeley.edu/~phelps/Multivalent/ It's open source (BSD) but doesn't have an 1.0

Driver in Servlet

2003-01-20 Thread Peter Menzel
Hi fop users! I have a servlet, which gets data from a sql database, puts it in xml and then i transform the xml to xsl:fo and use the fop Driver to transform it to pdf and send the pdf to the browser, using the following code snippet: public void doGet(HttpServletRequest request, HttpServletResp

Line spaces when different font sizes are used

2003-01-20 Thread Ramon Maria Gallart
   Hi all. We’ve got a problem using fop to format a paragraph. The thing is that when we try to put a text inside a paragraph, we get the undesired result as seen in the image attached. What can i do to set the space between lines as best as possible?      Here’s the code used to show th

RE: Line spaces when different font sizes are used

2003-01-20 Thread Ramon Maria Gallart
Sorry.   Here’s the attached image.       Thanks,       Ramon Maria Gallart <>- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

svg & pdf, please HELP

2003-01-20 Thread fop
Please Help I use FOP 0.20.5rc with j2sdk1.4.0_03 and i can't convert fo file with svg (with text) to PDF with Text. i made fonts metrics files without error and i added svgSTROKEStext entry in userconfig.xml and i had opened arial.ttf font and saved it with a truetypefont editor. When i laun

Re: svg & pdf, please HELP

2003-01-20 Thread Jeremias Maerki
Eric, I've just reproduced you problem. It's a Batik bug because the ArrayIndexOutOfBoundsException also happens in Squiggle (the Batik SVG Browser). Please send a bugreport to the batik team and include your SVG file. You could probably get rid of the error if you rewrote your SVG, but I haven't

Re: Driver in Servlet

2003-01-20 Thread Jeremias Maerki
On 20.01.2003 18:55:46 Peter Menzel wrote: > So all works fine, but I thought about speed issues: > > in every doGet(..) call a new driver is created, and I think that is to slow > for a large number of users accessing the servlet. > But when i put the driver as a global variable in the servlet

Re: Line spaces when different font sizes are used

2003-01-20 Thread Jeremias Maerki
Can you please attach (!) a complete XSL-FO sample (preferably zipped) so we can reproduce? It's very awesome to scratch together a testfile from inline code snippets. Thanks a lot for making our lifes easier. And please indicate the version of FOP you're running. If you're running 0.20.3 or earli

Centering a table

2003-01-20 Thread Jon Steeves
Hello. Here's a newbie question: Does anyone know how to center this table on a page. I've tried a bunch of stuff and nothing works. Here's the code: Jon Steeves Technical Communications [EMAIL PROTECTED] ---

Re: How to arrange back tags in XSL (XML, FO, ...) files ?

2003-01-20 Thread J.Pietschmann
[EMAIL PROTECTED] wrote: After many edits , my XSL files become not well-arranged. Does exist some (freeware) program, which can in my XSL, XML, FO files align all starting and ending tags back together ? For example: Emacs+PSGML is The Real Thing (TM). J.Pietschmann --

Re: gray color in Postscript output

2003-01-20 Thread J.Pietschmann
Zhong Yi wrote: I am using Ghostview8.0 to preview the PS output. It's seems PS output did not draw any shape or path which has stroke attribute set to gray or lightgray. Is this a FOP bug or Ghostview? Well, try on another machine and some other tool to display the result, preferably a PS printer.

Re: AW: AW: PDF & Printing

2003-01-20 Thread J.Pietschmann
Mirko Sertic wrote: But one of our goals is not to use the acrobat. We want to print directly from our application. Isn't there any open source java pdf printing api available There is xpdf, and you cal always search SourceForge and FreshMeat. J.Pietschmann -

Re: Line spaces when different font sizes are used

2003-01-20 Thread J.Pietschmann
Ramon Maria Gallart wrote: It happens that inside the same paragraph there can be different font sizes, so i just don’t know what to do to fix it. FOP doesn't support mixing different font sizes within one line. J.Pietschmann -

Re: Centering a table

2003-01-20 Thread J.Pietschmann
Jon Steeves wrote: Does anyone know how to center this table on a page. FAQ. See http://xml.apache.org/fop/faq.html#faq-N10489 J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT

RE: Centering a table

2003-01-20 Thread Jon Steeves
This is the code from the faq. Seems to me that it will center the info within the cell, not center the whole table on the page. Have I misunderstood it? -Original Message-

RE: Centering a table

2003-01-20 Thread Roland Neilands
Try putting your table within that cell (ie nested tables) > -Original Message- > From: Jon Steeves [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 21 January 2003 9:36 AM > To: '[EMAIL PROTECTED]' > Subject: RE: Centering a table > > > This is the code from the faq. Seems to me that it will

RE: Centering a table

2003-01-20 Thread Jon Steeves
Tried that, but still doesn't center the table on the page - FOP left-justifies it. Here's the code I used -Original Message- From: Roland Neilands [mailto:[EMAIL PROTE

RE: Solution for finding images in a WAR file

2003-01-20 Thread Sharma, Siddharth
Try using this file for loading resources. Currently it loads only as properties and String but you may choose to return anyway you want. import java.util.Properties; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.ByteArrayOutputStream; /**

Re: Centering a table

2003-01-20 Thread Clay Leeds
Jon, Here's what I think J. meant to send you: You can use blind table columns with proportional column width for centering. The following will appear to center a 5cm column: ... ... Depending on your problem you can add the two