<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: OLE Insert image (from application server) into word document in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/ole-insert-image-from-application-server-into-word-document/m-p/1036992#M85335</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the same functionality in my program. Is there any solution for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ask&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jan 2006 07:14:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-01-24T07:14:52Z</dc:date>
    <item>
      <title>OLE Insert image (from application server) into word document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ole-insert-image-from-application-server-into-word-document/m-p/1036990#M85333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    I need to insert an image into word document (this images has been upload from OAAD transaction and are stored in AL11 in dir_home dicectory), so this images are already in system. I know that with CALL METHOD OF wordobj 'InsertPicture' instruction you can insert an imagen from c: file (local pc file) but I don´t know how can I do that from application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Thanks in advance&lt;/P&gt;&lt;P&gt;Abel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2005 15:11:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ole-insert-image-from-application-server-into-word-document/m-p/1036990#M85333</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-27T15:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: OLE Insert image (from application server) into word document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ole-insert-image-from-application-server-into-word-document/m-p/1036991#M85334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have you solved this problem? I need to export a picture from server to word too and I cannot do it. In addition, when I export the picture from PC to word, I cannot modify the size and the image appears very high. Could you tell me if you can modify the image?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2005 10:14:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ole-insert-image-from-application-server-into-word-document/m-p/1036991#M85334</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-23T10:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: OLE Insert image (from application server) into word document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ole-insert-image-from-application-server-into-word-document/m-p/1036992#M85335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the same functionality in my program. Is there any solution for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ask&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2006 07:14:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ole-insert-image-from-application-server-into-word-document/m-p/1036992#M85335</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-24T07:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: OLE Insert image (from application server) into word document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ole-insert-image-from-application-server-into-word-document/m-p/1036993#M85336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having this issue as well! Hope experts out there can help on this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 08:19:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ole-insert-image-from-application-server-into-word-document/m-p/1036993#M85336</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T08:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: OLE Insert image (from application server) into word document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ole-insert-image-from-application-server-into-word-document/m-p/1036994#M85337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One way to do this would be to &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- download the image to a temporary directory on your presentation server (the local PC).  Use ARCHIVFILE_SERVER_TO_CLIENT .&lt;/P&gt;&lt;P&gt;- Then load the image to WORD using OLE automation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*The object to manipulate word... &lt;/P&gt;&lt;P&gt;INCLUDE ole2incl. &lt;/P&gt;&lt;P&gt;DATA: &lt;/P&gt;&lt;P&gt;word  TYPE ole2_object, &lt;/P&gt;&lt;P&gt;docs  TYPE ole2_object,&lt;/P&gt;&lt;P&gt;doc    TYPE ole2_object,&lt;/P&gt;&lt;P&gt;selection TYPE ole2_object,&lt;/P&gt;&lt;P&gt;... &lt;/P&gt;&lt;P&gt;*Create the required objects... &lt;/P&gt;&lt;P&gt;CREATE OBJECT word 'WORD.APPLICATION'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD OF word 'Documents' = docs.&lt;/P&gt;&lt;P&gt;CALL METHOD OF docs 'Add' = doc.&lt;/P&gt;&lt;P&gt;CALL METHOD OF doc 'Activate'.&lt;/P&gt;&lt;P&gt;GET PROPERTY OF word 'Selection' = selection.&lt;/P&gt;&lt;P&gt;... &lt;/P&gt;&lt;P&gt;*To make word visible &lt;/P&gt;&lt;P&gt;SET PROPERTY OF word 'Visible' = 1. &lt;/P&gt;&lt;P&gt;... &lt;/P&gt;&lt;P&gt;*To write the image ... &lt;/P&gt;&lt;P&gt;*define the inlineshapes or shapes objects and then CALL the word method AddPicture of these objects  to add the image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*vba code examples for this would be&lt;/P&gt;&lt;P&gt;*wd.Selection.InlineShapes.AddPicture will add a picture in line with the text; &lt;/P&gt;&lt;P&gt;*wdDoc.Shapes.AddPicture will add a picture that can float in front/behind text.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   ActiveDocument.Shapes.AddPicture _&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       FileName:="C:\Program Files\Microsoft Office\" _  &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           &amp;amp; "Office\Bitmaps\Styles\stone.bmp", _&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       LinkToFile:=True, SaveWithDocument:=True&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will let you put together the code.  I will need to do this in a few months but have other deadlines currenlty.&lt;/P&gt;&lt;P&gt;... &lt;/P&gt;&lt;P&gt;*To save and exit word... &lt;/P&gt;&lt;P&gt;CALL METHOD OF doc 'SaveAs' EXPORTING #1 = 'c:\testword.doc'. &lt;/P&gt;&lt;P&gt;CALL METHOD OF word 'Quit'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please do post your results and award as appropriate if this is helpful.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Olivier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2007 06:01:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ole-insert-image-from-application-server-into-word-document/m-p/1036994#M85337</guid>
      <dc:creator>olivier_muff</dc:creator>
      <dc:date>2007-11-21T06:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: OLE Insert image (from application server) into word document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ole-insert-image-from-application-server-into-word-document/m-p/1036995#M85338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Olivier&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope all is well with you.&lt;/P&gt;&lt;P&gt;Was this performed successfully ?Exporting an image from the presentation server to the word document ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Darryl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 09:29:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ole-insert-image-from-application-server-into-word-document/m-p/1036995#M85338</guid>
      <dc:creator>former_member211778</dc:creator>
      <dc:date>2014-09-11T09:29:06Z</dc:date>
    </item>
  </channel>
</rss>

