|
@@ -2801,8 +2801,8 @@ namespace TEAMModelOS.Service.Services.PowerPoint.Implement
|
|
|
// StrokeWidth = border.Width + "",
|
|
|
// StrokeDasharray = border.Stroke,
|
|
|
d=d,
|
|
|
- start=headEndNodeAttrs!=null?headEndNodeAttrs.GetTextByPath("@type").Value:null,
|
|
|
- end=tailEndNodeAttrs!=null?tailEndNodeAttrs.GetTextByPath("@type").Value:null,
|
|
|
+ start=headEndNodeAttrs!=null&&headEndNodeAttrs.GetTextByPath("@type")!=null?headEndNodeAttrs.GetTextByPath("@type").Value:null,
|
|
|
+ end=tailEndNodeAttrs!=null&&tailEndNodeAttrs.GetTextByPath("@type")!=null?tailEndNodeAttrs.GetTextByPath("@type").Value:null,
|
|
|
//MarkerStart="url(#markerTriangle_" + shpId + ")",
|
|
|
//MarkerEnd="url(#markerTriangle_" + shpId + ")"
|
|
|
} };
|
|
@@ -4556,8 +4556,8 @@ namespace TEAMModelOS.Service.Services.PowerPoint.Implement
|
|
|
// StrokeWidth = border.Width + "",
|
|
|
// StrokeDasharray = border.Stroke,
|
|
|
points=points,
|
|
|
- start=headEndNodeAttrs!=null?headEndNodeAttrs.GetTextByPath("@type").Value:null,
|
|
|
- end=tailEndNodeAttrs!=null?tailEndNodeAttrs.GetTextByPath("@type").Value:null,
|
|
|
+ start=headEndNodeAttrs!=null&&headEndNodeAttrs.GetTextByPath("@type")!=null?headEndNodeAttrs.GetTextByPath("@type").Value:null,
|
|
|
+ end=tailEndNodeAttrs!=null&&tailEndNodeAttrs.GetTextByPath("@type")!=null?tailEndNodeAttrs.GetTextByPath("@type").Value:null,
|
|
|
} };
|
|
|
return new Svg { /*SvgData = result,*/ svgShape = shapes };
|
|
|
}
|
|
@@ -7076,8 +7076,8 @@ namespace TEAMModelOS.Service.Services.PowerPoint.Implement
|
|
|
// Stroke = "#" + border.Color,
|
|
|
// StrokeWidth = border.Width + "",
|
|
|
// StrokeDasharray = border.Stroke,
|
|
|
- start=headEndNodeAttrs!=null?headEndNodeAttrs.GetTextByPath("@type").Value:null,
|
|
|
- end=tailEndNodeAttrs!=null?tailEndNodeAttrs.GetTextByPath("@type").Value:null,
|
|
|
+ start=headEndNodeAttrs!=null&&headEndNodeAttrs.GetTextByPath("@type")!=null?headEndNodeAttrs.GetTextByPath("@type").Value:null,
|
|
|
+ end=tailEndNodeAttrs!=null&&tailEndNodeAttrs.GetTextByPath("@type")!=null?tailEndNodeAttrs.GetTextByPath("@type").Value:null,
|
|
|
x1=X1,
|
|
|
x2=X2,
|
|
|
y1=Y1,
|