Browse Source

组合图形

CrazyIter_Bin 4 năm trước cách đây
mục cha
commit
1bad8b7868

+ 3 - 3
HTEXLib/HTEXLib.csproj

@@ -4,9 +4,9 @@
     <Description>解决emf转图片,图片高度被压缩形变。</Description>
     <PackageReleaseNotes>模板解析类型</PackageReleaseNotes>
     <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
-    <Version>2.4.2</Version>
-    <AssemblyVersion>2.4.2.2</AssemblyVersion>
-    <FileVersion>2.4.2.2</FileVersion>
+    <Version>2.4.3</Version>
+    <AssemblyVersion>2.4.3.3</AssemblyVersion>
+    <FileVersion>2.4.3.3</FileVersion>
   </PropertyGroup>
   <ItemGroup>
     <PackageReference Include="DocumentFormat.OpenXml" Version="2.11.3" />

+ 4 - 0
HTEXLib/PPTX/Models/PPTX/PPTGroupShape.cs

@@ -204,6 +204,8 @@ namespace HTEXLib.Models.Inner
             {
                 base.VisualShapeProp.Extents = groupShape.GroupShapeProperties.TransformGroup.Extents;
                 base.VisualShapeProp.Offset = groupShape.GroupShapeProperties.TransformGroup.Offset;
+                base.VisualShapeProp.ChildExtents= groupShape.GroupShapeProperties.TransformGroup.ChildExtents;
+                base.VisualShapeProp.ChildOffset = groupShape.GroupShapeProperties.TransformGroup.ChildOffset;
             }
             else
             {
@@ -227,6 +229,8 @@ namespace HTEXLib.Models.Inner
                     {
                         base.VisualShapeProp.Extents = layoutShape.GroupShapeProperties.TransformGroup.Extents;
                         base.VisualShapeProp.Offset = layoutShape.GroupShapeProperties.TransformGroup.Offset;
+                        base.VisualShapeProp.ChildExtents = groupShape.GroupShapeProperties.TransformGroup.ChildExtents;
+                        base.VisualShapeProp.ChildOffset = groupShape.GroupShapeProperties.TransformGroup.ChildOffset;
                     }
                 }
             }

+ 13 - 0
HTEXLib/PPTX/Models/PPTX/PPTVisualPPTShapeProp.cs

@@ -8,6 +8,19 @@ namespace HTEXLib.Models.Inner
     public class PPTVisualPPTShapeProp
     {
 
+        public ChildExtents ChildExtents
+        {
+            get;
+            set;
+
+        }
+
+        public ChildOffset ChildOffset
+        {
+            get;
+            set;
+        }
+
         public Offset Offset
         {
             get;