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
- An Object Linking and Embedding (OLE) object, which you create and edit 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.
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 'Document-Edit > Edit > 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 option 'Document-Edit > Edit > Edit > Paste Special' 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 option 'Document-Edit > Edit > Edit > Edit OLE Object'.
|Scroll, Search and Select Text
Change the size and alignment of an embedded picture
Click on the picture and select the option 'Document-Edit > Edit > Edit > Edit Picture'; the 'Edit Current Picture' 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 option 'Document-Edit > File > Manage > Watermark Picture'; 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 option 'Document-Edit > File > Manage > Watermark Picture'.
Insert a document File
Position the cursor at the point at which to insert the file, and select the option 'Document-Edit > Edit > Insert > Insert RTF File'.
Embed a frame at the cursor position
Select the option 'Document-Edit > Edit > Insert > Frame'.
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 option 'Document-Edit > Edit > Insert > Drawing Object'.
The 'Select Drawing Object Type' dialog displays, on which you select the radio button for either a:
Click on the ; the selected object displays, overlaid on the existing document content. If required, 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.
Move the frame or drawing object
Click on the outline of the frame or drawing object 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 drawing object by clicking on its outline, then select the option 'Document-Edit > Edit > Edit > Edit Frame/Drawing Object > Edit Drawing Object'.
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 option 'Document-Edit > Edit > Edit > Edit Frame/Drawing Object > Rotate Text'. 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 to apply the change.
Insert a picture into a frame or drawing object text box
Click inside the outline and either insert the picture as previously explained, 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 option 'Document-Edit > Edit > Edit > Edit Frame/Drawing Object > Vertical Base Position' menu option.
The 'Object Position' dialog displays. Select the radio button for the locking point you prefer:
Click on the to apply the lock.
Delete a frame or drawing object
Click on the outline and press the .
The editor prompts you to confirm the deletion; click on the .
This deletion is reversible - press or select the option 'Document-Edit > Edit > Edit > Undo'.