Altova StyleVision 2022 Professional Edition

Im unten stehenden Code wird gezeigt, wie man ein Dokument öffnet.

 

 

1  // Locate samples installed with the product.

2  String strExamplesFolder = System.getenv("USERPROFILE") + "\\My Documents\\Altova\\StyleVision2012\\StyleVisionExamples\\";

3      

4  // We open two files form the product samples.

5  stylevision.getDocuments().openDocument(strExamplesFolder + "OrgChart.pxf");

6  stylevision.getDocuments().openDocument(strExamplesFolder + "BiggestCitiesPerContinent.sps");                        

© 2016-2022 Altova GmbH