hello. thx Vincent Hennebert-2, may be i am stupid but i still have a problem:)
i use this fo(for example) <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master master-name="my-page" page-height="29.7cm" page-width="21cm" margin-top="0cm" margin-bottom="0cm" margin-left="0cm" margin-right="0cm"> <fo:region-body column-count="2" margin-top="1.5cm" margin-bottom="1.5cm" margin-left="1.5cm" margin-right="1.5cm" /> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="my-page"> <fo:flow flow-name="xsl-region-body"> <fo:block>sometext1 <fo:external-graphic src="00000011.tif" display-align="center" scaling="uniform" content-width="80mm"/> st2 <fo:external-graphic src="00000011.tif" content-width="scale-down-to-fit" inline-progression-dimension.maximum="100%"/> <fo:external-graphic src="00000011.tif" content-width="scale-down-to-fit" inline-progression-dimension.maximum="100%"/> <fo:external-graphic src="00000011.tif" content-width="scale-down-to-fit" inline-progression-dimension.maximum="100%"/> st11 <fo:external-graphic src="00000011.tif" display-align="center" scaling="uniform" content-width="80mm"/> <fo:external-graphic src="00000011.tif" display-align="center" scaling="uniform" content-width="80mm"/> <fo:external-graphic src="00000011.tif" display-align="center" scaling="uniform" content-width="80mm"/> sometext2</fo:block> </fo:flow> </fo:page-sequence> </fo:root> </xsl:template> </xsl:stylesheet> Vincent Hennebert-2 wrote: > > That’s because the width of your image is greater than the page width. > when i use <fo:external-graphic src="00000011.tif" display-align="center" scaling="uniform" content-width="80mm"/> 80mm is less then width of my page. but if i use 3 images then yes. so i want one of them move down. Vincent Hennebert-2 wrote: > > > You have to scale it down, for example: > <fo:external-graphic src="image" content-width="scale-down-to-fit" > inline-progression-dimension.maximum="100%"/> > > i try <fo:external-graphic src="00000011.tif" content-width="scale-down-to-fit" inline-progression-dimension.maximum="100%"/> but it overflows too! the right part of third image do not display correctly! and i want my image to be width 80mm, not random :) image http://old.nabble.com/file/p27302965/00000011.tif 00000011.tif fo document http://old.nabble.com/file/p27302965/mystyle.fo mystyle.fo output pdf http://old.nabble.com/file/p27302965/name.pdf name.pdf Vincent Hennebert-2 wrote: > > Hi, > > lexa2009 wrote: >> hi, thx for help. if i use >> <fo:block>sometext1 >> <fo:external-graphic src="00000011.tif" display-align="center" >> scaling="uniform" content-width="80mm"/> >> st2 >> <fo:external-graphic src="00000011.tif" display-align="center" >> scaling="uniform" content-width="80mm"/> >> <fo:external-graphic src="00000011.tif" display-align="center" >> scaling="uniform" content-width="80mm"/> >> <fo:external-graphic src="00000011.tif" display-align="center" >> scaling="uniform" content-width="80mm"/> >> sometext2</fo:block> >> >> images still overflow my page. there is an example >> http://old.nabble.com/file/p27270558/name.pdf name.pdf > > That’s because the width of your image is greater than the page width. > You have to scale it down, for example: > <fo:external-graphic src="image" content-width="scale-down-to-fit" > inline-progression-dimension.maximum="100%"/> > > HTH, > Vincent > > --------------------------------------------------------------------- > To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org > For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org > > > -- View this message in context: http://old.nabble.com/problem-with-fo%3Ainline-and-fo%3Aexternal-graphic%2C-overflows-tp26941207p27302965.html Sent from the FOP - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org