Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Insert Images, Objects and Frames
In creating your document or template, you might want to embed or display images and other objects in the text, to insert external information and/or structure the text and graphics on a page. You could insert, for example:
· | An image in the text or as background to the text |
· | A link to an image in the text |
· | An Object Linking and Embedding (OLE) object, which you create and edit in the document using an external application |
· | A frame - a rectangular border within the text that can contain separate text and pictures, and that the existing text flows around |
· | A drawing object - a rectangle, text box or line that can sit over the existing text |
· | Another document file |
Having inserted an object, you can subsequently move, edit or delete it.
Access Select options from the menu bar at the top of the Document Editor window, or right-click within either:
- The Content panel of the Document Template Designer or
- The text area of the document
Insert items
To |
Action |
See also |
||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Insert a picture in the document |
You can insert a picture bitmap or Windows metafile in your document as either an embedded picture or a link to the external picture file. Position the cursor at the point at which to insert the picture, and select either:
A browser dialog displays, through which you select the picture to insert in the document; the picture is shown at the current cursor location. The embedded picture is saved within the document; only the filename of the linked picture is saved with the document, which is a better option if you intend to edit the picture over time.
|
|
||||||||||||||
Embed an OLE object in the text |
Position the cursor at the point at which to embed the object, and select the Insert | OLE Object menu option. The Insert Object dialog displays, listing the applications that are available to create the object. When you select an application, the editor launches it and you create the object; when you save the application, the editor inserts an icon or view that represents the inserted object. You can also use the Edit | Paste Special menu option to import OLE objects, provided that the object is available in the clipboard. You can later edit the object using the application, by double-clicking on the object or by selecting the Edit | Edit OLE Object menu option.
|
|
||||||||||||||
Change the size and alignment of an embedded picture |
Click on the picture and select the Edit | Edit Picture menu option; the Edit Current Picture Parameters dialog displays, through which you can change the height and width of the picture, in inches. You can also align the top, middle, or bottom of the picture with the baseline of any text on the same line as the picture, or offset the bottom of the picture from that baseline by any number of twips.
|
|
||||||||||||||
Insert a background or watermark picture for the document pages (document report templates) |
Select the Other | Watermark Picture menu option; a browser dialog displays, through which you select the graphic file to insert as a watermark. The picture occupies the entire text area, and is displayed as a washed-out image. If you choose an image that is already washed-out, no watermark is displayed at all. To remove the watermark image, deselect the Watermark Picture menu option.
|
|
||||||||||||||
Insert a document File |
Position the cursor at the point at which to insert the file, and select the Insert | Insert RTF File menu option.
|
|
||||||||||||||
Embed a frame at the cursor position
|
Select the Insert | Frame menu option. The border of the frame displays, with the cursor at the top left corner. You can change the size of the frame by clicking on the border and dragging the small black 'handles'.
|
|
||||||||||||||
Embed a drawing object at the cursor position
|
Select the Insert | Drawing Object menu option. The Select Drawing Object dialog displays, on which you select the radio button for either a:
Click on the OK button; the selected object displays, overlaid on the existing document content. If you wish, you can change the size of the object by clicking on the border and dragging the small black 'handles'. You can also change the appearance and the relationship of the object to the document text (see below).
|
|
||||||||||||||
Move the frame or drawing object |
Click inside the outline and then move the cursor just outside the outline so that the cursor changes to a plus-shape. Drag the plus shape (and hence the outline) to the new position.
|
|
||||||||||||||
Edit the border, background and impact on document text of a drawing object |
Select the Edit | Edit Frame/Drawing Object | Edit Drawing Object menu option. The Line and Fill Attributes dialog displays. Select the options to define:
|
|
||||||||||||||
Insert text into the frame, text box or rectangle |
Click inside the outline and type the text at the cursor position. The text wraps at the right hand side of the box and, for a:
If you change the width of the outline, any text inside the outline is automatically wrapped to adjust to the new width.
|
|
||||||||||||||
Rotate text to display it vertically in the frame or text box
|
Select the Edit | Edit Frame/Drawing Object | Rotate Text menu option. The Text rotation dialog displays; select the radio button for the text direction you want to apply:
If the text is running horizontally, you can type as much as you need - the box height increases to accommodate the text. If the text is running vertically, and it flows outside the box, you adjust the box height and width manually to accommodate your text. Click on the OK button to apply the change.
|
|
||||||||||||||
Insert a picture into a frame or drawing object text box |
Click inside the outline and either Insert the picture (see above) or copy and paste it at the cursor position. If the frame or text box contains only the picture, the picture size is automatically adjusted to as nearly fill the outline as possible without distorting the image. If you change the width or height of the box, the picture is adjusted to completely fill the outline; you continue manually adjusting the outline to reduce the distortion of the image.
|
|
||||||||||||||
Lock a frame or drawing object to a point on the page
|
You can fix the position of the outline to a specific point so that as you enter and format the text the outline maintains its position relative to that point. The default position is relative to the first character of the paragraph, in which case the outline moves on the page with any change that affects the position of the paragraph. You can also fix the position relative to either the:
In these cases, if the document text on the page is adjusted it flows past the outline. Click on the outline and select the Edit | Edit Frame/Drawing Object | Vertical Base Position menu option. The Object Position parameters dialog displays. Select the radio button for the locking point you prefer:
Click on the OK button to apply the lock.
|
|
||||||||||||||
Delete a frame or drawing object |
Click on the outline and press Delete. The editor prompts you to confirm the deletion; click on the Yes button. This deletion is reversible - press Ctrl+Z or select the Edit | Undo menu option.
|
|