New custom list form not working in Microsoft Visio 2013 x64

Purpose:

First, I have to say what I want to do, and then I will describe what I did to achieve my goal in the next part (Descriptions) .

I want to create a Master form for a custom list from the Container in the "Chart Details" section of the "Insert" tab of the ribbon. Then I want to create another basic form that can be used as a member form for the Created Custom List Template .

In other words, I want to add my created master form to my custom user list form , for example, attaching the main and basic separator styles to the Master form of the UML template class .

So, I encountered some problems in achieving my goal, which I described in the following parts.


Description:

I created several new master shapes in a Visio Stencil (.vssx) file as follows:

New Created Master Shapes with used Master Shape

Figure 1 - Newly created master figures with the main shape used

  • Property Master Shape (Green Box): created using the member form of the template template of the UML class (blue cell) .
  • Object Master Shape (Red Box):, Plain Container " " "" .

Master Shape Object Master Shape, , Shape Master Shape - UML-.

Class Master Shape with its Initial Members

2 - -

Master Shape, , :

  • ( 3).

    "Shape Data" dialogue box of the Property Master Shape

    3 - " " Property Master Shape

  • ( 4).

    "Data Graphic" and "Data Graphic Item" dialogue boxes of the Property Master Shape

    4 - " " " " Property Master Shape

  • "User.MemberName" ShapeSheet ( 5):

    =MID(SUBSTITUTE(TRIM(SHAPETEXT(TheText)),"[",""),1,FIND(" ",SUBSTITUTE(TRIM(SHAPETEXT(TheText)),"[",""))-1)

    :

    =SHAPETEXT(TheText)

    "ShapeSheet" window of the Property Master Shape

    5 - "ShapeSheet" Property Master Shape

, Plain Container, :

  • " " " ShapeSheet, 6:

    Cells in the User-defined cells' and Events sections of the ShapeSheet window after changing their contents

    6 - " " "" ShapeSheet

    :

    Cells in the User-defined cells' and Events sections of the ShapeSheet window before changing their contents

    7 - " " "" ShapeSheet


:

1- :

/ Property Master Shape, / Master Shape, (-) - () Master Shape UML ( 8)?

Comparing an instance of the Object Master Shape and one instance of the Property Master Shape with an instance of the Class Master Shape of the UML Stencil and its Initial Members

8 - Master Shape Property Master Shape Master Shape UML

:

() Master Master Shape / , Master Shape UML ( 9)?

Comparing an instance of the Object Master Shape with an instance of the Class Master Shape of the UML Stencil

9 - Master Shape Master Shape UML

; , , :

=IF(LISTMEMBERCOUNT()=0,DOCMD(2270),0)

:

() Master Shape Property Master Shape, Master Master UML ( 10)?

Comparing an instance of the Object Master Shape with an instance of the Class Master Shape of the UML Stencil for displaying the Bar to insert related Members

10 - Master Shape Master Shape UML-

4- :

() Master Master Shape -, Property Master Shape () Master UML-, (-) (-) - UML- ( 11)?

Comparing an instance of the Object Master Shape that accepts instance (s) of All Master Shapes with an instance of the Class Master Shape of the UML Stencil that only accepts the instance (s) of the Member and Separator Master Shapes of the UML Stencil

11 - Master Shape, - Master Shape UML-, (-) - UML

=USE("Property") "User.msvSDListItemMaster" ShapeSheet; , , .

5- :

/ () Property Master Shape Master Shape, , - UML- () Master Shape UML ( 12)?

<411 >

12 - Master Shape Property Master Shape Master Shape UML

6- () :

() Master Shape Container, / ?

+4
1

1- :

, "" . " " " " ; .

(Property) User.msvSDContainerRequiredCategories ( . , .) User.msvSDListRequiredCategories ( . , .) Shape Category (User.msvShapeCategories = Member).

Comparing "Shape Master Name" with "Shape Category"

1 - "Shape Master Name" "Shape Category"


:

:

-, , . , () , User.msvSDListItemMaster[Index] ( UniqueID , Insert. USE().)

, . , User.msvSDListItemMaster User.msvSDListItemMaster1. , , User.msvSDListItemMaster2, User.msvSDListItemMaster3 ..

, "EventDrop" ". , , :

: , , , . , , User.msvSDListItemMaster, , . USE() (, USE("List member master")). User.msvSDListItemMaster, Visio .

-, . , EventDrop , DOCMD(2270) :

IF(LISTMEMBERCOUNT()=0,DOCMD(2270)+DOCMD(2270)+DOCMD(2270),0)

2270 - (visUiCmds.visCmdListInsertBefore). 2271, (visUiCmds.visCmdListInsertAfter).

2270. , ; , "" Master Shape UML-, , 2499 2270. , , . User.msvSDListItemMaster[Index], +DOCMD(2499) 1.


:

, 1- .


4- :

, 1- . :

. User.msvSDListRequiredCategories User.msvSDListExcludedCategories, , . , , . User.msvSDContainerRequiredCategories User.msvSDContainerExcludedCategories . Visio , , . , . .

User.msvSDListRequiredCategories User.msvSDContainerRequiredCategories , .


5- :

, 1- .


6- () :

: ( ):

, "List" User.msvStructureType, Visio . . , , , , . .

1. ShapeSheet

User.msvSDContainerMargin

      The distance between the container boundary and member shapes.

User.msvSDContainerResize

      The automatic-resize behavior for the shape:
  • 0 = .

  • 1 = .

  • 2 = .

User.msvSDContainerStyle

      A one-based index value for the current visual style of the container.

User.msvSDContainerStyleCount

      The total number of visual styles that the container supports.

User.msvSDHeadingStyle

      A one-based index value for the current visual style of the container heading.

User.msvSDHeadingStyleCount

      The total number of visual styles that the container heading supports.

User.msvSDContainerLocked

      A Boolean value that prevents membership changes in the container.

User.msvSDContainerRequiredCategories

      A semicolon-delimited list of category names. Other shapes must have at least one matching name to be allowed as container members.

User.msvSDContainerExcludedCategories

      A semicolon-delimited list of category names. Other shapes with at least one matching name are disallowed as container members.

User.msvSDContainerNoHighlight

      A Boolean value that suppresses the container highlighting when member shapes are selected or added to the container.

User.msvSDContainerNoRibbon

      A Boolean value that hides the Container Tools contextual tab in the ribbon for this container.

User.msvSDContainerHeadingEdge

      A string that designates the location of the interior of the container from the perspective of the container heading. Must be "Left", "Right", "Top", or "Bottom".

User.msvSDMembersOnHiddenLayer

      A Boolean value that determines whether Visio severs container relationships when the container or member is placed on a hidden layer. If True, Visio allows relationships to exist on the hidden layer. If False, Visio severs the relationships.
+1

All Articles