Picture in word document

Hi,
can I insert a picture defined with SE78 in a word document using OLE method?
Regards
Patrick

Sure,
I need to make an abap program to execute a word document
in this document I want to insert a picture
we have a picture in SAP in the transaction SE78 (Administration of Form Graphics)
I want to know if I can use this picture or if the only method is to have the picture in local into the PC
regards
Patrick

Similar Messages

  • OLE automation-To insert and print picture in word document

    We are upgrading from 4.6C to ECC 6.0.One of our report program to print CV and insert photo in the word document works fine in version 4.6c.The methods to draw text box and insert photo to the required size don't work in ECC 6.0.seeking your advise.
    I have attached the code:
    Insert DrawingBox for CV Photo
      call method of wordobj 'DrawTextbox'.
      call method of wordobj 'DrawSetInsertToTextbox'..
      call method of wordobj 'FormatDrawingObject'
               exporting
                  #01 = '0'              "Tab
                  #02 = '1'              "FillColor
                  #03 = '1'              "LineColor
                  #04 = '8'              "FillPatternColor
                  #05 = '0'              "FillPattern
                  #06 = '1'              "LineType
                  #07 = '0'              "LineStyle
                  #08 = '0.75 pt'        "LineWeight
                  #09 = '0'              "ArrowStyle
                  #10 = '0'              "ArrowWidth
                  #11 = '- 1'            "ArrowLength  <--
                  #12 = '0'              "Shadow
                  #13 = '0'              "RoundCorners
                  #14 = '15.7 cm'        "HorizontalPos
                  #15 = '1'              "HorizontalFrom
                  #16 = '5.0 cm'         "VerticalPos
                  #17 = '1'              "VerticalFrom
                  #18 = '0'              "LockAnchor
                  #19 = '4 cm'           "Height
                  #20 = '4 cm'           "Width
                  #21 = '1 pt' .         "InternalMargin
      if not path1 is initial.
        call method of wordobj 'InsertPicture'
          exporting #1 = path1         "Name
                    #2 = '1'.          "LinkToFile
       endif.
      call method of wordobj 'DrawUnselect'.
      call method of wordobj 'EndOfDocument'.
      call method of wordobj 'InsertPara'.
    Thanks..

    hi ,
    use this for the custom pictures
    Re: OLE / ms WORD / Create new document, insert image and print
    use this for getting sap icons ...
    Re: How to get SAP Icons as OLE Object

  • OLE automation To Print picture in word document

    We are upgrading from 4.6c to ECC 6.0.One of Our OLE automation Report is used to launch the word document to print CV and photo.But the program acts differently to the different Presentation servers even though they all have the same GUI and word versions.Text box and images are drawn at different sizes and at different locations in the word document.
    Please advise.

    Sure,
    I need to make an abap program to execute a word document
    in this document I want to insert a picture
    we have a picture in SAP in the transaction SE78 (Administration of Form Graphics)
    I want to know if I can use this picture or if the only method is to have the picture in local into the PC
    regards
    Patrick

  • Insert .bmp picture in word document

    Hi All,
    My Requirement is:
    I need to insert one Bitmap image at the end of word document.
    There is one MS Word document file and also there is one bitmap .bmp file.
    My requirement is to read the file for change and insert the bitmap image (which is a signature) at the end.
    Do I need to use OLE methods, if yes please guide how?
    Secondly if there is any Sap standard function module for it?
    Pls guide me on this.
    Rishi

    hi ,
    use this for the custom pictures
    Re: OLE / ms WORD / Create new document, insert image and print
    use this for getting sap icons ...
    Re: How to get SAP Icons as OLE Object

  • Convert picture from word document to .jpg

    I'd like to know how to copy a picture from a word document and convert it to a .jpg format so I can use iphoto or other image software to edit and print it.  I tried a work-around that's not very satisfactory, that is to print the picture on photo paper, then scan it and save it as a .jpg, but as you would expect, I lose quality.

    Why don't you just use a Word converter to render and convert  Word document and the images cotained in Word file into jpeg image directly? Saving the Word file cotaining pictures as pdf and save as jpeg is more complicate converting the word file into jpeg image directly.

  • How can I change a Microsoft Word document file into a picture file?

    How can I change a Microsoft Word document file into a picture or jpeg file? I am wanting to make the image I created my background on my macbook pro.

    After I had the document image the way I wanted it, I saved it as a web page and went from there. Below are the steps starting after I did the "save as" option in Word:
    1) Select "Save As Web Page". I changed the location from documents to pictures when the window came up to save it as a web page.
    2) Go to "Finder" on you main screen, or if it's on your main toolbar at the bottom.
    3) Click on the "Pictures" tab and find the file you just re-saved as a web page. (I included "web page" or something similar in the new title so I could easily find the correct file I was looking for)
    4) Open the correct file and then "right click" on the actual image. (Use 2 fingers to do so on a Mac)
    5) Select 'Use Image As Desktop Picture", and voilà! The personally created image, or whatever it is that you wanted, is now your background.
    **One problem I encountered while doing this is that the image would show up like it was right-aligned in relation to the whole screen. The only way I could figure how to fix this was to go back to the very original document in Word, (the one before it was saved as a web page), and move everything over to the left.
    I hope this helps someone else who was as frustrated as I was with something that I thought would have been very simple to do! If you have any tips or suggestions of your own, please feel free to share. : )

  • When trying to look at pix on a cd, it comes up as word document and have to right click on preview to see picture. Why

    On my desktop, when wanting to see pictures on a CD, if I click on the picture icon it open as a word document. I must right click on the icon then click on preview and can then see all pictures on the CD. This just started after the last Firebos update. What needs to be done to correct. I have no problem seeing the pictures on my laptop which doen not have Firefox.

    Firefox is a web browser, and your problem is associated with how Windows handles image files. Firefox doesn't even need to be running, so I don't see how it could be associated with your problem. If the problem started around the same time as a Firefox update, I'm willing to bet that it was just a coincidence.
    Try asking in a Windows forum. http://windows.microsoft.com/en-US/windows/help/community

  • Word document with picture JPEG

    When I save a word document with a JPEG picture inserted to PDF the picture appears gray?

    Hi Martin,
    Are you viewing that PDF in Adobe Reader or Acrobat (and what version)?
    It sounds like you may have an option selected in the preferences that causes large images to appear as gray boxes. Please try this:
    Choose Edit > Preferences (Windows) or Acrobat/Reader > Preferences (Mac OS).
    Click the Page Display category on the left.
    Select Show Large Images, and then click OK.
    Did that do the trick?
    Best,
    Sara

  • How can I copy an image/picture from the internet into a word document

    I am trying to copy and paste an image or picture from the internet and insert it into a word document. I select and copy the image from the internet page. I then go to the word document and select past special. When I select 'paste special' it only allows text to be copied and no images or pictures. If I also try to drag the image and place it in the word document. It does not allow me to do so. Any suggestions to fix this issue?

    Considering this is a MS Word issue I'd recommend reposting to that forum. You can find one at:
    http://www.officeformac.com/productforums/
    Regards,
    Roger

  • Convert picture imported to Word document with VBA

    I've Word documents that contain acronyms and a macro that searches the document for them so that they can be identified for an acronym table. So far, I can search a document's text and tables but not the pictures with the macro. I've found that if
    I manually select the picture, right click and select group->ungroup, I get a MsgBox with the message "This is an imported picture, not a group. Do you want to convert it to a Microsoft Office drawing object?" Selecting the yes button converts
    it into many Shapes objects that are then searchable.
    I've determined that the picture (object) type prior to conversion is msoPicture and that it gets converted to an msoCanvas object with many Shape objects on it.
    I've built a macro that can loop through various Canvas objects and then the Shape objects to find the acronyms. Unfortunately, I haven't been able to find a way to convert the image/object from msoPicture to msoCanvas in VBA. Does anyone know how to do
    this? Thanks.

    Hi,
    As far as I know, we can’t convert a picture to canvas through VBA.
    For that process through the UI, I think it add the canvas first, then add the picture to that canvas.
    For your requirement, you could add the canvas first, then add the picture to tat canvas.
    Sub NewCanvasPicture()
    Dim shpCanvas As Shape
    'Add a drawing canvas to the active document
    Set shpCanvas = ActiveDocument.Shapes _
    .AddCanvas(Left:=100, Top:=75, _
    Width:=200, Height:=300)
    'Add a graphic to the drawing canvas
    shpCanvas.CanvasItems.AddPicture _
    FileName:="C:\Program Files\Microsoft Office\" & _
    "Office\Bitmaps\Styles\stone.bmp", _
    LinkToFile:=False, SaveWithDocument:=True
    End Sub
    Regards
    Starain
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Word Document with Pictures to PDF

    When I try to make a pdf from a Word document that contains pictures, the pictures show up in Acrobat in sections -- not as one piece. I've tried printing to Distiller and printing to PDF. What is causing this?

    Sorry. Here's more specifics -- I'm using Acrobat 6, Distiller 6, WinXP, Word 2003. Since the Word files are customer-provided, I don't know what kind of files the graphics are. By sections, I mean that the graphic is in stripes. For instance, a picture that measures 3.79x5.13 in Word becomes 7 pictures each measuring 3.79x0.75 when viewed in Acrobat after printing to Adobe PDF. So tell me, why does this happen?

  • Cannot import a word document with Pictures into iWEB

    I have a small word document that has embedded pictures included in the document when i try to copy it to a page in iWEB i get the text but no pictures, i assume this is because it has no media placeholder included and iWEB doesn't recognize the pictures and create Media Holders, how do i get round this?, when i try to overlay a picture directly onto the web page I cannot configure the WRAP Text in the text inspect panel, so the text and the pictures format looks clumsey
    Anyone any ideas?
    Thx
    John
    Message was edited by: John...

    OK, but were are they saved? I have looked in the folder were the document is saved and there is nothing .....
    I tried to Copy and Paste an image into the text box and yes at first glance it appears to be "in the Box" but on my system it is actually overlaying the text box, ie I cannot control the picture location from within the text box.
    If you understand what I am trying to say
    John

  • Inserting Picture (from Web- through Webdav) to Word document using VSTO code

    Hi,
    I have been trying to insert an image/picture to current selection in word. with help of code -
    Microsoft.Office.Interop.Word.InlineShape s = this.Application.Selection.InlineShapes.AddPicture(
    @"http://127.0.0.1:9001/test/myimage.png", true, true, Type.Missing);
    This code works fine if image is on desktop or network shared location but some issues for URL exposed through Webdav.
    On inserting the picture word shows - "The linked image cannot be displayed....." message. If we close and open word document again then image appears properly.
    Some observations:
    1. If we use same option through Ribbon  "Insert -> Picture -> Enter path and click on "Link to File" then we get Prompt for Wevdav password (Only once, later Word caches it) and linked images appear properly.
    2. Updating the shape explicitly wouldnt help. 
    s.LinkFormat.Update();
    What we are looking for is, Does Ribbon "Insert" functionality do something additional to prompt Webdav authentication to cache? if we want to achieve the same? what needs to be invoked before we make call to AddPicture API?
    Thanks
    H

    Thanks for the response.. 
    No, when document is opened again, then you dont need to enter the password. 
    Somehow on document open event MS word knows how to retreive password from cookie for given domain.
    When you insert the image using ribbon -> insert picture option, 
    MS Word first looks into cache if the domain cokkie already available then bypass authentication/password prompt
    Otherwise it would show the prompt and store the cookie in cache again.
    The mystry is how MS-Word interacts with this "cached cookies"
    while doing more reading on this, it seems MS Word has been using Klink.dll for this kind of functionality https://support.microsoft.com/en-us/kb/899927 but it would be great if you can provide more pointers.
    >>Could you share an image link of Webdav?
    Since, it's my local webdav server, you would not be able to access the image link, may be you can upload an image to sharepoint (as sharepoint also supports webdav) and use that for reproducing this problem at your end.
    Thanks
    H

  • After takimg the picture of my document and scanning into the adobe PDF it does not read clearly words are meshed together

    after taking a picture of my document and scanning into the adobe PDF
    it does not read clearly.  words are meshed together

    Hi melisaf76024648,
    Can you please tell me what process you're using to create the PDF? Are you scanning directly from the scanner into Acrobat? Or, are you scanning the document, and then using Adobe PDF Pack to convert the scanned image to PDF? Or, some other method?
    Please walk me through how you're creating the PDF, and we will have a better idea where things went awry.
    Best,
    Sara

  • I want to know how to turn a word document into a jpeg so I can put the document on Facebook as a picture. I have made posters and if I do a print screen they are unable to be read, or if i turn it into a PDF there is no save as jpeg??

    I want to know how to turn a word document into a jpeg so I can put the document on Facebook as a picture. I have made posters and if I do a print screen they are unable to be read, or if i turn it into a PDF there is no save as jpeg??

    iOS device backups are stored in your iTunes library.
    Move your iTunes library to an external drive.

Maybe you are looking for

  • Is there a limit to number of fonts Font Book will manage?

    i'm using an old font manager that's causing issues. would love to just use apple's font book. however, i have hundreds (if not thousands) of fonts. is there a limit to what font book will handle?

  • Transfering itunes library from old mac book to new imac

    I just purchased a new iMac and when I transfered data from my old macbook to my new iMac, my itunes library didn't transfer -- everything else did just fine.  Does anyone know why or how to transfer either from the macbook or my ipod to my new compu

  • How to Compile DLL?

    Dear friend, I tried very hard (couple of days) to create a dll file, which contains 2 C++ file and 2 header file and 2 external thirty-party libraries (*.lib). When I used the following command to generate *.dll file, some errors happened. [COMMAND]

  • Help Printing from Windows 7 to shared printer on Tiger/Mac Mini

    UGH! My folks have long been running on a Power PC Mac Mini with Tiger. The Mac has an Epson Stylus CX4200 - works great in this configuration. Unfortunately, we have a need to implement a laptop with Windows 7 running. I'd like to print to the Mac's

  • Accepted update and now everything is gone

    I connected an ipod touch and did update then got a message saying in recovery mode.Nothing is showing under device in itunes and Ipod shows pic of usb cord and itunes logo.Won't turn on. Help please my daughter made a movie of my sisters wedding on