Has someone changed the FOP website or is it just me?
It looks terrible in FF, and doesn't work at all in IE6
Regards,
Roland Neilands
Pulse Mining Systems Pty Ltd
w +612 49 00
f +612 49 336732
e [EMAIL PROTECTED]
This e-mail is solely for the use of the intended recipient and may co
Glen,
Thanks, I will just have to pass another tag through & keep using -xsl then.
Regards,
Roland
> -Original Message-
> From: Glen Mazza [mailto:[EMAIL PROTECTED]
> Sent: Friday, 4 March 2005 2:17 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Default stylesheet
>
&g
t; feature ready when we're ready to start releasing
> > again. Obviously, this
> > isn't implemented in FOP 0.20.5.
> >
> > On 03.03.2005 06:55:01 Roland Neilands wrote:
> > > Hi all,
> > >
> > > I have an interesting question:
Roger,
I remember having similar issues. I ended up using a margin-top (eg ="18.05cm")
on the region-after as well as an extent, and
removing the table height completely which gives a table which expands to fit
the actual size on each page.
Also you are specifying overflow="hidden" on all region
st.xml -pdf test.pdf
gives usage screen +:
[ERROR] XSLT file must be specified for the tranform mode
Obviously this works:
>fop -xml test.xml -xsl test.xsl -pdf test.pdf
but I would prefer to let this be specified per xml file if possible.
Any comments appreciated.
Regards,
Roland Neilands
Pulse Min
gt; I'm confused about the comment:
>
>
>
> But we don't want to see the text "continued" until
> (=up to) the last page--we *do* want to see it on the
> last page, and every page, except the first. Is your
> code doing this or are is it solving the
> Are you sure? If I understand the question correctly
> he wants a different title on page 2 (and 3, and 4,
> and 5...) from page 1.
>
> For example: Page One: ACME INVOICE
> Page Two & onwards:ACME INVOICE (cont'd).
>
> Would markers really hel
Markers sound much easier for this.
See examples\fo\markers\ included in the FOP distribution.
Plenty of examples in the list archive too.
Cheers,
Roland
> -Original Message-
> From: Glen Mazza [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 2 March 2005 10:48 AM
> To: [EMAIL PROTECTED]
> S
Robert,
Try making the 'small margin' with thin table rows & columns.
Regards,
Roland
> -Original Message-
> From: robert frapples [mailto:[EMAIL PROTECTED]
> Sent: Monday, 29 November 2004 1:52 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Table Cell with height=100%...
>
>
> That is exa
Hansuli
I couldn't find the extension mentioned on the FOP website - the original
poster might find it useful too.
Regards,
Roland
> -Original Message-
> From: J.U. Anderegg [mailto:[EMAIL PROTECTED]
> Sent: Monday, 22 November 2004 9:43 PM
> To: [EMAIL PROTECTED]
> Subject: email links
> However, mailto: works without this problem if I use lowagie iText to
> generate the pdf .
Interesting. Well, they're both open source, it shouldn't be too hard to find
the difference. For someone who knows java anyway (not
me unfortunately).
Regards,
Roland
-
Tom,
mailto: links are an "unsupported" feature in Acrobat, this problem is not
specific to FOP.
The only answer is not to use IE - Mozilla and Opera both work fine.
Unfortunately if you open the document in the Reader it ignores default browser
settings and opens IE anyway, you have to open i
Mike,
> I've generated PDF that features internal hyperlinks, but I'd like to
> be able to hyperlink external URLs. Any way to do this? Thanks in
> advance,
FO: see fop-0.20.5\examples\fo\basic\link.fo
XSLT:
Cheers,
Roland
-
Can anyone provide any pointers for printing FOP output on Linux?
I'm struggling to find a general solution for printing FOP output from Linux
that works on enough different printers - or is there a minimum hardware
requirement?
PCL seems to work most of the time, but some files produce garbage
Yes,
absolutely position the table, as in the fop examples:
border.fo.
Cheers,
Roland
-Original Message-From: Richard Evans
[mailto:[EMAIL PROTECTED]Sent: Tuesday, 6 July 2004 12:46
AMTo: [EMAIL PROTECTED]Subject: Limiting table to
one page
I have a table generated
Another one:
http://www.stylusstudio.com/xsl_fo_processing.html
Commercial IDE with built-in FOP support (not wysiwig).
When I trialled it (a while back now) it was similar standard to the others, ie
good for some things, but I'm still using a text editor.
Regards,
Roland
-
We have run FOP successfully for some time now. Every so often though, with no
obvious reason it will hang for days & not return until I kill it. There is
nothing I can see wrong with the files being processed, as when I process it
again it works fine. Both debug logs below, no errors.
Does any
> Well we are running this application on UNIX machines. From where did you
> get
> hint that its running on windows.. Then we can use the " java -server"
> optimizing JVM. But where exactly to use it.
fop.sh, last line, just add " -server" after "java"
Cheers,
Roland
In your fop dir:
examples\fo\markers\
Also search the archives for "marker" - there are several examples.
Cheers,
Roland
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, 12 December 2003 10:48 AM
To: [EMAIL PROTECTED]
Subject: printing "continued.." on
> > Use nested tables:
>
> That is what i tried yesterday, too. Thanks anyway.
> It's a solution to get the image in the first header of the table. But i
> still end up with the problem having it repeated after a page break.
> The text header will be repeated as there is data in its table-body bei
Apologies, code should have been:
...
> > Use nested tables:
> Only problem I still see is how's he going to make the contents of the
> table-body flow alongside the image in the header.
It's a separate table with a separate header. Try it & see ;)
-
To unsubscribe,
Roland,
Use nested tables:
...
Cheers,
Roland
> I need to build a table with a header line containing an image and a single
> line of text. The probl
> >how not to erase the color on the border-right-color on cellule 1 ?
The border-collapse attribute may help.
Have a look at the spec, and border.fo in the eg.'s
> Have you tried adjusting the border-widths? ( Just asking because borders
> seem to behave in a way which is not always what we're u
I have working PDF files & have been looking at using the PCL/PS renderers as
well, but they have some issues even on the newest version.
FOP 0.20.5, command-line, (linux, j2sdk1.4.0)/(WinME, j2re1.4.1_02)
PS:
- landscape documents appear as portrait, clipped at the side.
PCL:
- Image size &
Jon,
> I would like to surround a string of text(varies in length), and
> underline
> the text, so to appear as follows:
>
> __some text which should be underlined
>
> The text will usually start shortly after the beginning of the line, but
> can reside anywhere.
Perhaps a sin
Roberto,
> I had a very little problem creating a PDF from fo with a very
> intensive use
> of positioning="absolute". I put more than a block-container, each with a
> string, on "on the same line" (the same attribute top="..."); if
> I declare a
> node BC2 before a node BC1 and BC1 should be on t
This is your culprit:
start-indent="3cm"
Cheers,
Roland
> white-space-collapse="false" font-family="sans-serif">Batch Size: 100
> > I am trying to preserve the white space in an fo:block (or any
> > other fo element). If I use white-space-collapse="false"
> it works almost
> > beautifully, e
> How can i wrap a string(which has no spaces) inside a cell.
> Example, if i have string SanFrancisco. But the cell accommodate
> only 5 letter width. Then it has to wrap the word as
>
> SanFr
> ancisco
Inserting zero width spaces at the right spot will trigger wrapping.
Search the archives of
ot;\\", "\" and "/" seem to all be
interchangeable.
Cheers,
Roland.
> -Original Message-
> From: Jeremias Maerki [mailto:[EMAIL PROTECTED]
> Sent: Monday, 26 May 2003 5:11 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Running FOP from anywhere
>
>
&g
> But did this fix the error?
Yes
>I'm not so sure. Even though there are
> slashes instead of backslashes in the file the whole thing should work
> because the JVM usually doesn't care.
>
> What Windows are you using? And what JDK?
M.E.
JRE 1.4.0
>
> On 2
Just make it
higher than you expect the content to be. You are limited to the remaining
height of the page of course.
This
is the simplistic answer. If it doesn't help provide some more detail
and/or a small example.
Cheers,
Roland
-Original Message-From: Zahidul Islam
[ma
> > The new feature ensures that the FOP jars will be found by the JVM
> > regardless of the current directory. It doesn't (and can't) ensure
> > that fop.bat will be found regardless of the current directory.
> > Either call fop.bat with a proper absolute or relative path, or add
> > the FOP base
For completeness, some more interesting links:
http://www.w3.org/Style/XSL/
The horse's mouth. Also contains links to implementations, tutorials etc.
A high end review of FO processors & their features:
http://www.isogen.com/papers/production-quality-xsl-fo.pdf
Published before this was released:
Try "line-height".
If you want a constant height, not a minimum, you can hack it with a
block-container in a cell:
http://marc.theaimsgroup.com/?l=fop-user&m=104613197305838&w=2
> Yes, I tried, but it did not work...
> $> Maybe the attribute "height" for table-cell or table-row
> will work...
Re
> I have some text that does not have any spaces in it. When
> FOP renders the
> text, it can not break up the text. FOP will clip it and
> give warnings
> about overflows.
http://xml.apache.org/fop/faq.html#cells_overflow
> I have a long table that spans over a number of pages.
> I have a repeat over multiple pages - using
> table-omit-header-at-break="false"
>
> I have some sub column titles in
> that need to be also repeated
> on a new page.
> How would I repeat them?
Just add another row in the table-hea
Nick,
>I'm trying to rigth justify the text in a table cell.
Use a block:
Cheers,
Roland
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Celine,
The only suggestion I have is that you might be resizing the image & this will
make any font inside it look bad. Make sure the image & the space allotted are
the same size.
Cheers,
Roland
-Original Message-
From: Celine Murphy [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 11 March 2
Steve,
> Hi, I enjoy reading the book, here is a question,
> I am trying to run the FO example 18-1.fo in XML Bible
> (2nd edition) using FOP(ver 0.20.5, just out). It
> complained about the line: master-name="only">
>
> Following the examples in FOP package, if I change to:
>
> then this is no
Phil,
> I am currently working on publishing a book from a database
> and am just
> about there.
>
> However, I am having a couple of tricky problems that I need
> some help
> with. I'm not looking for free help - I must solve this problem this
> week and just can't find anyone around me who
Philip,
> This problem seems to have already been answered, but I
> wanted to make sure. I'm using fop-0.20.4. I found this in
> the archive:
> http://marc.theaimsgroup.com/?l=fop-user&m=102555220521732&w=2
> It's slightly different then what I need: I have xml data
> that populates a table-cel
> I repost this message because I haven't find the solution yet !
This is probably one for the XSL experts:
http://www.mulberrytech.com/xsl/xsl-list/
Cheers,
Roland
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comm
> The "m" at the end means megabytes, of course. Not sure what
> it defaults to
> if you don't specify a unit.
Must be kb. (worked on a small doc.)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EM
Jon,
> java -cp -Xmx128
Try switching these two (-cp expects the path below as an argument.
> build\fop.jar;lib\batik.jar;lib\xalan-2.0.0.jar;lib\xerces-1.2
> .3.jar;li
> b\avalon-framework-4.0.jar;lib\logkit-1.0.jar;lib\jimi-1.0.jar
> org.apache.fop.apps.Fop c:\drb\output.fo c:\drb\ou
Jeff,
> I'm working on getting a block to use a background image, but
> it seems that
> when the image is inserted into the PDF, it's put in at some
> terribly low
> resolution. I'm trying to get the image to scale to fit the
> space of the
> block, but to no avail.
This worked.
Jon,
Amywhere before the FOP call should work:
> Can I increase the mem-size within this sequence of
> commands? And if so, how would it look?
> cd c:\fop
> java -cp
> build\fop.jar;lib\batik.jar;lib\xalan-2.0.0.jar;lib\xerces-1.2
> .3.jar;li
> b\avalon-framework-4.0.jar;lib\logkit-1
Simon,
> In fact, it stays one question... How can I test the value of a
> tag (I
> understood now
> that it is not evaluated by the same process than the xsl
> stylesheet) ?
>
> I have to write a border with text from top to bottom, and the
> 'writing-mode' properties is not implemented yet, so
Simon,
> > So I am wondering how to put a
> > dynamic variable in a static content (it is working well
> for the page
> > number) !
> You can't the way you think you do it. Actually you are mixing
> up XSL transformation and formatting. These are two different
> things. A fo:page-number is eval
Joni,
> 1. to overlap several images from jpg/gif files? what will
> be the output?
> i mean will the colour of the output be a mixture of the
> colours of the original images?
Try it & see - you can easily overlap regions by changing margins/extents
and/or blocks using position="absolute". I woul
Jon,
You seem to have the same problem with emailing your characters to the list
as in your PDF.
As well as this:
http://xml.apache.org/fop/faq.html#faq-N10402
the other problem might be not using the correct file encoding declaration
eg.
in your XML/XSL to match the actual file encodings(file
Sal,
>I need to take a string of formatted data from my xml database and present it.
> I've played with white-space-collapse and changing the font around but it
>still does not present correctly so that all dots and spaces line up correctly
>from line to line.
>
> An example below of what the p
Joerg,
> Untested, I can't really say whether absolutely positioned
> block containers work in static content.
They work. I believe you showed me a year ago, when I put static-content
into examples/border.fo to show you a problem.
Cheers,
Roland
> The fop processor puts content in elements on a
> new line (also
> indents).
> Shouldn't the purpose of this tag be to actually put
> something in line with
> something else?
> I don't think I understand the purpose of fo:inline. Can
> someone explain?
> Also, can someone explain how to actual
You could try to put the block in a block container with a defined width
attribute.
or failing that a single row borderless table (I know this works):
right-aligned text
Cheer
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
Original Message-
> From: Hanasaki JiJi [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 11 December 2002 11:49 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Tools for Fo
>
>
> Would anyone already have teh XSLT to do the conversion?
>
> Thanks.
>
> Roland Neilands wrote:
&
ks fine sent to Opera.
Roland.
> -----Original Message-
> From: Roland Neilands [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 11 December 2002 9:24 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [ANNOUNCEMENT] FOP 0.20.5 Release Candidate available
>
>
> I am impressed. My li
I am impressed. My link hotspots work perfectly now.
One note which may become a FAQ however, & I admit to ignorance of what the
syntax actually should be:
I had to change "file:///folder/image.bmp" to "file:folder/image.bmp" for
relative image paths due to this error:
[ERROR] Error while creating
> I was thinking of editing the XML files in the JAR produced by
> OpenOffice. Just dont know how to convert to FOP input format :(
XML is a FOP input format.
You can use XSLT + XML to create XSL-FO dynamically.
This is a good start (although you will need to use it to create XSL-FO not
HTML):
ht
Alex,
> > > position="absolute" >
> >
> > > content-height="auto" content-width="auto"/>
> >
> >
Add height & width into the fo:external-graphic tag to scale the image to
this size. scaling="uniform" preserves the aspect ratio. You might still
have problems with excessi
Nwilan,
> > That is bad news for me... I am beginning to loose faith in
> FO being a
> > practical solution for build business forms like invoices
> from XML. Has
> > anyone actually succeeded doing this?
Yes.
> xsl-fo specifies vocabulary and semantics of high-quality paginated
> presentation.
> > One thing that you have to keep in
> > mind is that xsl-fo is intended to provide
> > a "presentation layer" for data and not to be a
> > report engine (although you can write one using
> xsl-> fo for formatting your data)
>
> > Yes, but for totals/subtotals you have to do it
> > manually. (as
David,
> "logkit-1.0.jar" doesn't seem to come with the linux version
> of fop.
My mistake; Open mouth, change foot.
Check each jar in the 'build' & 'lib' dirs are in your CLASSPATH.
If you're happy this is correct, check the current value `echo $CLASSPATH`
when you run it.
Other suggestions:
R
David,
> 0.20.4 is what I am trying to install.
> > then compare the CLASSPATH with the actual command
> > line.
> not sure what you mean.
Have a look in fop.bat : uses the -cp parameter to pass in the classpath. I
think you're missing "logkit-1.0.jar".
> This is my command line:
> java org.apac
David,
> I'm trying to install fop.
0.20.4 is the newest version. RC means "Release Candidate".
> java org.apache.fop.apps.Fop -fo bgimage.fo -pdf myfile.pdf
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/avalon/framework/logger/Logger
> at org.apache.fop.ap
Rod,
> Here's the table that does what I'm talking about. It's verbatim: no
> names have been changed; there are no innocent to protect.
Removed this: ' background-color="white"'
in several places & that seemed to fix the problem, (although the image
url's got 404's).
Cheers,
Roland.
> > When
> 1. Cannot set the TOP MARGIN of a "xsl-region-before".
> Setting it to anything is ignored and the data is always
> printed at the very
> top of the page.
>
> margin-top="2cm" margin-left="2cm"
> margin-right="2cm" >
I think margin is a property of the page-master (c
> Hi all,
>
> How to set Headers/Footers in FO Layout.
>
> Durai
You might want to do some searching for these:
respectively within the simple-page-master.
& then to place the details in:
etc within the page-sequence.
Sorry, don't have time right now for more detail.
Regards,
Roland.
>can anybody give me description regarding FOP.
> like what it is actually and what it does?
I presume you've seen the website http://xml.apache.org/fop and you know
what XML is.
It is an XSL-FO processor. It takes the XSL-FO as input (or generates it
first using Xalan/Xerces from XML transformed
>> You're right. The command line wrapper can and probably should delete
>> the target file in case of an error. Could you check if the
>> return code
>> is set on the command line? If not, we should fix that.
>> Jeremias Märki
> Don't know about UNIX but on Windows it seems that the return
> code
> Open up a dos window, click on the ms-dos icon in the top left corner,
> select properties and choose the layout tab.
No such beast in WinME.
Cheers,
Roland.
> > > check the website/docs, there is a logging available,
> also there is an
> > > example
> >
> > Again, great for embedding, but would be useful to have
> from the command
> > line. Especially for debugging in Windows as anything more
> than ~20 lines
> > output is lost.
>
> Depends on your ver
> check the website/docs, there is a logging available, also there is an
> example
Again, great for embedding, but would be useful to have from the command
line. Especially for debugging in Windows as anything more than ~20 lines
output is lost.
Regards,
Roland
> > It is. The problem is that FOP can't delete the output file
> in case of a
> > problem if it only gets an OutputStream. And for
> optimization reasons
> > FOP can't wait until the end to write the output to the
> target stream.
>
> But does fop should delete output file? I don't think so, that'
> 1. Left tabulator
> 2. Right tabulator
> 3. Center tabulator
> 4. Decimal tabulator plus
> you need
> to make sure that the number of digits after the decimal
> point are equal
> for all numbers. If they aren't equal, then add the right number of
> zeros after the number to pad it
split a line at a certain
> position.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
&g
> So I guess if its a single word like a full package name in
> Java where the
> package name is wider than the width of the cell, I will
> have to force
> breaking up the package name with white space. Is this right?
If hyphenation isn't appropriate & you can't widen the column, then yes.
From a
>> Use
> Thanks for the response; I tried this option but I did not
> see a difference;
> the text continues to over-flow the table cell width.
I saw this when testing too. Any whitespace would cause the cell contents to
wrap though. You could search the examples and/or archive for solutions
invo
>While using FOP to build some docbooks of mine works quite nicely, one
>rather visual problem occured when I used tables.
>The linewidth of the table/cell borders is not the same for all cells.
>Some borders appear to be double as wide as others.
>Yet there seems to be no pattern either, thus I ca
Stephane,
"I use the 0.20.3 version but I found from which the problem came.
In fact, before each table i have a block-container with a
absolute-position equals to auto
and the evaluation of the height of the table on the first page doesn't fit
with the body's height."
Try experimenting with the
I have noticed perhaps the same thing in FOP 0.20.3: that the table length
can vary slightly from page to page to accomodate the height of the last
row, esp. where you have some long fields wrapping to the next row. This was
less than the row height, so I allowed for it using margin-top &
margin-bo
>My web application needs to generate a variety of client forms. These are
>typical boilerplate forms, but are customized by having the client
>information printed in it. From what I gather from reading the various
>literature it sounds like the following steps need to be performed:
>
>1. create
I did not find this part of the installation particularly userfriendly
either.
Try this fop.bat instead: sets CLASSPATH environment variable correctly &
can be run anywhere. (change the directory to your fop install first):
Failing this:
use -d option for debug mode
try docs\examples\runtests.bat
I also need to do this with a fixed height table like the example
>You've put the table in an absolute positioned
>block container. AFAIK such elements do not flow
>onto the next page.
>Is this an odd generator or how did you get that
>much absolute positioning and sizing?
This was taken direc
>> I also need to do this with a fixed height table like the example
border.fo:
>> excess rows just get ignored, how would I make it start a new page (same
>> format) with these instead, ideally with "Continued ..." printed to a
field?
>
>Can you post a small example demonstrating the
>problem?
At
>I have FOP embedded in my Application, so is -Djava.awt.headless=true
>for the command line FOP or would using this as part of my launch arguments
>for my application be OK assuming my application does not have a problem
>with this
It works on the command line, other people might be interest
example of this anywhere.
Regards,
Roland Neilands
Analyst/Programmer
Pulse Mining Systems Pty Ltd
(w) +612 4933 3300
(f) +612 4933 6732
(e) [EMAIL PROTECTED]
This e-mail is solely for the use of the intended recipient and may contain
information which is confidential or privileged. Unauthorised use of
>Can FOP be run on a "Headless" server without problems?
Yes. Add this option into the Java command:
-Djava.awt.headless=true
See the FOP FAQ for the Sun bug reference if you have problems.
Regards,
Roland Neilands
Analyst/Programmer
Pulse Mining Systems Pty Ltd
(w) +612 4933
:
> Roland Neilands wrote:
>
>> C:\fop\fop-0.20.3\docs\examples\markers>fop -xsl glossary.xsl -xml
>> glossary.xml -pdf glossary.pdf
> This example triggers a bug in FOP 0.20.3 It uses
> fo:marker, which is broken. Don't use it.
>
Follow-up: It works in the final d
ls.
If anyone can point out the problem or even better the solution here I would
very much appreciate it.
Regards,
Roland Neilands
Analyst/Programmer
Pulse Mining Systems Pty Ltd
(w) +612 4933 3300
(f) +612 4933 6732
(e) [EMAIL PROTECTED]
This e-mail is solely for the use of the intended rec
likely to
cause problems because of the line endings.
WinZip 8 will handle CR/LF conversion on tar files automatically. I use Win
ME & have run FOP successfully ...
Regards,
Roland Neilands
Analyst/Programmer
Pulse Mining Systems Pty Ltd
(w) +612 4933 3300
(f) +612 4933 6732
(e) [EMAIL PROT
93 matches
Mail list logo