With our PowerReference feature, we are able to add reference items and properties in Word, and thereby use them in the certain document. Through the UI, it is possible to edit and delete the existing items and properties.
Modules are located in this folder:
...\ModuleLibrary\PowerReference\01_nocontext_PowerReference
CMD's
CMD: <Cmd case="SkabelonDesign.PowerReference:add-reference-item"/>
Description: Adds a parent reference to the document. The cursor can be placed anywhere in the document and then a reference will be created. This will prompt the user to name the parent reference. Afterwards, a reference number will be inserted.
CMD: <Cmd case="SkabelonDesign.PowerReference:add-property-item"/>
Description: Adds a child reference to a parent reference. Just as in the above command, the user will be prompt where it is possible to type in a name and select which parent reference this child should be in.
CMD: <Cmd case="SkabelonDesign.PowerReference:add-reference-to-item"/>
Description: Allows to add a reference as either a parent or a child. In this way, the user is able to use the existing references. Again, it will prompt with the ability to choose between parents and children to be inserted. The selected reference will be inserted where the cursor is placed.
Parameter:
refFormat
Define format for reference element, e.g. "\h" which sets a hyperlink to reference.
CMD: <Cmd case="SkabelonDesign.PowerReference:invoke-reference-editor"/>
Description: Invokes an editor for all references and their children. Here, all references can be seen, and it is possible to rename and delete them. When clicking at a reference, the reference will be highlighted in the document. Note that when deleting, it is a good idea to check in Bookmarks whether they are actually deleted.
CMD: <Cmd case="SkabelonDesign.PowerReference:update-reference-count"/>
Description: Updates the reference count. This is a great tool if some references have been deleted, and you need to update the remaining references. It also updates the reference stack in the document according to its chronological location in the document.
Comments
0 comments
Article is closed for comments.