Jump to content

Include picture to MS Word


woodzu

Recommended Posts

Hello.
In first i'm sorry for my english.

Is it passible to include some picture or VisualBasic macro into the existing MS World document.
Important: Not with a COM object, becouse this script must by run also with linux too.

Classes in the phpclasses dot org, arent have fuctionl like that.

Thenks for some sugestions.

----------------------------------
$name = 'Peter';$from = 'Poland';
Link to comment
Share on other sites

A sample is in this addres:

[url=http://www.cv-raport.pl/ocv/proba.php]http://www.cv-raport.pl/ocv/proba.php[/url]

"Twój e-mail" [b]is your e-mail adress[/b]
"Twoje imię i nazwisko" [b]is your Name[/b]
"Temat:" [b]is a title of e-mail[/b]
"Załączniki:" [b]a DOC file[/b]

Send some Word to yourself, see on your e-mail,  next, when you open this Word document, in left on this site you can see data and time when its be open.

This is a sample method of include some image to Word. PHP script in the fly add to Word file a image (1px x 3px), this image has send a query 2 PHP.... add Word function is:

[quote]INCLUDEPICTURE "http://ww.some.link.pl/photo.jpg?usrer_id=123&valid_id=1234567" \* MERGEFORMAT \d[/quote]

or VisualBasic Macro:

[quote]Attribute VB_Name = "Autoopen"
Private Sub Document_Open()
Selection.InlineShapes.AddPicture FileName:= _
    "http://ww.some.link.pl/photo.jpg?usrer_id=123&valid_id=1234567", _
    LinkToFile:=True, SaveWithDocument:=False
End Sub[/quote]


How working this iclude image metod? Server is Apache on linux

-----------------------------------------
HuggieBear, THX for repost
Peter form poland

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.