aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/poi/hssf/usermodel/HSSFShapeGroup.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/poi/hssf/usermodel/HSSFShapeGroup.java')
-rw-r--r--src/java/org/apache/poi/hssf/usermodel/HSSFShapeGroup.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/java/org/apache/poi/hssf/usermodel/HSSFShapeGroup.java b/src/java/org/apache/poi/hssf/usermodel/HSSFShapeGroup.java
index d21604f3bb..905dad3fc2 100644
--- a/src/java/org/apache/poi/hssf/usermodel/HSSFShapeGroup.java
+++ b/src/java/org/apache/poi/hssf/usermodel/HSSFShapeGroup.java
@@ -56,6 +56,11 @@ public class HSSFShapeGroup
return group;
}
+ public void addShape(HSSFShape shape){
+ shape._patriarch = this._patriarch;
+ shapes.add(shape);
+ }
+
/**
* Create a new simple shape under this group.
* @param anchor the position of the shape.
@@ -177,4 +182,4 @@ public class HSSFShapeGroup
}
return count;
}
-} \ No newline at end of file
+}