• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Visio Drawings Export to PDF & Glue Shapes in a Container Using Java

Ranch Hand
Posts: 714
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is new in this release?

We are pleased to announce the new release of Aspose.Diagram for Java 2.2.0 . The Aspose.Diagram API has improved export of Visio drawings to PDF format so that it exports just like Microsoft Visio does. Our development team has also worked to port the latest features from Aspose.Diagram .NET to Java and is pleased to make them available in the public API. We have provided improved rendering support in this latest release. Normally, Microsoft Visio users prepare complex drawings in a beautiful layout. Chances are they’d like to maintain its appearance when exporting to PDF or any other supported formats. We have improved the API in this area. It’s all based on the customer Visio drawing samples. This release includes a number of key fixes that help us improve Visio to PDF rendering, here are some of these

- The spaces between the text lines were messed up.
- The computer symbol shape disappeared.
- The text and image items were jumbled up.
- Dotted lines were replaced with solid lines.
- The page number sequence was incorrect.
- The arrow thickness is preserved in the output PDF format. Previously, it was ignored.
- Numbered items from the shape’s text were missing.
- A portion of the source PDF file was cut off.
- The date was missing from the label shape.
- The Microsoft Outlook icon was replaced by a Microsoft Word icon.
- All the smiley faces were changed.
- Hyperlinks were not preserved properly in the output PDF.
- Some map shapes were missing.
- Fixed: the array index out of bound error message occurred while saving VSD to the - PDF Format by calling the Diagram.Save method.
- Fixed: the unknown source message occurred while converting VSD to PDF format.

Aspose.Diagram for Java is fully ported from the Aspose.Diagram for .NET API. The porting process has added a few more features that are already available in the latest version of Aspose.Diagram for .NET. Below are new features.

- Glue Shapes in Container using Connection Names – There are many ways to glue shapes in the container, we’ve covered the basics of handling glue. Developers can now glue shapes in the container by passing connection name parameters. Previously, it was only possible by connection IDs. The new release of the Aspose.Diagram API has now made it very easy: just pass the exact connection name. Developers can use either the connection IDs or name by using either the Page.glueShapesInContainer or Page.glueShapesInContainerByID methods. You can find the details of this feature in the following help topic: Glue Shapes Inside the Container

- Add Master to Diagram from Source Diagram – This feature is useful primarily if we have added the new shapes and saved them to a source Microsoft Visio diagram. It helps developers to add a master to diagram from source diagram. We have added a new overloaded Diagram.AddShape method. It takes a master name and a Diagram class object (the object that represents a Visio drawing). Please find details of this feature in the following help topic: Add Master from the Stencil of Shapes

Newly added documentation pages and articles

Some new tips and articles have now been added into Aspose.Diagram for Java documentation that may guide you briefly how to use Aspose.Diagram for performing different tasks like the followings.

- Glue Shapes Inside the Container
- Add Master from the Stencil of Shapes

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
- Post your technical questions/queries to Aspose.Diagram for Java Forum
- Online Demos Aspose.Diagram for Java

Contact Information
Suite 119, 272 Victoria Avenue
Chatswood, NSW, 2067
Aspose - Your File Format Experts
Phone: 888.277.6734
Fax: 866.810.9465
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic