SVG external graphic doesn't show in FopServlet?

2002-04-04 Thread Carter, Will
Hi, I am having problems with external svg files in my fo file when generating PDFs using FopServlet. I am using fop-0.20.3 specifically, I have these refs to external graphics in my fo file. This works: fo:block fo:external-graphic src=

fo:basic-link does not work in xsl-region-before?

2002-04-04 Thread Costantino Sertorio
Hi, does anyone know if this is a FOP bug? It appears to me that a basic-link cannot be used in the region-before, as in the following snippet: fo:static-content flow-name=xsl-region-before fo:block fo:basic-link color=red external-destination=http://www.abc.def; www.abc.def/fo:basic-link

FW: sub and superscript

2002-04-04 Thread Tony McNicholl
-Original Message- From: Tony McNicholl [SMTP:[EMAIL PROTECTED] Sent: 03 April 2002 12:42 To: Fop-User (E-mail) Subject:sub and superscript Hi I need to use subscripts and superscripts in my pdf file but the baseline-shift attribute is not implemented - does anyone

SV: sub and superscript

2002-04-04 Thread Klosa Uwe
You have to use vertical-align=super or vertical-align=sub. Uwe -Ursprungligt meddelande- Fran: Tony McNicholl [mailto:[EMAIL PROTECTED] Skickat: den 4 april 2002 10:05 Till: Fop-User (E-mail) Amne: FW: sub and superscript -Original Message- From: Tony McNicholl

Drawing a border around a simple word

2002-04-04 Thread MARTIN Franck
Hi all Does anyone know how to draw a border around a word placed in a sentence? I would appreciate any suggestion very much ;) Franck

Re: Drawing a border around a simple word

2002-04-04 Thread Rodolphe VAGNER
You should try attribute 'border' in a fo:block : bla bla bla bla fo:block border=0.5pt solid black blaWithBordersfo:blockbla bla bla Maybe a fo:inline instead of the fo:block would be better bla bla bla bla fo:inline border-left-width=thin border-top-width=thin... border-left-style=solid.

Re: Drawing a border around a simple word

2002-04-04 Thread MARTIN Franck
Thank you for your suggestion but : bla bla bla bla fo:block border=0.5pt solid black blaWithBordersfo:blockbla bla bla does not draw the text which is located outside the block element, if the whole thing is not nested inside another block element. And if i do nest the whole thing inside

Re: Drawing a border around a simple word

2002-04-04 Thread alex
At 11:09 04/04/2002, MARTIN Franck wrote: Thank you for your suggestion but : ... I really can't figure how to draw a border around a word that is placed in a sentence? I think there must be a way to do so cause it must be pretty common to draw borders and the fop developpers must have taken that

RE: sub and superscript

2002-04-04 Thread Tony McNicholl
Hi Uwe Many thanks - problem solved. Tony -Original Message- From: Klosa Uwe [SMTP:[EMAIL PROTECTED] Sent: 04 April 2002 09:32 To: '[EMAIL PROTECTED]' Subject:SV: sub and superscript You have to use vertical-align=super or vertical-align=sub. Uwe -Ursprungligt

PDF viewing with IE 5.

2002-04-04 Thread David Ryan
Hi All,I recently started to use fop and came across the problem with IE notdisplaying the PDF. After looking around and checking other peoplessolutions it seems it was due to the filename extension required to be .pdfand the content-length header needed to be set. To get the content

RE: JPEG external graphic works, but SVG external graphic doesn't.

2002-04-04 Thread Bill Lunnon
Will, Problem could be that that you are trying to access the jpg file in a folder that is not accessable from a web context. ie the file might be located in the directory specified, but how does this map to the web server (IIS assumed). In IIS you have to have the folder web-shared! Try this: 1.

AW: JPEG external graphic works, but SVG external graphic doesn't.

2002-04-04 Thread Sam Prokop
i use the following workaround: fo:instream-foreign-object image width=xxx height=xxx xsl:attribute name=xlink:hrefPathToImage.svg/xsl:attribute /image /fo:instream-foreign-object -Ursprüngliche Nachricht- Von: Carter, Will [mailto:[EMAIL PROTECTED]

RE: Graphics Question??

2002-04-04 Thread Norr, Peter
this is basically it... frame.add(chart); //to render ComponentGifSaver.saveComponent(chart,out); out.flush(); out.close(); //where out is response.getOutputStream(); -Original Message- From: Woods, John T. [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 03, 2002 6:33 PM To: '[EMAIL

headers for tables and chapters spanning on two or more pages

2002-04-04 Thread Argyn Kuketayev
1. suppose I have a table. If this table continues on the next page, I want its column names be in the header of the second page. What's the best way to do it? 2. general issue: suppose I'm printing a report. It's content is an XML file, where row element contains rows, and every row has

AW: headers for tables and chapters spanning on two or more pages

2002-04-04 Thread Skladov, Victor
Argyn, As for 1): If you want anything to appear on EVERY page automatically, you must put in fo:table-header. Example: fo:table fo:table-header /fo:table-header fo:table-body /fo:table-body /fo:table All that stands in fo:table-header will appear on every page. Best wishes, Viktor

odd-and-even pages nothing to do with initial-page-number?

2002-04-04 Thread Sam Prokop
Hi All! Has odd-and-even pages nothing to do with initial-page-number? i got the following code, and use fop 0.20.3 ... fo:page-sequence initial-page-number=2 master-reference=run1 ---^ ^

.fo entity problem ?

2002-04-04 Thread RAYMOND Romain
Hello, Is there a way to escape entity problems (such as eacute;) in the .fo file ? We realize a first transformation to obtain a .fo file which is there after treated by FOP (Driver.run() ...). Problem is that we generate this fo file with entities inside, so is there methods to pass an entity

Re: font-family and font names list

2002-04-04 Thread Chuck Paussa
Oleg, You are right. The CSS method of defining font family lists is not supported by FOP (Mainly because they haven't figured out a good way to parse the list.) You can only say font-family=Arial or font-family=TimesNewRoman not both. Chuck Paussa Oleg Tkachenko wrote: Hello ! Yes, I do

RE: JPEG external graphic works, but SVG external graphic doesn't .

2002-04-04 Thread Carter, Will
Hi and thanks for the help. I tried your suggestions but am still having problems. I have new.jpg in my c:\inetpub\wwwroot directory and it is accessible in my browser with: http://localhost/new.jpg I have new.svg in my c:\inetpub\wwwroot directory and it is accessible in my browser with:

How to run FOP Examples?

2002-04-04 Thread Cai, Jenny (US - Dallas)
Title: How to run FOP Examples? Hi, I just started researching on how to use FOP and am trying to find some existing sample example to run and see how it works. I have downloaded two files: 1. fop-0.20.3-bin.tar.gz 2. fop-0.20.3-src.tar.gz What is the diference between these two and

write servlet response to a pdf file rather than send it to brows er?

2002-04-04 Thread Carter, Will
Hi, Here is the code I am trying to use for accompleshing the task of sending the servlet response to a pdf file instead of the browser. I am not very experienced with java and the code I have added is marked below. public void renderFO(InputSource foFile,HttpServletResponse response)

Re: POLITICAL: font-family and font names list

2002-04-04 Thread J.Pietschmann
Christopher R. Maden wrote: I *hate* CSS for the havoc it wrecked on other otherwise quite sensible standards. Sorry - responsibility for this lies squarely with the XSL WG. Well, i should have said I hate CSS syntax. IMHO it would have been better to abandon the current syntax and develop an

Re: Graphics Question??

2002-04-04 Thread J.Pietschmann
Norr, Peter wrote: I have a servlet which generates a gif dynamically and sends the binary output on the response's output stream. Is there any way I can get this image into the pdf??? I suppose the GIF generating servlet has a real URL. Provided you have the webserver up and running, you can

Re: SVG external graphic doesn't show in FopServlet?

2002-04-04 Thread J.Pietschmann
Carter, Will wrote: I am having problems with external svg files in my fo file when generating PDFs using FopServlet. ... This doesn't workgeneratedsvg.svg is in the same directory as generatedjpg.jpg. the resulting pdf has a blank space where the svg should be. First: Can you view the SVG

Re: .fo entity problem ?

2002-04-04 Thread jthaemlitz
I'm having the same problem. This could be a stylesheet configuration problem. When I run my XML through Xalan my ASCII entity references get mapped to there names. So if my XML contains #201; when I run it through Xalan it puts eacute; in my .fo file. Then when I try to render the FO it

Re: Drawing a border around a simple word

2002-04-04 Thread J.Pietschmann
MARTIN Franck wrote: Does anyone know how to draw a border around a word placed in a sentence? The only solution working in FOP 0.20.3 seems to be to use an SVG, something like: fo:instream-foreign-object svg:svg xmlns:svg=... height=12pt width=14em svg:rect x=0 y=0 height=12pt

Re: embedding fop

2002-04-04 Thread J.Pietschmann
Mihael Knezevic wrote: hi, has someone been successfull on embedding fop in his/her own application. i'm trying but it doesn't work. there are some error messages: [ERROR]: Logger not set [DEBUG]: using SAX parser org.apache.xerces.parsers.SAXParser SystemId Unknown; Line 0; Column 0; Couldn't

Re: headers for tables and chapters spanning on two or more pages

2002-04-04 Thread J.Pietschmann
Argyn Kuketayev wrote: 2. general issue: suppose I'm printing a report. It's content is an XML file, where row element contains rows, and every row has children, such as columns or nested rowsets. I put every row in a fo:block. Inside the block I may have blocks for row content, tables for nested

RE: headers for tables and chapters spanning on two or more pages

2002-04-04 Thread Argyn Kuketayev
unfortunately, header doesn't appear on the next page :( sorry, it works in my Cocoon 2.0.2. but strangely, it didn't work with the command-line tool in my fop0.20.3 installation. thanx

RE: headers for tables and chapters spanning on two or more pages

2002-04-04 Thread Argyn Kuketayev
2. general issue: suppose I'm printing a report. It's content is an XML file, where row element contains rows, and every row has children, such as columns or nested rowsets. I put every row in a fo:block. Inside the block I may have blocks for row content, tables for nested rowsets,

Re: .fo entity problem ?

2002-04-04 Thread jthaemlitz
J. Wow good call. So I have a master stylesheet that imports other stylesheets that each do there own thing. Three render HTML pages, one renders JPEG's, two render PDF's. Is there a way to set the output to XML in 3 of the stylesheets and HTML in the other 3? When I try to do this (by

Question for FOP

2002-04-04 Thread Cai, Jenny (US - Dallas)
Title: Question for FOP Hi, I just successfully run the examples (simple.fo) provided in 'fop-0.20.3-bin.tar.gz' file under fop-0.20.3\docs\examples\fo subdirectory in the command prompt and I got a pdf file successfully . I still have the following question: 1. How can I view the source

Re: Question for FOP

2002-04-04 Thread Chuck Paussa
Jenny, 1. To convert an XML to PDF, you'll need a properly coded XSL document. (For instance, see if you can run the glossary example in ../examples/markers command line = fop -xsl glossary.xsl -xml glossary.xml -pdf glossary.pdf 2. Display the results in a web page. Look at the instructions