I'm evaluating the apose diagram 6.8.0 library for java.
I use difficult drawings, which I can perfectly make with visio, which are foreseen of a lot of "data1" values which are used in the formula of a shape.
I can perfectly set the data1 values and this value is kept BUT the screen value (nor pdf) is updated after saving.
See also issue 10 on github.
I created a testcase to show my problem.
In use the attached "diagram test shapes in.vsdx" as input.
I use code:
Diagram diagram = new Diagram("example-data/diagram test shapes.vsdx"); Shape shape = diagram.getPages().getPage(0).getShapes().getShape(1); shape.setData1("Somers");
shape = diagram.getPages().getPage(0).getShapes().getShape(7);
diagram.save(“runtime/diagram test shapes.pdf”, SaveFileFormat.PDF);
diagram.save(“runtime/diagram test shapes.vsdx”, SaveFileFormat.VSDX);
The explanation about the fields is in the visio diagram itself.