|
@@ -50,12 +50,12 @@ namespace HTEXLib.Builders
|
|
|
else if (typeof(Picture).Equals(obj.GetType()))
|
|
|
{
|
|
|
//p:pic
|
|
|
- shape =new PPTImage(slidePart, (Picture)obj);
|
|
|
+ shape =new PPTImage(slidePart, (Picture)obj, slide);
|
|
|
}
|
|
|
else if (typeof(GraphicFrame).Equals(obj.GetType()))
|
|
|
{
|
|
|
//p:graphicFrame Chart, Diagram, Table
|
|
|
- shape =new PPTGraphicFrame(slidePart, (GraphicFrame)obj);
|
|
|
+ shape =new PPTGraphicFrame(slidePart, (GraphicFrame)obj, slide);
|
|
|
}
|
|
|
else if (typeof(GroupShape).Equals(obj.GetType()))
|
|
|
{
|
|
@@ -65,7 +65,7 @@ namespace HTEXLib.Builders
|
|
|
else if (typeof(ConnectionShape).Equals(obj.GetType()))
|
|
|
{
|
|
|
//p:cxnSp
|
|
|
- shape =new PPTConnectionShape(slidePart, (ConnectionShape)obj);
|
|
|
+ shape =new PPTConnectionShape(slidePart, (ConnectionShape)obj, slide);
|
|
|
}
|
|
|
else if (typeof(AlternateContent).Equals(obj.GetType()))
|
|
|
{
|
|
@@ -145,12 +145,12 @@ namespace HTEXLib.Builders
|
|
|
else if (typeof(Picture).Equals(obj.GetType()))
|
|
|
{
|
|
|
//p:pic
|
|
|
- shape =new PPTImage(slidePart, (Picture)obj);
|
|
|
+ shape =new PPTImage(slidePart, (Picture)obj,slide);
|
|
|
}
|
|
|
else if (typeof(GraphicFrame).Equals(obj.GetType()))
|
|
|
{
|
|
|
//p:graphicFrame Chart, Diagram, Table
|
|
|
- shape =new PPTGraphicFrame(slidePart, (GraphicFrame)obj);
|
|
|
+ shape =new PPTGraphicFrame(slidePart, (GraphicFrame)obj, slide);
|
|
|
}
|
|
|
else if (typeof(GroupShape).Equals(obj.GetType()))
|
|
|
{
|
|
@@ -160,7 +160,7 @@ namespace HTEXLib.Builders
|
|
|
else if (typeof(ConnectionShape).Equals(obj.GetType()))
|
|
|
{
|
|
|
//p:cxnSp
|
|
|
- shape =new PPTConnectionShape(slidePart, (ConnectionShape)obj);
|
|
|
+ shape =new PPTConnectionShape(slidePart, (ConnectionShape)obj, slide);
|
|
|
}
|
|
|
else if (typeof(AlternateContent).Equals(obj.GetType())) {
|
|
|
///Equations and formulas as Image 处理公式 方程等
|