"fo:external-graphic" inside a "fo:block" - Unexpected margins

2012-05-29 Thread Léa Massiot
Hello and thank you for reading my post. When I put a "fo:external-graphic" inside a "fo:block" (cf. the XSL-FO stylesheet below and the resulting PDF document attached), I get: - an extra (red) margin above the image, - an extra (red) margin below the image (bigger than the previous), - no extra

"fo:external-graphic" inside a "fo:block" - Unexpected margins

2012-05-29 Thread Léa Massiot
Hello and thank you for reading my post. When I put a "fo:external-graphic" inside a "fo:block" (cf. the XSL-FO stylesheet and an image of an excerpt of the resulting PDF document attached below), I get: - an extra (red) margin above the image, - an extra (red) margin below the image (bigger than

Re: "fo:external-graphic" inside a "fo:block" - Unexpected margins

2012-05-30 Thread Léa Massiot
Hello Pascal. Thank you for your answer: this is the answer I needed. With the following code: I get the following result: http://old.nabble.com/file/p33929960/test.png -- View this message in context: http://old.nabble.com/%22fo%3Aexternal-graphic%22-inside-a-%22fo%3Ablock%22

First page (distinct) and next following page - contents flowing on every page including first

2012-06-04 Thread Léa Massiot
Hello and thank you for reading my post. I am dynamically generating PDF documents from: - a variable XML data file - and a "static" XSL-FO stylesheet. As a result, the PDF document may comprise a first page F and several following pages N_1, N_2, ... A text "Text1" has to appear at the top of

RE: First page (distinct) and next following page - contents flowing on every page including first

2012-06-05 Thread Léa Massiot
Hello Robert, Thanks a lot for your answer and the (really useful) code you posted along with the PDF resulting document. That's exactly what I needed! Best regards. -- View this message in context: http://old.nabble.com/First-page-%28distinct%29-and-next-following-page---contents-flowing-on-e

Paragraph indentation with no cut lines

2012-06-06 Thread Léa Massiot
Hello, Thank you for reading my post. I'm using an XML data file and an XSL-FO stylesheet to generate a PDF file using "fop". Here is what I want to do: I'd like to have some paragraph indented with lines: - left-aligned, - uncut (unless they "really" spread over several lines). Of course, the

Re: Paragraph indentation with no cut lines

2012-06-06 Thread Léa Massiot
It's some kind of "fit block to contents and float right" I want to do... -- View this message in context: http://old.nabble.com/Paragraph-indentation-with-no-cut-lines-tp33969052p33970164.html Sent from the FOP - Users mailing list archive at Nabble.com. --

RE: Paragraph indentation with no cut lines

2012-06-07 Thread Léa Massiot
Hi and thank you for your answers. @Robert Meyer Robert Meyer wrote: > Just to clarify, are you asking for a block to be indented from the left > but expand back left if the line was too long to fit in the block? Almost but not exactly... :) Let me try to clarify. Indeed, something is missing

RE: Paragraph indentation with no cut lines

2012-06-08 Thread Léa Massiot
Hi Robert. Ok and thank you for your time. Best regards. -- View this message in context: http://old.nabble.com/Paragraph-indentation-with-no-cut-lines-tp33969052p33979960.html Sent from the FOP - Users mailing list archive at Nabble.com. ---

Set the padding for all the cells of a given table at once

2012-06-08 Thread Léa Massiot
Hi, I was wondering if there is another way than the one below to set the padding for all the cells of a given table at once. I created an "attribute-set": 2mm 2mm 2mm 2mm and I associated it to each cell of the table: [...] Is it the proper way to

Re: Set the padding for all the cells of a given table at once

2012-06-08 Thread Léa Massiot
Hi and thank you for your answer, Pascal. This is a pure XSLT related question. Ok, but these are still "fo:cell" elements I'm manipulating... :) So, you are mentioning yet another more appropriate method than the one I used. Could you be so very kind to reformulate my example using this other

Re: Set the padding for all the cells of a given table at once

2012-06-11 Thread Léa Massiot
Hello Pascal, I'm sorry to come back on this but I do not understand your example... :/ My underlying question is the following: what is the proper method which can be used to associate a set of traits with specific values to a given "fo" element. For example here: associate a 2mm top, bottom, l

Re: Set the padding for all the cells of a given table at once

2012-06-11 Thread Léa Massiot
Hi Pascal, Thank you for your answer. Ok for the first part of it. I'll have to work further to catch the meaning of the second :) Best regards. -- View this message in context: http://old.nabble.com/Set-the-padding-for-all-the-cells-of-a-given-table-at-once-tp33981242p33992902.html Sent from th