Embedding images into Pocket WordCESD-S-0111
The Pocket Word application lacks a menu driven facility to embed graphical elements into a Pocket Word document. This article outlines the steps involved in inserting a graphical element into a PWD document on the Handheld PC.
Element orientated files were introduced into Windows by Microsoft under Windows 3.0 and integrated into Windows with Windows for Workgroups using the Object Linking and Embedding (OLE) API. An OLE subset is available to applications written for Windows CE which make use of common control dialogues or are written to provide an Object Linked user experience. Pocket Word is one such example of a OLE enabled application.
Without a graphical interface to facilitate the embedding if a graphics files as in the "Insert image from file" functionality in Microsoft Word, embedding must occur via the Windows clipboard. When information is loaded into the clipboard (user populated memory synonymous with cut/copy commands) it is stored in the source documents original format. When the information is returned to a program session (through the paste command) it is inserted into the program in its original format, and in its entirety, severing the link to the original file.
Example files are available to download for Windows CE 1.0x and above from the CESD download centre.
In order to deposit graphical information into the clipboard you require a graphics application with clipboard support. For the purpose of this guide, Microsoft Pocket Paint, available for all Handheld PC versions as part of the three H/PC Power Toys sets will be used.
As a result of the lack of image controls, only basic formatting is available in Pocket Word. The image will respond to paragraph alignment changes, and can be resized.
To resize the image