MagicDraw 18.5 Documentation

Skip to end of metadata
Go to start of metadata

Using the HTML editor you can easily add or edit HTML text. It also allows you to preserve the text format when copying formatted text.


To set the note / text box / separator text as HTML


Do one of the following:

  • Select a note/text box shape and click the HTML button when Switch To HTML Text appears on the lower-left corner of the shape.
  • From the note/text box shortcut menu, select HTML Text.
  • Draw the note/text box, using the Note(HTML text) or Text Box(HTML text) buttons on the diagram pallet.

 

Click the text area on the selected shape or start typing to open the HTML editor toolbar. The buttons on the HTML editor toolbar have the same functions as a normal editing toolbar. 

Figure: HTML editor toolbar

You can write HTML text in various dialogs, but first, you have to turn on the HTML mode.

 

To turn on the HTML mode in a dialog


  • The only thing you need to do it click to select the HTML check box. There are several ways of reaching this check box, here are the different scenarios:
    1. Element Specification window:
      1. Open an element's specification window.
      2. Click the Documentation/Hyperlinks tab.
      3. Check HTML. Click Close. See figure below.

        Figure: HTML editor toolbar in Documentation/Hyperlinks tab of element Specification window 
    2. In the Model Browser: 
      1. Click the element in the Containment Tree.
      2. Click the Documentation panel.
      3. Click HTML, then click anywhere on the diagram pane. See figure below.

        Figure: HTML editor toolbar in Documentation panel on Model Browser 
    3. Element Specification window: 
      1. Open an element specification window.
      2. Click the Tags property group, when editing a tagged value.
      3. Click HTML. Then click Close. See figure below.

        Figure: HTML editor toolbar in Tags tab of element Specification window when editing tag value
    4. In the To Do field:
      1. Open an element specification window.
      2. In the dialog, click the To Do field to edit it. 
      3. Click the  button to open the To Do text dialog.
      4. In the To Do text dialog, click HTML. Edit the text as you wish, then click OK then click Close.

        Figure: HTML editor toolbar in To Do dialog 

You can also use the HTML editor toolbar, when editing a tagged value directly on the element’s shape.


To use the HTML editor toolbar for editing a tagged value


  • On the element shape, double-click the tagged value. The HTML mode will be turned on and the HTML editor toolbar will open for editing this tagged value.


  • No labels