Hello,
I can't use relative path to my fonts file (xml + ttf). Even if I use the fontBaseDir property in the Configuration fop's object.
I need to do that because my app will be deployed on different platform using a single JAR file which contains all the needed fonts stuff (there is not shared
I resolved it by myself ... If someone is interested by this workaround, here it is :
// I just added this line in my static initializer to dinamycally set the font base directory to the directory where my app was started ... Then fop just have to use the relative path setted in the userconfig
Hi,
I am using FOP to generate huge PDF document in a java/swing application.
I made a little dialog box which tell the user about the progress of the transformation work (extracting data, serializing XML, first XSL transformation, etc..., and finally FOP).
I saw in the FOP logs that he knows
Hi,
Thank you, that's exactly what I did... In fact, I thought there was a prettier way to implement this. Something like a PageGenerationListener...
But this hack works correctly, here is the code snippets, if someone is interested in a such trivial thing...
//
Just run your app with these parameters :
-Xmssizeset initial Java heap size
-Xmxsizeset maximum Java heap size
Type java -X for detailled help on non-standard options.
--
Simon OUALID
Thanks for the address, and excuse me for the bad post ... :o)
You're right, the biggest part of the problem was about XSLT. But I needed to remove some static contents on these pages, I used marker inside static content to resolve the problem, don't know if that's a pretty way to resolve this
Hi,I work for a french TV Channel (so excuse my english) and we use FOP to generate catalogs of our programs. Until right now, we had no memory problem because we generated catalog of 300~400 pages on a 1Go RAM server.But we hav to generate a big catalog (more than 1 000 pages) and FOP throws a
Wanna put a cell between the North and the South of the world ? :P
Just do like Georges, he is good at this.
Cheers,
Simon
Myriam Delperier [EMAIL PROTECTED]
18/03/2003 12:46
Veuillez répondre à fop-user
Pour : [EMAIL PROTECTED]
cc :
Objet : tables
hello,
As read in FOP FAQ (http://xml.apache.org/fop/faq.html#PDF-postprocess) :
--
5.4. How do I add security features (encryption, disable printing) to my
PDF document?^
FOP does not currently support this feature.
That's a well known bug which nobody yet bothered to track down.
You are invited.
Thanks for the invitation, I hopefully have a light week end (that's
pretty rare), so I'll have some time to ruminate the code and try to
understand it well ! ;o)
Don't count too much on me (I'd hate to disapoint
Hello,
I am trying to put a 1pt black border around images. I first tried to use
the border common attribute on the fo:external-graphic tag, but it doesn't
work (on fop 0.20.5rc2).
Here is the tag I used :
fo:external-graphic border-style=solid border-width=1pt
border-color=black
Then, I
Thanks, I didn't know about that project...
I think I'll use my own function to clean our users' input but this
project looks like being quite interesting.
Anyway, they choose really funny acronyms !
POI stands for Poor Obfuscation Implementation.
HDF (Horrible Document Format)
HDF is our
I am interested in your MS Word cleaner.
Actually, I would like to see it right away if it is possible.
Regards,
Dennis Myrén
Hi Dennis,
Here is the function I just coded to resolve my issue with the Word's
specific characters (appearing as # in the resulting PDF). As I said, I
did'nt
I agree with Markus.
FOP needs so much JARs and rendering PDF take so much ressources that I
think it's better to do the transformations server side and then send the
result to the client. That is my opinion about using FOP clientside with
an applet (for web app, I think the servlet approach
We had the same needs, generate on-demand big PDF with some images
(between 200 and 500 pages), fop is mostly used here by the employees in
their usual apps, but there was also a few need for our websites' users.
We first have integrated FOP in our front apps using SHELL32.DLL in Visual
Basic
Many thanks for your answer, and your expertise !
I didn't know about that unused range, it will help me a lot since I just
have to focus my attention on it now.
Simon
Philip Semanchuk [EMAIL PROTECTED]
12/03/2003 15:53
Veuillez répondre à fop-user
Pour : [EMAIL PROTECTED]
Hi,
I have a little query : I am looking for a table with the hexadecimal code
for the MS Word specific characters (eg: ... or the ' character).
I am coding a java class that will clean the Word input to avoid FOP to
render specific character as #.
eg :
if (c == 0x85) {
Hi !
We are using fop 0.20.5 in client/server app (300 users, calls are
synchronised) and in our websites (servlet embedded, synchronised too) running
on tomcat 3.23 app server. We only use FOP for generating PDF dynamic catalogs
(example here http://www.tatouage.fr/temp/fop_user_example.pdf).
I know my contribution won't help you much but how did you convert a
word
document to an xsl:fo??
Have a look at http://wh2fo.sourceforge.net ! I think that is what you are
looking for.
Cheers,
Simon
-
To unsubscribe,
Well.
1. Which FOP version are you using?
I'm using the 0.20.5rc2 version of FOP, since I had some problem with the
markers with the last official release 0.20.4, which ere corrected in this
candidate.
[white-space-collapse=false].
2. Don't use this.
Yep, you're right ! This tag was
Hi !
I would like to now your point of view on this subject :
I want to use the text-transform=uppercase attribute in a fo:block tag,
but I saw in the output console that it was not implemented yet (using
0.20.5rc2), so I am wondering on the best way to implement it with xsl...
I thought
Thanks for your help Helmut.
I haven't find better way to do it !
Cheers,
Simon
Hello Simon
You can use the XSLT translate-function to change to upper-case. (See
example below)
xsl:call-template name=toUpperCase
xsl:with-param name=wort select=name/
/xsl:call-template
Hi !
I am using the fo:leader tag in a Table of Content (with
fo:page-number-citation tags). I were working on my stylesheet and
everything was working well. But, once I put a fo:block with the
break-before=odd-page to write my TOC on a new odd page, the leader was
not properly aligned
[WARNING] table-layout=auto is not supported, using fixed!
For this one, just use the attribute table-layout of fo:table tags :
fo:table table-layout=fixed
[WARNING] current implementation of tables requires a table-column for
each column, indicating column-width
To avoid this one, put a
Hi !Just download the source distribution of fop. You'll find everything needed here.http://xml.apache.org/dist/fop/http://xml.apache.org/dist/fop/fop-0.20.5rc-src.tar.gzSimon-"Lee, Insoo" [EMAIL PROTECTED] a écrit : -Pour : [EMAIL PROTECTED]De : "Lee, Insoo" [EMAIL PROTECTED]Date :
Hi !
I actually use transparent GIF in my generated PDF. It worked nice with
fop 0.20.4 and 0.20.5rc2.
I think this may be a problem with your image encoding, here is one
example of a gif I made to be used with fop.
http://www.tatouage.fr/temp/cd_bord_histoire_ancienne_even.gif
And here's a
Hi,
I am trying to use the break-before attribute to put a page break when I
test a category changement in the XML.
Here is my XSL code :
-
xsl:template match=FICHE
fo:table table-layout=fixed
xsl:if
Is the border stuff not implementd for table-row ? I'm using FOP 0.20.4.
I think borders are implemented on cells only.
The answer is here :
http://xml.apache.org/fop/implemented.html
http://xml.apache.org/fop/compliance.html
Simon
I repost this message because I haven't find the solution yet !
This test always return TRUE :
xsl:if test=not(string(./SOUSTHEME) = string(following-sibling ::
./SOUSTHEME))
And the old one always return FALSE :
xsl:if test=SOUSTHEME != following-sibling :: SOUSTHEME
Please someone, any
You are right again Oleg, many thanks to you !
I really need to improve my XPath knowledge...
I'm really impressed by the power of XSL Transformations. And this feeling
grows every day ! ;o)
Simon
Oleg Tkachenko wrote:
Nope, SOUSTHEME != following-sibling::SOUSTHEME is true if and only
There is still one question :
I do this test in a xsl:template match=FICHE tag, when I call this
template, I do a sort :
xsl:apply-templates select=FICHE
xsl:sort select=SOUSTHEME /
/xsl:apply-templates
Do this test :
xsl:if test=SOUSTHEME != following-sibling :: SOUSTHEME[1]
Hello !
The marker tag works perfectly with the 0.20.5rc3, that's a pleasure to
use it ! It's so powerfull... =)
I have another problem with the usage of the precedent-sibling axis, I
want to add a break-before=page attribute to a table if the subtag
SOUSTHEME of my main tag FICHE is
Thanks you a lot for the fo:marker tips, that is exactly what I was looking for !I can sleep peacelynow... ;)Simon-"Roland Neilands" [EMAIL PROTECTED] a écrit : -Pour : [EMAIL PROTECTED]De : "Roland Neilands" [EMAIL PROTECTED]Date : 18/02/2003 12:50AMObjet : RE: (not so private reply)
Hi mates !
That's crazy, I was trying today to implement the fo:marker tag to solve
my title problem, running fop-0.20.4, but I had NullPointerException at
runtime (see bellow). I was about to write you one of my borring mail ;)
but I decided to try with the new 0.20.5rc2 before annoying
-Roland Neilands [EMAIL PROTECTED] a écrit : -
Put the graphic in the marker, ie test happens before assignment, not
retrieval
Block formatting is applied on assignment, but the graphic must be small
enough to fit in the block containing the retrieve (ie use height
width)
or nothing is
Hello,
I am not running FOP on a Windows server, so maybe my experience will be
useless for you...
But I had the same problem while givin the full unix path of my images
into a servlet, and I remembered that the parameter is a URI, not a URL,
so I just putted the file: prefix in my external
Hello,
I have a little problem using variable in a static content... I have a
border on even pages of my document where I wanna draw the title of the
current category.
So I putted a static content with a test on the $THEME variable, which
will select the right image for the current category.
I forgot, here's an example of my PDF output, it would be easier for you
to understand my problem, my english is so bad ! :)
The title I was speaking about in my previous message is HISTOIRE
CONTEMPORAINE on the second page.
http://www.tatouage.fr/temp/fop_user_example.pdf
Simon OUALID
Arte
Hi,
I would like to know if it's possible to test the odd or even condition
while writing in non-static content. Here's an example of what I want to
do :
fo:block font-size=13pt
border-style=solid
border-width=0pt
font-family=Helvetica Black
Thanks you for your answer mate !
I am so nervous on this project (because that's a totally new approach for
me, I was working with VPE's DLL of ideal software before I managed to
convince people here to use XSL:FO), that I am really happy to get some
help even if it doesn't really solve my
Thanks you for your answer !
And many thanks for the english lesson, I really need it, excuse my poor
grammar... But I think the usage of wanna was right in my sentence (I wanna
draw the title ...), isn't it ?
Anyway, that's not the question, thanks you for having a look on my problem,
I'll
Ooops... Sorry, that's public finally ! I really need to sleep! ;)Zz[EMAIL PROTECTED] a écrit : -Pour : [EMAIL PROTECTED]De : [EMAIL PROTECTED]Date : 18/02/2003 12:24AMObjet : Re: (private reply) Variable in Static Content (forgot)Thanks you for your answer !And many thanks for the english
Hello !
I have a little problem to detect page breaks using xsl:fo...
My english is bad so I putted you here an example of my problem here, I think it will be
easier for you to understand me with it :
http://www.tatouage.fr/temp/CtrlXML.pdf
[132ko file]
Here's my problem :
I need to put the
What's your goal ? Exporting some data you have in RTF or PDF files ?
That's a weird need, but you can do that by coding a custom SAX parser. I already saw that on the book JAVA with XSLT (O'REILLY) with a CSV to XML converter example that use SAX (Simple API for XML). I just found a similar
Hello,
I need to write some text from the top to the bottom of the page to make a border... like that :
E
X
A
M
P
L
E
I wanted to use the writing-mode properties (Values: lr-tb | rl-tb | tb-rl | lr | rl | tb | inherit) but I saw it was not implemented in the FOP API yet.
I finally managed to
Hi mates,
I'm now using FOP for 2 months, we really appreciate this way to automatically generate our catalogs here.
I have to work those days on a new XSL:FO layout that must manage fine page break system.
Is there a better way for handling that than using the XSL string-length() and sum()
46 matches
Mail list logo