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=
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
-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
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
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
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.
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
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
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
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
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.
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]
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
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
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
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
---^
^
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
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
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:
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
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)
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
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
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
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
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
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
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
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
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,
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
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
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
33 matches
Mail list logo