fo:external-graphic scale-to-fit
<[email protected]> Thu, 13 Dec 2018 12:51:57 +0000
| Newsgroups | gmane.text.xml.xfc.general |
|---|---|
| Message-ID | <C271B911B189954FA2E9DC96CB8FF0B2E01F6FCD@FRDS01292.emea.zf-world.com> |
--===============1841539266368659355== Content-Language: cs-CZ Content-Type: multipart/alternative; boundary="_000_C271B911B189954FA2E9DC96CB8FF0B2E01F6FCDFRDS01292emeazf_" --_000_C271B911B189954FA2E9DC96CB8FF0B2E01F6FCDFRDS01292emeazf_ Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Hello, I need to scale image of fo:external-graphic in both directions to fit on = page and would like to avoid harcoding any page bound since I use same xslf= o for XFC and for Apache FOP. First limitation is that I have some other pa= ge dimensions to choose then A4 for Apache FOP and second this solution cur= rently works and I need to have working solution for both: width=3D"auto" height=3D"auto" content-width=3D"scale-to-fit" content-heigh= t=3D"100%" Thank you for your help S pozdravem / Mit freundlichen Gr=FCssen / Best Regards Jan Kantor V=FDvoj = softwarov=FDch n=E1stroj=F9 / Software Development Tools Corporate Research= & Development Plzen ZF Engineering Plze=F2 s.r.o. Univerzitn=ED 1159/53, 301 00 Plze=F2, =C8esk=E1 republika/Czech Republic T= elefon/Phone +420 373 736-385, Telefax/Fax +420 373 736-312 [email protected]= om<mailto:[email protected]> Jednatel/Managing Director: Dr.-Ing. Mathias Eickhoff S=EDdlo/Headquarter: Univerzitn=ED 1159/53, CZ-301 00 Plze=F2 - Spole=E8nos= t zaps=E1na v obchodn=EDm rejst=F8=EDku Krajsk=E9ho soudu v Plzni, odd=EDl = C, vlo=BEka 14207, I=C8O: 263 43 398, DI=C8: CZ26343398 --_000_C271B911B189954FA2E9DC96CB8FF0B2E01F6FCDFRDS01292emeazf_ Content-Type: text/html; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-= 2"> <meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)"> <style><!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri",sans-serif; mso-fareast-language:EN-US;} a:link, span.MsoHyperlink {mso-style-priority:99; color:#0563C1; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:#954F72; text-decoration:underline;} p.MsoPlainText, li.MsoPlainText, div.MsoPlainText {mso-style-priority:99; mso-style-link:"Prost=FD text Char"; margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri",sans-serif; mso-fareast-language:EN-US;} span.StylE-mailovZprvy17 {mso-style-type:personal-compose; font-family:"Calibri",sans-serif; color:windowtext;} span.ProsttextChar {mso-style-name:"Prost=FD text Char"; mso-style-priority:99; mso-style-link:"Prost=FD text"; font-family:"Calibri",sans-serif;} .MsoChpDefault {mso-style-type:export-only; mso-fareast-language:EN-US;} @page WordSection1 {size:612.0pt 792.0pt; margin:70.85pt 70.85pt 70.85pt 70.85pt;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3D"CS" link=3D"#0563C1" vlink=3D"#954F72"> <div class=3D"WordSection1"> <p class=3D"MsoPlainText">Hello,<o:p></o:p></p> <p class=3D"MsoPlainText">I need to scale image of fo:external-graphic &nbs= p;in both directions to fit on page and would like to avoid harcoding any p= age bound since I use same xslfo for XFC and for Apache FOP. First limitati= on is that I have some other page dimensions to choose then A4 for Apache FOP and second this solution currently works = and I need to have working solution for both:<o:p></o:p></p> <p class=3D"MsoPlainText"><b>width=3D"auto" height=3D"auto&q= uot; content-width=3D"scale-to-fit" content-height=3D"100%&q= uot;<o:p></o:p></b></p> <p class=3D"MsoPlainText"><o:p> </o:p></p> <p class=3D"MsoPlainText"><o:p> </o:p></p> <p class=3D"MsoPlainText">Thank you for your help<o:p></o:p></p> <p class=3D"MsoPlainText"><o:p> </o:p></p> <p class=3D"MsoPlainText">S pozdravem / Mit freundlichen Gr=FCssen / Best R= egards Jan Kantor V=FDvoj softwarov=FDch n=E1stroj=F9 / Software Developmen= t Tools Corporate Research & Development Plzen<o:p></o:p></p> <p class=3D"MsoPlainText"><o:p> </o:p></p> <p class=3D"MsoPlainText">ZF Engineering Plze=F2 s.r.o.<o:p></o:p></p> <p class=3D"MsoPlainText">Univerzitn=ED 1159/53, 301 00 Plze=F2, =C8esk=E1 = republika/Czech Republic Telefon/Phone +420 373 736-385, Telefax/Fax &#= 43;420 373 736-312 <a href=3D"mailto:[email protected]">[email protected]</a><o:p></o:p></p> <p class=3D"MsoPlainText"><o:p> </o:p></p> <p class=3D"MsoPlainText">Jednatel/Managing Director: Dr.-Ing. Mathias Eick= hoff<o:p></o:p></p> <p class=3D"MsoPlainText">S=EDdlo/Headquarter: Univerzitn=ED 1159/53, CZ-30= 1 00 Plze=F2 – Spole=E8nost zaps=E1na v obchodn=EDm rejst=F8=EDku Kra= jsk=E9ho soudu v Plzni, odd=EDl C, vlo=BEka 14207, I=C8O: 263 43 398, DI=C8= : CZ26343398<o:p></o:p></p> <p class=3D"MsoNormal"><o:p> </o:p></p> </div> </body> </html> --_000_C271B911B189954FA2E9DC96CB8FF0B2E01F6FCDFRDS01292emeazf_-- --===============1841539266368659355== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- XMLmind FO Converter Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xfc-support --===============1841539266368659355==--