<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@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;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:70.85pt 70.85pt 56.7pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:498270789;
        mso-list-type:hybrid;
        mso-list-template-ids:-1975118408 67698705 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-text:"%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1
        {mso-list-id:1214345248;
        mso-list-type:hybrid;
        mso-list-template-ids:-442978178 67698705 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l1:level1
        {mso-level-text:"%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Then you could develop a custom handler that returns he rotated graphic as they are being retrieved from a URL.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>There is no provision to rotate an inline object, it’s not clear to me how you would even format that. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I would think it a trivial exercise to run a single program that rotates all of the 5000 PDFs on the server, copying them to something like filename-rotated.pdf. Then you retrieve those. Certainly that is much easier .<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Say the graphic in question is 1in high x 14pt wide and you what it rotated 90 in the middle of a paragraph. What do you expect the formatting to do as the image now extends outward by 6 lines? It would format like this. Is that what you are looking for?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Helvetica","sans-serif";color:#333333;background:#EEEEFF'>Takimata erat at et no. Sanctus takimata aliquyam dolore ea nisl kasd nonummy soluta et eirmod clita magna vero nihil sed et eos eum. Vel elit sit in vulputate elit consectetuer aliquip et zzril sea rebum delenit praesent diam duo at consetetur clita. Sit <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Helvetica","sans-serif";color:#333333;background:#EEEEFF'>                                                </span><span style='font-size:10.5pt;font-family:"Helvetica","sans-serif";color:red;background:#EEEEFF'>x<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Helvetica","sans-serif";color:red;background:#EEEEFF'>                                                x<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Helvetica","sans-serif";color:red;background:#EEEEFF'>                                                x<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Helvetica","sans-serif";color:red;background:#EEEEFF'>                                                x<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Helvetica","sans-serif";color:red;background:#EEEEFF'>                                                x<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.5pt;font-family:"Helvetica","sans-serif";color:#333333;background:#EEEEFF'>hendrerit accusam magna reb  </span><span style='font-size:10.5pt;font-family:"Helvetica","sans-serif";color:red;background:#EEEEFF'>x</span><span style='font-size:10.5pt;font-family:"Helvetica","sans-serif";color:#333333;background:#EEEEFF'>  at aliquam diam dolores dolores clita. Eos nonumy no consetetur takimata nostrud eirmod eu vero iriure kasd dolor. Duo et ea erat facilisis et eos lorem et. Sea diam justo voluptua veniam rebum. Lorem amet dolor eirmod sed et tempor sit elit esse est lorem invidunt velit ad vulputate. Sit vero est sea ipsum sit diam kasd nonumy eirmod eleifend accusam.</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Now, that said – do you know the dimensions of the PDF files? If you *<b>know</b>* the dimensions then you could accomplish this with some minor coding.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l1 level1 lfo2'><![if !supportLists]><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><span style='mso-list:Ignore'>1)<span style='font:7.0pt "Times New Roman"'>      </span></span></span><![endif]><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Put down any image scaled to your known width and height. Do this so that the formatter takes care of flowing the text properly<o:p></o:p></span></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l1 level1 lfo2'><![if !supportLists]><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><span style='mso-list:Ignore'>2)<span style='font:7.0pt "Times New Roman"'>      </span></span></span><![endif]><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Put a pinpoint at each location with the file name that you wish to retrieve<o:p></o:p></span></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l1 level1 lfo2'><![if !supportLists]><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><span style='mso-list:Ignore'>3)<span style='font:7.0pt "Times New Roman"'>      </span></span></span><![endif]><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Run that file to intermediate format<o:p></o:p></span></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l1 level1 lfo2'><![if !supportLists]><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><span style='mso-list:Ignore'>4)<span style='font:7.0pt "Times New Roman"'>      </span></span></span><![endif]><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Write a program/XSL transform that uses xep:transform which I have posted about before. It would replace the xep:image URL with your PDF file URL and apply xep:transform before and after the image to rotate it,<o:p></o:p></span></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l1 level1 lfo2'><![if !supportLists]><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><span style='mso-list:Ignore'>5)<span style='font:7.0pt "Times New Roman"'>      </span></span></span><![endif]><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Run that XSL against the XEP intermediate and then run the result to PDF.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>A slightly more advanced solution if you do not know the dimensions would be to format all the PDF images once, just the images into a single XEP Intermediate file, put each into a rotated block container. >From that file you could extract the XEP Intermediate to substitute into the second file created as above, using the known sizes obtained from this file.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Kevin Brown<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>RenderX<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Xep-support [mailto:xep-support-bounces@renderx.com] <b>On Behalf Of </b>Kirch Fritz<br><b>Sent:</b> Friday, October 31, 2014 8:22 AM<br><b>To:</b> RenderX Community Support List<br><b>Subject:</b> [xep-support] Re: How to do rotated inline graphic<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Sorry Kevin, but rotating the graphic in an external program is no solution, because I only have the URL of this files.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I will see no pleasure in downloading manually 5000 PDF-files, rotating 5000 PDF files by hand  and then use the rotated files instead of the original ones.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span lang=DE style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Von:</span></b><span lang=DE style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> Xep-support [<a href="mailto:xep-support-bounces@renderx.com">mailto:xep-support-bounces@renderx.com</a>] <b>Im Auftrag von </b>Kevin Brown<br><b>Gesendet:</b> Donnerstag, 30. Oktober 2014 15:20<br><b>An:</b> RenderX Community Support List<br><b>Betreff:</b> [xep-support] Re: How to do rotated inline graphic<o:p></o:p></span></p><p class=MsoNormal><span lang=DE><o:p> </o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt'><span lang=DE>Rotate the graphic in and external image program?<br><br>Kevin Brown<br><br>Kirch Fritz <<a href="mailto:Friedrich.Kirch@it2media.de">Friedrich.Kirch@it2media.de</a>> wrote:<o:p></o:p></span></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=DE>Hello,<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=DE> <o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I want to work with rotated inline graphics, but I see no way how to do this with xsl-fo.<span lang=DE><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Reference-orientation is not possible with external-graphics.<span lang=DE><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Any ideas?<span lang=DE><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <span lang=DE><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><fo:block><span lang=DE><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Some text <fo:external-graphic src=”url(‘myfile.png’)” reference-orientation=”90”/> more text <span lang=DE><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=DE></fo:block><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=DE> <o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=DE>Kind regards<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=DE style='color:#1F497D'> </span><span lang=DE><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=DE>Friedrich Kirch<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=DE>PDP-CBM Content Base & Media<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=DE style='font-size:10.5pt'> </span><span lang=DE><o:p></o:p></span></p></div><p><span lang=DE style='font-size:7.5pt;font-family:"Arial","sans-serif"'>**********************************************************************<br>Diese E-Mail wurde auf Viren ueberprueft.<br></span><span lang=DE><a href="mailto:mailsweeper@it2media.de"><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>mailsweeper@it2media.de</span></a><br></span><span lang=DE style='font-size:7.5pt;font-family:"Arial","sans-serif"'>**********************************************************************</span><span lang=DE><o:p></o:p></span></p><p><span lang=DE><o:p> </o:p></span></p><p class=MsoNormal><span lang=DE>!DSPAM:87,5453a92e10104001071372! <o:p></o:p></span></p></div></body></html>