Below some receptions which can be used during the work with a stencil for import of data are described.
Shape-importer can to transfer the integer into the target shape as a parameter.
The task contain of two parts:
The first task is solved by a shape-importer. The shape transfers the data from the column 5 into nodes (2D shapes), and from column 6 - into connectors (1D shapes).
In both cases the "User.importP" cell is used as data receiver. If such cell is missing, the data is lost without any error message.
Columns 5 and 6 are handled only by "Draw Tree with Parameters" and "Draw Network with Parameters" functions.
The second task is solved by using a custom master shape. Such shapes are not included in the delaverable package. The user has to make own one, as required for his application.
Here is an example of manufacturing such shapes. Let the parameter specifies the number of colors in the palette (see. "Service / Color palette" menu).
The picture shows the following operations in sequence:
|
If such a master shape to use when importing data, then shape-importer will transmit data to the "User.importP" cell, and the target shape will change the fill color, depending on the value of passed parameter. Value has to be in range from 0 to 23.
For Visio 2007
For Visio 2010
The Visio has an universal built-in tool for lay out the shapes and few specialized tools for the indnvndual solutions.
Specialized tools are available only in documents based on correspoding template such "Mind Map" or "Organization chart". Universal tools are available in every documents.
Shape-importer uses only two combinations of settings of the universal tool. Directly during import it is posible to use "Compressed tree" or "horizontal block diagram". But at any time after importing you can change the layout of shapes using the universal instrument: "Figure / Layout Adjustment", "Figure / Change the position of the pieces," "Figure / Center the document."
If the shape importing used in "Mind Map" chart, you can use the menu .... In the "Organization chart" documents menu is available ....
The stencil also contains a "Select subtree" function, which is useful for manual adjustment of the shapes location. Best results are achieved when the master shapes contains the formula for calling this function. Here's how to make such a master shape.
The picture shows the following operations in sequence:
|