public static function run($dataDir = null) { # Exporting VSD to VDX ExportToXml::export_to_vdx($dataDir); # Exporting VSD to VSX ExportToXml::export_to_vsx($dataDir); # Exporting VSD to VTX ExportToXml::export_to_vtx($dataDir); }
use Aspose\Diagram\WorkingwithHyperlinks\AddHyperlinkToShape; use Aspose\Diagram\WorkingwithHyperlinks\GetShapeHyperlinkData; print "Running Aspose\\Diagram\\LoadingSavingandConverting\\CreatingaNewVisioDrawing::run()" . PHP_EOL; CreatingaNewVisioDrawing::run(__DIR__ . '/data/LoadingSavingandConverting/CreatingaNewVisioDrawing/'); print "Running Aspose\\Diagram\\LoadingSavingandConverting\\ExportToHtml::run()" . PHP_EOL; ExportToHtml::run(__DIR__ . '/data/LoadingSavingandConverting/ExportToHtml/'); print "Running Aspose\\Diagram\\LoadingSavingandConverting\\ExportToImage::run()" . PHP_EOL; ExportToImage::run(__DIR__ . '/data/LoadingSavingandConverting/ExportToImage/'); print "Running Aspose\\Diagram\\LoadingSavingandConverting\\ExportToPdf::run()" . PHP_EOL; ExportToPdf::run(__DIR__ . '/data/LoadingSavingandConverting/ExportToPdf/'); print "Running Aspose\\Diagram\\LoadingSavingandConverting\\ExportToSvg::run()" . PHP_EOL; ExportToSvg::run(__DIR__ . '/data/LoadingSavingandConverting/ExportToSvg/'); print "Running Aspose\\Diagram\\LoadingSavingandConverting\\ExportToXaml::run()" . PHP_EOL; ExportToXaml::run(__DIR__ . '/data/LoadingSavingandConverting/ExportToXaml/'); print "Running Aspose\\Diagram\\LoadingSavingandConverting\\ExportToXml::run()" . PHP_EOL; ExportToXml::run(__DIR__ . '/data/LoadingSavingandConverting/ExportToXml/'); print "Running Aspose\\Diagram\\LoadingSavingandConverting\\ExportToXps::run()" . PHP_EOL; ExportToXps::run(__DIR__ . '/data/LoadingSavingandConverting/ExportToXps/'); print "Running Aspose\\Diagram\\LoadingSavingandConverting\\OpenanExistingVisioDrawing::run()" . PHP_EOL; OpenanExistingVisioDrawing::run(__DIR__ . '/data/LoadingSavingandConverting/OpenanExistingVisioDrawing/'); print "Running Aspose\\Diagram\\LoadingSavingandConverting\\SavingVisioDocument::run()" . PHP_EOL; SavingVisioDocument::run(__DIR__ . '/data/LoadingSavingandConverting/SavingVisioDocument/'); print "Running Aspose\\Diagram\\WorkingwithDiagrams\\AddCommentToDiagram::run()" . PHP_EOL; AddCommentToDiagram::run(__DIR__ . '/data/WorkingwithDiagrams/AddCommentToDiagram/'); print "Running Aspose\\Diagram\\WorkingwithDiagrams\\CreateDiagram::run()" . PHP_EOL; CreateDiagram::run(__DIR__ . '/data/WorkingwithDiagrams/CreateDiagram/'); print "Running Aspose\\Diagram\\WorkingwithDiagrams\\GetConnectorsInfo::run()" . PHP_EOL; GetConnectorsInfo::run(__DIR__ . '/data/WorkingwithDiagrams/GetConnectorsInfo/'); print "Running Aspose\\Diagram\\WorkingwithDiagrams\\GetDiagramFontInfo::run()" . PHP_EOL; GetDiagramFontInfo::run(__DIR__ . '/data/WorkingwithDiagrams/GetDiagramFontInfo/'); print "Running Aspose\\Diagram\\WorkingwithDiagrams\\RemoveAllMacrosFromDiagram::run()" . PHP_EOL;