UML Designer User's Guide


Publishing automatically

The fastest way to publish your model is to automatically generate the Publication element and output document in a single step. This is generally the easiest way to create published output, and you can publish any model this way.

To publish automatically, follow these steps:

  1. In the Relationships Browser, select the element you want to publish. This can either be the model element or an element within the model.
  2. If you want to include the element and any elements it links to, select Publish>With Children from the pop-up menu. For example, you might use this option to publish an entire model, or to publish a protocol along with all of its messages, parameters, and return values.

    If you want to include only the selected element, select Publish>Single. The resulting publication will include only the text of the selected element.

    A dialog now appears prompting you for the publishing options you want to use.


    Publishing options dialog

  3. In the File name field, specify the name of the output file. Select the ... button to open a file dialog from which you can select a location for the output file.
  4. In the Save as type field, select the format of the published output:
  5. In the Page size field, select the page size you want to use for an RTF document. (This field is disabled if you have selected another output format.)
  6. In the Groups To Include field, select which groups you want to include in the published document. To include all elements regardless of group membership, select Everything (this is the default).
  7. Select the Create Publication Named check box if you want to save the Publication element that is automatically created. This is not necessary if you are only interested in the final output. There are several reasons you might want to save the Publication element:
  8. Select OK to start publishing.

After the publishing operating finishes, you can open the output document using the appropriate tool. If you selected RTF output, there will be a single file with the name you specified. If you selected HTML output, there will be one or more HTML files; the top-level file has the name you specified, while the other files use the same name with a numeral appended.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]