yExport Extension Package
Release Notes
Next-generation yFiles for Java (Swing)
or higher
Beginning with version 3.0, the yFiles for Java (Swing) diagramming library features a brand-new, modern API which requires Java 8. This API is mature and provides many new features that are not available out-of-the-box in the 2.x line. It also provides the functionality of the ySVG, yExport and yBPMN package as source code application, therefore the extension packages are no longer required.
We recommend to start development with the next-generation yFiles for Java in new Java Swing projects.
Especially in projects that don't need to support legacy Java versions before Java 8, this
is the recommended way to realize your application's diagram visualization part.
The latest version of the yExport extension package is 1.5.
Technical Requirements
- Graph visualization library yFiles for Java 2.12 to 2.18 version series.
- Oracle J2SDK 1.6 or higher for software development with yExport.
- Oracle J2RE 1.6 or higher to execute yExport powered programs.
- A browser to view the HTML documentation.
yExport 1.5 - Changes Since 1.4.0.1
Improvements
- Reduced file size of PDF documents created by PDFOutputHandler.
- Upgraded from FreeHEP VectorGraphics 2.1.1 to FreeHEP VectorGraphics 2.4. See the FreeHEP VectorGraphics GitHub page for more information.
Bugfixes
- Fixed rendering hints management of copied Graphics2D instances in the FreeHEP VectorGraphics library code.
- Fixed problems with drawing complex shapes to EMF output in the underlying FreeHEP VectorGraphics library code.
- Fixed font encoding issues for non-unicode fonts like
Symbol
orZapf Dingbats
in the FreeHEP VectorGraphics library code that resulted in ArrayIndexOutOfBoundsException.
Changes in Technical Requirements
- Building and running yExport based applications now requires at least Java 1.6 (due to upgrading to FreeHEP VectorGraphics 2.4).
Changes in Licensing
- Adopted Apache Software License for the FreeHEP VectorGraphics package. Prior to yExport 1.5, the included FreeHEP VectorGraphics package was licensed under LGPL.
yExport 1.4.0.1 - Changes Since 1.4
Bugfixes
- Fixed Mac OS X JDK 1.7 compatibility issues in the FreeHEP VectorGraphics library code that resulted in NoClassDefFoundError or UnsatisfiedLinkError when exporting PDF documents with embedded raster images.
- Corrected the
Size
entry in thetrailer
dictionary of PDF documents in the underlying FreeHEP VectorGraphics library code.
yExport 1.4 - Changes Since 1.3
Improvements
- PDFOutputHandler: Added support for cyclic color gradients of type GradientPaint.
- PDFOutputHandler: Added support for (semi-) transparent color gradients of type GradientPaint.
- OutputHandler: Added factory method createGraphicsContext.
Bugfixes
- Improved embedding fonts into PDF output in the underlying FreeHEP VectorGraphics library code.
yExport 1.3 - Changes Since 1.2
Minor Features Added
- PDFOutputHandler: Added
pageOutlinesEnabled
property that can be used to turn off automatic bookmark creation for generated pages. - PDFOutputHandler: Added constant VIEW_FORMAT that may be used to create PDF documents for which the page size is determined by the size of the exported graph's view.
Improvements
- EPSOutputHandler: The page size for the created EPS documents is now determined by the size of the exported graph's view.
Bugfixes
- Fixed JDK 1.7 and OpenJDK 1.6 compatibility issues in the FreeHEP VectorGraphics library code that resulted in
java.lang.ExceptionInInitializerError
. - EMFOutputHandler: Fixed aspect ratio in EMF output.
yExport 1.2 - Changes Since 1.1.0.2
Minor Feature Added
- OutputModule: Added support for ignoring selection state when exporting to one of yExport's supported file formats.
Bugfixes
- Fixed clipping to retain correct color/paint and transform properties in PDF output.
- Fixed problems with drawing complex paints to EMF output in the underlying FreeHEP VectorGraphics library code.
- Improved embedding fonts into EPS output in the underlying FreeHEP VectorGraphics library code.
yExport 1.1.0.2 - Changes Since 1.1.0.1
Licensing
yExport license terms have been updated to match the current yFiles for Java graph visualization library license terms.
Bugfixes
- Fixed writing affine transforms in the underlying FreeHEP VectorGraphics library code.
Improvements
- OutputModule: method mainrun has been enhanced to use the original view's background renderer for export if that renderer is of type DefaultBackgroundRenderer.
yExport 1.1.0.1 - Changes Since 1.1
Bugfixes
- Fixed value of
Class-Path
attribute in META-INF/MANIFEST.MF ofyexport.jar
.
Improvements
- Improved handling of image data in VisualTransferable's getTransferData method.
yExport 1.1 - Changes Since 1.0
Minor Features Added
- EPSOutputHandler: replaced boolean property
fontEmbeddingEnabled
with enum propertytextRenderingPolicy
to support regular text, text with embedded fonts, and vectorized text. - PDFOutputHandler: replaced boolean property
fontEmbeddingEnabled
with enum propertytextRenderingPolicy
to support regular text, text with embedded fonts, and vectorized text. - SWFOutputHandler: added getter/setter for SWF version. Currently, SWF file format versions 7 and 8 are supported.
Note: The main difference between versions 7 and 8 is the security policy applied to embedded links. Version 8 of the SWF file format allows embedded links to either local or external/network resources, but not both. - SWFOutputHandler: added support for hyperlinks.
Note: Currently, only local links are supported for SWF version 8 files, i.e. embedded external (or network) links are blocked by Flash player implementations.
Incompatible API Changes
- OutputHandler: removed obsolete constants
KEY_TEXT_RENDERING
,VALUE_TEXT_RENDER_DEFAULT
,VALUE_TEXT_RENDER_DEFAULT
,VALUE_TEXT_RENDER_QUALITY
, andVALUE_TEXT_RENDER_SPEED
- EPSOutputHandler: replaced boolean property
fontEmbeddingEnabled
with byte propertytextRenderingPolicy
. - PDFOutputHandler: replaced boolean property
fontEmbeddingEnabled
with byte propertytextRenderingPolicy
.