Version 2.3.0
This release adds 'Shape Data' to pages and masters, adds support for deleted section rows and brings many improvements and bugfixes.
New Features
-
The new
deletedproperty on theAction,Character,Connection,Control,Field,GradientStop,Paragraph,Property,Scratch,UserDefinedCell, andVsdxPathSegmentclasses allows marking rows as deleted. This can be used to ignore extra elements inherited from a master or style sheet. -
The new
Value.dateconstructor allows creating date values. -
The new
propertiesfield on thePageLikeclass allows defining Shape Data on masters and pages.
Improvements
-
The
EdgePathProcessingStepclass now marks extra path segments inherited from the edge master as deleted. -
The VSDX Export no longer throws an exception when parsing shape text referencing inherited
Character,Paragraph, orFieldrows. Note that the parsing results may still be wrong for this unsupported feature. -
Updated the 3rd-party dependency Canvg. Among other things, this resolves issues when exporting yFiles diagrams with the
MarkupLabelStyle.
Bugfixes
-
The
Connects.createmethod now correctly has parameters in typings and documentation. -
The
begTrigger,bevelBottomType,bevelLightingType,bevelMaterialType,bevelTopType,calendar,centerX,centerY,colorSchemeIndex,compoundType,conFixedCode,conLineJumpCode,conLineJumpStyle,connectorSchemeIndex,displayLevel,displayMode,distanceFromGround,drawingResizeType,drawingScaleType,drawingSizeType,dropOnPageScale,dynFeedback,effectSchemeIndex,embellishmentIndex,endTrigger,eventDblClick,eventDrop,eventMultiDrop,eventXFMod,fontSchemeIndex,glowColorTransparency,glowSize,hideForApply,inhibitSnap,keepTextFlat,lineAdjustFrom,lineAdjustTo,lineJumpCode,lineJumpStyle,lineRouteExt,pageLineJumpDirX,pageLineJumpDirY,pageShapeSplit,pagesX,pagesY,paperKind,paperSource,perspective,placeDepth,placeFlip,placeStyle,plowCode,printPageOrientation,quickStyleEffectsMatrix,quickStyleFillColor,quickStyleFillMatrix,quickStyleFontColor,quickStyleLineColor,quickStyleFontMatrix,quickStyleLineMatrix,quickStyleShadowColor,quickStyleType,quickStyleVariation,reflectionBlur,reflectionDist,reflectionSize,reflectionTransparency,relationships,replaceCopyCells,replaceLockFormat,replaceLockShapeData,replaceLockText,rotationType,scaleX,scaleY,selectMode,shadowObliqueAngle,shadowScaleFactor,shadowType,shapeFixedCode,shapePlaceFlip,shapePlaceStyle,shapeRouteStyle,shapeShadowObliqueAngle,shapeShadowScaleFactor,shapeSplit,shapeSplittable,sketchAmount,sketchLineWeight,sketchSeed,softEdgesSize,textDirection,theData,themeIndex,theText,useGroupGradient,variationColorIndex, andvariationStyleIndexproperties on theStylableclass now have the correct types in typings and documentation. -
The
bevelBottomType,bevelTopType,keepTextFlat,useGroupGradientproperties on theStylableclass are now parsed correctly. -
The base types of the classes
Actions,Connect,Connects,Controls,Properties, andVsdxCollectionare now correct in the typings and API documentation. -
NURBSTopath segments are now correctly parsed. -
The public methods
Gradient.createGradientStopandUser.defineCellare no longer wrongly obfuscated. -
The
Shape.resizeModeproperty is now serialized correctly and has the correct type in documentation and typings. -
The indices of path segments parsed from existing VSDX files are now preserved during serialization.
-
Date values are now parsed and serialized correctly.
-
The
Field.uiCategory,Field.uiCode, andField.uiFormatproperties are now serialized and parsed correctly. -
VsdxPath.ellipticalArcTosegments are now serialized correctly. -
DefaultLabelProviderandDefaultLabelProcessingStepno longer consumeMarkupLabelStyle, meaning the markup text can now be correctly rendered by theSvgProviderandSvgProcessingStep.