VISIO Shape should create new page if used - visio

Does anybody know if a shape can be configured by its shapesheet (and not by VBA) in the way that it creates a new page when it will be used (dragged from its stencil)? If yes, what command/event I have to use?
Thank you

Related

SAP UI5 NetworkGraph (custom positions; views; routing)

I want to create using NetworkGraph a graph/schema. Every node will have two function onclick: open external URL or load new data (from JSON file/database) and generate new graph based on new data in new view. This question is very similiar to one my previous post (how to load a new tile view where the source is an array of objects from the json file).
Because I have no expirience with NetworkGraph I need some help, tips, etc..
How to create graph with custom positions of nodes x,y (example below)
How to solve routing and views? (I don't now how many childs will be) Dynamically?
Thanks in advance.

How to make Parts movable within a PartStack

I'm trying to figure out how to make the Part's movable within a Part Stack in e4.
Any ideas ?
To support drag and drop of parts you need the DndAddon and CleanupAddon specified in your Application.e4xmi.
The Class URIs are:
bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.dndaddon.DnDAddon
bundleclass://org.eclipse.e4.ui.workbench.addons.swt/org.eclipse.e4.ui.workbench.addons.cleanupaddon.CleanupAddon
This requires the org.eclipse.e4.ui.workbench.addons.swt plugin

Dynamic controls in PDF Adobe Cycle

Does anyone know how to add control (example: field) on-run in PDF? I'm using Adobe LiveCycle ES2; need that piece of JavaScript....
Thank you all -
I previously tried to do something similar but have never been able to find a method of dynamically creating an object on a form.
You can use the addInstance command to add an instance of a new form and it's possible to add additional rows to a table but other than that, the only method I have found that works is to add the objects from the toolbox and then show/hide them.
It does mean that you're adding additional objects to the form but if used correctly this doesn't really have too much affect on the file size but it does involve extra coding.

HTML5 ui-controls pick up from canvas-1 and drag-and-drop onto cnvas-2

I am very new to web based programming and have started with HTML5 from this week.
I have create a bunch of flow-chart diagrams on first canvas-1 programmatically by javascript and by using addflow (Lassange) HTML5 controls. Now I have another canvas-2 at its side on which I want the user to pick any given UI-control (from canvas-1) and drag-and-drop the same on canvas-2. BUT I am unable to achieve this.
I tried assigning draggable property to the programmatically created ui-control (canvas-1) and also made the canvas-1 draggable etc but I think this approach will not work. The UI-control does get dragged but ONLY within the boundaries of canvas-1. Now how do I ensure that an user can be able to do this... what should be my javascript coding approach at the html-page-behind?.
EDIT: Somebody who is acquainted with Lassalle's technologies -- 'AddFlow' HTML5 jscript component can be of more help here because I am using that HTML5 control to create two canvas and for filling the set of UI-controls as a 'pallet' into the canvas-1. But if somebody has achieved this through some native HTML5 javascripting or alike then still do reply.

how to zoom a graph using zest?

I am using RCP and ZEST to create an application to visualize graphs. My question is: is it possible to zoom a graph drawn on ZEST (any ZEST or RCP api or plug-in)?
Thanks in advance
-rajit
I had a look at the ZestZoomContributionViewItem and it seems to put a drop down list specifying "page width" and 200% options for zoom. I wanted to be able to use the mouse wheel to zoom in and out of my graph.
The following code will zet the zoom level to 500% on your Zest graph and give you fine grain control (it's a bit deprecated as these are internal eclipse classes.)
Graph myGraph = new Graph(parent, SWT.NONE);
ZoomManager zoomManager = new ZoomManager(
graph.getRootLayer(),
graph.getViewport() );
zoomManager.setZoomAsText("500%");
The simplest solution is to create a ZoomContributionViewItem. This item can be added to Menumanagers (in theory to toolbarmanagers also, but there is a nasty null-pointer exception related in Zest 1.1).
The constructor needs an IZoomableWorkbenchPart, where you need to provide a single method that returns the graph viewer.
If you need something more specific, look at the code of the Zest ZoomContributionViewItem code, how they had implemented it.