예제 #1
0
 /// <summary>
 /// Create a new textbox Under this Group.
 /// </summary>
 /// <param name="anchor">the position of the shape.</param>
 /// <returns>the textbox</returns>
 public HSSFTextbox CreateTextbox(HSSFChildAnchor anchor)
 {
     HSSFTextbox shape = new HSSFTextbox(this, anchor);
     shape.Anchor = anchor;
     shapes.Add(shape);
     return shape;
 }
예제 #2
0
 /// <summary>
 /// Create a new simple shape Under this Group.
 /// </summary>
 /// <param name="anchor">the position of the shape.</param>
 /// <returns>the shape</returns>
 public HSSFSimpleShape CreateShape(HSSFChildAnchor anchor)
 {
     HSSFSimpleShape shape = new HSSFSimpleShape(this, anchor);
     shape.Anchor = anchor;
     shapes.Add(shape);
     return shape;
 }
예제 #3
0
 /// <summary>
 /// Create another Group Under this Group.
 /// </summary>
 /// <param name="anchor">the position of the new Group.</param>
 /// <returns>the Group</returns>
 public HSSFShapeGroup CreateGroup(HSSFChildAnchor anchor)
 {
     HSSFShapeGroup group = new HSSFShapeGroup(this, anchor);
     group.Anchor = anchor;
     shapes.Add(group);
     return group;
 }
예제 #4
0
        /// <summary>
        /// Creates a polygon
        /// </summary>
        /// <param name="anchor">the client anchor describes how this Group Is attached
        /// to the sheet.</param>
        /// <returns>the newly Created shape.</returns>
        public HSSFPolygon CreatePolygon(HSSFChildAnchor anchor)
        {
            HSSFPolygon shape = new HSSFPolygon(this, anchor);

            shape.Anchor = anchor;
            shapes.Add(shape);
            return(shape);
        }
예제 #5
0
        /// <summary>
        /// Create a new textbox Under this Group.
        /// </summary>
        /// <param name="anchor">the position of the shape.</param>
        /// <returns>the textbox</returns>
        public HSSFTextbox CreateTextbox(HSSFChildAnchor anchor)
        {
            HSSFTextbox shape = new HSSFTextbox(this, anchor);

            shape.Anchor = anchor;
            shapes.Add(shape);
            return(shape);
        }
예제 #6
0
        /// <summary>
        /// Create a new simple shape Under this Group.
        /// </summary>
        /// <param name="anchor">the position of the shape.</param>
        /// <returns>the shape</returns>
        public HSSFSimpleShape CreateShape(HSSFChildAnchor anchor)
        {
            HSSFSimpleShape shape = new HSSFSimpleShape(this, anchor);

            shape.Anchor = anchor;
            shapes.Add(shape);
            return(shape);
        }
예제 #7
0
        /// <summary>
        /// Create another Group Under this Group.
        /// </summary>
        /// <param name="anchor">the position of the new Group.</param>
        /// <returns>the Group</returns>
        public HSSFShapeGroup CreateGroup(HSSFChildAnchor anchor)
        {
            HSSFShapeGroup group = new HSSFShapeGroup(this, anchor);

            group.Anchor = anchor;
            shapes.Add(group);
            return(group);
        }
예제 #8
0
        /// <summary>
        /// Creates a picture.
        /// </summary>
        /// <param name="anchor">the client anchor describes how this Group Is attached
        /// to the sheet.</param>
        /// <param name="pictureIndex">Index of the picture.</param>
        /// <returns>the newly Created shape.</returns>
        public HSSFPicture CreatePicture(HSSFChildAnchor anchor, int pictureIndex)
        {
            HSSFPicture shape = new HSSFPicture(this, anchor);

            shape.Anchor       = anchor;
            shape.PictureIndex = pictureIndex;
            shapes.Add(shape);
            return(shape);
        }
예제 #9
0
 /// <summary>
 /// Creates a polygon
 /// </summary>
 /// <param name="anchor">the client anchor describes how this Group Is attached
 /// to the sheet.</param>
 /// <returns>the newly Created shape.</returns>
 public HSSFPolygon CreatePolygon(HSSFChildAnchor anchor)
 {
     HSSFPolygon shape = new HSSFPolygon(this, anchor);
     shape.Anchor = anchor;
     shapes.Add(shape);
     return shape;
 }
예제 #10
0
 /// <summary>
 /// Creates a picture.
 /// </summary>
 /// <param name="anchor">the client anchor describes how this Group Is attached
 /// to the sheet.</param>
 /// <param name="pictureIndex">Index of the picture.</param>
 /// <returns>the newly Created shape.</returns>
 public HSSFPicture CreatePicture(HSSFChildAnchor anchor, int pictureIndex)
 {
     HSSFPicture shape = new HSSFPicture(this, anchor);
     shape.Anchor = anchor;
     shape.PictureIndex=pictureIndex;
     shapes.Add(shape);
     return shape;
 }