Re: FOP - page 2 not displayed when there is no overflow from page 1

2017-11-29 Thread Andreas Delmelle
Hi Kind request/reminder: Please use fop-users@ for general usage questions. Thanks! Now that that is out of the way: > On 29 Nov 2017, at 06:59, gauravabburi wrote: > > I am trying to generate a PDF with multiple pages. I have a static page 2 > which is to be generated even when there is no o

Re: Place image at top of page

2016-12-15 Thread Andreas Delmelle
Hi Michel Sorry to chime in so late on this... > On 25 Nov 2016, at 17:11, Michel Krämer wrote: > > I'm looking for a way to place an image at the top of the page, just like you > can do it in LaTeX: > > ... > > ... > > > I understand that FOP does not support the "before" value yet. > >

Re: fox:orphan-content-limit/

2016-12-13 Thread Andreas Delmelle
Hi Apologies for the delayed response, but noticed this one was still unanswered... > On 6 Dec 2016, at 11:39, kiranps wrote: > > Hi , > > Could you please share working example for fox:orphan-content-limit and > fox:widow-content-limit. I had tried to use these but not working so far. There

Re: XSLT param for FOP pdfprofile parameter

2016-07-23 Thread Andreas Delmelle
Hi Stefan > On 22 Jul 2016, at 23:21, Stefan Hegny (hydrografix Consulting GmbH) > wrote: > > Hi Andreas, > > one more idea: > Put the other way round, there's also no way to force a specific pdfprofile > from a fo? Correct. It is just an additional output option for FOP's PDF renderer, and

Re: XSLT param for FOP pdfprofile parameter

2016-07-22 Thread Andreas Delmelle
Hi Stefan > On 22 Jul 2016, at 16:09, Stefan Hegny (hydrografix Consulting GmbH) > wrote: > > Hello, > would like to know if when calling fop (2.1) with -pdfprofile 'PDF/A-1a' > (e.g.) > this value is also somehow available to a xalan xslt transform that is invoked > by fop when using -xsl sty

Re: Scrollable region in generated PDF

2016-07-19 Thread Andreas Delmelle
Hi > On 19 Jul 2016, at 18:48, GK wrote: > > I'm using Apache FOP to generate a PDF through XML and XSL-FO. I have a cell > in my generated PDF that I need to be able to scroll through if the content > overflows it. XSL-FO has an overflow="scroll" feature, but based on my > research on the topic

Re: SVG text not displaying in PDF

2016-04-28 Thread Andreas Delmelle
Hi Jeremy > On 28 Apr 2016, at 22:40, Jeremy Heiler wrote: > > I am in the process of upgrading from FOP 0.92-beta to 2.1, and for the most > part I have been able to work out the issues. However, I am stumped with this > particular issue of rending text in an SVG. Any SVG text that used to re

Re: Displaying different languages in PDF

2016-03-28 Thread Andreas Delmelle
Hi > On 28 Mar 2016, at 13:18, Sunrita Bagchi Basu wrote: > > Hi, > > I have to display texts of various languages e.g. Chinese, japanese, Korean, > Spanish, etc > I added font-family="Calibri, 'MS Mincho', Batang, serif, SimSun" in the > xsl:fo file, though didn't install/embed any fonts. Th

Re: o.a.f.i.loader.batik.PreloaderSVG - Error while trying to load stream as an SVG file: Invalid byte 1 of 1-byte UTF-8 sequence.

2016-03-08 Thread Andreas Delmelle
Hi > On 07 Mar 2016, at 12:03, Bram Maes wrote: > > Image is not rendering in pdf. In the logs this is what I see: > > 11:57:24.293 DEBUG o.a.x.i.l.i.AbstractImageSessionContext - Creating new > Source for images/logo_nl.png > 11:57:24.307 DEBUG o.a.f.i.loader.batik.PreloaderSVG - Error while

Re: keep-together question

2016-02-25 Thread Andreas Delmelle
Hi Matthew While I can't speak to the integer-keep support, from what I can make out here, it does seem like you would be greatly helped by decent orphans/widows support. Assuming that you know that at most N lines will fit together on a page, you could specify orphans="N" on the parent block,

Re: changing the look of the PDF output by FOP

2016-02-01 Thread Andreas Delmelle
Hi Peter To add to what Glenn already answered, we can tell that you are using Docbook XSLT to handle the XML to XSL-FO conversion. Now, Docbook is one way to achieve that. Another would be to write your own XSLT stylesheets. Not every subscriber to this list is also fluent in Docbook, though

Re: [ANN] Apache FOP 2.1 Released

2016-01-15 Thread Andreas Delmelle
Hi Radu > On 15 Jan 2016, at 12:52, Radu Coravu wrote: > > Hi Simon, > > Thanks, great news. I took it for a spin and it worked in my case (PDF of > about 1500 pages). > Also the NPE I encountered using FOP 2.0 seems to be fixed: > > https://issues.apache.org/jira/browse/FOP-2461 > > althoug

Re: Memory and page-sequences

2016-01-05 Thread Andreas Delmelle
> On 05 Jan 2016, at 22:09, robrez wrote: > > I was delighted to learn that fop 2.0 has been released (I live under a > rock). > > For some time now we've been manually breaking up our content into multiple > page-sequences -- many more than we would like to use. > > I saw that one long page-se

Re: FOP Special characters rendering

2015-12-16 Thread Andreas Delmelle
> > Haven't used it in a while, but the "font-family" attribute allows multiple > fonts to be specified, with the later ones as a fallback if the characters > are not available in the former. So maybe you are lucky with specifying > "Helvetica, Symbol"... When I used it years ago there was a s

Re: Migration from FOP 1.0 to 2.0

2015-11-04 Thread Andreas Delmelle
Hi > On 04 Nov 2015, at 10:25, Mandar Nimbkar wrote: > > HI, > Your help on this is highly appreciated .. > I am migrating from FOP 1.0 to FOP 2.0 > > I have made the required Java code changes as per the changed API. > > There are PNG images used in the report generated using PDF renderer.

Re: List exceeds page limits

2015-10-30 Thread Andreas Delmelle
Hi > On 30 Oct 2015, at 17:57, Rahman USTA wrote: > > I have a long list in my document and list exceeds the page limits. How can I > solve this issue ? > > Note: Attached a PDF output. Can you attach the generated FO file, so that we can have a closer look? In case you don't know how to do

Re: Unable to Process Large Pragraph

2015-10-19 Thread Andreas Delmelle
> On Mon, Oct 19, 2015 at 4:22 PM, sripathi wrote: > Hi All, > > My document having a large paragraph(nearly 100 pages), FOP2.0 is unable to > process this document.I know, i shouldn't give this much large para, but it > is user requirement. Fop throwing OOM(Out Of Memory Exception), when it is

Re: fop and stAX

2015-06-11 Thread Andreas Delmelle
> On 05 Jun 2015, at 23:07, robyp7 . wrote: > > Hi to all, > > Can your Fop use Stax(pull) to "handle" events instead SAX (push)? Short answer: Yes and no. :) Expanded: Yes, it would be possible, if were to happen. No, it is not possible, unless were to happen. That is the same in both ca

Re: hyphenation

2015-06-06 Thread Andreas Delmelle
> On 06 Jun 2015, at 20:22, Michał Jaworski wrote: > > I tried Helvetica at the beginning and also other typical fonts. Disabling > scripts -nocs also is not solving this problem. > OK, thanks for checking. That can be ruled out then, at least. > I've just made funny observation. You can put

Re: hyphenation

2015-06-06 Thread Andreas Delmelle
Hi > On 06 Jun 2015, at 09:46, Michał Jaworski wrote: > > Hi, > > hyphenation jar (taken from offo page) was simply drop into lib dir. Fop is > called from the command line. Seems that works for en, doesn't work for pl. > My current example is very simple and attached at the end. The same exa

Re: hyphenation

2015-06-05 Thread Andreas Delmelle
> On 05 Jun 2015, at 18:22, Michał Jaworski wrote: > > it's great that version 2.0 appeared after years. Question are there any > changes in hyphenation principles. I don't think anything changed specifically in that area, but there may be other changes in play that have unintended side effect

Re: FOP hyphenate-ladder-count and pre-hyphenated text

2015-05-08 Thread Andreas Delmelle
Correction (again… :-)) > On 08 May 2015, at 17:31, Andreas Delmelle > wrote: > > > If you haven’t already found it, be sure to have a look at class > org.apache.fop.SerializeHyphPattern, … Should be: org.apache.fop.hyphenation.Se

Re: FOP hyphenate-ladder-count and pre-hyphenated text

2015-05-08 Thread Andreas Delmelle
> On 08 May 2015, at 08:59, Marc Wiest wrote: > >> Seems like some refactoring may be in order here, to streamline and better >> merge the two approaches. >> @Marc: Will you log a request for enhancement in JIRA for this, or shall I? > > @Andreas: thank you very much for that thorough feedback

Re: FOP hyphenate-ladder-count and pre-hyphenated text

2015-05-07 Thread Andreas Delmelle
> Internally, what FOP tries to hyphenate are only the word fragments in > between the spaces and SHYs, but those cannot be broken up further > themselves. As strange as it sounds, a SHY is treated as a word boundary > here, similar to a zero-width space. Correction/Expansion: ZWSP is actuall

Re: FOP hyphenate-ladder-count and pre-hyphenated text

2015-05-07 Thread Andreas Delmelle
Hi Marc > On 06 May 2015, at 13:40, Marc Wiest wrote: > > I have the requirements of > 1. allow adding hyphenation exceptions at runtime (web container) > 2. don't hyphenate more than two successive lines in a paragraph > > For 1. the only solution I found is to use a third-party library to add

Re: can fop do "outline" style font? how?

2011-03-22 Thread Andreas Delmelle
On 22 Mar 2011, at 19:30, Zac Nichol wrote: Hi Zac > can fop do "outline" style font? Not AFAIK. Theoretically, it would be possible if you have a separate font-file with 'outline' glyphs (similar to what happens for the bold/italic variants) > how? if not is there some kind of workaround?

Re: fop "listener"

2011-03-22 Thread Andreas Delmelle
On 22 Mar 2011, at 16:20, Roberto Cahanap wrote: Hi Roberto > Is there a way to run FOP as a listener to a certain port? I was told that > this was possible with FOP. It is definitely /possible/, just as any other Java program, but not out-of-box, i.e. it will take /some/ extra development ef

Re: Row span and keep-togehther.within-page problem

2011-03-19 Thread Andreas Delmelle
On 18 Mar 2011, at 00:30, Matthias Reischenbacher wrote: > FWIW: I was just playing with the example, and noticed my suggestion --using keep.within-column-- does not help. This means, as Vincent suspects (IIC), that the culprit is the code that takes care of generating the element list in cas

RE: Row span and keep-togehther.within-page problem

2011-03-19 Thread Andreas Delmelle
Hi Mathias > -Original Message- > From: Matthias Reischenbacher [mailto:matthias8...@gmx.at] > thanks for your reply. I'm not quite sure if your mentioned bugzilla entry > is really related because I'm not using fixed row heights. Perhaps Vincent > can shed some light on this. I'd be int

Re: Wrap text

2011-03-15 Thread Andreas Delmelle
On 15 Mar 2011, at 17:00, pedro wrote: Hi Pedro >i have a document with some column.One of this column have a string that > is to large for the column and then override the text of the next column.How > i can wrap the text? FOP implements Unicode UAX#14 line-breaking, which does not allow a

Re: Flow data in 2 different regions?

2011-03-14 Thread Andreas Delmelle
On 14 Mar 2011, at 20:09, Eric Douglas wrote: Hi Eric > I use the position=absolute attribute. > With that there are attributes for left, top, width, and height. > I set them all but they may be optional. If you just leave out height > does it spill to the next page? Nope. :-( If height="aut

Flow data in 2 different regions?

2011-03-14 Thread Andreas Delmelle
On 14 Mar 2011, at 19:48, Zac Nichol wrote: Hi Zac, >> I want to flow data into 2 different regions (region-body and >> region-before). is this possible? when i do it, FOP complains that >> "For fo:page-sequence, only one fo:flow may be declared." It seems >> weird to me that you can have many

Re: PDF version specification

2011-03-14 Thread Andreas Delmelle
On 14 Mar 2011, at 19:09, Glenn Adams wrote: > I've been working in the background on a patch that adds support for using > newer PDF features, including page transitions and option groups, and in this > work defined an new element in the FOP CONF file as follows to specify the > PDF output ver

Re: FOP 1.0 PDF print scale problem

2011-03-04 Thread Andreas Delmelle
On 03 Mar 2011, at 11:11, Marc Kramis wrote: Hi Mark > We recently migrated from FOP 0.95 to FOP 1.0. Everything worked fine except > some strange problem with the Mac OS X 10.6.6 print preview dialog. This > dialog now consistently wants to scale the printed PDF down to 90%. By any chance, do

Re: fo:block and fo:inline: less space?

2011-02-23 Thread Andreas Delmelle
On 23 Feb 2011, at 09:22, li...@philipp-wagner.com wrote: Hi Philipp > I'm having a little FO problem. It's not really FOP specific, the output > looks pretty much the same with XEP, but here it goes: > > I have an auto-generated document that has a lot of > some text > > For "bigger" font siz

Re: fo:basic-link show-destination="new" status

2011-02-21 Thread Andreas Delmelle
On 21 Feb 2011, at 16:25, Jeremias Maerki wrote: Hi > Is this issue is still there or it is fixed in FOP 1.0 version? > If so, what I can do at my side? In addition to what Jeremias mentioned, I also remember from when implementing this, that the Adobe browser plugin does not respect the corre

Re: PDF output: fragment identifier working ?

2011-02-14 Thread Andreas Delmelle
On 14 Feb 2011, at 08:42, kuma wrote: Hi > I am having this problem where I am generating a pdf file with links to > specific > pages of another pdf file using Java FOP. Somehow when i click on the link > rather than going to that page(lets say page=3), it goes to the next higher > page(say p

Re: How Shall I change the Log Level

2011-02-14 Thread Andreas Delmelle
On 14 Feb 2011, at 11:48, Clement Jebakumar (RBEI/EMT2) wrote: Hi Clement, > How to change the log level from Java? Am using Example DOM to PDF > conversion. I like to get see the logs of level Trace. How to set up? FOP uses Apache Commons Logging, so the most complete information can be found

Re: XML data with HTML tags, and creating PDF file

2011-02-08 Thread Andreas Delmelle
On 09 Feb 2011, at 06:26, Ashish Kulkarni wrote: Hi This is actually strictly an XSLT-related question. This list is dedicated to questions about FOP usage (= converting FO to another output format using FOP). Please try to keep that in mind for future posts. Thanks! Now that that's out of the

Re: Problem running FOP on VMS

2011-02-08 Thread Andreas Delmelle
On 08 Feb 2011, at 17:19, Jonathan Levinson wrote: Hi Jonathan > Thanks for the help! We are not running Eclipse or SWT. > > Here is a fuller log of the exception. Can you see anything wrong with what > we are dong? Thanks! It doesn't seem like you're doing anything wrong from a FOP perspec

Re: AFP Rendering

2011-02-05 Thread Andreas Delmelle
On 05 Feb 2011, at 19:57, Andreas Delmelle wrote: ... and for the sake of completeness, here's a quick link to download the latest XGC binary from FOP's trunk: https://svn.apache.org/viewvc/xmlgraphics/fop/trunk/lib/xmlgraphics-commons-1.5svn.jar?view=co Regards Andreas --- > O

Re: AFP Rendering

2011-02-05 Thread Andreas Delmelle
On 05 Feb 2011, at 10:24, Sandeep Dhulia wrote: Hi Sandeep > I downloaded the nightly build, but I get following error when I run my > solution with it > > java.lang.NoSuchMethodError: > org.apache.xmlgraphics.util.Service.providerNames(Ljava/lang/Class;)Ljava/util/Iterator > > Am I missing

Re: How to create a border against row

2011-02-04 Thread Andreas Delmelle
On 04 Feb 2011, at 21:55, Ashish Kulkarni wrote: Hi > I need to create a border against one row as shown in screen below, the sides > dont need to be dotted, but solid > > Here is what i have > > What about just using ? Regards, Andreas --- --

Re: Font detection on a Character by Character basis

2011-02-03 Thread Andreas Delmelle
On 03 Feb 2011, at 20:38, Graeme Kidd wrote: > Just noticed that FOP detects what font is needed based on the first letter > of the word. BTW, note that this is not entirely correct. FOP selects the font that can render most of the characters. If you were to make it "N⇒⇒⇒Y", you would see "#⇒

Re: Font detection on a Character by Character basis

2011-02-03 Thread Andreas Delmelle
On 03 Feb 2011, at 21:26, Graeme Kidd wrote: Hi Graeme > > If adapting FOP to detect Fonts on a character by character basis is not > advisable then I will look into your suggestion of recursive templates on the > text() nodes or if that slows things down too far I will just have to move > on

Re: Data URI handling by fox:external-document

2011-02-03 Thread Andreas Delmelle
On 03 Feb 2011, at 18:14, Malcolm Murphy wrote: Hi Malcolm > Questions: > Is this the correct behaviour? Or do I have an environmental problem? No and no. It does not seem like correct behavior, and at this point, I do not suspect an issue in your environment. > If its not correct > > 1)

Re: Concurrent modification exception getting an instance of ICC_Profile

2011-02-01 Thread Andreas Delmelle
On 01 Feb 2011, at 13:44, Julien Aymé wrote: Alexios, FWIW: patches have been applied to XMLGraphics and FOP Trunk that should address this issue. If you are at liberty to download FOP Trunk or can try running it against a nightly build (http://ci.apache.org/projects/xmlgraphics/fop/snapshots/

Re: Concurrent modification exception getting an instance of ICC_Profile

2011-02-01 Thread Andreas Delmelle
On 31 Jan 2011, at 10:38, Julien Aymé wrote: Hi Alexios, Julien, > 2011/1/31 Alexios Giotis : >> Any ideas why calling java.awt.color.ICC_Profile.getInstance() throws >> java.util.ConcurrentModificationException ? > It seems that you just found out a race condition in > ProfileDeferralMgr. I

Re: pdf encryption

2011-01-31 Thread Andreas Delmelle
On 31 Jan 2011, at 15:49, sabac wrote: Hi > > when i write on the password positions 'null', why they ask for a password? > can i set the encryption params without the password params? is there a > different possibility? If I recall correctly, older versions of Adobe Reader exhibited the same

Re: align columns last line

2011-01-28 Thread Andreas Delmelle
On 28 Jan 2011, at 17:05, Rob Sargent wrote: Hi Rob > The "distribute" attribute definitely improves the output, but indeed > there are situations in which it fails to align the columns. > I'm not a stranger to space-before but I didn't know about the > sub-attributes. I'll give those a try, bu

Re: align columns last line

2011-01-27 Thread Andreas Delmelle
On 27 Jan 2011, at 20:25, Rob Sargent wrote: > I will most certainly give that a try, even if > http://www.w3.org/TR/xsl/#display-align does not suggest that is a valid > doesn't suggest that as an option. Indeed. That is because, as Jeremias explained, it is a non-standard (= FOP-proprietary)

Re: align columns last line

2011-01-27 Thread Andreas Delmelle
On 27 Jan 2011, at 16:35, Rob Sargent wrote: > Here is the fo. (But the last time I did this it was not well > recieved.) > I'm not confident I could crop it significantly and still > have a useful fo. OK, I see what you mean now. Did you try out Jeremias' last suggestion? If I just put disp

Re: align columns last line

2011-01-26 Thread Andreas Delmelle
On 27 Jan 2011, at 01:03, Rob Sargent wrote: > We see much variability in the y-coordinate of the last lines both > with-in and across (facing) pages. There are cases where keep-with-next > causes obvious shortages in one column. Ah OK, you're using keeps... I can see how that could be a deal-

Re: align columns last line

2011-01-26 Thread Andreas Delmelle
On 26 Jan 2011, at 23:44, Rob Sargent wrote: > On 01/26/2011 12:02 PM, Andreas Delmelle wrote: >> IIRC, FOP does take care of column-balancing, but only does so for all but >> the last page. More or less similar to a line-layout, where you generally >> apply alignment

Re: align columns last line

2011-01-26 Thread Andreas Delmelle
On 26 Jan 2011, at 19:42, Rob Sargent wrote: Hi Rob, > Is there really no fop way to get consistently placed top and bottom > lines, such as one expects in a multi-column page of a magazine? No mechanism defined for this in standard XSL-FO 1.1, unfortunately... > I can see that this would mean

Re: NullPointerException in layoutmgr.AbstractBreaker.getNextBlockListChangedIPD

2011-01-24 Thread Andreas Delmelle
Hi Graeme, > The attached FO stylesheet creates the following NullPointerException: > > java.lang.NullPointerException > at > org.apache.fop.layoutmgr.AbstractBreaker.getNextBlockListChangedIPD(AbstractBreaker.java:815) > at > org.apache.fop.layoutmgr.AbstractBreaker.doLayout(A

Re: AW: AW: AW: [FOP 1.0] Worse performance than with 0.20.5 !?

2011-01-24 Thread Andreas Delmelle
On 24 Jan 2011, at 10:50, Georg Datterl wrote: Hi Georg > There's a patch around, which never got applied to fop. This patch frees > memory even in page sequences. Maybe that patch can help. Thanks for the pointer! For future reference, the patch is stored as an attachment in Bugzilla 47314.

Re: AW: AW: [FOP 1.0] Worse performance than with 0.20.5 !?

2011-01-22 Thread Andreas Delmelle
On 21 Jan 2011, at 08:31, Matthias Müller wrote: Hi Mathias > I temporarily disabled all images and special fonts in my fo file and still > have > the issue with the heap space. So i assume that i only have a chance to > improve > the rendering by splitting the document in multiple page-seque

Re: AW: [FOP 1.0] Worse performance than with 0.20.5 !?

2011-01-18 Thread Andreas Delmelle
On 18 Jan 2011, at 12:07, Matthias Müller wrote: Hi Mathias > indeed, in the document I only have one page-sequence over 500+ pages. > There are approx. 10 tables that stretch about 1 - 150 pages each. > There are also nested tables. > There are 3 images (< 30kb) on each page's footer. > Your ide

Re: Embedding SVG dynamically into fo file

2011-01-17 Thread Andreas Delmelle
On 17 Jan 2011, at 16:56, Cristi Cioriia wrote: Hi Cristi > Thanks for such a quick reply. > > Using your feedback I was able to advance a little: if I replace "Some text > " from your sample with I can see in my report > the svg that is generated. What I need though is that this code is ex

Re: [FOP 1.0] Worse performance than with 0.20.5 !?

2011-01-17 Thread Andreas Delmelle
On 17 Jan 2011, at 09:09, Matthias Müller wrote: Hi Mathias > i finally updated my stylesheets for Fop 1.0 compliance. Now i run into java > heap space errors when rendering large documents (500+ pages, nested tables). > The thing is: with Fop 0.20.5 it works. > It seems that Fop 1.0 needs more

Re: Rendering differences: fop-0.95 vs fop.-1.0

2011-01-11 Thread Andreas Delmelle
On 11 Jan 2011, at 19:31, Rob Sargent wrote: > My apologies for the size of the fo file. If I knew where the problem > was in particular I certain would have trimmed it. OK, no harm done. > I'll follow-up on your suggestions, for which I am most thankful. > I sent the whole thing since there

Re: Rendering differences: fop-0.95 vs fop.-1.0

2011-01-11 Thread Andreas Delmelle
On 11 Jan 2011, at 14:20, Rob Sargent wrote: Hi Rob > > I've proven to myself that I'm generating identical xml, but getting > malformed pdf in version 1.0 where 0.95 was perfectly happy. > > I'm getting some clipping along the inner (left) side of right-hand pages in > static region-before

Re: FOP 1.0 line feed not visible

2011-01-10 Thread Andreas Delmelle
On 10 Jan 2011, at 16:22, Philippe Pithon wrote: Hi Philippe > Thanks ! good news ! > > I'll try...FOP Trunk Just FYI: if it is for testing purposes, and you cannot permit yourself to spend time on building FOP yourself, we have nightly snapshot binaries available. In case you're intereste

Re: FOP 1.0 - properties which don't make same result than 0.20.5 version

2011-01-10 Thread Andreas Delmelle
Ceci est un texte sur plusieurs cellules Hope this helps! Regards, Andreas Delmelle --- - To unsubscribe,

Re: Urgent: Need help for IKVM dlls

2011-01-08 Thread Andreas Delmelle
On 07 Jan 2011, at 18:44, Kashipathi, Mamatha wrote: Hi >We are using these “ IKVM.GNU.Classpath.dll” & ‘IKVM.Runtime.dll” dll’s > in our project along with ApacheFop.Net (v1.0.3705) & poi-2.5.1-dev-20040708 Sorry, wrong list. This is the user list for Apache XML FOP, which is Java softwa

Re: fo:table space-after

2011-01-07 Thread Andreas Delmelle
On 06 Jan 2011, at 17:51, Philippe Pithon wrote: Hi Philippe > I read this attribut on http://www.w3.org/TR/xsl/#spacecond : > > "Conditionality is an enumerated value which controls whether a > space-specifier has effect at the beginning or end of a reference-area or a > line-area. Possible

Re: FOP 1.0 line feed not visible

2011-01-07 Thread Andreas Delmelle
On 07 Jan 2011, at 12:20, Peter Hancock wrote: Hi Philippe, Pete, >> A little problem with FOP 1.0 (it's works with FOP 0.20.5) >> if I have linefeed (exa 0A) in XML node text, it's not visible in PDF result >> Any ideas ? > I think perhaps the linefeed-treatment='preserve' property on the > fo

RE: FOP 0.95 exception

2010-12-30 Thread Andreas Delmelle
-Original Message- From: Alexey Neyman [mailto:sti...@att.net] Hi Alexey > I got the following crash dump from FOP 0.95 when using inside > : > java.lang.ClassCastException: org.apache.fop.layoutmgr.SpaceElement cannot be cast to org.apache.fop.layoutmgr.KnuthElement > It has to do so

RE: block breaking page-columns

2010-12-29 Thread Andreas Delmelle
-Original Message- From: Kester, Peter [mailto:p.kes...@sdu.nl] Hi Peter > I have a page sequence with two columns on the page. > > Sometimes the content holds a table which should span both columns. > When this occurs the table gets spanned over the two columns but > the part before th

RE: How to XSL-T transform IntermediateFormat within FOP?

2010-12-27 Thread Andreas Delmelle
> -Original Message- > From: Stepan RYBAR [mailto:xryb...@seznam.cz] Hi Stepan, > is it possible to perform XSL-T (2.0) transformation within FOP (1.0), > *where input file is in IntermediateFormat*? > I tried it, but without success (something like unable to mix input mode). AFAIK,

Re: Does FOP support HTML output?

2010-03-27 Thread Andreas Delmelle
here is that this is a skill that can be applied for any form of XML-to-XML transformation. At any rate, chances are that, if you do find a tool that does both the conversions you want to do, it will likely use XML in the b

Re: Does FOP support HTML output?

2010-03-27 Thread Andreas Delmelle
On 27 Mar 2010, at 17:20, David Hoffer wrote: Hi David > I'm looking for a tool to generate simple HTML & PDF documents. I've > seen websites say FOP can generate HTML but I don't see that listed as > an output on the FOP site. Can anyone clarify if this is > possible/supported? No, FOP does n

Re: How to locate errors?

2010-03-24 Thread Andreas Delmelle
usly become more complicated to figure out. At any rate, using XPath to find the offending rows would at least give you all of them in one go. If you just use the location in the error message and fix your FO there, chances are there's another row further on with

Re: spanning page columns not spanning

2010-03-18 Thread Andreas Delmelle
panning characteristic of their parent." Could that be the problem here? Regards, Andreas Delmelle --- - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Re: XMLFilterImpl producing SVG instream-foreign-object

2010-03-16 Thread Andreas Delmelle
ect. It smells a bit fishy maybe, but using an intermediate DefaultHandler that swallows startDocument() and endDocument() definitely seems like the most straightforward way to tackle this issue. HTH! Regards, Andreas Delmelle ---

Re: rendering of links to pdf-files on https servers

2010-03-16 Thread Andreas Delmelle
is currently so that, for an "http://"; URL, the code generates a PDFUri action, and for an "https://"; URL ending in ".pdf" a PDFGoToRemote action... For all other file types, "https://"; will ultimately also generate a PDFUri. It's only

Re: page sequence question

2010-03-12 Thread Andreas Delmelle
erties apply to it). So, according to XSL-FO, even if force-page-count does not apply to any FOs other than fo:page-sequence, it is never an error to specify it elsewhere. It will simply not have any effect. Regards, Andreas Delmelle --- --

Re: table cell margins inherit from parents?

2010-03-10 Thread Andreas Delmelle
On 10 Mar 2010, at 22:06, Arian wrote: Hi Arian > This kinda threw me off, > I set a margin on a block that contains a table... then i noticed all > the cells took on the same left margin of the parent. > Is this inheritance behavior correct?, it seems like the wrong > behavior for a table cell..

Re: Unnecessary overhead when running Apache FOP via command line

2010-01-06 Thread Andreas Delmelle
nitely recommend looking into using the servlet. Regards, Andreas Delmelle --- - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Re: Unnecessary overhead when running Apache FOP via command line

2010-01-06 Thread Andreas Delmelle
vlets.html The source code for the servlet can be viewed at: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/servlet/FopServlet.java?revision=732631&view=markup Apache Tomcat can be downloaded here: http://tomcat.apache.org/download-60.cgi Hope this helps! R

Re: fo:table breaks in fo:block-container

2009-09-07 Thread Andreas Delmelle
On 07 Sep 2009, at 18:11, Andreas Delmelle wrote: On 07 Sep 2009, at 12:22, Vincent Hennebert wrote: This is an interesting interpretation. There is some discussion about that on the following bug report: https://issues.apache.org/bugzilla/show_bug.cgi?id=46160 One could return the question

Re: fo:table breaks in fo:block-container

2009-09-07 Thread Andreas Delmelle
exceeds the block-progression- dimension of the block-container. Regards, Andreas Delmelle mailto:andreas.delmelle.AT.telenet.be jabber: mandr...@jabber.org skype: adlm0608 --- - To unsubscribe, e-mail: fop-users-unsubscr

Re: fo:table breaks in fo:block-container

2009-09-04 Thread Andreas Delmelle
mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org Regards, Andreas Delmelle mailto:andreas.delmelle.AT.telenet.be jabber: mandr...@jabber.org skype: adlm0608 --- --

Re: 0.95 text wrap issue

2009-09-04 Thread Andreas Delmelle
element containing this block or the hyphenation either won't work or won't work correctly. This can indeed be a possible cause. If 'language' is not explicitly set, it defaults to "none", an obscure language for which OFFO does not have hyphen

Re: 0.95 text wrap issue

2009-09-03 Thread Andreas Delmelle
stylesheet. I can imagine nobody really wants to insert a ZWSP between every two consecutive characters in every word in the input... Regards, Andreas Delmelle mailto:andreas.delmelle.AT.telenet.be jabber: mandr...@jabber.org skype: adlm0608

Re: "keep is not auto but context is"

2009-08-25 Thread Andreas Delmelle
tests... Will look into it --sometime ;-) Later Andreas Andreas Delmelle mailto:andreas.delmelle.AT.telenet.be jabber: mandr...@jabber.org skype: adlm0608 --- - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.or

Re: "keep is not auto but context is"

2009-08-24 Thread Andreas Delmelle
On 24 Aug 2009, at 17:58, Andreas Delmelle wrote: On 24 Aug 2009, at 15:00, Georg Datterl wrote: What does this message mean? It's a warning message, indicating that the current keep-context is set to auto, but the keep-property specified on the FO for which layout/breaking is perf

Re: Display of fractions

2009-08-24 Thread Andreas Delmelle
hat there is no white-space in the FO source that you do not intend to see in the eventual output. HTH! Andreas Andreas Delmelle mailto:andreas.delmelle.AT.telenet.be jabber: mandr...@jabber.org skype: adlm0608 --- ---

Re: "keep is not auto but context is"

2009-08-24 Thread Andreas Delmelle
s the message could probably be set to a lower level (DEBUG) if it bothers you... Regards Andreas Regards, Andreas Delmelle mailto:andreas.delmelle.AT.telenet.be jabber: mandr...@jabber.org skype: adlm0608 --- - To unsubscri

Re: Implementing Change bars

2009-08-21 Thread Andreas Delmelle
aking, our handling of FOText can be considered such 'specific code'. Ultimately, the actual implementation is of no concern, as long as the result is what it should be. Regards, Andreas Delmelle mailto:andreas.delmelle.AT.telenet.be jabber: mandr...@jabber

Re: newFOP taking very long time

2009-08-20 Thread Andreas Delmelle
e second run on, the FontCache will be used for that. Regards Andreas Andreas Delmelle mailto:andreas.delmelle.AT.telenet.be jabber: mandr...@jabber.org skype: adlm0608 --- - To unsubscribe, e-mail: fop-users-unsubscr...@xm

Re: Implementing Change bars

2009-08-20 Thread Andreas Delmelle
On 20 Aug 2009, at 12:25, Vincent Hennebert wrote: Andreas Delmelle wrote: No real areas need to be generated, IIC. At most dummy areas, since the change bars are actually no more than additional borders. I wonder if we could get away with partial border painting on the existing flow

Re: Auto-generate table of contents

2009-08-20 Thread Andreas Delmelle
he xsl:for-each starting on line 162) The supplied link should be of help, but only if you do not need to refer to predefined 'anchors' (not 'pages') in the target document. Regards, Andreas Delme

Re: Auto-generate table of contents

2009-08-19 Thread Andreas Delmelle
On 19 Aug 2009, at 22:28, Andreas Delmelle wrote: On 19 Aug 2009, at 22:22, Brian Trezise wrote: Hi Brian How do you put bookmarks or page markings into the pdf so that you can use (hyperlink)#page=XXX to open the document to a specific page? See: http://xmlgraphics.apache.org/fop/0.95

Re: Auto-generate table of contents

2009-08-19 Thread Andreas Delmelle
Andreas Delmelle mailto:andreas.delmelle.AT.telenet.be jabber: mandr...@jabber.org skype: adlm0608 --- - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h

Re: Implementing Change bars

2009-08-19 Thread Andreas Delmelle
real areas need to be generated, IIC. At most dummy areas, since the change bars are actually no more than additional borders. I wonder if we could get away with partial border painting on the existing flow- area(?) HTH! Regards, Andreas Delmelle mailto:andreas.delmelle.AT.telenet.be jab

Re: font configuration

2009-08-19 Thread Andreas Delmelle
he build fails. I have logged Bugzilla 47709 for follow-up[*]. Seems that at the time, I was too focused on making font-family lists work correctly, and forgot to check the most simple cases. :-/ [*] http://issues.apache.org/bugzilla/show_bug.cgi?id=47709 Regards, Andreas Delmelle mailt

Re: font configuration

2009-08-14 Thread Andreas Delmelle
ded, since it will skip a lot of other validation rules as well, which could lead to unpredictable results and makes your FO less portable to other implementations. Better would be to make sure that each cell always contains an empty fo:block. (*) http://xmlgraphics.apache.org/fop/

Re: font configuration

2009-08-14 Thread Andreas Delmelle
bold; property:'font') Which version are you using exactly. The 'font' shorthand was implemented rather late (as of 0.94, IIC). It should definitely work correctly with 0.95. Regards, Andreas Delmelle mailto:andreas.delmelle.AT.telenet.be jabber:

  1   2   3   4   5   6   7   8   >