New Features
O/R Mapping
Tips and Tricks
UML Diagrams
VP Suite

Element Sorting in Report Generation

Element sorting is always essential in modeling. Take the various diagram and model trees as example. One can easily locate an element from Model Tree if the listing of elements follows certain order such as by type or by name in alphabetical order. As representation of models, element sorting in report is as important as that in modeling. Think about a report that organize diagrams and elements in an un-ordered manner, how can reader find the content they need effectively?

Visual Paradigm supports different way of sorting the elements in generated report. The sorting will affect the sequence of elements appear in the PDF, HTML and Word report.

Applying the Sorting

The sorting of element is an option, which require to be set before generating a report. Let’s try to generate a PDF report and see how this option can be set.

  1. Select Tools > Report > Generate PDF Report... from the main menu.


    This shows the Generate PDF dialog box.


  2. Specify the output path, and other parameters to suit your preferences.
  3. Select the way how elements will be sort from the Sort element by drop-down menu.


  4. Press the Generate button.

Different Ways of Sorting

Automatic

Automatic is the default way of sorting. It sorts elements by listing them in the most logical order, which is to follow most readers’ understanding to that kind of diagram. As a consequence, the algorithm would be different for different diagram types due to their different characteristics.

Follow tree

Follow tree sort elements by following the sort order of the diagram tree in the tool. Because of this, it may sort elements by name or by type, depending on which way of sorting is selected in the diagram tree.

Sort by id or name

For diagram type that emphasis the ID of contained elements, elements will be sort by ID. A typical example is business process diagram, of which elements’ ID gives strong meaning to the elements. For the rest of diagrams, sorting will be based on the elements’ names.

Downloads

Resources

 
 
Last modified: 2007/03/12 09:47
 
 
Home | Recent Topics | Highlights | UML Diagrams | Tips and Tricks | Object-Relational Mapping
visual-paradigm.com Home | Training Center | UML Center | VP Gallery | Discussion Forum | UML Open Directory