Re: howto center vertically an image in a text line (was: problem with fo:inline and fo:external-graphic, overflows)

2010-01-27 Thread Pascal Sancho
Please, do not hijack another thread, open a new one for a new question. To do that, you should use alignment-adjust property (or vertical-align, witch is a shorthand property comprising alignment-adjust). See REC XSL-FO §7.14.1 for further information at [1] [1] http://www.w3.org/TR/xsl/#alignme

Re: problem with fo:inline and fo:external-graphic, overflows

2010-01-27 Thread lexa2009
there is one more thing i want to ask. for example i have a string with inline image. how can i make that center of inline image will be on one level with text ? i explain what i want in image. http://old.nabble.com/file/p27338791/test.gif -- View this message in context: http://old.nabble.com

Re: problem with fo:inline and fo:external-graphic, overflows

2010-01-27 Thread lexa2009
YEAH. finally it works! guys, thank u a lot! -- View this message in context: http://old.nabble.com/problem-with-fo%3Ainline-and-fo%3Aexternal-graphic%2C-overflows-tp26941207p27335613.html Sent from the FOP - Users mailing list archive at Nabble.com. ---

Re: problem with fo:inline and fo:external-graphic, overflows

2010-01-26 Thread Pascal Sancho
My bad! I wrote "NBSP', but I should have written 'ZWSP': - NBSP stands for "non break space" - ZWSP stands for "zero width space" In your XSL-FO, you just have to replace   entities with ​ entities, and this will do the trick. About English, no problem, this is not my native language either, l

Re: problem with fo:inline and fo:external-graphic, overflows

2010-01-26 Thread lexa2009
Pascal Sancho, thanks! i use fop 0-95. yes, i use msxsl.exe, then fop. please see my XSL-FO. i try to remove white-spaces and line-breaks and to insert NBSP before /and/ after each fo:external-graphic. but i still have all images and text on one line! i want no image overflows the available space

Re: problem with fo:inline and fo:external-graphic, overflows

2010-01-26 Thread Pascal Sancho
I've tried the XSL-FO nested in your XSLT (here [1]) -> works fine I've tried same code after removing *all* white-spaces and line-breaks (I guess this is the actual XSL-FO code you get after XSLT transformation) -> all images are on the same line, witch is the correct behavior I've inserted NBSP

Re: problem with fo:inline and fo:external-graphic, overflows

2010-01-26 Thread lexa2009
i try it before i write here. the problem is still insolved. -- View this message in context: http://old.nabble.com/problem-with-fo%3Ainline-and-fo%3Aexternal-graphic%2C-overflows-tp26941207p27320151.html Sent from the FOP - Users mailing list archive at Nabble.com. ---

Re: problem with fo:inline and fo:external-graphic, overflows

2010-01-25 Thread Pascal Sancho
Hi, if you want to have a break opportunity between 2 images or between 1 image and some text, the best practice is to insert a Zero-Width-SPace (ZWSP, ​) just before and/or after the image. HTH, Pascal lexa2009 a écrit : > hello. thx Vincent Hennebert-2, may be i am stupid but i still have a >

Re: problem with fo:inline and fo:external-graphic, overflows

2010-01-24 Thread lexa2009
hello. thx Vincent Hennebert-2, may be i am stupid but i still have a problem:) i use this fo(for example) http://www.w3.org/1999/XSL/Format"; xmlns:xsl="http://www.w3.org/1999/XSL/Transform";> http://www.w3.org/1999/XSL/Format";>

Re: problem with fo:inline and fo:external-graphic, overflows

2010-01-22 Thread Vincent Hennebert
Hi, lexa2009 wrote: > hi, thx for help. if i use > sometext1 >scaling="uniform" content-width="80mm"/> > st2 >scaling="uniform" content-width="80mm"/> >scaling="uniform" content-width="80mm"/> >scaling="uniform" content-width="80mm"/> > sometext

Re: problem with fo:inline and fo:external-graphic, overflows

2010-01-22 Thread lexa2009
hi, thx for help. if i use sometext1 st2 sometext2 images still overflow my page. there is an example http://old.nabble.com/file/p27270558/name.pdf name.pdf Vincent Hennebert-2 wrote: > > > I think you can get rid of fo:inline altogether: >

Re: problem with fo:inline and fo:external-graphic, overflows

2010-01-19 Thread Vincent Hennebert
Hi, What is your problem and what you want to achieve is not entirely clear to me. IIUC, you are not happy with the fact that the content is being rendered on only one line and is being cut off at the page’s right margin? You would like it to be broken into several lines, but images should be kep

Re: problem with fo:inline and fo:external-graphic, overflows

2010-01-12 Thread lexa2009
or another example http://www.w3.org/1999/XSL/Format"; xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; xmlns:m="http://www.w3.org/1998/Math/MathML";> http://www.w3.org/1998/Math/MathML"; xmlns:fo="http://www.w3.org/1999/XSL/Format";> ​ ​ ​ ​ ​ ​

Re: problem with fo:inline and fo:external-graphic, overflows

2010-01-11 Thread lexa2009
thx for help. here is my fo ( i cut it to show the problem): http://www.w3.org/1999/XSL/Format"; xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; xmlns:m="http://www.w3.org/1998/Math/MathML";> http://www.w3.org/1998

Re: problem with fo:inline and fo:external-graphic, overflows

2010-01-04 Thread Pascal Sancho
Hi, I cannot reproduce different behavior when using fo:block instead of fo:inline with provided material. You should be more explicit: actual XSL-FO code for both cases, and if possible actual image file used. However, I suspect you are using an old FOP version, can you check that? Note that

problem with fo:inline and fo:external-graphic, overflows

2009-12-28 Thread lexa2009
hello. i want to generate pdf with text and some images inside it. for example this part of fo sometext   some text   some text but when there must be a new page or new string fop does not make it and my image does not display correct in pdf (overflows visible area).