Printer Friendly

Detect Visio File Type from Input Stream & Modify Event Cells of Visio Shape Using Aspose.Diagram for Java 6.7.0.

Lane Cove, Australia, August 21, 2016 --( What's New in this Release?

Aspose is pleased to announce the new release of Aspose.Diagram for Java 6.7.0. This release comes with a new feature, enhancements, and bug fixes. It gives a way to detect a Visio file format from an input stream. Developers would also be able to modify event cells of a Visio shape. Besides this, it covers many other regular bug fixes reported by clients. Aspose.Diagram API allows developers to determine the type of a Visio file from an input stream. Developers can already detect the type of a Visio file by passing a complete local file path which also includes the filename and extension. The detectFileFormat method of FileFormatInfo class now gives both options to pass a complete filename or an input stream of the Visio diagram. In short, there are two overloads of this method, the first one accepts a complete file name, while the second one accepts an input stream. The ShapeSheet of a Visio shape has an Event section. The event section has event cells (TheText, EventDblCick, EventXFMod, EventDrop, EventMultiDrop, and TheDrop) in which formulas can be placed. These cells are being evaluated whenever an event occurs. Aspose has enhanced the way of retrieving and updating the event cells in macro-enabled Visio file formats. They auto port Aspose.Diagram for .NET to Java to give developers perfectly same features on both platforms, so this version also incorporates the bug fixes and enhancements from its equivalent .NET version. This release includes several enhanced features and bug fixes as listed below:

• Add support of detecting the file format using a stream object.

• VSD to PDF conversion - the red cross image appears instead of the shape.

• The endpoints of connectors are not connected when saving in the VDX format.

• Load and save routine of a VSDM diagram shows a cross in place of the button.

• Can't set an event cell of the shape in VSDM.

• Junk reading of the angle property in a VSDX diagram.

• Incorrect readings of incoming nodes in a VSD diagram.

Overview: Aspose.Diagram for Java

Aspose.Diagram is a class library for working with MS Visio files & is a pure Java alternate for MS Visio Object Model. It is a standalone Visio Java library and does not depend on Microsoft Office Visio. It enables developers to work with VSD & VDX files and they can open files & Add & manipulate the elements of the diagram, export Visio files to PDF, XML, HTML, images format, SVG & several other formats, Rotate a shape, Add a hyperlink to a Visio shape, protect diagram shape and many more. Aspose.Diagram can be used with any kind of application, whether it's a Web Application or a Windows Desktop Application.

More about Aspose.Diagram for Java

- Homepage of Aspose.Diagram for Java:

- Download Aspose.Diagram for Java:

- Online documentation of Aspose.Diagram for Java:

Contact Information

Aspose Pty Ltd

Suite 163, 79 Longueville Road

Lane Cove, NSW, 2066


Phone: 888.277.6734

Fax: 866.810.9465

Contact Information:


Sher Azam


Contact via Email

Read the full story here:
No portion of this article can be reproduced without the express written permission from the copyright holder.
Copyright 2016 Gale, Cengage Learning. All rights reserved.

Article Details
Printer friendly Cite/link Email Feedback (Press Releases)
Date:Aug 21, 2016
Previous Launches Umbraco 7.5.0 Hosting.
Next Article:The Granite Group: 2016 Trade Show Series.

Terms of use | Privacy policy | Copyright © 2022 Farlex, Inc. | Feedback | For webmasters |