Example #1
0
        private static DrawingSpreadsheet.Picture GetHostingPicture(string id, WorksheetPart wp)
        {
            DrawingSpreadsheet.Picture sourcePic = null;
            if (wp.DrawingsPart != null)
            {
                // we need to pull out the graphic frame that matches the supplied name
                foreach (var pic in wp.DrawingsPart.WorksheetDrawing.Descendants <DrawingSpreadsheet.Picture>())
                {
                    // need to check it has the various properties
                    if (pic.NonVisualPictureProperties != null &&
                        pic.NonVisualPictureProperties.NonVisualDrawingProperties != null &&
                        pic.NonVisualPictureProperties.NonVisualDrawingProperties.Name.HasValue)
                    {
                        // and then try and match
                        if (id.CompareTo(pic.NonVisualPictureProperties.NonVisualDrawingProperties.Name.Value) == 0)
                        {
                            sourcePic = pic;
                            break;
                        }
                    }
                }
            }

            return(sourcePic);
        }
Example #2
0
        public static xdr.Picture AddPictureByEmbededPictureRefence(this xdr.WorksheetDrawing worksheetDrawing, string refId, string name = null)
        {
            var twoCellAnchor = new xdr.TwoCellAnchor().InitDefault();

            twoCellAnchor.EditAs = xdr.EditAsValues.OneCell;
            worksheetDrawing.Append(twoCellAnchor);

            var pict = new xdr.Picture();

            twoCellAnchor.Append(pict);

            var nonVisualPictureProperties = new xdr.NonVisualPictureProperties();

            pict.Append(nonVisualPictureProperties);

            uint?lastDrawingId = worksheetDrawing.Descendants <xdr.NonVisualDrawingProperties>().Select(p => p.Id?.Value).Max();
            var  nonVisualDrawingProperties = new xdr.NonVisualDrawingProperties()
            {
                Id   = (lastDrawingId ?? 0) + 1,
                Name = name ?? Guid.NewGuid().ToString()
            };

            nonVisualPictureProperties.Append(nonVisualDrawingProperties);

            var nonVisualPictureDrawingProperties = new xdr.NonVisualPictureDrawingProperties();

            nonVisualPictureProperties.Append(nonVisualPictureDrawingProperties);

            var pictureLocks = new a.PictureLocks()
            {
                NoChangeAspect = true
            };

            nonVisualPictureDrawingProperties.Append(pictureLocks);

            var blipFill = new xdr.BlipFill();

            blipFill.Blip = new a.Blip()
            {
                Embed = refId
            };
            pict.Append(blipFill);

            var stretch = new a.Stretch();

            stretch.FillRectangle = new a.FillRectangle();
            blipFill.Append(stretch);

            var shapeProps = new xdr.ShapeProperties().InitPictureDefault();

            pict.Append(shapeProps);

            twoCellAnchor.Append(new xdr.ClientData());

            return(pict);
        }
        public static xdr.Picture SetBottomRight(this xdr.Picture shape, string cellAddress, double topOffset = 0, double leftOffset = 0)
        {
            var twoCellAnchor = shape.Parent as xdr.TwoCellAnchor;

            if (twoCellAnchor != null)
            {
                twoCellAnchor.ToMarker = new xdr.ToMarker().At(cellAddress, topOffset, leftOffset);
                return(shape);
            }
            return(shape);
        }
        public static xdr.Picture SetBottomRight(this xdr.Picture shape, int rowNum, double topOffset, int columnNum, double leftOffset)
        {
            var twoCellAnchor = shape.Parent as xdr.TwoCellAnchor;

            if (twoCellAnchor != null)
            {
                twoCellAnchor.ToMarker = new xdr.ToMarker().At(rowNum, topOffset, columnNum, leftOffset);
                return(shape);
            }
            return(shape);
        }
Example #5
0
        public static xdr.Picture SetHeightInPixels(this xdr.Picture picture, double heightInPixels, double dpi = 96)
        {
            if (picture.Parent == null)
            {
                return(picture);
            }
            var twoCellAnchor = picture.Parent as xdr.TwoCellAnchor;

            if (twoCellAnchor == null)
            {
                var parentType = picture.Parent.GetType();
                throw new Exception($"Parent element of shape must be TwoCellAnchor. Found \"{parentType.Name}\"");
            }
            twoCellAnchor.SetHeightInPixels(heightInPixels, dpi);
            return(picture);
        }
Example #6
0
        /// <summary>
        /// Gets the identified <see cref="ImagePart"/> on a <see cref="WorksheetPart"/>
        /// </summary>
        /// <param name="id">The id of the image</param>
        /// <param name="wp">The <see cref="WorksheetPart"/></param>
        /// <returns>The identified <see cref="ImagePart"/></returns>
        private static ImagePart GetImagePart(string id, WorksheetPart wp)
        {
            DrawingSpreadsheet.Picture sourcePic = GetHostingPicture(id, wp);

            // we have the graphics frame with data, so now pull out the chart part
            if (sourcePic != null && sourcePic.BlipFill != null && sourcePic.BlipFill.Blip != null)
            {
                var sourceBlip = sourcePic.BlipFill.Blip;
                if (sourceBlip != null && sourceBlip.Embed.HasValue)
                {
                    return((ImagePart)wp.DrawingsPart.GetPartById(sourceBlip.Embed.Value));
                }
            }

            return(null);
        }
Example #7
0
        private List <OpenXmlImportImages> GetOpenXmlImportImages(SheetEx sheet, WorkbookPart workbookPart)
        {
            WorksheetPart wsPart                = (WorksheetPart)workbookPart.GetPartById(sheet.SheetId);
            DrawingsPart  drawingPart           = wsPart.GetPartsOfType <DrawingsPart>().ToList().FirstOrDefault();
            List <OpenXmlImportImages> pictures = new List <OpenXmlImportImages>();

            if (drawingPart != null)
            {
                foreach (var part in drawingPart.Parts)
                {
                    OpenXmlImportImages pic     = new OpenXmlImportImages();
                    ImagePart           imgPart = (ImagePart)part.OpenXmlPart;
                    pic.Image = StreamToBytes(imgPart.GetStream());
                    pic.RefId = part.RelationshipId;
                    pictures.Add(pic);
                }

                var worksheetDrawings = drawingPart.WorksheetDrawing.Where(c => c.ChildElements.Any
                                                                               (a => a.GetType().FullName == "DocumentFormat.OpenXml.Drawing.Spreadsheet.Picture")).ToList();
                foreach (var worksheetDrawing in worksheetDrawings)
                {
                    if (worksheetDrawing.GetType().FullName ==
                        "DocumentFormat.OpenXml.Drawing.Spreadsheet.TwoCellAnchor")
                    {
                        TwoCellAnchor anchor = (TwoCellAnchor)worksheetDrawing;
                        DocumentFormat.OpenXml.Drawing.Spreadsheet.Picture picDef =
                            (DocumentFormat.OpenXml.Drawing.Spreadsheet.Picture)
                            anchor.ChildElements.FirstOrDefault(c => c.GetType().FullName ==
                                                                "DocumentFormat.OpenXml.Drawing.Spreadsheet.Picture");
                        if (picDef != null)
                        {
                            var embed = picDef.BlipFill.Blip.Embed;
                            if (embed != null)
                            {
                                var picMapping = pictures.FirstOrDefault(c => c.RefId == embed.InnerText);
                                picMapping.FromCol = int.Parse(anchor.FromMarker.ColumnId.InnerText);
                                picMapping.FromRow = int.Parse(anchor.FromMarker.RowId.InnerText);
                            }
                        }
                    }
                }
            }
            return(pictures);
        }
Example #8
0
        public static xdr.Picture SetTopLeft(this xdr.Picture shape, int rowNum, double topOffset, int columnNum, double leftOffset)
        {
            var twoCellAnchor = shape.Parent as xdr.TwoCellAnchor;

            if (twoCellAnchor != null)
            {
                twoCellAnchor.SetTopLeft(rowNum, topOffset, columnNum, leftOffset);
                return(shape);
            }

            var oneCellAnchor = shape.Parent as xdr.OneCellAnchor;

            if (oneCellAnchor != null)
            {
                oneCellAnchor.FromMarker = new xdr.FromMarker().At(rowNum, topOffset, columnNum, leftOffset);
                return(shape);
            }

            return(shape);
        }
Example #9
0
        public static xdr.Picture SetTopLeft(this xdr.Picture shape, string cellAddress, double topOffset = 0, double leftOffset = 0)
        {
            var twoCellAnchor = shape.Parent as xdr.TwoCellAnchor;

            if (twoCellAnchor != null)
            {
                twoCellAnchor.SetTopLeft(cellAddress, topOffset, leftOffset);
                return(shape);
            }

            var oneCellAnchor = shape.Parent as xdr.OneCellAnchor;

            if (oneCellAnchor != null)
            {
                oneCellAnchor.FromMarker = new xdr.FromMarker().At(cellAddress, topOffset, leftOffset);
                return(shape);
            }

            return(shape);
        }
Example #10
0
        /// <summary>
        /// Initializes a new instance of the <see cref="PictureModel"/> class.
        /// </summary>
        /// <param name="imagePart">The <see cref="ImagePart"/> on which the model is based</param>
        /// <param name="anchor">The <see cref="DrawingSpreadsheet.TwoCellAnchor"/> which hosts the image</param>
        private PictureModel(ImagePart imagePart, DrawingSpreadsheet.TwoCellAnchor anchor) : base(anchor)
        {
            this.imagePart = imagePart;

            // Grab the picture and store the height and width
            DrawingSpreadsheet.Picture picture = anchor.Descendants <DrawingSpreadsheet.Picture>().FirstOrDefault();

            // Shape properties and extents....
            Drawing.Extents extents = picture.Descendants <Drawing.Extents>().FirstOrDefault();
            if (extents != null)
            {
                if (extents.Cx.HasValue)
                {
                    this.WidthInEmus = extents.Cx.Value;
                }

                if (extents.Cy.HasValue)
                {
                    this.HeightInEmus = extents.Cy.Value;
                }
            }
        }
Example #11
0
        /// <summary>
        /// Returns an instance of a <see cref="PictureModel"/> for the first image with a specified picture id in a worksheet.
        /// </summary>
        /// <param name="ws">The <see cref="Worksheet"/> in which the image resides</param>
        /// <param name="id">The image id</param>
        /// <returns>The <see cref="PictureModel"/> that represents the image</returns>
        public static PictureModel GetPictureModel(Worksheet ws, string id)
        {
            Guard.IsNotNull(ws, "ws");
            Guard.IsNotNullOrEmpty(id, "id");

            PictureModel pictureModel = null;
            ImagePart    imagePart    = GetImagePart(id, ws.WorksheetPart);

            if (imagePart != null)
            {
                // Get the Anchor that host the Graphic
                DrawingSpreadsheet.Picture       pic    = GetHostingPicture(id, ws.WorksheetPart);
                DrawingSpreadsheet.TwoCellAnchor anchor = pic.Ancestors <DrawingSpreadsheet.TwoCellAnchor>().FirstOrDefault();

                pictureModel = new PictureModel(imagePart, anchor)
                {
                    Worksheet = ws,
                    ImageId   = id,
                    IsValid   = true,
                };
            }

            return(pictureModel);
        }
Example #12
0
        private static void GenerateDrawingsPart1Content(DrawingsPart drawingsPart1, string relId, uint id, int startRowIndex, int startColumnIndex, int endRowIndex, int endColumnIndex, bool appendToDrawing, int width, int height)
        {
            xdr.WorksheetDrawing worksheetDrawing1;
            if (!appendToDrawing)
            {
                worksheetDrawing1 = new xdr.WorksheetDrawing();
                worksheetDrawing1.AddNamespaceDeclaration("xdr", "http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing");
                worksheetDrawing1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");
            }
            else
            {
                worksheetDrawing1 = drawingsPart1.WorksheetDrawing;
            }

            xdr.TwoCellAnchor twoCellAnchor1 = new xdr.TwoCellAnchor()
            {
                EditAs = xdr.EditAsValues.OneCell
            };
            xdr.FromMarker fromMarker1 = new xdr.FromMarker();
            xdr.ColumnId   columnId1   = new xdr.ColumnId();
            columnId1.Text = startColumnIndex.ToString();
            xdr.ColumnOffset columnOffset1 = new xdr.ColumnOffset();
            columnOffset1.Text = "0";
            xdr.RowId rowId1 = new xdr.RowId();
            rowId1.Text = startRowIndex.ToString();
            xdr.RowOffset rowOffset1 = new xdr.RowOffset();
            rowOffset1.Text = "0";

            fromMarker1.Append(columnId1);
            fromMarker1.Append(columnOffset1);
            fromMarker1.Append(rowId1);
            fromMarker1.Append(rowOffset1);

            xdr.ToMarker toMarker1 = new xdr.ToMarker();
            xdr.ColumnId columnId2 = new xdr.ColumnId();
            columnId2.Text = endColumnIndex.ToString();
            xdr.ColumnOffset columnOffset2 = new xdr.ColumnOffset();
            columnOffset2.Text = "0";
            xdr.RowId rowId2 = new xdr.RowId();
            rowId2.Text = endRowIndex.ToString();
            xdr.RowOffset rowOffset2 = new xdr.RowOffset();
            rowOffset2.Text = "0";

            toMarker1.Append(columnId2);
            toMarker1.Append(columnOffset2);
            toMarker1.Append(rowId2);
            toMarker1.Append(rowOffset2);

            xdr.Picture picture1 = new xdr.Picture();
            xdr.NonVisualPictureProperties nonVisualPictureProperties1 = new xdr.NonVisualPictureProperties();
            xdr.NonVisualDrawingProperties nonVisualDrawingProperties1 = new xdr.NonVisualDrawingProperties()
            {
                Id   = (UInt32Value)id,
                Name = Guid.NewGuid().ToString()
            };

            xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties1 = new xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks1 = new A.PictureLocks()
            {
                NoChangeAspect = true
            };

            nonVisualPictureDrawingProperties1.Append(pictureLocks1);
            nonVisualPictureProperties1.Append(nonVisualDrawingProperties1);
            nonVisualPictureProperties1.Append(nonVisualPictureDrawingProperties1);

            xdr.BlipFill blipFill1 = new xdr.BlipFill();

            A.Blip blip1 = new A.Blip()
            {
                Link = relId,
            };

            blip1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.Stretch       stretch1       = new A.Stretch();
            A.FillRectangle fillRectangle1 = new A.FillRectangle();

            stretch1.Append(fillRectangle1);

            blipFill1.Append(blip1);
            blipFill1.Append(stretch1);

            xdr.ShapeProperties shapeProperties1 = new xdr.ShapeProperties();

            A.Transform2D transform2D1 = new A.Transform2D();
            A.Offset      offset1      = new A.Offset()
            {
                X = 0L, Y = 0L
            };
            A.Extents extents1 = new A.Extents()
            {
                Cx = (int)Math.Round((decimal)width * 9525),
                Cy = (int)Math.Round((decimal)height * 9525)
            };

            transform2D1.Append(offset1);
            transform2D1.Append(extents1);

            A.PresetGeometry presetGeometry1 = new A.PresetGeometry()
            {
                Preset = A.ShapeTypeValues.Rectangle
            };
            A.AdjustValueList adjustValueList1 = new A.AdjustValueList();

            presetGeometry1.Append(adjustValueList1);

            shapeProperties1.Append(transform2D1);
            shapeProperties1.Append(presetGeometry1);

            picture1.Append(nonVisualPictureProperties1);
            picture1.Append(blipFill1);
            picture1.Append(shapeProperties1);
            xdr.ClientData clientData1 = new xdr.ClientData();

            twoCellAnchor1.Append(fromMarker1);
            twoCellAnchor1.Append(toMarker1);
            twoCellAnchor1.Append(picture1);
            twoCellAnchor1.Append(clientData1);
            worksheetDrawing1.Append(twoCellAnchor1);
            if (!appendToDrawing)
            {
                drawingsPart1.WorksheetDrawing = worksheetDrawing1;
            }
        }
Example #13
0
        private void WriteImageParts(DrawingsPart dp)
        {
            ImagePart imgp;
            Xdr.WorksheetDrawing wsd = dp.WorksheetDrawing;
            SLRowProperties rp;
            SLColumnProperties cp;

            #region Charts
            if (slws.Charts.Count > 0)
            {
                int FromAnchorRowIndex = 0;
                long FromAnchorRowOffset = 0;
                int FromAnchorColumnIndex = 0;
                long FromAnchorColumnOffset = 0;
                int ToAnchorRowIndex = 4;
                long ToAnchorRowOffset = 0;
                int ToAnchorColumnIndex = 4;
                long ToAnchorColumnOffset = 0;
                double fTemp = 0;

                ChartPart chartp;

                Xdr.GraphicFrame gf;

                foreach (Charts.SLChart Chart in slws.Charts)
                {
                    chartp = dp.AddNewPart<ChartPart>();
                    chartp.ChartSpace = Chart.ToChartSpace(ref chartp);

                    gf = new Xdr.GraphicFrame();
                    gf.Macro = string.Empty;
                    gf.NonVisualGraphicFrameProperties = new Xdr.NonVisualGraphicFrameProperties();
                    gf.NonVisualGraphicFrameProperties.NonVisualDrawingProperties = new Xdr.NonVisualDrawingProperties();
                    gf.NonVisualGraphicFrameProperties.NonVisualDrawingProperties.Id = slws.NextWorksheetDrawingId;
                    ++slws.NextWorksheetDrawingId;
                    gf.NonVisualGraphicFrameProperties.NonVisualDrawingProperties.Name = Chart.ChartName;
                    // alt text for charts
                    //...gf.NonVisualGraphicFrameProperties.NonVisualDrawingProperties.Description = "";
                    gf.NonVisualGraphicFrameProperties.NonVisualGraphicFrameDrawingProperties = new Xdr.NonVisualGraphicFrameDrawingProperties();

                    gf.Transform = new Xdr.Transform();
                    gf.Transform.Offset = new A.Offset() { X = 0, Y = 0 };
                    gf.Transform.Extents = new A.Extents() { Cx = 0, Cy = 0 };

                    gf.Graphic = new A.Graphic();
                    gf.Graphic.GraphicData = new A.GraphicData();
                    gf.Graphic.GraphicData.Uri = "http://schemas.openxmlformats.org/drawingml/2006/chart";
                    gf.Graphic.GraphicData.Append(new C.ChartReference() { Id = dp.GetIdOfPart(chartp) });

                    FromAnchorRowIndex = (int)Math.Floor(Chart.TopPosition);
                    fTemp = Chart.TopPosition - FromAnchorRowIndex;
                    FromAnchorRowOffset = (long)(fTemp * slws.SheetFormatProperties.DefaultRowHeightInEMU);
                    if (slws.RowProperties.ContainsKey(FromAnchorRowIndex + 1))
                    {
                        rp = slws.RowProperties[FromAnchorRowIndex + 1];
                        if (rp.HasHeight) FromAnchorRowOffset = (long)(fTemp * rp.HeightInEMU);
                    }

                    FromAnchorColumnIndex = (int)Math.Floor(Chart.LeftPosition);
                    fTemp = Chart.LeftPosition - FromAnchorColumnIndex;
                    FromAnchorColumnOffset = (long)(fTemp * slws.SheetFormatProperties.DefaultColumnWidthInEMU);
                    if (slws.ColumnProperties.ContainsKey(FromAnchorColumnIndex + 1))
                    {
                        cp = slws.ColumnProperties[FromAnchorColumnIndex + 1];
                        if (cp.HasWidth) FromAnchorColumnOffset = (long)(fTemp * cp.WidthInEMU);
                    }

                    ToAnchorRowIndex = (int)Math.Floor(Chart.BottomPosition);
                    fTemp = Chart.BottomPosition - ToAnchorRowIndex;
                    ToAnchorRowOffset = (long)(fTemp * slws.SheetFormatProperties.DefaultRowHeightInEMU);
                    if (slws.RowProperties.ContainsKey(ToAnchorRowIndex + 1))
                    {
                        rp = slws.RowProperties[ToAnchorRowIndex + 1];
                        if (rp.HasHeight) ToAnchorRowOffset = (long)(fTemp * rp.HeightInEMU);
                    }

                    ToAnchorColumnIndex = (int)Math.Floor(Chart.RightPosition);
                    fTemp = Chart.RightPosition - ToAnchorColumnIndex;
                    ToAnchorColumnOffset = (long)(fTemp * slws.SheetFormatProperties.DefaultColumnWidthInEMU);
                    if (slws.ColumnProperties.ContainsKey(ToAnchorColumnIndex + 1))
                    {
                        cp = slws.ColumnProperties[ToAnchorColumnIndex + 1];
                        if (cp.HasWidth) ToAnchorColumnOffset = (long)(fTemp * cp.WidthInEMU);
                    }

                    Xdr.TwoCellAnchor tcanchor = new Xdr.TwoCellAnchor();
                    tcanchor.FromMarker = new Xdr.FromMarker();
                    tcanchor.FromMarker.RowId = new Xdr.RowId(FromAnchorRowIndex.ToString(CultureInfo.InvariantCulture));
                    tcanchor.FromMarker.RowOffset = new Xdr.RowOffset(FromAnchorRowOffset.ToString(CultureInfo.InvariantCulture));
                    tcanchor.FromMarker.ColumnId = new Xdr.ColumnId(FromAnchorColumnIndex.ToString(CultureInfo.InvariantCulture));
                    tcanchor.FromMarker.ColumnOffset = new Xdr.ColumnOffset(FromAnchorColumnOffset.ToString(CultureInfo.InvariantCulture));

                    tcanchor.ToMarker = new Xdr.ToMarker();
                    tcanchor.ToMarker.RowId = new Xdr.RowId(ToAnchorRowIndex.ToString(CultureInfo.InvariantCulture));
                    tcanchor.ToMarker.RowOffset = new Xdr.RowOffset(ToAnchorRowOffset.ToString(CultureInfo.InvariantCulture));
                    tcanchor.ToMarker.ColumnId = new Xdr.ColumnId(ToAnchorColumnIndex.ToString(CultureInfo.InvariantCulture));
                    tcanchor.ToMarker.ColumnOffset = new Xdr.ColumnOffset(ToAnchorColumnOffset.ToString(CultureInfo.InvariantCulture));

                    tcanchor.Append(gf);
                    tcanchor.Append(new Xdr.ClientData());

                    wsd.Append(tcanchor);
                    wsd.Save(dp);
                }
            }
            #endregion

            #region Pictures
            if (slws.Pictures.Count > 0)
            {
                foreach (Drawing.SLPicture Picture in slws.Pictures)
                {
                    imgp = dp.AddImagePart(Picture.PictureImagePartType);

                    if (Picture.DataIsInFile)
                    {
                        using (FileStream fs = new FileStream(Picture.PictureFileName, FileMode.Open))
                        {
                            imgp.FeedData(fs);
                        }
                    }
                    else
                    {
                        using (MemoryStream ms = new MemoryStream(Picture.PictureByteData))
                        {
                            imgp.FeedData(ms);
                        }
                    }

                    Xdr.Picture pic = new Xdr.Picture();
                    pic.NonVisualPictureProperties = new Xdr.NonVisualPictureProperties();

                    pic.NonVisualPictureProperties.NonVisualDrawingProperties = new Xdr.NonVisualDrawingProperties();
                    pic.NonVisualPictureProperties.NonVisualDrawingProperties.Id = slws.NextWorksheetDrawingId;
                    ++slws.NextWorksheetDrawingId;
                    // recommendation is to set as the actual filename, but we'll follow Excel here...
                    // Note: the name value can be used multiple times without Excel choking.
                    // So for example, you can have two pictures with "Picture 1".
                    pic.NonVisualPictureProperties.NonVisualDrawingProperties.Name = string.Format("Picture {0}", dp.ImageParts.Count());
                    pic.NonVisualPictureProperties.NonVisualDrawingProperties.Description = Picture.AlternativeText;
                    // hlinkClick and hlinkHover as children

                    if (Picture.HasUri)
                    {
                        HyperlinkRelationship hlinkrel = dp.AddHyperlinkRelationship(new System.Uri(Picture.HyperlinkUri, Picture.HyperlinkUriKind), Picture.IsHyperlinkExternal);
                        pic.NonVisualPictureProperties.NonVisualDrawingProperties.HyperlinkOnClick = new A.HyperlinkOnClick() { Id = hlinkrel.Id };
                    }

                    pic.NonVisualPictureProperties.NonVisualPictureDrawingProperties = new Xdr.NonVisualPictureDrawingProperties();

                    pic.BlipFill = new Xdr.BlipFill();
                    pic.BlipFill.Blip = new A.Blip();
                    pic.BlipFill.Blip.Embed = dp.GetIdOfPart(imgp);
                    if (Picture.CompressionState != A.BlipCompressionValues.None)
                    {
                        pic.BlipFill.Blip.CompressionState = Picture.CompressionState;
                    }

                    if (Picture.Brightness != 0 || Picture.Contrast != 0)
                    {
                        A.LuminanceEffect lumeffect = new A.LuminanceEffect();
                        if (Picture.Brightness != 0) lumeffect.Brightness = Convert.ToInt32(Picture.Brightness * 1000);
                        if (Picture.Contrast != 0) lumeffect.Contrast = Convert.ToInt32(Picture.Contrast * 1000);
                        pic.BlipFill.Blip.Append(lumeffect);
                    }

                    pic.BlipFill.SourceRectangle = new A.SourceRectangle();
                    pic.BlipFill.Append(new A.Stretch() { FillRectangle = new A.FillRectangle() });

                    pic.ShapeProperties = new Xdr.ShapeProperties();
                    pic.ShapeProperties.BlackWhiteMode = A.BlackWhiteModeValues.Auto;
                    pic.ShapeProperties.Transform2D = new A.Transform2D();

                    // not supporting yet because you need to change the positional offsets too.
                    //if (Picture.RotationAngle != 0)
                    //{
                    //    pic.ShapeProperties.Transform2D.Rotation = Convert.ToInt32(Picture.RotationAngle * (decimal)SLConstants.DegreeToAngleRepresentation);
                    //}

                    pic.ShapeProperties.Transform2D.Offset = new A.Offset();

                    // used when it's relative positioning
                    // these are the actual values used, so it's 1 less than the given anchor indices.
                    int iColumnId = 0, iRowId = 0;
                    long lColumnOffset = 0, lRowOffset = 0;
                    if (Picture.UseRelativePositioning)
                    {
                        iColumnId = Picture.AnchorColumnIndex - 1;
                        iRowId = Picture.AnchorRowIndex - 1;

                        long lOffset = 0;
                        long lOffsetBuffer = 0;
                        int i;

                        if (iColumnId > 0)
                        {
                            for (i = 1; i <= iColumnId; ++i)
                            {
                                if (slws.ColumnProperties.ContainsKey(i))
                                {
                                    cp = slws.ColumnProperties[i];
                                    if (cp.HasWidth)
                                    {
                                        lOffsetBuffer += cp.WidthInEMU;
                                    }
                                    else
                                    {
                                        lOffsetBuffer += slws.SheetFormatProperties.DefaultColumnWidthInEMU;
                                    }
                                }
                                else
                                {
                                    // we use the current worksheet's column width
                                    lOffsetBuffer += slws.SheetFormatProperties.DefaultColumnWidthInEMU;
                                }
                            }
                        }
                        lOffsetBuffer += Picture.OffsetX;
                        lOffset = lOffsetBuffer;

                        if (lOffset <= 0)
                        {
                            // in case the given offset is so negative, it pushes the sum to negative
                            // We use "<= 0" here, so the else part assumes a positive offset
                            iColumnId = 0;
                            lColumnOffset = 0;
                        }
                        else
                        {
                            lOffsetBuffer = 0;
                            i = 1;

                            while (lOffset > lOffsetBuffer)
                            {
                                iColumnId = i - 1;
                                lColumnOffset = lOffset - lOffsetBuffer;

                                if (slws.ColumnProperties.ContainsKey(i))
                                {
                                    cp = slws.ColumnProperties[i];
                                    if (cp.HasWidth)
                                    {
                                        lOffsetBuffer += cp.WidthInEMU;
                                    }
                                    else
                                    {
                                        lOffsetBuffer += slws.SheetFormatProperties.DefaultColumnWidthInEMU;
                                    }
                                }
                                else
                                {
                                    // we use the current worksheet's column width
                                    lOffsetBuffer += slws.SheetFormatProperties.DefaultColumnWidthInEMU;
                                }
                                ++i;
                            }
                        }

                        pic.ShapeProperties.Transform2D.Offset.X = lColumnOffset;

                        lOffsetBuffer = 0;
                        if (iRowId > 0)
                        {
                            for (i = 1; i <= iRowId; ++i)
                            {
                                if (slws.RowProperties.ContainsKey(i))
                                {
                                    rp = slws.RowProperties[i];
                                    if (rp.HasHeight)
                                    {
                                        lOffsetBuffer += rp.HeightInEMU;
                                    }
                                    else
                                    {
                                        lOffsetBuffer += slws.SheetFormatProperties.DefaultRowHeightInEMU;
                                    }
                                }
                                else
                                {
                                    // we use the current worksheet's row height
                                    lOffsetBuffer += slws.SheetFormatProperties.DefaultRowHeightInEMU;
                                }
                            }
                        }
                        lOffsetBuffer += Picture.OffsetY;
                        lOffset = lOffsetBuffer;

                        if (lOffset <= 0)
                        {
                            // in case the given offset is so negative, it pushes the sum to negative
                            // We use "<= 0" here, so the else part assumes a positive offset
                            iRowId = 0;
                            lRowOffset = 0;
                        }
                        else
                        {
                            lOffsetBuffer = 0;
                            i = 1;

                            while (lOffset > lOffsetBuffer)
                            {
                                iRowId = i - 1;
                                lRowOffset = lOffset - lOffsetBuffer;

                                if (slws.RowProperties.ContainsKey(i))
                                {
                                    rp = slws.RowProperties[i];
                                    if (rp.HasHeight)
                                    {
                                        lOffsetBuffer += rp.HeightInEMU;
                                    }
                                    else
                                    {
                                        lOffsetBuffer += slws.SheetFormatProperties.DefaultRowHeightInEMU;
                                    }
                                }
                                else
                                {
                                    // we use the current worksheet's row height
                                    lOffsetBuffer += slws.SheetFormatProperties.DefaultRowHeightInEMU;
                                }
                                ++i;
                            }
                        }

                        pic.ShapeProperties.Transform2D.Offset.Y = lRowOffset;
                    }
                    else
                    {
                        pic.ShapeProperties.Transform2D.Offset.X = 0;
                        pic.ShapeProperties.Transform2D.Offset.Y = 0;
                    }
                    pic.ShapeProperties.Transform2D.Extents = new A.Extents();
                    pic.ShapeProperties.Transform2D.Extents.Cx = Picture.WidthInEMU;
                    pic.ShapeProperties.Transform2D.Extents.Cy = Picture.HeightInEMU;
                    pic.ShapeProperties.Append(new A.PresetGeometry() { Preset = Picture.PictureShape, AdjustValueList = new A.AdjustValueList() });

                    switch (Picture.FillType)
                    {
                        case Drawing.SLPicture.SLPictureFillType.None:
                            pic.ShapeProperties.Append(new A.NoFill());
                            break;
                        case Drawing.SLPicture.SLPictureFillType.Solid:
                            A.SolidFill solidfill = new A.SolidFill();
                            solidfill.InnerXml = Picture.FillClassInnerXml;
                            pic.ShapeProperties.Append(solidfill);
                            break;
                        default:
                            pic.ShapeProperties.Append(new A.NoFill());
                            break;
                    }

                    if (Picture.HasOutline)
                    {
                        A.Outline outline = new A.Outline();
                        if (Picture.PictureOutline.Width != null)
                        {
                            outline.Width = Picture.PictureOutline.Width.Value;
                        }
                        if (Picture.PictureOutline.CompoundLineType != null)
                        {
                            outline.CompoundLineType = Picture.PictureOutline.CompoundLineType.Value;
                        }
                        if (Picture.PictureOutline.CapType != null)
                        {
                            outline.CapType = Picture.PictureOutline.CapType.Value;
                        }

                        outline.Append((A.SolidFill)Picture.PictureOutlineFill.CloneNode(true));

                        foreach (var child in Picture.PictureOutlineFill.ChildElements)
                        {
                            if (child is A.PresetDash)
                            {
                                outline.Append((A.PresetDash)child.CloneNode(true));
                            }
                            else if (child is A.Round)
                            {
                                outline.Append((A.Round)child.CloneNode(true));
                            }
                            else if (child is A.Bevel)
                            {
                                outline.Append((A.Bevel)child.CloneNode(true));
                            }
                            else if (child is A.Miter)
                            {
                                outline.Append((A.Miter)child.CloneNode(true));
                            }
                        }

                        pic.ShapeProperties.Append(outline);
                    }

                    if (Picture.HasEffectList)
                    {
                        A.EffectList effectlist = new A.EffectList();

                        if (Picture.HasGlow)
                        {
                            A.Glow glow = new A.Glow();
                            glow.Radius = Picture.GlowRadius;
                            glow.InnerXml = Picture.GlowColorInnerXml;
                            effectlist.Append(glow);
                        }

                        if (Picture.HasInnerShadow)
                        {
                            effectlist.Append((A.InnerShadow)Picture.PictureInnerShadow.CloneNode(true));
                        }

                        if (Picture.HasOuterShadow)
                        {
                            effectlist.Append((A.OuterShadow)Picture.PictureOuterShadow.CloneNode(true));
                        }

                        if (Picture.HasReflection)
                        {
                            A.Reflection refl = new A.Reflection();
                            if (Picture.ReflectionBlurRadius != 0) refl.BlurRadius = Picture.ReflectionBlurRadius;
                            if (Picture.ReflectionStartOpacity != 100000) refl.StartOpacity = Picture.ReflectionStartOpacity;
                            if (Picture.ReflectionStartPosition != 0) refl.StartPosition = Picture.ReflectionStartPosition;
                            if (Picture.ReflectionEndAlpha != 0) refl.EndAlpha = Picture.ReflectionEndAlpha;
                            if (Picture.ReflectionEndPosition != 100000) refl.EndPosition = Picture.ReflectionEndPosition;
                            if (Picture.ReflectionDistance != 0) refl.Distance = Picture.ReflectionDistance;
                            if (Picture.ReflectionDirection != 0) refl.Direction = Picture.ReflectionDirection;
                            if (Picture.ReflectionFadeDirection != 5400000) refl.FadeDirection = Picture.ReflectionFadeDirection;
                            if (Picture.ReflectionHorizontalRatio != 100000) refl.HorizontalRatio = Picture.ReflectionHorizontalRatio;
                            if (Picture.ReflectionVerticalRatio != 100000) refl.VerticalRatio = Picture.ReflectionVerticalRatio;
                            if (Picture.ReflectionHorizontalSkew != 0) refl.HorizontalSkew = Picture.ReflectionHorizontalSkew;
                            if (Picture.ReflectionVerticalSkew != 0) refl.VerticalSkew = Picture.ReflectionVerticalSkew;
                            if (Picture.ReflectionAlignment != A.RectangleAlignmentValues.Bottom) refl.Alignment = Picture.ReflectionAlignment;
                            if (!Picture.ReflectionRotateWithShape) refl.RotateWithShape = false;
                            effectlist.Append(refl);
                        }

                        if (Picture.HasSoftEdge)
                        {
                            A.SoftEdge softedge = new A.SoftEdge();
                            softedge.Radius = Picture.SoftEdgeRadius;
                            effectlist.Append(softedge);
                        }

                        pic.ShapeProperties.Append(effectlist);
                    }

                    if (Picture.HasScene3D)
                    {
                        A.Scene3DType scene3d = new A.Scene3DType();
                        scene3d.Camera = new A.Camera();
                        scene3d.Camera.Preset = Picture.CameraPreset;
                        scene3d.Camera.FieldOfView = Picture.CameraFieldOfView;
                        // default is 100%
                        if (Picture.CameraZoom != 100000)
                        {
                            scene3d.Camera.Zoom = Picture.CameraZoom;
                        }

                        if (Picture.CameraLatitude != 0 || Picture.CameraLongitude != 0 || Picture.CameraRevolution != 0)
                        {
                            scene3d.Camera.Rotation = new A.Rotation();
                            scene3d.Camera.Rotation.Latitude = Picture.CameraLatitude;
                            scene3d.Camera.Rotation.Longitude = Picture.CameraLongitude;
                            scene3d.Camera.Rotation.Revolution = Picture.CameraRevolution;
                        }

                        scene3d.LightRig = new A.LightRig();
                        scene3d.LightRig.Rig = Picture.LightRigType;
                        scene3d.LightRig.Direction = Picture.LightRigDirection;

                        if (Picture.LightRigLatitude != 0 || Picture.LightRigLongitude != 0 || Picture.LightRigRevolution != 0)
                        {
                            scene3d.LightRig.Rotation = new A.Rotation();
                            scene3d.LightRig.Rotation.Latitude = Picture.LightRigLatitude;
                            scene3d.LightRig.Rotation.Longitude = Picture.LightRigLongitude;
                            scene3d.LightRig.Rotation.Revolution = Picture.LightRigRevolution;
                        }

                        pic.ShapeProperties.Append(scene3d);
                    }

                    if (Picture.HasShape3D)
                    {
                        A.Shape3DType shape3d = new A.Shape3DType();

                        if (Picture.HasBevelTop)
                        {
                            shape3d.BevelTop = new A.BevelTop();
                            shape3d.BevelTop.Preset = Picture.BevelTopPreset;
                            shape3d.BevelTop.Width = Picture.BevelTopWidth;
                            shape3d.BevelTop.Height = Picture.BevelTopHeight;
                        }

                        if (Picture.HasBevelBottom)
                        {
                            shape3d.BevelBottom = new A.BevelBottom();
                            shape3d.BevelBottom.Preset = Picture.BevelBottomPreset;
                            shape3d.BevelBottom.Width = Picture.BevelBottomWidth;
                            shape3d.BevelBottom.Height = Picture.BevelBottomHeight;
                        }

                        if (Picture.HasExtrusion)
                        {
                            A.ExtrusionColor extcolor = new A.ExtrusionColor();
                            extcolor.InnerXml = Picture.ExtrusionColorInnerXml;
                            shape3d.ExtrusionColor = extcolor;
                            shape3d.ExtrusionHeight = Picture.ExtrusionHeight;
                        }

                        if (Picture.HasContour)
                        {
                            A.ContourColor contourcolor = new A.ContourColor();
                            contourcolor.InnerXml = Picture.ContourColorInnerXml;
                            shape3d.ContourColor = contourcolor;
                            shape3d.ContourWidth = Picture.ContourWidth;
                        }

                        if (Picture.HasMaterialType)
                        {
                            shape3d.PresetMaterial = Picture.MaterialType;
                        }

                        if (Picture.HasZDistance)
                        {
                            shape3d.Z = Picture.ZDistance;
                        }

                        pic.ShapeProperties.Append(shape3d);
                    }

                    Xdr.ClientData clientdata = new Xdr.ClientData();
                    // the properties are true by default
                    if (!Picture.LockWithSheet) clientdata.LockWithSheet = false;
                    if (!Picture.PrintWithSheet) clientdata.PrintWithSheet = false;

                    if (Picture.UseRelativePositioning)
                    {
                        Xdr.OneCellAnchor ocanchor = new Xdr.OneCellAnchor();
                        ocanchor.FromMarker = new Xdr.FromMarker();
                        // Subtract 1 because picture goes to bottom right corner
                        // Subtracting 1 makes it more intuitive that (1,1) means top-left corner of (1,1)
                        ocanchor.FromMarker.ColumnId = new Xdr.ColumnId() { Text = iColumnId.ToString(CultureInfo.InvariantCulture) };
                        ocanchor.FromMarker.ColumnOffset = new Xdr.ColumnOffset() { Text = lColumnOffset.ToString(CultureInfo.InvariantCulture) };
                        ocanchor.FromMarker.RowId = new Xdr.RowId() { Text = iRowId.ToString(CultureInfo.InvariantCulture) };
                        ocanchor.FromMarker.RowOffset = new Xdr.RowOffset() { Text = lRowOffset.ToString(CultureInfo.InvariantCulture) };

                        ocanchor.Extent = new Xdr.Extent();
                        ocanchor.Extent.Cx = Picture.WidthInEMU;
                        ocanchor.Extent.Cy = Picture.HeightInEMU;

                        ocanchor.Append(pic);
                        ocanchor.Append(clientdata);
                        wsd.Append(ocanchor);
                    }
                    else
                    {
                        Xdr.AbsoluteAnchor absanchor = new Xdr.AbsoluteAnchor();
                        absanchor.Position = new Xdr.Position();
                        absanchor.Position.X = Picture.OffsetX;
                        absanchor.Position.Y = Picture.OffsetY;

                        absanchor.Extent = new Xdr.Extent();
                        absanchor.Extent.Cx = Picture.WidthInEMU;
                        absanchor.Extent.Cy = Picture.HeightInEMU;

                        absanchor.Append(pic);
                        absanchor.Append(clientdata);
                        wsd.Append(absanchor);
                    }

                    wsd.Save(dp);
                }
            }
            #endregion
        }
Example #14
0
        private void BuildWorkbook(string filename)
        {
            try
            {
                using (SpreadsheetDocument xl = SpreadsheetDocument.Create(filename, SpreadsheetDocumentType.Workbook))
                {
                    var wbp = xl.AddWorkbookPart();
                    var wsp = wbp.AddNewPart <WorksheetPart>();
                    var wb  = new Workbook();
                    var fv  = new FileVersion {
                        ApplicationName = "Microsoft Office Excel"
                    };
                    var ws = new Worksheet();
                    var sd = new SheetData();

                    var wbsp = wbp.AddNewPart <WorkbookStylesPart>();
                    wbsp.Stylesheet = CreateStylesheet();
                    wbsp.Stylesheet.Save();

                    var sImagePath = "polymathlogo.png";
                    var dp         = wsp.AddNewPart <DrawingsPart>();
                    var imgp       = dp.AddImagePart(ImagePartType.Png, wsp.GetIdOfPart(dp));
                    using (FileStream fs = new FileStream(sImagePath, FileMode.Open))
                    {
                        imgp.FeedData(fs);
                    }

                    var nvdp = new NonVisualDrawingProperties
                    {
                        Id          = 1025,
                        Name        = "Picture 1",
                        Description = "polymathlogo"
                    };
                    var picLocks = new DocumentFormat.OpenXml.Drawing.PictureLocks
                    {
                        NoChangeAspect     = true,
                        NoChangeArrowheads = true
                    };
                    var nvpdp = new NonVisualPictureDrawingProperties
                    {
                        PictureLocks = picLocks
                    };
                    var nvpp = new NonVisualPictureProperties
                    {
                        NonVisualDrawingProperties        = nvdp,
                        NonVisualPictureDrawingProperties = nvpdp
                    };

                    var stretch = new DocumentFormat.OpenXml.Drawing.Stretch
                    {
                        FillRectangle = new DocumentFormat.OpenXml.Drawing.FillRectangle()
                    };

                    var blip = new DocumentFormat.OpenXml.Drawing.Blip
                    {
                        Embed            = dp.GetIdOfPart(imgp),
                        CompressionState = DocumentFormat.OpenXml.Drawing.BlipCompressionValues.Print
                    };

                    var blipFill = new BlipFill
                    {
                        Blip            = blip,
                        SourceRectangle = new DocumentFormat.OpenXml.Drawing.SourceRectangle()
                    };
                    blipFill.Append(stretch);

                    var offset = new DocumentFormat.OpenXml.Drawing.Offset
                    {
                        X = 0,
                        Y = 0
                    };
                    var t2d = new DocumentFormat.OpenXml.Drawing.Transform2D
                    {
                        Offset = offset
                    };

                    var bm = Xwt.Drawing.Image.FromFile(sImagePath).ToBitmap();
                    //http://en.wikipedia.org/wiki/English_Metric_Unit#DrawingML
                    //http://stackoverflow.com/questions/1341930/pixel-to-centimeter
                    //http://stackoverflow.com/questions/139655/how-to-convert-pixels-to-points-px-to-pt-in-net-c
                    var extents = new DocumentFormat.OpenXml.Drawing.Extents
                    {
                        Cx = (long)bm.Width * (long)((float)914400 / bm.PixelWidth),
                        Cy = (long)bm.Height * (long)((float)914400 / bm.PixelHeight)
                    };
                    bm.Dispose();
                    t2d.Extents = extents;
                    var prstGeom = new DocumentFormat.OpenXml.Drawing.PresetGeometry
                    {
                        Preset          = DocumentFormat.OpenXml.Drawing.ShapeTypeValues.Rectangle,
                        AdjustValueList = new DocumentFormat.OpenXml.Drawing.AdjustValueList()
                    };
                    var sp = new ShapeProperties
                    {
                        BlackWhiteMode = DocumentFormat.OpenXml.Drawing.BlackWhiteModeValues.Auto,
                        Transform2D    = t2d
                    };
                    sp.Append(prstGeom);
                    sp.Append(new DocumentFormat.OpenXml.Drawing.NoFill());

                    var picture = new DocumentFormat.OpenXml.Drawing.Spreadsheet.Picture
                    {
                        NonVisualPictureProperties = nvpp,
                        BlipFill        = blipFill,
                        ShapeProperties = sp
                    };

                    var pos = new Position {
                        X = 0, Y = 0
                    };
                    Extent ext = new Extent {
                        Cx = extents.Cx, Cy = extents.Cy
                    };
                    var anchor = new AbsoluteAnchor
                    {
                        Position = pos,
                        Extent   = ext
                    };
                    anchor.Append(picture);
                    anchor.Append(new ClientData());

                    var wsd = new WorksheetDrawing();
                    wsd.Append(anchor);
                    var drawing = new Drawing {
                        Id = dp.GetIdOfPart(imgp)
                    };

                    wsd.Save(dp);

                    UInt32 index;
                    Random rand = new Random();

                    sd.Append(CreateHeader(10));
                    sd.Append(CreateColumnHeader(11));

                    for (index = 12; index < 30; ++index)
                    {
                        sd.Append(CreateContent(index, ref rand));
                    }

                    ws.Append(sd);
                    ws.Append(drawing);
                    wsp.Worksheet = ws;
                    wsp.Worksheet.Save();
                    Sheets sheets = new Sheets();
                    Sheet  sheet  = new Sheet
                    {
                        Name    = "Sheet1",
                        SheetId = 1,
                        Id      = wbp.GetIdOfPart(wsp)
                    };
                    sheets.Append(sheet);
                    wb.Append(fv);
                    wb.Append(sheets);

                    xl.WorkbookPart.Workbook = wb;
                    xl.WorkbookPart.Workbook.Save();
                    xl.Close();
                }
            }
            catch (Exception e)
            {
                Debug.WriteLine(e.ToString());
            }
        }
        private static void AddImage(Func <FileStream> fileStreamFunc, WorksheetPart worksheetPart)
        {
            if (fileStreamFunc == null)
            {
                return;
            }

            DrawingsPart drawingsPart;
            ImagePart    imagePart;
            Extents      extents;

            using (var fileStream = fileStreamFunc())
            {
                if (fileStream == null)
                {
                    return;
                }

                drawingsPart = worksheetPart.AddNewPart <DrawingsPart>();
                imagePart    = drawingsPart.AddImagePart(ImagePartType.Png, worksheetPart.GetIdOfPart(drawingsPart));
                imagePart.FeedData(fileStream);

                Image image = Image.FromStream(fileStream);
                //http://en.wikipedia.org/wiki/English_Metric_Unit#DrawingML
                //http://stackoverflow.com/questions/1341930/pixel-to-centimeter
                //http://stackoverflow.com/questions/139655/how-to-convert-pixels-to-points-px-to-pt-in-net-c
                extents = new Extents
                {
                    Cx = (long)image.Width * (long)((float)914400 / image.HorizontalResolution),
                    Cy = (long)image.Height * (long)((float)914400 / image.VerticalResolution)
                };
                image.Dispose();
            }

            NonVisualPictureProperties pictureNonVisualPictureProperties =
                new NonVisualPictureProperties
            {
                NonVisualDrawingProperties = new NonVisualDrawingProperties
                {
                    Id          = 1025,
                    Name        = "Picture 1",
                    Description = "eventtree"
                },
                NonVisualPictureDrawingProperties = new NonVisualPictureDrawingProperties
                {
                    PictureLocks = new PictureLocks
                    {
                        NoChangeAspect     = true,
                        NoChangeArrowheads = true
                    }
                }
            };

            Stretch stretch =
                new Stretch
            {
                FillRectangle = new FillRectangle()
            };

            BlipFill blipFill = new BlipFill
            {
                Blip = new Blip
                {
                    Embed            = drawingsPart.GetIdOfPart(imagePart),
                    CompressionState = BlipCompressionValues.Print
                },
                SourceRectangle = new SourceRectangle()
            };

            blipFill.Append(stretch);

            ShapeProperties shapeProperties =
                new ShapeProperties
            {
                BlackWhiteMode = BlackWhiteModeValues.Auto,
                Transform2D    = new Transform2D
                {
                    Offset = new Offset
                    {
                        X = 0,
                        Y = 0
                    },
                    Extents = extents
                }
            };
            PresetGeometry prstGeom =
                new PresetGeometry
            {
                Preset          = ShapeTypeValues.Rectangle,
                AdjustValueList = new AdjustValueList()
            };

            shapeProperties.Append(prstGeom);
            shapeProperties.Append(new SolidFill
            {
                RgbColorModelHex = new RgbColorModelHex
                {
                    Val = Color.White.ToSimpleHexValue()
                }
            });
            DocumentFormat.OpenXml.Drawing.Outline outline = new DocumentFormat.OpenXml.Drawing.Outline
            {
                Width = 25400,
            };

            var solidFill1 = new SolidFill
            {
                RgbColorModelHex = new RgbColorModelHex
                {
                    Val = StyleSheetLibrary.BorderColor.ToSimpleHexValue()
                }
            };

            outline.Append(solidFill1);
            shapeProperties.Append(outline);

            DocumentFormat.OpenXml.Drawing.Spreadsheet.Picture picture =
                new DocumentFormat.OpenXml.Drawing.Spreadsheet.Picture
            {
                NonVisualPictureProperties = pictureNonVisualPictureProperties,
                BlipFill        = blipFill,
                ShapeProperties = shapeProperties
            };

            var           iColumnId     = 11;
            var           iRowId        = 1;
            var           lColumnOffset = 0;
            var           lRowOffset    = 0;
            OneCellAnchor ocanchor      = new OneCellAnchor
            {
                FromMarker = new DocumentFormat.OpenXml.Drawing.Spreadsheet.FromMarker
                {
                    ColumnId = new ColumnId {
                        Text = iColumnId.ToString(CultureInfo.InvariantCulture)
                    },
                    ColumnOffset = new ColumnOffset {
                        Text = lColumnOffset.ToString(CultureInfo.InvariantCulture)
                    },
                    RowId = new RowId {
                        Text = iRowId.ToString(CultureInfo.InvariantCulture)
                    },
                    RowOffset = new RowOffset {
                        Text = lRowOffset.ToString(CultureInfo.InvariantCulture)
                    }
                },
                Extent = new Extent {
                    Cx = extents.Cx, Cy = extents.Cy
                }
            };

            ocanchor.Append(picture);
            ocanchor.Append(new ClientData());


            WorksheetDrawing worksheetDrawing = new WorksheetDrawing();

            worksheetDrawing.Append(ocanchor);
            Drawing drawing = new Drawing {
                Id = drawingsPart.GetIdOfPart(imagePart)
            };

            worksheetDrawing.Save(drawingsPart);

            worksheetPart.Worksheet.Append(drawing);
        }
Example #16
0
    public static ExcelEntity ReadExcelDetail(SpreadsheetDocument excel, List <string> sheetName, string file)
    {
        ExcelEntity ee = new ExcelEntity();

        #region SheetStyle公用样式表
        #region 主题色
        ThemePart themPart  = excel.WorkbookPart.ThemePart;
        var       themColor = ThemeColor.GetThemeColorList(themPart);
        #endregion

        //获取样式设置
        Stylesheet styleSheet = excel.WorkbookPart.WorkbookStylesPart.Stylesheet;
        #region 样式列表
        CellFormats            cellFormats     = styleSheet.CellFormats;
        List <CellFormatsList> cellFormatsList = new List <CellFormatsList>();
        int index = 0;
        foreach (CellFormat cell in cellFormats.ChildElements)
        {
            if (cell != null)
            {
                CellFormatsList cfl = new CellFormatsList();
                cfl.styleIndex = index;
                if (cell.NumberFormatId != null)
                {
                    cfl.numFmtId = int.Parse(cell.NumberFormatId);
                }
                if (cell.FontId != null)
                {
                    cfl.fontId = int.Parse(cell.FontId);
                }
                if (cell.FillId != null)
                {
                    cfl.fillId = int.Parse(cell.FillId);
                }
                if (cell.BorderId != null)
                {
                    cfl.borderId = int.Parse(cell.BorderId);
                }
                if (cell.ApplyAlignment != null)
                {
                    cfl.applyAlignment = int.Parse(cell.ApplyAlignment);
                }
                if (cell.ApplyBorder != null)
                {
                    cfl.applyBorder = int.Parse(cell.ApplyBorder);
                }
                if (cell.ApplyFont != null)
                {
                    cfl.applyFont = int.Parse(cell.ApplyFont);
                }
                if (cell.ApplyNumberFormat != null)
                {
                    cfl.applyNumberFormat = int.Parse(cell.ApplyNumberFormat);
                }
                if (cell.Alignment != null)
                {
                    string ver = cell.Alignment.Vertical;
                    string hor = cell.Alignment.Horizontal;
                    if (!string.IsNullOrEmpty(ver))
                    {
                        if (ver == "center")
                        {
                            cfl.vertical = "htMiddle";
                        }
                        else
                        {
                            cfl.vertical = "ht" + ver.Substring(0, 1).ToUpper() + ver.Substring(1, ver.Length - 1);
                        }
                    }
                    else
                    {
                        cfl.vertical = "htBottom";
                    }
                    if (!string.IsNullOrEmpty(hor))
                    {
                        cfl.horizontal = "ht" + hor.Substring(0, 1).ToUpper() + hor.Substring(1, hor.Length - 1);
                    }
                    else
                    {
                        cfl.horizontal = "htLeft";
                    }
                }
                cellFormatsList.Add(cfl);
                index++;
            }
        }
        ee.CellFormatsList = cellFormatsList;
        #endregion

        #region 数据类型列表
        NumberingFormats   numberFormats = styleSheet.NumberingFormats;
        List <NumFmtsList> numFmtList    = new List <NumFmtsList>();
        if (numberFormats != null)
        {
            foreach (NumberingFormat cell in numberFormats.ChildElements)
            {
                NumFmtsList nfl = new NumFmtsList();
                if (cell.NumberFormatId != null)
                {
                    nfl.numFmtId = (int)cell.NumberFormatId.Value;
                }
                if (cell.FormatCode != null)
                {
                    nfl.formatCode = cell.FormatCode.Value;
                }
                numFmtList.Add(nfl);
            }
        }
        ee.NumFmtsList = numFmtList;
        #endregion

        #region 字体样式
        Fonts            fonts     = styleSheet.Fonts;
        List <FontsList> fontsList = new List <FontsList>();
        foreach (Font cell in fonts.ChildElements)
        {
            FontsList fl = new FontsList();
            if (cell.FontSize != null)
            {
                fl.fontsize = cell.FontSize.Val + "px";
            }
            if (cell.FontName != null)
            {
                fl.fontname = cell.FontName.Val;
            }
            if (cell.Color != null)
            {
                if (cell.Color.Rgb != null && !string.IsNullOrEmpty(cell.Color.Rgb.ToString()))
                {
                    fl.color = "#" + cell.Color.Rgb.ToString().Substring(2, 6);
                }
            }
            if (cell.Italic != null)
            {
                fl.italic = "italic";
            }
            if (cell.Bold != null)
            {
                fl.bold = "bold";
            }
            if (cell.Underline != null)
            {
                fl.underline = "underline";
            }
            fontsList.Add(fl);
        }
        ee.FontsList = fontsList;
        #endregion

        #region 填充色样式
        Fills            fills     = styleSheet.Fills;
        List <FillsList> fillsList = new List <FillsList>();
        foreach (Fill cell in fills.ChildElements)
        {
            FillsList fl = new FillsList();
            if (cell.PatternFill != null)
            {
                fl.patternType = cell.PatternFill.PatternType;
                if (cell.PatternFill.ForegroundColor != null)
                {
                    if (cell.PatternFill.ForegroundColor.Rgb != null)
                    {
                        fl.fgColor = "#" + cell.PatternFill.ForegroundColor.Rgb.ToString().Substring(2, 6);
                    }
                    if (cell.PatternFill.ForegroundColor.Theme != null)
                    {
                        UInt32Value themeIndex = cell.PatternFill.ForegroundColor.Theme;
                        DoubleValue tint       = cell.PatternFill.ForegroundColor.Tint;
                        if (tint != null)
                        {
                            var newColor = ThemeColor.ThemColorDeal(themeIndex, tint, themColor[themeIndex]);
                            fl.fgColor = "#" + newColor.Name.Substring(2, 6);
                            fl.fgColor = "#" + newColor.Name.Substring(2, 6);
                        }
                        else
                        {
                            fl.fgColor = "#" + themColor[themeIndex];
                            fl.fgColor = "#" + themColor[themeIndex];
                        }
                    }
                }
            }
            fillsList.Add(fl);
        }
        ee.FillsList = fillsList;
        #endregion

        #region 边框样式
        Borders            borders     = styleSheet.Borders;
        List <BordersList> bordersList = new List <BordersList>();
        var defaultBorderStyle         = "1px solid #000";
        foreach (Border cell in borders.ChildElements)
        {
            BordersList bl = new BordersList();
            if (cell.LeftBorder != null)
            {
                if (cell.LeftBorder.Style != null)
                {
                    bl.left = defaultBorderStyle;
                }
            }
            if (cell.RightBorder != null)
            {
                if (cell.RightBorder.Style != null)
                {
                    bl.right = defaultBorderStyle;
                }
            }
            if (cell.TopBorder != null)
            {
                if (cell.TopBorder.Style != null)
                {
                    bl.top = defaultBorderStyle;
                }
            }
            if (cell.BottomBorder != null)
            {
                if (cell.BottomBorder.Style != null)
                {
                    bl.bottom = defaultBorderStyle;
                }
            }
            if (cell.DiagonalBorder != null)
            {
                if (cell.DiagonalBorder.Style != null)
                {
                    bl.diagonal = cell.DiagonalBorder.Style;
                }
            }
            bordersList.Add(bl);
        }
        ee.BordersList = bordersList;
        #endregion
        #endregion

        List <SheetDataList> sheetDataList = new List <SheetDataList>();
        List <PictureInfo>   pictures      = null;
        for (int i = 0; i < sheetName.Count; i++)
        {
            SheetDataList sdl         = new SheetDataList();
            int           RowCount    = 0;
            int           ColumnCount = 0;
            //得到工作表dimension
            WorksheetPart worksheet = ExcelHelper.GetWorksheetPartByName(excel, sheetName[i]);

            #region 获取单个Sheet表的数据

            #region //批注
            WorksheetCommentsPart   comments     = worksheet.WorksheetCommentsPart;
            List <CommentCellsList> commentLists = new List <CommentCellsList>();
            if (comments != null)
            {
                CommentList commentList = (CommentList)comments.Comments.ChildElements[1];
                //批注列表
                foreach (Comment comment in commentList.ChildElements)
                {
                    CommentCellsList ccl = new CommentCellsList();
                    //坐标
                    var cell      = GetCellXY(comment.Reference).Split('_');
                    var columnRow = int.Parse(cell[0].ToString()) - 1;
                    var columnCol = GetColumnIndex(cell[1]);
                    //批注内容
                    var commentVal = comment.InnerText;
                    ccl.row     = columnRow;
                    ccl.col     = columnCol;
                    ccl.comment = comment.InnerText;
                    //var commentCell = "{\"Row\":\""+ columnRow + "\",\"Col\":\"" + columnCol + ",\"Comment\":\"" + commentVal + "\"}";
                    commentLists.Add(ccl);
                }
            }
            sdl.Comments = commentLists;
            #endregion

            #region //获取合并单元格
            IEnumerable <MergeCells> mergeCells    = worksheet.Worksheet.Elements <MergeCells>();
            List <MergeCellsList>    mergeCellList = new List <MergeCellsList>();
            if (mergeCells.Count() > 0)
            {
                for (int k = 0; k < mergeCells.First().ChildElements.Count; k++)
                {
                    MergeCell      mergeCell = (MergeCell)mergeCells.First().ChildElements[k];
                    var            reference = mergeCell.Reference.ToString().Split(':');
                    var            startCell = GetCellXY(reference[0]).Split('_');
                    var            endCell   = GetCellXY(reference[1]).Split('_');
                    MergeCellsList mcl       = new MergeCellsList();
                    mcl.row     = int.Parse(startCell[0]) - 1;
                    mcl.rowspan = int.Parse(endCell[0]) - int.Parse(startCell[0]) + 1;
                    mcl.col     = GetColumnIndex(startCell[1]);
                    mcl.colspan = GetColumnIndex(endCell[1]) - mcl.col + 1;
                    //mcl.reference = mergeCell.Reference.ToString();
                    mergeCellList.Add(mcl);
                }
            }
            sdl.MergeCells = mergeCellList;
            #endregion

            //获取超链接列表
            //var hyperlinks = worksheet.RootElement.Descendants<Hyperlinks>().First().Cast<Hyperlink>();

            #region //读取图片
            DrawingsPart drawingPart = worksheet.GetPartsOfType <DrawingsPart>().ToList().FirstOrDefault();
            pictures = new List <PictureInfo>();
            if (drawingPart != null)
            {
                int tempIndex = 1;
                foreach (var part in drawingPart.Parts)
                {
                    PictureInfo          pic     = new PictureInfo();
                    ImagePart            imgPart = (ImagePart)part.OpenXmlPart;
                    System.Drawing.Image img1    = System.Drawing.Image.FromStream(imgPart.GetStream());

                    var      newFilename = Guid.NewGuid().ToString("N") + ".png";
                    string[] sArray      = Regex.Split(file, "UserFile", RegexOptions.IgnoreCase);
                    string   newFilePath = sArray[0] + "_Temp\\" + newFilename;
                    img1.Save(newFilePath);
                    //pic.Image = img1;
                    pic.RefId     = part.RelationshipId;//"rId" + imgPart.Uri.ToString().Split('/')[3].Split('.')[0].Substring(5);
                    pic.ImageUrl  = newFilePath;
                    pic.ImageName = newFilename;
                    pic.ImgHeight = img1.Height;
                    pic.ImgWidth  = img1.Width;
                    pictures.Add(pic);
                    tempIndex++;
                }
                //获取图片定位
                var worksheetDrawings = drawingPart.WorksheetDrawing.Where(c => c.ChildElements.Any
                                                                               (a => a.GetType().FullName == "DocumentFormat.OpenXml.Drawing.Spreadsheet.Picture")).ToList();
                foreach (var worksheetDrawing in worksheetDrawings)
                {
                    if (worksheetDrawing.GetType().FullName ==
                        "DocumentFormat.OpenXml.Drawing.Spreadsheet.TwoCellAnchor")
                    {
                        TwoCellAnchor anchor = (TwoCellAnchor)worksheetDrawing;
                        DocumentFormat.OpenXml.Drawing.Spreadsheet.Picture picDef =
                            (DocumentFormat.OpenXml.Drawing.Spreadsheet.Picture)
                            anchor.ChildElements.FirstOrDefault(c => c.GetType().FullName ==
                                                                "DocumentFormat.OpenXml.Drawing.Spreadsheet.Picture");
                        if (picDef != null)
                        {
                            var embed = picDef.BlipFill.Blip.Embed;
                            if (embed != null)
                            {
                                var picMapping = pictures.FirstOrDefault(c => c.RefId == embed.InnerText);
                                picMapping.FromCol = int.Parse(anchor.FromMarker.ColumnId.InnerText);
                                picMapping.FromRow = int.Parse(anchor.FromMarker.RowId.InnerText);
                            }
                        }
                        // anchor.FromMarker.RowId + anchor.FromMarker.ColumnId
                    }
                }
            }
            sdl.PictureList = pictures;
            #endregion

            #region 读取表格数据
            List <SheetDatas> sheetDatas = new List <SheetDatas>();
            if (worksheet.Rows().Count() > 0)
            {
                RowCount = int.Parse((worksheet.Rows().Last()).RowId);
            }
            int TempColumn = 0;
            foreach (OpenXmlPowerTools.Row row in worksheet.Rows())
            {
                foreach (OpenXmlPowerTools.Cell cell in row.Cells())
                {
                    #region 读取超链接
                    //var hyperlink = hyperlinks.SingleOrDefault(c => c.Reference.Value == cell.Column);

                    //if (hyperlink != null)
                    //{
                    //    var hyperlinksRelation = worksheet.HyperlinkRelationships.SingleOrDefault(c => c.Id == hyperlink.Id);
                    //    if (hyperlinksRelation != null)
                    //    {
                    //        //这是最终我们需要的超链接
                    //        var url = hyperlinksRelation.Uri.ToString();
                    //    }
                    //}
                    #endregion

                    TempColumn = (row.Cells().Last()).ColumnIndex;
                    if (ColumnCount < TempColumn)
                    {
                        ColumnCount = TempColumn + 1;
                    }

                    SheetDatas sheetData = new SheetDatas();
                    sheetData.RowId        = int.Parse(row.RowId);
                    sheetData.ColumnId     = cell.ColumnIndex;
                    sheetData.Column       = cell.Column;
                    sheetData.Type         = cell.Type;
                    sheetData.Value        = cell.Value;
                    sheetData.SharedString = cell.SharedString;
                    sheetData.Formula      = cell.Formula;
                    sheetData.StyleId      = cell.Style;

                    #region 样式赋值
                    if (sheetData.StyleId != null)
                    {
                        CellFormatsList cfl = cellFormatsList[(int)sheetData.StyleId];
                        sheetData.FontName           = fontsList[cfl.fontId].fontname;
                        sheetData.FontSize           = fontsList[cfl.fontId].fontsize;
                        sheetData.FontColor          = fontsList[cfl.fontId].color;
                        sheetData.FontBold           = fontsList[cfl.fontId].bold;
                        sheetData.Italic             = fontsList[cfl.fontId].italic;
                        sheetData.Underline          = fontsList[cfl.fontId].underline;
                        sheetData.AligmentVertical   = cfl.vertical;
                        sheetData.AligmentHorizontal = cfl.horizontal;

                        sheetData.FillType            = fillsList[cfl.fillId].patternType;
                        sheetData.FillForegroundColor = fillsList[cfl.fillId].fgColor;
                        sheetData.FillBackgroundColor = fillsList[cfl.fillId].bgColor;

                        sheetData.LeftBorder     = bordersList[cfl.borderId].left;
                        sheetData.RightBorder    = bordersList[cfl.borderId].right;
                        sheetData.TopBorder      = bordersList[cfl.borderId].top;
                        sheetData.BottomBorder   = bordersList[cfl.borderId].bottom;
                        sheetData.DiagonalBorder = bordersList[cfl.borderId].diagonal;
                    }
                    #endregion

                    if (cell.Style != null)
                    {
                        var cellf = cellFormatsList[(int)cell.Style];
                        if (cellf.applyNumberFormat > 0 && cell.Type == null && cell.Value != null)
                        {
                            //for (int n = 0; n < numFmtList.Count; n++)
                            //{
                            //    if (numFmtList[n].numFmtId == cellf.numFmtId|| cellf.numFmtId == 14)
                            //    {
                            //        sheetData.Type = "s";
                            //        sheetData.SharedString = DateTime.FromOADate(double.Parse(cell.Value)).ToShortDateString();
                            //        break;
                            //    }
                            //}
                            if (cellf.numFmtId == 58)
                            {
                                sheetData.Type         = "s";
                                sheetData.SharedString = DateTime.FromOADate(double.Parse(cell.Value)).ToString("M月d日");
                            }
                            else if (cellf.numFmtId == 14)
                            {
                                sheetData.Type         = "s";
                                sheetData.SharedString = DateTime.FromOADate(double.Parse(cell.Value)).ToShortDateString();
                            }
                            else
                            {
                                for (int n = 0; n < numFmtList.Count; n++)
                                {
                                    if (numFmtList[n].numFmtId == cellf.numFmtId)
                                    {
                                        sheetData.Type         = "s";
                                        sheetData.SharedString = DateTime.FromOADate(double.Parse(cell.Value)).ToShortDateString();
                                        break;
                                    }
                                }
                            }
                        }
                        else
                        {
                            sheetData.Value = cell.Value;
                        }
                    }

                    sheetDatas.Add(sheetData);
                }
            }
            if (ColumnCount < 5)
            {
                ColumnCount = 5;
            }
            if (RowCount < 20)
            {
                RowCount = 20;
            }
            sdl.SheetData = sheetDatas;
            #endregion

            sdl.SheetName   = sheetName[i];
            sdl.SheetId     = "sheet" + (i + 1);
            sdl.TotalRow    = (RowCount + 1);
            sdl.TotalColumn = ColumnCount;
            sheetDataList.Add(sdl);
            //htmlStr = EMW.API.Serializer.ObjectToString(sheetDataList);//
            //htmlStr = "{\"SheetData\":" + htmlStr + ",\"Comments\":" + EMW.API.Serializer.ObjectToString(commentLists) + ",\"MergeCells\":" + EMW.API.Serializer.ObjectToString(mergeCellList) + ",\"TotalRow\":" + (RowCount + 1) + ",\"TotalColumn\":" + ColumnCount + ",\"SheetName\":\"" + sheetName[i] + "\"}";
            //htmlSheet.Add(htmlStr);
            #endregion
        }
        ee.SheetDataList = sheetDataList;
        return(ee);
    }
        // Generates content of drawingsPart1.
        private void GenerateDrawingsPart1Content(DrawingsPart drawingsPart1)
        {
            Xdr.WorksheetDrawing worksheetDrawing1 = new Xdr.WorksheetDrawing();
            worksheetDrawing1.AddNamespaceDeclaration("xdr", "http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing");
            worksheetDrawing1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");

            Xdr.TwoCellAnchor twoCellAnchor1 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker1 = new Xdr.FromMarker();
            Xdr.ColumnId columnId1 = new Xdr.ColumnId();
            columnId1.Text = "1";
            Xdr.ColumnOffset columnOffset1 = new Xdr.ColumnOffset();
            columnOffset1.Text = "19050";
            Xdr.RowId rowId1 = new Xdr.RowId();
            rowId1.Text = "16";
            Xdr.RowOffset rowOffset1 = new Xdr.RowOffset();
            rowOffset1.Text = "0";

            fromMarker1.Append(columnId1);
            fromMarker1.Append(columnOffset1);
            fromMarker1.Append(rowId1);
            fromMarker1.Append(rowOffset1);

            Xdr.ToMarker toMarker1 = new Xdr.ToMarker();
            Xdr.ColumnId columnId2 = new Xdr.ColumnId();
            columnId2.Text = "2";
            Xdr.ColumnOffset columnOffset2 = new Xdr.ColumnOffset();
            columnOffset2.Text = "0";
            Xdr.RowId rowId2 = new Xdr.RowId();
            rowId2.Text = "16";
            Xdr.RowOffset rowOffset2 = new Xdr.RowOffset();
            rowOffset2.Text = "0";

            toMarker1.Append(columnId2);
            toMarker1.Append(columnOffset2);
            toMarker1.Append(rowId2);
            toMarker1.Append(rowOffset2);

            Xdr.Picture picture1 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties1 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties1 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2619U, Name = "Picture 1" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties1 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks1 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties1.Append(pictureLocks1);

            nonVisualPictureProperties1.Append(nonVisualDrawingProperties1);
            nonVisualPictureProperties1.Append(nonVisualPictureDrawingProperties1);

            Xdr.BlipFill blipFill1 = new Xdr.BlipFill();

            A.Blip blip1 = new A.Blip() { Embed = "rId1" };
            blip1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle1 = new A.SourceRectangle();

            A.Stretch stretch1 = new A.Stretch();
            A.FillRectangle fillRectangle1 = new A.FillRectangle();

            stretch1.Append(fillRectangle1);

            blipFill1.Append(blip1);
            blipFill1.Append(sourceRectangle1);
            blipFill1.Append(stretch1);

            Xdr.ShapeProperties shapeProperties3 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D3 = new A.Transform2D();
            A.Offset offset3 = new A.Offset() { X = 600075L, Y = 3790950L };
            A.Extents extents3 = new A.Extents() { Cx = 1085850L, Cy = 0L };

            transform2D3.Append(offset3);
            transform2D3.Append(extents3);

            A.PresetGeometry presetGeometry1 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList3 = new A.AdjustValueList();

            presetGeometry1.Append(adjustValueList3);
            A.NoFill noFill1 = new A.NoFill();

            A.Outline outline6 = new A.Outline() { Width = 9525 };
            A.NoFill noFill2 = new A.NoFill();
            A.Miter miter1 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd3 = new A.HeadEnd();
            A.TailEnd tailEnd3 = new A.TailEnd();

            outline6.Append(noFill2);
            outline6.Append(miter1);
            outline6.Append(headEnd3);
            outline6.Append(tailEnd3);

            shapeProperties3.Append(transform2D3);
            shapeProperties3.Append(presetGeometry1);
            shapeProperties3.Append(noFill1);
            shapeProperties3.Append(outline6);

            picture1.Append(nonVisualPictureProperties1);
            picture1.Append(blipFill1);
            picture1.Append(shapeProperties3);
            Xdr.ClientData clientData1 = new Xdr.ClientData();

            twoCellAnchor1.Append(fromMarker1);
            twoCellAnchor1.Append(toMarker1);
            twoCellAnchor1.Append(picture1);
            twoCellAnchor1.Append(clientData1);

            Xdr.TwoCellAnchor twoCellAnchor2 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker2 = new Xdr.FromMarker();
            Xdr.ColumnId columnId3 = new Xdr.ColumnId();
            columnId3.Text = "1";
            Xdr.ColumnOffset columnOffset3 = new Xdr.ColumnOffset();
            columnOffset3.Text = "0";
            Xdr.RowId rowId3 = new Xdr.RowId();
            rowId3.Text = "16";
            Xdr.RowOffset rowOffset3 = new Xdr.RowOffset();
            rowOffset3.Text = "0";

            fromMarker2.Append(columnId3);
            fromMarker2.Append(columnOffset3);
            fromMarker2.Append(rowId3);
            fromMarker2.Append(rowOffset3);

            Xdr.ToMarker toMarker2 = new Xdr.ToMarker();
            Xdr.ColumnId columnId4 = new Xdr.ColumnId();
            columnId4.Text = "3";
            Xdr.ColumnOffset columnOffset4 = new Xdr.ColumnOffset();
            columnOffset4.Text = "0";
            Xdr.RowId rowId4 = new Xdr.RowId();
            rowId4.Text = "16";
            Xdr.RowOffset rowOffset4 = new Xdr.RowOffset();
            rowOffset4.Text = "0";

            toMarker2.Append(columnId4);
            toMarker2.Append(columnOffset4);
            toMarker2.Append(rowId4);
            toMarker2.Append(rowOffset4);

            Xdr.Picture picture2 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties2 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties2 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2620U, Name = "Picture 2" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties2 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks2 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties2.Append(pictureLocks2);

            nonVisualPictureProperties2.Append(nonVisualDrawingProperties2);
            nonVisualPictureProperties2.Append(nonVisualPictureDrawingProperties2);

            Xdr.BlipFill blipFill2 = new Xdr.BlipFill();

            A.Blip blip2 = new A.Blip() { Embed = "rId1" };
            blip2.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle2 = new A.SourceRectangle();

            A.Stretch stretch2 = new A.Stretch();
            A.FillRectangle fillRectangle2 = new A.FillRectangle();

            stretch2.Append(fillRectangle2);

            blipFill2.Append(blip2);
            blipFill2.Append(sourceRectangle2);
            blipFill2.Append(stretch2);

            Xdr.ShapeProperties shapeProperties4 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D4 = new A.Transform2D();
            A.Offset offset4 = new A.Offset() { X = 581025L, Y = 3790950L };
            A.Extents extents4 = new A.Extents() { Cx = 2819400L, Cy = 0L };

            transform2D4.Append(offset4);
            transform2D4.Append(extents4);

            A.PresetGeometry presetGeometry2 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList4 = new A.AdjustValueList();

            presetGeometry2.Append(adjustValueList4);
            A.NoFill noFill3 = new A.NoFill();

            A.Outline outline7 = new A.Outline() { Width = 9525 };
            A.NoFill noFill4 = new A.NoFill();
            A.Miter miter2 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd4 = new A.HeadEnd();
            A.TailEnd tailEnd4 = new A.TailEnd();

            outline7.Append(noFill4);
            outline7.Append(miter2);
            outline7.Append(headEnd4);
            outline7.Append(tailEnd4);

            shapeProperties4.Append(transform2D4);
            shapeProperties4.Append(presetGeometry2);
            shapeProperties4.Append(noFill3);
            shapeProperties4.Append(outline7);

            picture2.Append(nonVisualPictureProperties2);
            picture2.Append(blipFill2);
            picture2.Append(shapeProperties4);
            Xdr.ClientData clientData2 = new Xdr.ClientData();

            twoCellAnchor2.Append(fromMarker2);
            twoCellAnchor2.Append(toMarker2);
            twoCellAnchor2.Append(picture2);
            twoCellAnchor2.Append(clientData2);

            Xdr.TwoCellAnchor twoCellAnchor3 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker3 = new Xdr.FromMarker();
            Xdr.ColumnId columnId5 = new Xdr.ColumnId();
            columnId5.Text = "1";
            Xdr.ColumnOffset columnOffset5 = new Xdr.ColumnOffset();
            columnOffset5.Text = "0";
            Xdr.RowId rowId5 = new Xdr.RowId();
            rowId5.Text = "16";
            Xdr.RowOffset rowOffset5 = new Xdr.RowOffset();
            rowOffset5.Text = "0";

            fromMarker3.Append(columnId5);
            fromMarker3.Append(columnOffset5);
            fromMarker3.Append(rowId5);
            fromMarker3.Append(rowOffset5);

            Xdr.ToMarker toMarker3 = new Xdr.ToMarker();
            Xdr.ColumnId columnId6 = new Xdr.ColumnId();
            columnId6.Text = "3";
            Xdr.ColumnOffset columnOffset6 = new Xdr.ColumnOffset();
            columnOffset6.Text = "0";
            Xdr.RowId rowId6 = new Xdr.RowId();
            rowId6.Text = "16";
            Xdr.RowOffset rowOffset6 = new Xdr.RowOffset();
            rowOffset6.Text = "0";

            toMarker3.Append(columnId6);
            toMarker3.Append(columnOffset6);
            toMarker3.Append(rowId6);
            toMarker3.Append(rowOffset6);

            Xdr.Picture picture3 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties3 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties3 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2621U, Name = "Picture 3" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties3 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks3 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties3.Append(pictureLocks3);

            nonVisualPictureProperties3.Append(nonVisualDrawingProperties3);
            nonVisualPictureProperties3.Append(nonVisualPictureDrawingProperties3);

            Xdr.BlipFill blipFill3 = new Xdr.BlipFill();

            A.Blip blip3 = new A.Blip() { Embed = "rId1" };
            blip3.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle3 = new A.SourceRectangle();

            A.Stretch stretch3 = new A.Stretch();
            A.FillRectangle fillRectangle3 = new A.FillRectangle();

            stretch3.Append(fillRectangle3);

            blipFill3.Append(blip3);
            blipFill3.Append(sourceRectangle3);
            blipFill3.Append(stretch3);

            Xdr.ShapeProperties shapeProperties5 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D5 = new A.Transform2D();
            A.Offset offset5 = new A.Offset() { X = 581025L, Y = 3790950L };
            A.Extents extents5 = new A.Extents() { Cx = 2819400L, Cy = 0L };

            transform2D5.Append(offset5);
            transform2D5.Append(extents5);

            A.PresetGeometry presetGeometry3 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList5 = new A.AdjustValueList();

            presetGeometry3.Append(adjustValueList5);
            A.NoFill noFill5 = new A.NoFill();

            A.Outline outline8 = new A.Outline() { Width = 9525 };
            A.NoFill noFill6 = new A.NoFill();
            A.Miter miter3 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd5 = new A.HeadEnd();
            A.TailEnd tailEnd5 = new A.TailEnd();

            outline8.Append(noFill6);
            outline8.Append(miter3);
            outline8.Append(headEnd5);
            outline8.Append(tailEnd5);

            shapeProperties5.Append(transform2D5);
            shapeProperties5.Append(presetGeometry3);
            shapeProperties5.Append(noFill5);
            shapeProperties5.Append(outline8);

            picture3.Append(nonVisualPictureProperties3);
            picture3.Append(blipFill3);
            picture3.Append(shapeProperties5);
            Xdr.ClientData clientData3 = new Xdr.ClientData();

            twoCellAnchor3.Append(fromMarker3);
            twoCellAnchor3.Append(toMarker3);
            twoCellAnchor3.Append(picture3);
            twoCellAnchor3.Append(clientData3);

            Xdr.TwoCellAnchor twoCellAnchor4 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker4 = new Xdr.FromMarker();
            Xdr.ColumnId columnId7 = new Xdr.ColumnId();
            columnId7.Text = "1";
            Xdr.ColumnOffset columnOffset7 = new Xdr.ColumnOffset();
            columnOffset7.Text = "19050";
            Xdr.RowId rowId7 = new Xdr.RowId();
            rowId7.Text = "16";
            Xdr.RowOffset rowOffset7 = new Xdr.RowOffset();
            rowOffset7.Text = "0";

            fromMarker4.Append(columnId7);
            fromMarker4.Append(columnOffset7);
            fromMarker4.Append(rowId7);
            fromMarker4.Append(rowOffset7);

            Xdr.ToMarker toMarker4 = new Xdr.ToMarker();
            Xdr.ColumnId columnId8 = new Xdr.ColumnId();
            columnId8.Text = "3";
            Xdr.ColumnOffset columnOffset8 = new Xdr.ColumnOffset();
            columnOffset8.Text = "0";
            Xdr.RowId rowId8 = new Xdr.RowId();
            rowId8.Text = "16";
            Xdr.RowOffset rowOffset8 = new Xdr.RowOffset();
            rowOffset8.Text = "0";

            toMarker4.Append(columnId8);
            toMarker4.Append(columnOffset8);
            toMarker4.Append(rowId8);
            toMarker4.Append(rowOffset8);

            Xdr.Picture picture4 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties4 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties4 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2622U, Name = "Picture 4" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties4 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks4 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties4.Append(pictureLocks4);

            nonVisualPictureProperties4.Append(nonVisualDrawingProperties4);
            nonVisualPictureProperties4.Append(nonVisualPictureDrawingProperties4);

            Xdr.BlipFill blipFill4 = new Xdr.BlipFill();

            A.Blip blip4 = new A.Blip() { Embed = "rId1" };
            blip4.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle4 = new A.SourceRectangle();

            A.Stretch stretch4 = new A.Stretch();
            A.FillRectangle fillRectangle4 = new A.FillRectangle();

            stretch4.Append(fillRectangle4);

            blipFill4.Append(blip4);
            blipFill4.Append(sourceRectangle4);
            blipFill4.Append(stretch4);

            Xdr.ShapeProperties shapeProperties6 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D6 = new A.Transform2D();
            A.Offset offset6 = new A.Offset() { X = 600075L, Y = 3790950L };
            A.Extents extents6 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D6.Append(offset6);
            transform2D6.Append(extents6);

            A.PresetGeometry presetGeometry4 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList6 = new A.AdjustValueList();

            presetGeometry4.Append(adjustValueList6);
            A.NoFill noFill7 = new A.NoFill();

            A.Outline outline9 = new A.Outline() { Width = 9525 };
            A.NoFill noFill8 = new A.NoFill();
            A.Miter miter4 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd6 = new A.HeadEnd();
            A.TailEnd tailEnd6 = new A.TailEnd();

            outline9.Append(noFill8);
            outline9.Append(miter4);
            outline9.Append(headEnd6);
            outline9.Append(tailEnd6);

            shapeProperties6.Append(transform2D6);
            shapeProperties6.Append(presetGeometry4);
            shapeProperties6.Append(noFill7);
            shapeProperties6.Append(outline9);

            picture4.Append(nonVisualPictureProperties4);
            picture4.Append(blipFill4);
            picture4.Append(shapeProperties6);
            Xdr.ClientData clientData4 = new Xdr.ClientData();

            twoCellAnchor4.Append(fromMarker4);
            twoCellAnchor4.Append(toMarker4);
            twoCellAnchor4.Append(picture4);
            twoCellAnchor4.Append(clientData4);

            Xdr.TwoCellAnchor twoCellAnchor5 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker5 = new Xdr.FromMarker();
            Xdr.ColumnId columnId9 = new Xdr.ColumnId();
            columnId9.Text = "1";
            Xdr.ColumnOffset columnOffset9 = new Xdr.ColumnOffset();
            columnOffset9.Text = "19050";
            Xdr.RowId rowId9 = new Xdr.RowId();
            rowId9.Text = "16";
            Xdr.RowOffset rowOffset9 = new Xdr.RowOffset();
            rowOffset9.Text = "0";

            fromMarker5.Append(columnId9);
            fromMarker5.Append(columnOffset9);
            fromMarker5.Append(rowId9);
            fromMarker5.Append(rowOffset9);

            Xdr.ToMarker toMarker5 = new Xdr.ToMarker();
            Xdr.ColumnId columnId10 = new Xdr.ColumnId();
            columnId10.Text = "3";
            Xdr.ColumnOffset columnOffset10 = new Xdr.ColumnOffset();
            columnOffset10.Text = "0";
            Xdr.RowId rowId10 = new Xdr.RowId();
            rowId10.Text = "16";
            Xdr.RowOffset rowOffset10 = new Xdr.RowOffset();
            rowOffset10.Text = "0";

            toMarker5.Append(columnId10);
            toMarker5.Append(columnOffset10);
            toMarker5.Append(rowId10);
            toMarker5.Append(rowOffset10);

            Xdr.Picture picture5 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties5 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties5 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2623U, Name = "Picture 5" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties5 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks5 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties5.Append(pictureLocks5);

            nonVisualPictureProperties5.Append(nonVisualDrawingProperties5);
            nonVisualPictureProperties5.Append(nonVisualPictureDrawingProperties5);

            Xdr.BlipFill blipFill5 = new Xdr.BlipFill();

            A.Blip blip5 = new A.Blip() { Embed = "rId1" };
            blip5.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle5 = new A.SourceRectangle();

            A.Stretch stretch5 = new A.Stretch();
            A.FillRectangle fillRectangle5 = new A.FillRectangle();

            stretch5.Append(fillRectangle5);

            blipFill5.Append(blip5);
            blipFill5.Append(sourceRectangle5);
            blipFill5.Append(stretch5);

            Xdr.ShapeProperties shapeProperties7 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D7 = new A.Transform2D();
            A.Offset offset7 = new A.Offset() { X = 600075L, Y = 3790950L };
            A.Extents extents7 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D7.Append(offset7);
            transform2D7.Append(extents7);

            A.PresetGeometry presetGeometry5 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList7 = new A.AdjustValueList();

            presetGeometry5.Append(adjustValueList7);
            A.NoFill noFill9 = new A.NoFill();

            A.Outline outline10 = new A.Outline() { Width = 9525 };
            A.NoFill noFill10 = new A.NoFill();
            A.Miter miter5 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd7 = new A.HeadEnd();
            A.TailEnd tailEnd7 = new A.TailEnd();

            outline10.Append(noFill10);
            outline10.Append(miter5);
            outline10.Append(headEnd7);
            outline10.Append(tailEnd7);

            shapeProperties7.Append(transform2D7);
            shapeProperties7.Append(presetGeometry5);
            shapeProperties7.Append(noFill9);
            shapeProperties7.Append(outline10);

            picture5.Append(nonVisualPictureProperties5);
            picture5.Append(blipFill5);
            picture5.Append(shapeProperties7);
            Xdr.ClientData clientData5 = new Xdr.ClientData();

            twoCellAnchor5.Append(fromMarker5);
            twoCellAnchor5.Append(toMarker5);
            twoCellAnchor5.Append(picture5);
            twoCellAnchor5.Append(clientData5);

            Xdr.TwoCellAnchor twoCellAnchor6 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker6 = new Xdr.FromMarker();
            Xdr.ColumnId columnId11 = new Xdr.ColumnId();
            columnId11.Text = "1";
            Xdr.ColumnOffset columnOffset11 = new Xdr.ColumnOffset();
            columnOffset11.Text = "19050";
            Xdr.RowId rowId11 = new Xdr.RowId();
            rowId11.Text = "16";
            Xdr.RowOffset rowOffset11 = new Xdr.RowOffset();
            rowOffset11.Text = "0";

            fromMarker6.Append(columnId11);
            fromMarker6.Append(columnOffset11);
            fromMarker6.Append(rowId11);
            fromMarker6.Append(rowOffset11);

            Xdr.ToMarker toMarker6 = new Xdr.ToMarker();
            Xdr.ColumnId columnId12 = new Xdr.ColumnId();
            columnId12.Text = "3";
            Xdr.ColumnOffset columnOffset12 = new Xdr.ColumnOffset();
            columnOffset12.Text = "0";
            Xdr.RowId rowId12 = new Xdr.RowId();
            rowId12.Text = "16";
            Xdr.RowOffset rowOffset12 = new Xdr.RowOffset();
            rowOffset12.Text = "0";

            toMarker6.Append(columnId12);
            toMarker6.Append(columnOffset12);
            toMarker6.Append(rowId12);
            toMarker6.Append(rowOffset12);

            Xdr.Picture picture6 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties6 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties6 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2624U, Name = "Picture 6" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties6 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks6 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties6.Append(pictureLocks6);

            nonVisualPictureProperties6.Append(nonVisualDrawingProperties6);
            nonVisualPictureProperties6.Append(nonVisualPictureDrawingProperties6);

            Xdr.BlipFill blipFill6 = new Xdr.BlipFill();

            A.Blip blip6 = new A.Blip() { Embed = "rId1" };
            blip6.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle6 = new A.SourceRectangle();

            A.Stretch stretch6 = new A.Stretch();
            A.FillRectangle fillRectangle6 = new A.FillRectangle();

            stretch6.Append(fillRectangle6);

            blipFill6.Append(blip6);
            blipFill6.Append(sourceRectangle6);
            blipFill6.Append(stretch6);

            Xdr.ShapeProperties shapeProperties8 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D8 = new A.Transform2D();
            A.Offset offset8 = new A.Offset() { X = 600075L, Y = 3790950L };
            A.Extents extents8 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D8.Append(offset8);
            transform2D8.Append(extents8);

            A.PresetGeometry presetGeometry6 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList8 = new A.AdjustValueList();

            presetGeometry6.Append(adjustValueList8);
            A.NoFill noFill11 = new A.NoFill();

            A.Outline outline11 = new A.Outline() { Width = 9525 };
            A.NoFill noFill12 = new A.NoFill();
            A.Miter miter6 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd8 = new A.HeadEnd();
            A.TailEnd tailEnd8 = new A.TailEnd();

            outline11.Append(noFill12);
            outline11.Append(miter6);
            outline11.Append(headEnd8);
            outline11.Append(tailEnd8);

            shapeProperties8.Append(transform2D8);
            shapeProperties8.Append(presetGeometry6);
            shapeProperties8.Append(noFill11);
            shapeProperties8.Append(outline11);

            picture6.Append(nonVisualPictureProperties6);
            picture6.Append(blipFill6);
            picture6.Append(shapeProperties8);
            Xdr.ClientData clientData6 = new Xdr.ClientData();

            twoCellAnchor6.Append(fromMarker6);
            twoCellAnchor6.Append(toMarker6);
            twoCellAnchor6.Append(picture6);
            twoCellAnchor6.Append(clientData6);

            Xdr.TwoCellAnchor twoCellAnchor7 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker7 = new Xdr.FromMarker();
            Xdr.ColumnId columnId13 = new Xdr.ColumnId();
            columnId13.Text = "1";
            Xdr.ColumnOffset columnOffset13 = new Xdr.ColumnOffset();
            columnOffset13.Text = "19050";
            Xdr.RowId rowId13 = new Xdr.RowId();
            rowId13.Text = "16";
            Xdr.RowOffset rowOffset13 = new Xdr.RowOffset();
            rowOffset13.Text = "0";

            fromMarker7.Append(columnId13);
            fromMarker7.Append(columnOffset13);
            fromMarker7.Append(rowId13);
            fromMarker7.Append(rowOffset13);

            Xdr.ToMarker toMarker7 = new Xdr.ToMarker();
            Xdr.ColumnId columnId14 = new Xdr.ColumnId();
            columnId14.Text = "3";
            Xdr.ColumnOffset columnOffset14 = new Xdr.ColumnOffset();
            columnOffset14.Text = "0";
            Xdr.RowId rowId14 = new Xdr.RowId();
            rowId14.Text = "16";
            Xdr.RowOffset rowOffset14 = new Xdr.RowOffset();
            rowOffset14.Text = "0";

            toMarker7.Append(columnId14);
            toMarker7.Append(columnOffset14);
            toMarker7.Append(rowId14);
            toMarker7.Append(rowOffset14);

            Xdr.Picture picture7 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties7 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties7 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2625U, Name = "Picture 7" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties7 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks7 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties7.Append(pictureLocks7);

            nonVisualPictureProperties7.Append(nonVisualDrawingProperties7);
            nonVisualPictureProperties7.Append(nonVisualPictureDrawingProperties7);

            Xdr.BlipFill blipFill7 = new Xdr.BlipFill();

            A.Blip blip7 = new A.Blip() { Embed = "rId1" };
            blip7.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle7 = new A.SourceRectangle();

            A.Stretch stretch7 = new A.Stretch();
            A.FillRectangle fillRectangle7 = new A.FillRectangle();

            stretch7.Append(fillRectangle7);

            blipFill7.Append(blip7);
            blipFill7.Append(sourceRectangle7);
            blipFill7.Append(stretch7);

            Xdr.ShapeProperties shapeProperties9 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D9 = new A.Transform2D();
            A.Offset offset9 = new A.Offset() { X = 600075L, Y = 3790950L };
            A.Extents extents9 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D9.Append(offset9);
            transform2D9.Append(extents9);

            A.PresetGeometry presetGeometry7 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList9 = new A.AdjustValueList();

            presetGeometry7.Append(adjustValueList9);
            A.NoFill noFill13 = new A.NoFill();

            A.Outline outline12 = new A.Outline() { Width = 9525 };
            A.NoFill noFill14 = new A.NoFill();
            A.Miter miter7 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd9 = new A.HeadEnd();
            A.TailEnd tailEnd9 = new A.TailEnd();

            outline12.Append(noFill14);
            outline12.Append(miter7);
            outline12.Append(headEnd9);
            outline12.Append(tailEnd9);

            shapeProperties9.Append(transform2D9);
            shapeProperties9.Append(presetGeometry7);
            shapeProperties9.Append(noFill13);
            shapeProperties9.Append(outline12);

            picture7.Append(nonVisualPictureProperties7);
            picture7.Append(blipFill7);
            picture7.Append(shapeProperties9);
            Xdr.ClientData clientData7 = new Xdr.ClientData();

            twoCellAnchor7.Append(fromMarker7);
            twoCellAnchor7.Append(toMarker7);
            twoCellAnchor7.Append(picture7);
            twoCellAnchor7.Append(clientData7);

            Xdr.TwoCellAnchor twoCellAnchor8 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker8 = new Xdr.FromMarker();
            Xdr.ColumnId columnId15 = new Xdr.ColumnId();
            columnId15.Text = "1";
            Xdr.ColumnOffset columnOffset15 = new Xdr.ColumnOffset();
            columnOffset15.Text = "19050";
            Xdr.RowId rowId15 = new Xdr.RowId();
            rowId15.Text = "16";
            Xdr.RowOffset rowOffset15 = new Xdr.RowOffset();
            rowOffset15.Text = "0";

            fromMarker8.Append(columnId15);
            fromMarker8.Append(columnOffset15);
            fromMarker8.Append(rowId15);
            fromMarker8.Append(rowOffset15);

            Xdr.ToMarker toMarker8 = new Xdr.ToMarker();
            Xdr.ColumnId columnId16 = new Xdr.ColumnId();
            columnId16.Text = "3";
            Xdr.ColumnOffset columnOffset16 = new Xdr.ColumnOffset();
            columnOffset16.Text = "0";
            Xdr.RowId rowId16 = new Xdr.RowId();
            rowId16.Text = "16";
            Xdr.RowOffset rowOffset16 = new Xdr.RowOffset();
            rowOffset16.Text = "0";

            toMarker8.Append(columnId16);
            toMarker8.Append(columnOffset16);
            toMarker8.Append(rowId16);
            toMarker8.Append(rowOffset16);

            Xdr.Picture picture8 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties8 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties8 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2626U, Name = "Picture 8" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties8 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks8 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties8.Append(pictureLocks8);

            nonVisualPictureProperties8.Append(nonVisualDrawingProperties8);
            nonVisualPictureProperties8.Append(nonVisualPictureDrawingProperties8);

            Xdr.BlipFill blipFill8 = new Xdr.BlipFill();

            A.Blip blip8 = new A.Blip() { Embed = "rId1" };
            blip8.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle8 = new A.SourceRectangle();

            A.Stretch stretch8 = new A.Stretch();
            A.FillRectangle fillRectangle8 = new A.FillRectangle();

            stretch8.Append(fillRectangle8);

            blipFill8.Append(blip8);
            blipFill8.Append(sourceRectangle8);
            blipFill8.Append(stretch8);

            Xdr.ShapeProperties shapeProperties10 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D10 = new A.Transform2D();
            A.Offset offset10 = new A.Offset() { X = 600075L, Y = 3790950L };
            A.Extents extents10 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D10.Append(offset10);
            transform2D10.Append(extents10);

            A.PresetGeometry presetGeometry8 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList10 = new A.AdjustValueList();

            presetGeometry8.Append(adjustValueList10);
            A.NoFill noFill15 = new A.NoFill();

            A.Outline outline13 = new A.Outline() { Width = 9525 };
            A.NoFill noFill16 = new A.NoFill();
            A.Miter miter8 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd10 = new A.HeadEnd();
            A.TailEnd tailEnd10 = new A.TailEnd();

            outline13.Append(noFill16);
            outline13.Append(miter8);
            outline13.Append(headEnd10);
            outline13.Append(tailEnd10);

            shapeProperties10.Append(transform2D10);
            shapeProperties10.Append(presetGeometry8);
            shapeProperties10.Append(noFill15);
            shapeProperties10.Append(outline13);

            picture8.Append(nonVisualPictureProperties8);
            picture8.Append(blipFill8);
            picture8.Append(shapeProperties10);
            Xdr.ClientData clientData8 = new Xdr.ClientData();

            twoCellAnchor8.Append(fromMarker8);
            twoCellAnchor8.Append(toMarker8);
            twoCellAnchor8.Append(picture8);
            twoCellAnchor8.Append(clientData8);

            Xdr.TwoCellAnchor twoCellAnchor9 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker9 = new Xdr.FromMarker();
            Xdr.ColumnId columnId17 = new Xdr.ColumnId();
            columnId17.Text = "1";
            Xdr.ColumnOffset columnOffset17 = new Xdr.ColumnOffset();
            columnOffset17.Text = "19050";
            Xdr.RowId rowId17 = new Xdr.RowId();
            rowId17.Text = "16";
            Xdr.RowOffset rowOffset17 = new Xdr.RowOffset();
            rowOffset17.Text = "0";

            fromMarker9.Append(columnId17);
            fromMarker9.Append(columnOffset17);
            fromMarker9.Append(rowId17);
            fromMarker9.Append(rowOffset17);

            Xdr.ToMarker toMarker9 = new Xdr.ToMarker();
            Xdr.ColumnId columnId18 = new Xdr.ColumnId();
            columnId18.Text = "3";
            Xdr.ColumnOffset columnOffset18 = new Xdr.ColumnOffset();
            columnOffset18.Text = "0";
            Xdr.RowId rowId18 = new Xdr.RowId();
            rowId18.Text = "16";
            Xdr.RowOffset rowOffset18 = new Xdr.RowOffset();
            rowOffset18.Text = "0";

            toMarker9.Append(columnId18);
            toMarker9.Append(columnOffset18);
            toMarker9.Append(rowId18);
            toMarker9.Append(rowOffset18);

            Xdr.Picture picture9 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties9 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties9 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2627U, Name = "Picture 9" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties9 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks9 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties9.Append(pictureLocks9);

            nonVisualPictureProperties9.Append(nonVisualDrawingProperties9);
            nonVisualPictureProperties9.Append(nonVisualPictureDrawingProperties9);

            Xdr.BlipFill blipFill9 = new Xdr.BlipFill();

            A.Blip blip9 = new A.Blip() { Embed = "rId1" };
            blip9.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle9 = new A.SourceRectangle();

            A.Stretch stretch9 = new A.Stretch();
            A.FillRectangle fillRectangle9 = new A.FillRectangle();

            stretch9.Append(fillRectangle9);

            blipFill9.Append(blip9);
            blipFill9.Append(sourceRectangle9);
            blipFill9.Append(stretch9);

            Xdr.ShapeProperties shapeProperties11 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D11 = new A.Transform2D();
            A.Offset offset11 = new A.Offset() { X = 600075L, Y = 3790950L };
            A.Extents extents11 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D11.Append(offset11);
            transform2D11.Append(extents11);

            A.PresetGeometry presetGeometry9 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList11 = new A.AdjustValueList();

            presetGeometry9.Append(adjustValueList11);
            A.NoFill noFill17 = new A.NoFill();

            A.Outline outline14 = new A.Outline() { Width = 9525 };
            A.NoFill noFill18 = new A.NoFill();
            A.Miter miter9 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd11 = new A.HeadEnd();
            A.TailEnd tailEnd11 = new A.TailEnd();

            outline14.Append(noFill18);
            outline14.Append(miter9);
            outline14.Append(headEnd11);
            outline14.Append(tailEnd11);

            shapeProperties11.Append(transform2D11);
            shapeProperties11.Append(presetGeometry9);
            shapeProperties11.Append(noFill17);
            shapeProperties11.Append(outline14);

            picture9.Append(nonVisualPictureProperties9);
            picture9.Append(blipFill9);
            picture9.Append(shapeProperties11);
            Xdr.ClientData clientData9 = new Xdr.ClientData();

            twoCellAnchor9.Append(fromMarker9);
            twoCellAnchor9.Append(toMarker9);
            twoCellAnchor9.Append(picture9);
            twoCellAnchor9.Append(clientData9);

            Xdr.TwoCellAnchor twoCellAnchor10 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker10 = new Xdr.FromMarker();
            Xdr.ColumnId columnId19 = new Xdr.ColumnId();
            columnId19.Text = "1";
            Xdr.ColumnOffset columnOffset19 = new Xdr.ColumnOffset();
            columnOffset19.Text = "19050";
            Xdr.RowId rowId19 = new Xdr.RowId();
            rowId19.Text = "16";
            Xdr.RowOffset rowOffset19 = new Xdr.RowOffset();
            rowOffset19.Text = "0";

            fromMarker10.Append(columnId19);
            fromMarker10.Append(columnOffset19);
            fromMarker10.Append(rowId19);
            fromMarker10.Append(rowOffset19);

            Xdr.ToMarker toMarker10 = new Xdr.ToMarker();
            Xdr.ColumnId columnId20 = new Xdr.ColumnId();
            columnId20.Text = "3";
            Xdr.ColumnOffset columnOffset20 = new Xdr.ColumnOffset();
            columnOffset20.Text = "0";
            Xdr.RowId rowId20 = new Xdr.RowId();
            rowId20.Text = "16";
            Xdr.RowOffset rowOffset20 = new Xdr.RowOffset();
            rowOffset20.Text = "0";

            toMarker10.Append(columnId20);
            toMarker10.Append(columnOffset20);
            toMarker10.Append(rowId20);
            toMarker10.Append(rowOffset20);

            Xdr.Picture picture10 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties10 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties10 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2628U, Name = "Picture 10" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties10 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks10 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties10.Append(pictureLocks10);

            nonVisualPictureProperties10.Append(nonVisualDrawingProperties10);
            nonVisualPictureProperties10.Append(nonVisualPictureDrawingProperties10);

            Xdr.BlipFill blipFill10 = new Xdr.BlipFill();

            A.Blip blip10 = new A.Blip() { Embed = "rId1" };
            blip10.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle10 = new A.SourceRectangle();

            A.Stretch stretch10 = new A.Stretch();
            A.FillRectangle fillRectangle10 = new A.FillRectangle();

            stretch10.Append(fillRectangle10);

            blipFill10.Append(blip10);
            blipFill10.Append(sourceRectangle10);
            blipFill10.Append(stretch10);

            Xdr.ShapeProperties shapeProperties12 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D12 = new A.Transform2D();
            A.Offset offset12 = new A.Offset() { X = 600075L, Y = 3790950L };
            A.Extents extents12 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D12.Append(offset12);
            transform2D12.Append(extents12);

            A.PresetGeometry presetGeometry10 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList12 = new A.AdjustValueList();

            presetGeometry10.Append(adjustValueList12);
            A.NoFill noFill19 = new A.NoFill();

            A.Outline outline15 = new A.Outline() { Width = 9525 };
            A.NoFill noFill20 = new A.NoFill();
            A.Miter miter10 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd12 = new A.HeadEnd();
            A.TailEnd tailEnd12 = new A.TailEnd();

            outline15.Append(noFill20);
            outline15.Append(miter10);
            outline15.Append(headEnd12);
            outline15.Append(tailEnd12);

            shapeProperties12.Append(transform2D12);
            shapeProperties12.Append(presetGeometry10);
            shapeProperties12.Append(noFill19);
            shapeProperties12.Append(outline15);

            picture10.Append(nonVisualPictureProperties10);
            picture10.Append(blipFill10);
            picture10.Append(shapeProperties12);
            Xdr.ClientData clientData10 = new Xdr.ClientData();

            twoCellAnchor10.Append(fromMarker10);
            twoCellAnchor10.Append(toMarker10);
            twoCellAnchor10.Append(picture10);
            twoCellAnchor10.Append(clientData10);

            Xdr.TwoCellAnchor twoCellAnchor11 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker11 = new Xdr.FromMarker();
            Xdr.ColumnId columnId21 = new Xdr.ColumnId();
            columnId21.Text = "1";
            Xdr.ColumnOffset columnOffset21 = new Xdr.ColumnOffset();
            columnOffset21.Text = "19050";
            Xdr.RowId rowId21 = new Xdr.RowId();
            rowId21.Text = "16";
            Xdr.RowOffset rowOffset21 = new Xdr.RowOffset();
            rowOffset21.Text = "0";

            fromMarker11.Append(columnId21);
            fromMarker11.Append(columnOffset21);
            fromMarker11.Append(rowId21);
            fromMarker11.Append(rowOffset21);

            Xdr.ToMarker toMarker11 = new Xdr.ToMarker();
            Xdr.ColumnId columnId22 = new Xdr.ColumnId();
            columnId22.Text = "3";
            Xdr.ColumnOffset columnOffset22 = new Xdr.ColumnOffset();
            columnOffset22.Text = "0";
            Xdr.RowId rowId22 = new Xdr.RowId();
            rowId22.Text = "16";
            Xdr.RowOffset rowOffset22 = new Xdr.RowOffset();
            rowOffset22.Text = "0";

            toMarker11.Append(columnId22);
            toMarker11.Append(columnOffset22);
            toMarker11.Append(rowId22);
            toMarker11.Append(rowOffset22);

            Xdr.Picture picture11 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties11 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties11 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2629U, Name = "Picture 11" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties11 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks11 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties11.Append(pictureLocks11);

            nonVisualPictureProperties11.Append(nonVisualDrawingProperties11);
            nonVisualPictureProperties11.Append(nonVisualPictureDrawingProperties11);

            Xdr.BlipFill blipFill11 = new Xdr.BlipFill();

            A.Blip blip11 = new A.Blip() { Embed = "rId1" };
            blip11.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle11 = new A.SourceRectangle();

            A.Stretch stretch11 = new A.Stretch();
            A.FillRectangle fillRectangle11 = new A.FillRectangle();

            stretch11.Append(fillRectangle11);

            blipFill11.Append(blip11);
            blipFill11.Append(sourceRectangle11);
            blipFill11.Append(stretch11);

            Xdr.ShapeProperties shapeProperties13 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D13 = new A.Transform2D();
            A.Offset offset13 = new A.Offset() { X = 600075L, Y = 3790950L };
            A.Extents extents13 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D13.Append(offset13);
            transform2D13.Append(extents13);

            A.PresetGeometry presetGeometry11 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList13 = new A.AdjustValueList();

            presetGeometry11.Append(adjustValueList13);
            A.NoFill noFill21 = new A.NoFill();

            A.Outline outline16 = new A.Outline() { Width = 9525 };
            A.NoFill noFill22 = new A.NoFill();
            A.Miter miter11 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd13 = new A.HeadEnd();
            A.TailEnd tailEnd13 = new A.TailEnd();

            outline16.Append(noFill22);
            outline16.Append(miter11);
            outline16.Append(headEnd13);
            outline16.Append(tailEnd13);

            shapeProperties13.Append(transform2D13);
            shapeProperties13.Append(presetGeometry11);
            shapeProperties13.Append(noFill21);
            shapeProperties13.Append(outline16);

            picture11.Append(nonVisualPictureProperties11);
            picture11.Append(blipFill11);
            picture11.Append(shapeProperties13);
            Xdr.ClientData clientData11 = new Xdr.ClientData();

            twoCellAnchor11.Append(fromMarker11);
            twoCellAnchor11.Append(toMarker11);
            twoCellAnchor11.Append(picture11);
            twoCellAnchor11.Append(clientData11);

            Xdr.TwoCellAnchor twoCellAnchor12 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker12 = new Xdr.FromMarker();
            Xdr.ColumnId columnId23 = new Xdr.ColumnId();
            columnId23.Text = "1";
            Xdr.ColumnOffset columnOffset23 = new Xdr.ColumnOffset();
            columnOffset23.Text = "19050";
            Xdr.RowId rowId23 = new Xdr.RowId();
            rowId23.Text = "16";
            Xdr.RowOffset rowOffset23 = new Xdr.RowOffset();
            rowOffset23.Text = "0";

            fromMarker12.Append(columnId23);
            fromMarker12.Append(columnOffset23);
            fromMarker12.Append(rowId23);
            fromMarker12.Append(rowOffset23);

            Xdr.ToMarker toMarker12 = new Xdr.ToMarker();
            Xdr.ColumnId columnId24 = new Xdr.ColumnId();
            columnId24.Text = "3";
            Xdr.ColumnOffset columnOffset24 = new Xdr.ColumnOffset();
            columnOffset24.Text = "0";
            Xdr.RowId rowId24 = new Xdr.RowId();
            rowId24.Text = "16";
            Xdr.RowOffset rowOffset24 = new Xdr.RowOffset();
            rowOffset24.Text = "0";

            toMarker12.Append(columnId24);
            toMarker12.Append(columnOffset24);
            toMarker12.Append(rowId24);
            toMarker12.Append(rowOffset24);

            Xdr.Picture picture12 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties12 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties12 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2630U, Name = "Picture 12" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties12 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks12 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties12.Append(pictureLocks12);

            nonVisualPictureProperties12.Append(nonVisualDrawingProperties12);
            nonVisualPictureProperties12.Append(nonVisualPictureDrawingProperties12);

            Xdr.BlipFill blipFill12 = new Xdr.BlipFill();

            A.Blip blip12 = new A.Blip() { Embed = "rId1" };
            blip12.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle12 = new A.SourceRectangle();

            A.Stretch stretch12 = new A.Stretch();
            A.FillRectangle fillRectangle12 = new A.FillRectangle();

            stretch12.Append(fillRectangle12);

            blipFill12.Append(blip12);
            blipFill12.Append(sourceRectangle12);
            blipFill12.Append(stretch12);

            Xdr.ShapeProperties shapeProperties14 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D14 = new A.Transform2D();
            A.Offset offset14 = new A.Offset() { X = 600075L, Y = 3790950L };
            A.Extents extents14 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D14.Append(offset14);
            transform2D14.Append(extents14);

            A.PresetGeometry presetGeometry12 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList14 = new A.AdjustValueList();

            presetGeometry12.Append(adjustValueList14);
            A.NoFill noFill23 = new A.NoFill();

            A.Outline outline17 = new A.Outline() { Width = 9525 };
            A.NoFill noFill24 = new A.NoFill();
            A.Miter miter12 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd14 = new A.HeadEnd();
            A.TailEnd tailEnd14 = new A.TailEnd();

            outline17.Append(noFill24);
            outline17.Append(miter12);
            outline17.Append(headEnd14);
            outline17.Append(tailEnd14);

            shapeProperties14.Append(transform2D14);
            shapeProperties14.Append(presetGeometry12);
            shapeProperties14.Append(noFill23);
            shapeProperties14.Append(outline17);

            picture12.Append(nonVisualPictureProperties12);
            picture12.Append(blipFill12);
            picture12.Append(shapeProperties14);
            Xdr.ClientData clientData12 = new Xdr.ClientData();

            twoCellAnchor12.Append(fromMarker12);
            twoCellAnchor12.Append(toMarker12);
            twoCellAnchor12.Append(picture12);
            twoCellAnchor12.Append(clientData12);

            Xdr.TwoCellAnchor twoCellAnchor13 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker13 = new Xdr.FromMarker();
            Xdr.ColumnId columnId25 = new Xdr.ColumnId();
            columnId25.Text = "1";
            Xdr.ColumnOffset columnOffset25 = new Xdr.ColumnOffset();
            columnOffset25.Text = "0";
            Xdr.RowId rowId25 = new Xdr.RowId();
            rowId25.Text = "16";
            Xdr.RowOffset rowOffset25 = new Xdr.RowOffset();
            rowOffset25.Text = "0";

            fromMarker13.Append(columnId25);
            fromMarker13.Append(columnOffset25);
            fromMarker13.Append(rowId25);
            fromMarker13.Append(rowOffset25);

            Xdr.ToMarker toMarker13 = new Xdr.ToMarker();
            Xdr.ColumnId columnId26 = new Xdr.ColumnId();
            columnId26.Text = "3";
            Xdr.ColumnOffset columnOffset26 = new Xdr.ColumnOffset();
            columnOffset26.Text = "0";
            Xdr.RowId rowId26 = new Xdr.RowId();
            rowId26.Text = "16";
            Xdr.RowOffset rowOffset26 = new Xdr.RowOffset();
            rowOffset26.Text = "0";

            toMarker13.Append(columnId26);
            toMarker13.Append(columnOffset26);
            toMarker13.Append(rowId26);
            toMarker13.Append(rowOffset26);

            Xdr.Picture picture13 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties13 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties13 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2631U, Name = "Picture 13" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties13 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks13 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties13.Append(pictureLocks13);

            nonVisualPictureProperties13.Append(nonVisualDrawingProperties13);
            nonVisualPictureProperties13.Append(nonVisualPictureDrawingProperties13);

            Xdr.BlipFill blipFill13 = new Xdr.BlipFill();

            A.Blip blip13 = new A.Blip() { Embed = "rId1" };
            blip13.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle13 = new A.SourceRectangle();

            A.Stretch stretch13 = new A.Stretch();
            A.FillRectangle fillRectangle13 = new A.FillRectangle();

            stretch13.Append(fillRectangle13);

            blipFill13.Append(blip13);
            blipFill13.Append(sourceRectangle13);
            blipFill13.Append(stretch13);

            Xdr.ShapeProperties shapeProperties15 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D15 = new A.Transform2D();
            A.Offset offset15 = new A.Offset() { X = 581025L, Y = 3790950L };
            A.Extents extents15 = new A.Extents() { Cx = 2819400L, Cy = 0L };

            transform2D15.Append(offset15);
            transform2D15.Append(extents15);

            A.PresetGeometry presetGeometry13 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList15 = new A.AdjustValueList();

            presetGeometry13.Append(adjustValueList15);
            A.NoFill noFill25 = new A.NoFill();

            A.Outline outline18 = new A.Outline() { Width = 9525 };
            A.NoFill noFill26 = new A.NoFill();
            A.Miter miter13 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd15 = new A.HeadEnd();
            A.TailEnd tailEnd15 = new A.TailEnd();

            outline18.Append(noFill26);
            outline18.Append(miter13);
            outline18.Append(headEnd15);
            outline18.Append(tailEnd15);

            shapeProperties15.Append(transform2D15);
            shapeProperties15.Append(presetGeometry13);
            shapeProperties15.Append(noFill25);
            shapeProperties15.Append(outline18);

            picture13.Append(nonVisualPictureProperties13);
            picture13.Append(blipFill13);
            picture13.Append(shapeProperties15);
            Xdr.ClientData clientData13 = new Xdr.ClientData();

            twoCellAnchor13.Append(fromMarker13);
            twoCellAnchor13.Append(toMarker13);
            twoCellAnchor13.Append(picture13);
            twoCellAnchor13.Append(clientData13);

            Xdr.TwoCellAnchor twoCellAnchor14 = new Xdr.TwoCellAnchor() { EditAs = Xdr.EditAsValues.OneCell };

            Xdr.FromMarker fromMarker14 = new Xdr.FromMarker();
            Xdr.ColumnId columnId27 = new Xdr.ColumnId();
            columnId27.Text = "1";
            Xdr.ColumnOffset columnOffset27 = new Xdr.ColumnOffset();
            columnOffset27.Text = "533400";
            Xdr.RowId rowId27 = new Xdr.RowId();
            rowId27.Text = "0";
            Xdr.RowOffset rowOffset27 = new Xdr.RowOffset();
            rowOffset27.Text = "47625";

            fromMarker14.Append(columnId27);
            fromMarker14.Append(columnOffset27);
            fromMarker14.Append(rowId27);
            fromMarker14.Append(rowOffset27);

            Xdr.ToMarker toMarker14 = new Xdr.ToMarker();
            Xdr.ColumnId columnId28 = new Xdr.ColumnId();
            columnId28.Text = "2";
            Xdr.ColumnOffset columnOffset28 = new Xdr.ColumnOffset();
            columnOffset28.Text = "1609725";
            Xdr.RowId rowId28 = new Xdr.RowId();
            rowId28.Text = "4";
            Xdr.RowOffset rowOffset28 = new Xdr.RowOffset();
            rowOffset28.Text = "28575";

            toMarker14.Append(columnId28);
            toMarker14.Append(columnOffset28);
            toMarker14.Append(rowId28);
            toMarker14.Append(rowOffset28);

            Xdr.Picture picture14 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties14 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties14 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2632U, Name = "Picture 15", Description = "C:\\WINDOWS\\Escritorio\\Guido\\LOGO-Sprayette.jpg" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties14 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks14 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties14.Append(pictureLocks14);

            nonVisualPictureProperties14.Append(nonVisualDrawingProperties14);
            nonVisualPictureProperties14.Append(nonVisualPictureDrawingProperties14);

            Xdr.BlipFill blipFill14 = new Xdr.BlipFill();

            A.Blip blip14 = new A.Blip() { Embed = "rId2" };
            blip14.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle14 = new A.SourceRectangle();

            A.Stretch stretch14 = new A.Stretch();
            A.FillRectangle fillRectangle14 = new A.FillRectangle();

            stretch14.Append(fillRectangle14);

            blipFill14.Append(blip14);
            blipFill14.Append(sourceRectangle14);
            blipFill14.Append(stretch14);

            Xdr.ShapeProperties shapeProperties16 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D16 = new A.Transform2D();
            A.Offset offset16 = new A.Offset() { X = 1114425L, Y = 47625L };
            A.Extents extents16 = new A.Extents() { Cx = 2181225L, Cy = 628650L };

            transform2D16.Append(offset16);
            transform2D16.Append(extents16);

            A.PresetGeometry presetGeometry14 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList16 = new A.AdjustValueList();

            presetGeometry14.Append(adjustValueList16);
            A.NoFill noFill27 = new A.NoFill();

            A.Outline outline19 = new A.Outline() { Width = 9525 };
            A.NoFill noFill28 = new A.NoFill();
            A.Miter miter14 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd16 = new A.HeadEnd();
            A.TailEnd tailEnd16 = new A.TailEnd();

            outline19.Append(noFill28);
            outline19.Append(miter14);
            outline19.Append(headEnd16);
            outline19.Append(tailEnd16);

            shapeProperties16.Append(transform2D16);
            shapeProperties16.Append(presetGeometry14);
            shapeProperties16.Append(noFill27);
            shapeProperties16.Append(outline19);

            picture14.Append(nonVisualPictureProperties14);
            picture14.Append(blipFill14);
            picture14.Append(shapeProperties16);
            Xdr.ClientData clientData14 = new Xdr.ClientData();

            twoCellAnchor14.Append(fromMarker14);
            twoCellAnchor14.Append(toMarker14);
            twoCellAnchor14.Append(picture14);
            twoCellAnchor14.Append(clientData14);

            Xdr.TwoCellAnchor twoCellAnchor15 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker15 = new Xdr.FromMarker();
            Xdr.ColumnId columnId29 = new Xdr.ColumnId();
            columnId29.Text = "1";
            Xdr.ColumnOffset columnOffset29 = new Xdr.ColumnOffset();
            columnOffset29.Text = "19050";
            Xdr.RowId rowId29 = new Xdr.RowId();
            rowId29.Text = "11";
            Xdr.RowOffset rowOffset29 = new Xdr.RowOffset();
            rowOffset29.Text = "0";

            fromMarker15.Append(columnId29);
            fromMarker15.Append(columnOffset29);
            fromMarker15.Append(rowId29);
            fromMarker15.Append(rowOffset29);

            Xdr.ToMarker toMarker15 = new Xdr.ToMarker();
            Xdr.ColumnId columnId30 = new Xdr.ColumnId();
            columnId30.Text = "2";
            Xdr.ColumnOffset columnOffset30 = new Xdr.ColumnOffset();
            columnOffset30.Text = "0";
            Xdr.RowId rowId30 = new Xdr.RowId();
            rowId30.Text = "11";
            Xdr.RowOffset rowOffset30 = new Xdr.RowOffset();
            rowOffset30.Text = "0";

            toMarker15.Append(columnId30);
            toMarker15.Append(columnOffset30);
            toMarker15.Append(rowId30);
            toMarker15.Append(rowOffset30);

            Xdr.Picture picture15 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties15 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties15 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2672U, Name = "Picture 55" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties15 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks15 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties15.Append(pictureLocks15);

            nonVisualPictureProperties15.Append(nonVisualDrawingProperties15);
            nonVisualPictureProperties15.Append(nonVisualPictureDrawingProperties15);

            Xdr.BlipFill blipFill15 = new Xdr.BlipFill();

            A.Blip blip15 = new A.Blip() { Embed = "rId1" };
            blip15.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle15 = new A.SourceRectangle();

            A.Stretch stretch15 = new A.Stretch();
            A.FillRectangle fillRectangle15 = new A.FillRectangle();

            stretch15.Append(fillRectangle15);

            blipFill15.Append(blip15);
            blipFill15.Append(sourceRectangle15);
            blipFill15.Append(stretch15);

            Xdr.ShapeProperties shapeProperties17 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D17 = new A.Transform2D();
            A.Offset offset17 = new A.Offset() { X = 600075L, Y = 2314575L };
            A.Extents extents17 = new A.Extents() { Cx = 1085850L, Cy = 0L };

            transform2D17.Append(offset17);
            transform2D17.Append(extents17);

            A.PresetGeometry presetGeometry15 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList17 = new A.AdjustValueList();

            presetGeometry15.Append(adjustValueList17);
            A.NoFill noFill29 = new A.NoFill();

            A.Outline outline20 = new A.Outline() { Width = 9525 };
            A.NoFill noFill30 = new A.NoFill();
            A.Miter miter15 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd17 = new A.HeadEnd();
            A.TailEnd tailEnd17 = new A.TailEnd();

            outline20.Append(noFill30);
            outline20.Append(miter15);
            outline20.Append(headEnd17);
            outline20.Append(tailEnd17);

            shapeProperties17.Append(transform2D17);
            shapeProperties17.Append(presetGeometry15);
            shapeProperties17.Append(noFill29);
            shapeProperties17.Append(outline20);

            picture15.Append(nonVisualPictureProperties15);
            picture15.Append(blipFill15);
            picture15.Append(shapeProperties17);
            Xdr.ClientData clientData15 = new Xdr.ClientData();

            twoCellAnchor15.Append(fromMarker15);
            twoCellAnchor15.Append(toMarker15);
            twoCellAnchor15.Append(picture15);
            twoCellAnchor15.Append(clientData15);

            Xdr.TwoCellAnchor twoCellAnchor16 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker16 = new Xdr.FromMarker();
            Xdr.ColumnId columnId31 = new Xdr.ColumnId();
            columnId31.Text = "1";
            Xdr.ColumnOffset columnOffset31 = new Xdr.ColumnOffset();
            columnOffset31.Text = "0";
            Xdr.RowId rowId31 = new Xdr.RowId();
            rowId31.Text = "11";
            Xdr.RowOffset rowOffset31 = new Xdr.RowOffset();
            rowOffset31.Text = "0";

            fromMarker16.Append(columnId31);
            fromMarker16.Append(columnOffset31);
            fromMarker16.Append(rowId31);
            fromMarker16.Append(rowOffset31);

            Xdr.ToMarker toMarker16 = new Xdr.ToMarker();
            Xdr.ColumnId columnId32 = new Xdr.ColumnId();
            columnId32.Text = "3";
            Xdr.ColumnOffset columnOffset32 = new Xdr.ColumnOffset();
            columnOffset32.Text = "0";
            Xdr.RowId rowId32 = new Xdr.RowId();
            rowId32.Text = "11";
            Xdr.RowOffset rowOffset32 = new Xdr.RowOffset();
            rowOffset32.Text = "0";

            toMarker16.Append(columnId32);
            toMarker16.Append(columnOffset32);
            toMarker16.Append(rowId32);
            toMarker16.Append(rowOffset32);

            Xdr.Picture picture16 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties16 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties16 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2673U, Name = "Picture 56" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties16 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks16 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties16.Append(pictureLocks16);

            nonVisualPictureProperties16.Append(nonVisualDrawingProperties16);
            nonVisualPictureProperties16.Append(nonVisualPictureDrawingProperties16);

            Xdr.BlipFill blipFill16 = new Xdr.BlipFill();

            A.Blip blip16 = new A.Blip() { Embed = "rId1" };
            blip16.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle16 = new A.SourceRectangle();

            A.Stretch stretch16 = new A.Stretch();
            A.FillRectangle fillRectangle16 = new A.FillRectangle();

            stretch16.Append(fillRectangle16);

            blipFill16.Append(blip16);
            blipFill16.Append(sourceRectangle16);
            blipFill16.Append(stretch16);

            Xdr.ShapeProperties shapeProperties18 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D18 = new A.Transform2D();
            A.Offset offset18 = new A.Offset() { X = 581025L, Y = 2314575L };
            A.Extents extents18 = new A.Extents() { Cx = 2819400L, Cy = 0L };

            transform2D18.Append(offset18);
            transform2D18.Append(extents18);

            A.PresetGeometry presetGeometry16 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList18 = new A.AdjustValueList();

            presetGeometry16.Append(adjustValueList18);
            A.NoFill noFill31 = new A.NoFill();

            A.Outline outline21 = new A.Outline() { Width = 9525 };
            A.NoFill noFill32 = new A.NoFill();
            A.Miter miter16 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd18 = new A.HeadEnd();
            A.TailEnd tailEnd18 = new A.TailEnd();

            outline21.Append(noFill32);
            outline21.Append(miter16);
            outline21.Append(headEnd18);
            outline21.Append(tailEnd18);

            shapeProperties18.Append(transform2D18);
            shapeProperties18.Append(presetGeometry16);
            shapeProperties18.Append(noFill31);
            shapeProperties18.Append(outline21);

            picture16.Append(nonVisualPictureProperties16);
            picture16.Append(blipFill16);
            picture16.Append(shapeProperties18);
            Xdr.ClientData clientData16 = new Xdr.ClientData();

            twoCellAnchor16.Append(fromMarker16);
            twoCellAnchor16.Append(toMarker16);
            twoCellAnchor16.Append(picture16);
            twoCellAnchor16.Append(clientData16);

            Xdr.TwoCellAnchor twoCellAnchor17 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker17 = new Xdr.FromMarker();
            Xdr.ColumnId columnId33 = new Xdr.ColumnId();
            columnId33.Text = "1";
            Xdr.ColumnOffset columnOffset33 = new Xdr.ColumnOffset();
            columnOffset33.Text = "0";
            Xdr.RowId rowId33 = new Xdr.RowId();
            rowId33.Text = "11";
            Xdr.RowOffset rowOffset33 = new Xdr.RowOffset();
            rowOffset33.Text = "0";

            fromMarker17.Append(columnId33);
            fromMarker17.Append(columnOffset33);
            fromMarker17.Append(rowId33);
            fromMarker17.Append(rowOffset33);

            Xdr.ToMarker toMarker17 = new Xdr.ToMarker();
            Xdr.ColumnId columnId34 = new Xdr.ColumnId();
            columnId34.Text = "3";
            Xdr.ColumnOffset columnOffset34 = new Xdr.ColumnOffset();
            columnOffset34.Text = "0";
            Xdr.RowId rowId34 = new Xdr.RowId();
            rowId34.Text = "11";
            Xdr.RowOffset rowOffset34 = new Xdr.RowOffset();
            rowOffset34.Text = "0";

            toMarker17.Append(columnId34);
            toMarker17.Append(columnOffset34);
            toMarker17.Append(rowId34);
            toMarker17.Append(rowOffset34);

            Xdr.Picture picture17 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties17 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties17 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2674U, Name = "Picture 57" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties17 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks17 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties17.Append(pictureLocks17);

            nonVisualPictureProperties17.Append(nonVisualDrawingProperties17);
            nonVisualPictureProperties17.Append(nonVisualPictureDrawingProperties17);

            Xdr.BlipFill blipFill17 = new Xdr.BlipFill();

            A.Blip blip17 = new A.Blip() { Embed = "rId1" };
            blip17.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle17 = new A.SourceRectangle();

            A.Stretch stretch17 = new A.Stretch();
            A.FillRectangle fillRectangle17 = new A.FillRectangle();

            stretch17.Append(fillRectangle17);

            blipFill17.Append(blip17);
            blipFill17.Append(sourceRectangle17);
            blipFill17.Append(stretch17);

            Xdr.ShapeProperties shapeProperties19 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D19 = new A.Transform2D();
            A.Offset offset19 = new A.Offset() { X = 581025L, Y = 2314575L };
            A.Extents extents19 = new A.Extents() { Cx = 2819400L, Cy = 0L };

            transform2D19.Append(offset19);
            transform2D19.Append(extents19);

            A.PresetGeometry presetGeometry17 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList19 = new A.AdjustValueList();

            presetGeometry17.Append(adjustValueList19);
            A.NoFill noFill33 = new A.NoFill();

            A.Outline outline22 = new A.Outline() { Width = 9525 };
            A.NoFill noFill34 = new A.NoFill();
            A.Miter miter17 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd19 = new A.HeadEnd();
            A.TailEnd tailEnd19 = new A.TailEnd();

            outline22.Append(noFill34);
            outline22.Append(miter17);
            outline22.Append(headEnd19);
            outline22.Append(tailEnd19);

            shapeProperties19.Append(transform2D19);
            shapeProperties19.Append(presetGeometry17);
            shapeProperties19.Append(noFill33);
            shapeProperties19.Append(outline22);

            picture17.Append(nonVisualPictureProperties17);
            picture17.Append(blipFill17);
            picture17.Append(shapeProperties19);
            Xdr.ClientData clientData17 = new Xdr.ClientData();

            twoCellAnchor17.Append(fromMarker17);
            twoCellAnchor17.Append(toMarker17);
            twoCellAnchor17.Append(picture17);
            twoCellAnchor17.Append(clientData17);

            Xdr.TwoCellAnchor twoCellAnchor18 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker18 = new Xdr.FromMarker();
            Xdr.ColumnId columnId35 = new Xdr.ColumnId();
            columnId35.Text = "1";
            Xdr.ColumnOffset columnOffset35 = new Xdr.ColumnOffset();
            columnOffset35.Text = "19050";
            Xdr.RowId rowId35 = new Xdr.RowId();
            rowId35.Text = "11";
            Xdr.RowOffset rowOffset35 = new Xdr.RowOffset();
            rowOffset35.Text = "0";

            fromMarker18.Append(columnId35);
            fromMarker18.Append(columnOffset35);
            fromMarker18.Append(rowId35);
            fromMarker18.Append(rowOffset35);

            Xdr.ToMarker toMarker18 = new Xdr.ToMarker();
            Xdr.ColumnId columnId36 = new Xdr.ColumnId();
            columnId36.Text = "3";
            Xdr.ColumnOffset columnOffset36 = new Xdr.ColumnOffset();
            columnOffset36.Text = "0";
            Xdr.RowId rowId36 = new Xdr.RowId();
            rowId36.Text = "11";
            Xdr.RowOffset rowOffset36 = new Xdr.RowOffset();
            rowOffset36.Text = "0";

            toMarker18.Append(columnId36);
            toMarker18.Append(columnOffset36);
            toMarker18.Append(rowId36);
            toMarker18.Append(rowOffset36);

            Xdr.Picture picture18 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties18 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties18 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2675U, Name = "Picture 58" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties18 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks18 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties18.Append(pictureLocks18);

            nonVisualPictureProperties18.Append(nonVisualDrawingProperties18);
            nonVisualPictureProperties18.Append(nonVisualPictureDrawingProperties18);

            Xdr.BlipFill blipFill18 = new Xdr.BlipFill();

            A.Blip blip18 = new A.Blip() { Embed = "rId1" };
            blip18.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle18 = new A.SourceRectangle();

            A.Stretch stretch18 = new A.Stretch();
            A.FillRectangle fillRectangle18 = new A.FillRectangle();

            stretch18.Append(fillRectangle18);

            blipFill18.Append(blip18);
            blipFill18.Append(sourceRectangle18);
            blipFill18.Append(stretch18);

            Xdr.ShapeProperties shapeProperties20 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D20 = new A.Transform2D();
            A.Offset offset20 = new A.Offset() { X = 600075L, Y = 2314575L };
            A.Extents extents20 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D20.Append(offset20);
            transform2D20.Append(extents20);

            A.PresetGeometry presetGeometry18 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList20 = new A.AdjustValueList();

            presetGeometry18.Append(adjustValueList20);
            A.NoFill noFill35 = new A.NoFill();

            A.Outline outline23 = new A.Outline() { Width = 9525 };
            A.NoFill noFill36 = new A.NoFill();
            A.Miter miter18 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd20 = new A.HeadEnd();
            A.TailEnd tailEnd20 = new A.TailEnd();

            outline23.Append(noFill36);
            outline23.Append(miter18);
            outline23.Append(headEnd20);
            outline23.Append(tailEnd20);

            shapeProperties20.Append(transform2D20);
            shapeProperties20.Append(presetGeometry18);
            shapeProperties20.Append(noFill35);
            shapeProperties20.Append(outline23);

            picture18.Append(nonVisualPictureProperties18);
            picture18.Append(blipFill18);
            picture18.Append(shapeProperties20);
            Xdr.ClientData clientData18 = new Xdr.ClientData();

            twoCellAnchor18.Append(fromMarker18);
            twoCellAnchor18.Append(toMarker18);
            twoCellAnchor18.Append(picture18);
            twoCellAnchor18.Append(clientData18);

            Xdr.TwoCellAnchor twoCellAnchor19 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker19 = new Xdr.FromMarker();
            Xdr.ColumnId columnId37 = new Xdr.ColumnId();
            columnId37.Text = "1";
            Xdr.ColumnOffset columnOffset37 = new Xdr.ColumnOffset();
            columnOffset37.Text = "19050";
            Xdr.RowId rowId37 = new Xdr.RowId();
            rowId37.Text = "11";
            Xdr.RowOffset rowOffset37 = new Xdr.RowOffset();
            rowOffset37.Text = "0";

            fromMarker19.Append(columnId37);
            fromMarker19.Append(columnOffset37);
            fromMarker19.Append(rowId37);
            fromMarker19.Append(rowOffset37);

            Xdr.ToMarker toMarker19 = new Xdr.ToMarker();
            Xdr.ColumnId columnId38 = new Xdr.ColumnId();
            columnId38.Text = "3";
            Xdr.ColumnOffset columnOffset38 = new Xdr.ColumnOffset();
            columnOffset38.Text = "0";
            Xdr.RowId rowId38 = new Xdr.RowId();
            rowId38.Text = "11";
            Xdr.RowOffset rowOffset38 = new Xdr.RowOffset();
            rowOffset38.Text = "0";

            toMarker19.Append(columnId38);
            toMarker19.Append(columnOffset38);
            toMarker19.Append(rowId38);
            toMarker19.Append(rowOffset38);

            Xdr.Picture picture19 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties19 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties19 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2676U, Name = "Picture 59" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties19 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks19 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties19.Append(pictureLocks19);

            nonVisualPictureProperties19.Append(nonVisualDrawingProperties19);
            nonVisualPictureProperties19.Append(nonVisualPictureDrawingProperties19);

            Xdr.BlipFill blipFill19 = new Xdr.BlipFill();

            A.Blip blip19 = new A.Blip() { Embed = "rId1" };
            blip19.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle19 = new A.SourceRectangle();

            A.Stretch stretch19 = new A.Stretch();
            A.FillRectangle fillRectangle19 = new A.FillRectangle();

            stretch19.Append(fillRectangle19);

            blipFill19.Append(blip19);
            blipFill19.Append(sourceRectangle19);
            blipFill19.Append(stretch19);

            Xdr.ShapeProperties shapeProperties21 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D21 = new A.Transform2D();
            A.Offset offset21 = new A.Offset() { X = 600075L, Y = 2314575L };
            A.Extents extents21 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D21.Append(offset21);
            transform2D21.Append(extents21);

            A.PresetGeometry presetGeometry19 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList21 = new A.AdjustValueList();

            presetGeometry19.Append(adjustValueList21);
            A.NoFill noFill37 = new A.NoFill();

            A.Outline outline24 = new A.Outline() { Width = 9525 };
            A.NoFill noFill38 = new A.NoFill();
            A.Miter miter19 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd21 = new A.HeadEnd();
            A.TailEnd tailEnd21 = new A.TailEnd();

            outline24.Append(noFill38);
            outline24.Append(miter19);
            outline24.Append(headEnd21);
            outline24.Append(tailEnd21);

            shapeProperties21.Append(transform2D21);
            shapeProperties21.Append(presetGeometry19);
            shapeProperties21.Append(noFill37);
            shapeProperties21.Append(outline24);

            picture19.Append(nonVisualPictureProperties19);
            picture19.Append(blipFill19);
            picture19.Append(shapeProperties21);
            Xdr.ClientData clientData19 = new Xdr.ClientData();

            twoCellAnchor19.Append(fromMarker19);
            twoCellAnchor19.Append(toMarker19);
            twoCellAnchor19.Append(picture19);
            twoCellAnchor19.Append(clientData19);

            Xdr.TwoCellAnchor twoCellAnchor20 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker20 = new Xdr.FromMarker();
            Xdr.ColumnId columnId39 = new Xdr.ColumnId();
            columnId39.Text = "1";
            Xdr.ColumnOffset columnOffset39 = new Xdr.ColumnOffset();
            columnOffset39.Text = "19050";
            Xdr.RowId rowId39 = new Xdr.RowId();
            rowId39.Text = "11";
            Xdr.RowOffset rowOffset39 = new Xdr.RowOffset();
            rowOffset39.Text = "0";

            fromMarker20.Append(columnId39);
            fromMarker20.Append(columnOffset39);
            fromMarker20.Append(rowId39);
            fromMarker20.Append(rowOffset39);

            Xdr.ToMarker toMarker20 = new Xdr.ToMarker();
            Xdr.ColumnId columnId40 = new Xdr.ColumnId();
            columnId40.Text = "3";
            Xdr.ColumnOffset columnOffset40 = new Xdr.ColumnOffset();
            columnOffset40.Text = "0";
            Xdr.RowId rowId40 = new Xdr.RowId();
            rowId40.Text = "11";
            Xdr.RowOffset rowOffset40 = new Xdr.RowOffset();
            rowOffset40.Text = "0";

            toMarker20.Append(columnId40);
            toMarker20.Append(columnOffset40);
            toMarker20.Append(rowId40);
            toMarker20.Append(rowOffset40);

            Xdr.Picture picture20 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties20 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties20 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2677U, Name = "Picture 60" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties20 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks20 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties20.Append(pictureLocks20);

            nonVisualPictureProperties20.Append(nonVisualDrawingProperties20);
            nonVisualPictureProperties20.Append(nonVisualPictureDrawingProperties20);

            Xdr.BlipFill blipFill20 = new Xdr.BlipFill();

            A.Blip blip20 = new A.Blip() { Embed = "rId1" };
            blip20.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle20 = new A.SourceRectangle();

            A.Stretch stretch20 = new A.Stretch();
            A.FillRectangle fillRectangle20 = new A.FillRectangle();

            stretch20.Append(fillRectangle20);

            blipFill20.Append(blip20);
            blipFill20.Append(sourceRectangle20);
            blipFill20.Append(stretch20);

            Xdr.ShapeProperties shapeProperties22 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D22 = new A.Transform2D();
            A.Offset offset22 = new A.Offset() { X = 600075L, Y = 2314575L };
            A.Extents extents22 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D22.Append(offset22);
            transform2D22.Append(extents22);

            A.PresetGeometry presetGeometry20 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList22 = new A.AdjustValueList();

            presetGeometry20.Append(adjustValueList22);
            A.NoFill noFill39 = new A.NoFill();

            A.Outline outline25 = new A.Outline() { Width = 9525 };
            A.NoFill noFill40 = new A.NoFill();
            A.Miter miter20 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd22 = new A.HeadEnd();
            A.TailEnd tailEnd22 = new A.TailEnd();

            outline25.Append(noFill40);
            outline25.Append(miter20);
            outline25.Append(headEnd22);
            outline25.Append(tailEnd22);

            shapeProperties22.Append(transform2D22);
            shapeProperties22.Append(presetGeometry20);
            shapeProperties22.Append(noFill39);
            shapeProperties22.Append(outline25);

            picture20.Append(nonVisualPictureProperties20);
            picture20.Append(blipFill20);
            picture20.Append(shapeProperties22);
            Xdr.ClientData clientData20 = new Xdr.ClientData();

            twoCellAnchor20.Append(fromMarker20);
            twoCellAnchor20.Append(toMarker20);
            twoCellAnchor20.Append(picture20);
            twoCellAnchor20.Append(clientData20);

            Xdr.TwoCellAnchor twoCellAnchor21 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker21 = new Xdr.FromMarker();
            Xdr.ColumnId columnId41 = new Xdr.ColumnId();
            columnId41.Text = "1";
            Xdr.ColumnOffset columnOffset41 = new Xdr.ColumnOffset();
            columnOffset41.Text = "19050";
            Xdr.RowId rowId41 = new Xdr.RowId();
            rowId41.Text = "11";
            Xdr.RowOffset rowOffset41 = new Xdr.RowOffset();
            rowOffset41.Text = "0";

            fromMarker21.Append(columnId41);
            fromMarker21.Append(columnOffset41);
            fromMarker21.Append(rowId41);
            fromMarker21.Append(rowOffset41);

            Xdr.ToMarker toMarker21 = new Xdr.ToMarker();
            Xdr.ColumnId columnId42 = new Xdr.ColumnId();
            columnId42.Text = "3";
            Xdr.ColumnOffset columnOffset42 = new Xdr.ColumnOffset();
            columnOffset42.Text = "0";
            Xdr.RowId rowId42 = new Xdr.RowId();
            rowId42.Text = "11";
            Xdr.RowOffset rowOffset42 = new Xdr.RowOffset();
            rowOffset42.Text = "0";

            toMarker21.Append(columnId42);
            toMarker21.Append(columnOffset42);
            toMarker21.Append(rowId42);
            toMarker21.Append(rowOffset42);

            Xdr.Picture picture21 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties21 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties21 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2678U, Name = "Picture 61" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties21 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks21 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties21.Append(pictureLocks21);

            nonVisualPictureProperties21.Append(nonVisualDrawingProperties21);
            nonVisualPictureProperties21.Append(nonVisualPictureDrawingProperties21);

            Xdr.BlipFill blipFill21 = new Xdr.BlipFill();

            A.Blip blip21 = new A.Blip() { Embed = "rId1" };
            blip21.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle21 = new A.SourceRectangle();

            A.Stretch stretch21 = new A.Stretch();
            A.FillRectangle fillRectangle21 = new A.FillRectangle();

            stretch21.Append(fillRectangle21);

            blipFill21.Append(blip21);
            blipFill21.Append(sourceRectangle21);
            blipFill21.Append(stretch21);

            Xdr.ShapeProperties shapeProperties23 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D23 = new A.Transform2D();
            A.Offset offset23 = new A.Offset() { X = 600075L, Y = 2314575L };
            A.Extents extents23 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D23.Append(offset23);
            transform2D23.Append(extents23);

            A.PresetGeometry presetGeometry21 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList23 = new A.AdjustValueList();

            presetGeometry21.Append(adjustValueList23);
            A.NoFill noFill41 = new A.NoFill();

            A.Outline outline26 = new A.Outline() { Width = 9525 };
            A.NoFill noFill42 = new A.NoFill();
            A.Miter miter21 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd23 = new A.HeadEnd();
            A.TailEnd tailEnd23 = new A.TailEnd();

            outline26.Append(noFill42);
            outline26.Append(miter21);
            outline26.Append(headEnd23);
            outline26.Append(tailEnd23);

            shapeProperties23.Append(transform2D23);
            shapeProperties23.Append(presetGeometry21);
            shapeProperties23.Append(noFill41);
            shapeProperties23.Append(outline26);

            picture21.Append(nonVisualPictureProperties21);
            picture21.Append(blipFill21);
            picture21.Append(shapeProperties23);
            Xdr.ClientData clientData21 = new Xdr.ClientData();

            twoCellAnchor21.Append(fromMarker21);
            twoCellAnchor21.Append(toMarker21);
            twoCellAnchor21.Append(picture21);
            twoCellAnchor21.Append(clientData21);

            Xdr.TwoCellAnchor twoCellAnchor22 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker22 = new Xdr.FromMarker();
            Xdr.ColumnId columnId43 = new Xdr.ColumnId();
            columnId43.Text = "1";
            Xdr.ColumnOffset columnOffset43 = new Xdr.ColumnOffset();
            columnOffset43.Text = "19050";
            Xdr.RowId rowId43 = new Xdr.RowId();
            rowId43.Text = "11";
            Xdr.RowOffset rowOffset43 = new Xdr.RowOffset();
            rowOffset43.Text = "0";

            fromMarker22.Append(columnId43);
            fromMarker22.Append(columnOffset43);
            fromMarker22.Append(rowId43);
            fromMarker22.Append(rowOffset43);

            Xdr.ToMarker toMarker22 = new Xdr.ToMarker();
            Xdr.ColumnId columnId44 = new Xdr.ColumnId();
            columnId44.Text = "3";
            Xdr.ColumnOffset columnOffset44 = new Xdr.ColumnOffset();
            columnOffset44.Text = "0";
            Xdr.RowId rowId44 = new Xdr.RowId();
            rowId44.Text = "11";
            Xdr.RowOffset rowOffset44 = new Xdr.RowOffset();
            rowOffset44.Text = "0";

            toMarker22.Append(columnId44);
            toMarker22.Append(columnOffset44);
            toMarker22.Append(rowId44);
            toMarker22.Append(rowOffset44);

            Xdr.Picture picture22 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties22 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties22 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2679U, Name = "Picture 62" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties22 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks22 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties22.Append(pictureLocks22);

            nonVisualPictureProperties22.Append(nonVisualDrawingProperties22);
            nonVisualPictureProperties22.Append(nonVisualPictureDrawingProperties22);

            Xdr.BlipFill blipFill22 = new Xdr.BlipFill();

            A.Blip blip22 = new A.Blip() { Embed = "rId1" };
            blip22.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle22 = new A.SourceRectangle();

            A.Stretch stretch22 = new A.Stretch();
            A.FillRectangle fillRectangle22 = new A.FillRectangle();

            stretch22.Append(fillRectangle22);

            blipFill22.Append(blip22);
            blipFill22.Append(sourceRectangle22);
            blipFill22.Append(stretch22);

            Xdr.ShapeProperties shapeProperties24 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D24 = new A.Transform2D();
            A.Offset offset24 = new A.Offset() { X = 600075L, Y = 2314575L };
            A.Extents extents24 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D24.Append(offset24);
            transform2D24.Append(extents24);

            A.PresetGeometry presetGeometry22 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList24 = new A.AdjustValueList();

            presetGeometry22.Append(adjustValueList24);
            A.NoFill noFill43 = new A.NoFill();

            A.Outline outline27 = new A.Outline() { Width = 9525 };
            A.NoFill noFill44 = new A.NoFill();
            A.Miter miter22 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd24 = new A.HeadEnd();
            A.TailEnd tailEnd24 = new A.TailEnd();

            outline27.Append(noFill44);
            outline27.Append(miter22);
            outline27.Append(headEnd24);
            outline27.Append(tailEnd24);

            shapeProperties24.Append(transform2D24);
            shapeProperties24.Append(presetGeometry22);
            shapeProperties24.Append(noFill43);
            shapeProperties24.Append(outline27);

            picture22.Append(nonVisualPictureProperties22);
            picture22.Append(blipFill22);
            picture22.Append(shapeProperties24);
            Xdr.ClientData clientData22 = new Xdr.ClientData();

            twoCellAnchor22.Append(fromMarker22);
            twoCellAnchor22.Append(toMarker22);
            twoCellAnchor22.Append(picture22);
            twoCellAnchor22.Append(clientData22);

            Xdr.TwoCellAnchor twoCellAnchor23 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker23 = new Xdr.FromMarker();
            Xdr.ColumnId columnId45 = new Xdr.ColumnId();
            columnId45.Text = "1";
            Xdr.ColumnOffset columnOffset45 = new Xdr.ColumnOffset();
            columnOffset45.Text = "19050";
            Xdr.RowId rowId45 = new Xdr.RowId();
            rowId45.Text = "11";
            Xdr.RowOffset rowOffset45 = new Xdr.RowOffset();
            rowOffset45.Text = "0";

            fromMarker23.Append(columnId45);
            fromMarker23.Append(columnOffset45);
            fromMarker23.Append(rowId45);
            fromMarker23.Append(rowOffset45);

            Xdr.ToMarker toMarker23 = new Xdr.ToMarker();
            Xdr.ColumnId columnId46 = new Xdr.ColumnId();
            columnId46.Text = "3";
            Xdr.ColumnOffset columnOffset46 = new Xdr.ColumnOffset();
            columnOffset46.Text = "0";
            Xdr.RowId rowId46 = new Xdr.RowId();
            rowId46.Text = "11";
            Xdr.RowOffset rowOffset46 = new Xdr.RowOffset();
            rowOffset46.Text = "0";

            toMarker23.Append(columnId46);
            toMarker23.Append(columnOffset46);
            toMarker23.Append(rowId46);
            toMarker23.Append(rowOffset46);

            Xdr.Picture picture23 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties23 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties23 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2680U, Name = "Picture 63" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties23 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks23 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties23.Append(pictureLocks23);

            nonVisualPictureProperties23.Append(nonVisualDrawingProperties23);
            nonVisualPictureProperties23.Append(nonVisualPictureDrawingProperties23);

            Xdr.BlipFill blipFill23 = new Xdr.BlipFill();

            A.Blip blip23 = new A.Blip() { Embed = "rId1" };
            blip23.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle23 = new A.SourceRectangle();

            A.Stretch stretch23 = new A.Stretch();
            A.FillRectangle fillRectangle23 = new A.FillRectangle();

            stretch23.Append(fillRectangle23);

            blipFill23.Append(blip23);
            blipFill23.Append(sourceRectangle23);
            blipFill23.Append(stretch23);

            Xdr.ShapeProperties shapeProperties25 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D25 = new A.Transform2D();
            A.Offset offset25 = new A.Offset() { X = 600075L, Y = 2314575L };
            A.Extents extents25 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D25.Append(offset25);
            transform2D25.Append(extents25);

            A.PresetGeometry presetGeometry23 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList25 = new A.AdjustValueList();

            presetGeometry23.Append(adjustValueList25);
            A.NoFill noFill45 = new A.NoFill();

            A.Outline outline28 = new A.Outline() { Width = 9525 };
            A.NoFill noFill46 = new A.NoFill();
            A.Miter miter23 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd25 = new A.HeadEnd();
            A.TailEnd tailEnd25 = new A.TailEnd();

            outline28.Append(noFill46);
            outline28.Append(miter23);
            outline28.Append(headEnd25);
            outline28.Append(tailEnd25);

            shapeProperties25.Append(transform2D25);
            shapeProperties25.Append(presetGeometry23);
            shapeProperties25.Append(noFill45);
            shapeProperties25.Append(outline28);

            picture23.Append(nonVisualPictureProperties23);
            picture23.Append(blipFill23);
            picture23.Append(shapeProperties25);
            Xdr.ClientData clientData23 = new Xdr.ClientData();

            twoCellAnchor23.Append(fromMarker23);
            twoCellAnchor23.Append(toMarker23);
            twoCellAnchor23.Append(picture23);
            twoCellAnchor23.Append(clientData23);

            Xdr.TwoCellAnchor twoCellAnchor24 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker24 = new Xdr.FromMarker();
            Xdr.ColumnId columnId47 = new Xdr.ColumnId();
            columnId47.Text = "1";
            Xdr.ColumnOffset columnOffset47 = new Xdr.ColumnOffset();
            columnOffset47.Text = "19050";
            Xdr.RowId rowId47 = new Xdr.RowId();
            rowId47.Text = "11";
            Xdr.RowOffset rowOffset47 = new Xdr.RowOffset();
            rowOffset47.Text = "0";

            fromMarker24.Append(columnId47);
            fromMarker24.Append(columnOffset47);
            fromMarker24.Append(rowId47);
            fromMarker24.Append(rowOffset47);

            Xdr.ToMarker toMarker24 = new Xdr.ToMarker();
            Xdr.ColumnId columnId48 = new Xdr.ColumnId();
            columnId48.Text = "3";
            Xdr.ColumnOffset columnOffset48 = new Xdr.ColumnOffset();
            columnOffset48.Text = "0";
            Xdr.RowId rowId48 = new Xdr.RowId();
            rowId48.Text = "11";
            Xdr.RowOffset rowOffset48 = new Xdr.RowOffset();
            rowOffset48.Text = "0";

            toMarker24.Append(columnId48);
            toMarker24.Append(columnOffset48);
            toMarker24.Append(rowId48);
            toMarker24.Append(rowOffset48);

            Xdr.Picture picture24 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties24 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties24 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2681U, Name = "Picture 64" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties24 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks24 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties24.Append(pictureLocks24);

            nonVisualPictureProperties24.Append(nonVisualDrawingProperties24);
            nonVisualPictureProperties24.Append(nonVisualPictureDrawingProperties24);

            Xdr.BlipFill blipFill24 = new Xdr.BlipFill();

            A.Blip blip24 = new A.Blip() { Embed = "rId1" };
            blip24.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle24 = new A.SourceRectangle();

            A.Stretch stretch24 = new A.Stretch();
            A.FillRectangle fillRectangle24 = new A.FillRectangle();

            stretch24.Append(fillRectangle24);

            blipFill24.Append(blip24);
            blipFill24.Append(sourceRectangle24);
            blipFill24.Append(stretch24);

            Xdr.ShapeProperties shapeProperties26 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D26 = new A.Transform2D();
            A.Offset offset26 = new A.Offset() { X = 600075L, Y = 2314575L };
            A.Extents extents26 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D26.Append(offset26);
            transform2D26.Append(extents26);

            A.PresetGeometry presetGeometry24 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList26 = new A.AdjustValueList();

            presetGeometry24.Append(adjustValueList26);
            A.NoFill noFill47 = new A.NoFill();

            A.Outline outline29 = new A.Outline() { Width = 9525 };
            A.NoFill noFill48 = new A.NoFill();
            A.Miter miter24 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd26 = new A.HeadEnd();
            A.TailEnd tailEnd26 = new A.TailEnd();

            outline29.Append(noFill48);
            outline29.Append(miter24);
            outline29.Append(headEnd26);
            outline29.Append(tailEnd26);

            shapeProperties26.Append(transform2D26);
            shapeProperties26.Append(presetGeometry24);
            shapeProperties26.Append(noFill47);
            shapeProperties26.Append(outline29);

            picture24.Append(nonVisualPictureProperties24);
            picture24.Append(blipFill24);
            picture24.Append(shapeProperties26);
            Xdr.ClientData clientData24 = new Xdr.ClientData();

            twoCellAnchor24.Append(fromMarker24);
            twoCellAnchor24.Append(toMarker24);
            twoCellAnchor24.Append(picture24);
            twoCellAnchor24.Append(clientData24);

            Xdr.TwoCellAnchor twoCellAnchor25 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker25 = new Xdr.FromMarker();
            Xdr.ColumnId columnId49 = new Xdr.ColumnId();
            columnId49.Text = "1";
            Xdr.ColumnOffset columnOffset49 = new Xdr.ColumnOffset();
            columnOffset49.Text = "19050";
            Xdr.RowId rowId49 = new Xdr.RowId();
            rowId49.Text = "11";
            Xdr.RowOffset rowOffset49 = new Xdr.RowOffset();
            rowOffset49.Text = "0";

            fromMarker25.Append(columnId49);
            fromMarker25.Append(columnOffset49);
            fromMarker25.Append(rowId49);
            fromMarker25.Append(rowOffset49);

            Xdr.ToMarker toMarker25 = new Xdr.ToMarker();
            Xdr.ColumnId columnId50 = new Xdr.ColumnId();
            columnId50.Text = "3";
            Xdr.ColumnOffset columnOffset50 = new Xdr.ColumnOffset();
            columnOffset50.Text = "0";
            Xdr.RowId rowId50 = new Xdr.RowId();
            rowId50.Text = "11";
            Xdr.RowOffset rowOffset50 = new Xdr.RowOffset();
            rowOffset50.Text = "0";

            toMarker25.Append(columnId50);
            toMarker25.Append(columnOffset50);
            toMarker25.Append(rowId50);
            toMarker25.Append(rowOffset50);

            Xdr.Picture picture25 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties25 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties25 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2682U, Name = "Picture 65" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties25 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks25 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties25.Append(pictureLocks25);

            nonVisualPictureProperties25.Append(nonVisualDrawingProperties25);
            nonVisualPictureProperties25.Append(nonVisualPictureDrawingProperties25);

            Xdr.BlipFill blipFill25 = new Xdr.BlipFill();

            A.Blip blip25 = new A.Blip() { Embed = "rId1" };
            blip25.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle25 = new A.SourceRectangle();

            A.Stretch stretch25 = new A.Stretch();
            A.FillRectangle fillRectangle25 = new A.FillRectangle();

            stretch25.Append(fillRectangle25);

            blipFill25.Append(blip25);
            blipFill25.Append(sourceRectangle25);
            blipFill25.Append(stretch25);

            Xdr.ShapeProperties shapeProperties27 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D27 = new A.Transform2D();
            A.Offset offset27 = new A.Offset() { X = 600075L, Y = 2314575L };
            A.Extents extents27 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D27.Append(offset27);
            transform2D27.Append(extents27);

            A.PresetGeometry presetGeometry25 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList27 = new A.AdjustValueList();

            presetGeometry25.Append(adjustValueList27);
            A.NoFill noFill49 = new A.NoFill();

            A.Outline outline30 = new A.Outline() { Width = 9525 };
            A.NoFill noFill50 = new A.NoFill();
            A.Miter miter25 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd27 = new A.HeadEnd();
            A.TailEnd tailEnd27 = new A.TailEnd();

            outline30.Append(noFill50);
            outline30.Append(miter25);
            outline30.Append(headEnd27);
            outline30.Append(tailEnd27);

            shapeProperties27.Append(transform2D27);
            shapeProperties27.Append(presetGeometry25);
            shapeProperties27.Append(noFill49);
            shapeProperties27.Append(outline30);

            picture25.Append(nonVisualPictureProperties25);
            picture25.Append(blipFill25);
            picture25.Append(shapeProperties27);
            Xdr.ClientData clientData25 = new Xdr.ClientData();

            twoCellAnchor25.Append(fromMarker25);
            twoCellAnchor25.Append(toMarker25);
            twoCellAnchor25.Append(picture25);
            twoCellAnchor25.Append(clientData25);

            Xdr.TwoCellAnchor twoCellAnchor26 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker26 = new Xdr.FromMarker();
            Xdr.ColumnId columnId51 = new Xdr.ColumnId();
            columnId51.Text = "1";
            Xdr.ColumnOffset columnOffset51 = new Xdr.ColumnOffset();
            columnOffset51.Text = "19050";
            Xdr.RowId rowId51 = new Xdr.RowId();
            rowId51.Text = "11";
            Xdr.RowOffset rowOffset51 = new Xdr.RowOffset();
            rowOffset51.Text = "0";

            fromMarker26.Append(columnId51);
            fromMarker26.Append(columnOffset51);
            fromMarker26.Append(rowId51);
            fromMarker26.Append(rowOffset51);

            Xdr.ToMarker toMarker26 = new Xdr.ToMarker();
            Xdr.ColumnId columnId52 = new Xdr.ColumnId();
            columnId52.Text = "3";
            Xdr.ColumnOffset columnOffset52 = new Xdr.ColumnOffset();
            columnOffset52.Text = "0";
            Xdr.RowId rowId52 = new Xdr.RowId();
            rowId52.Text = "11";
            Xdr.RowOffset rowOffset52 = new Xdr.RowOffset();
            rowOffset52.Text = "0";

            toMarker26.Append(columnId52);
            toMarker26.Append(columnOffset52);
            toMarker26.Append(rowId52);
            toMarker26.Append(rowOffset52);

            Xdr.Picture picture26 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties26 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties26 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2683U, Name = "Picture 66" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties26 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks26 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties26.Append(pictureLocks26);

            nonVisualPictureProperties26.Append(nonVisualDrawingProperties26);
            nonVisualPictureProperties26.Append(nonVisualPictureDrawingProperties26);

            Xdr.BlipFill blipFill26 = new Xdr.BlipFill();

            A.Blip blip26 = new A.Blip() { Embed = "rId1" };
            blip26.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle26 = new A.SourceRectangle();

            A.Stretch stretch26 = new A.Stretch();
            A.FillRectangle fillRectangle26 = new A.FillRectangle();

            stretch26.Append(fillRectangle26);

            blipFill26.Append(blip26);
            blipFill26.Append(sourceRectangle26);
            blipFill26.Append(stretch26);

            Xdr.ShapeProperties shapeProperties28 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D28 = new A.Transform2D();
            A.Offset offset28 = new A.Offset() { X = 600075L, Y = 2314575L };
            A.Extents extents28 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D28.Append(offset28);
            transform2D28.Append(extents28);

            A.PresetGeometry presetGeometry26 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList28 = new A.AdjustValueList();

            presetGeometry26.Append(adjustValueList28);
            A.NoFill noFill51 = new A.NoFill();

            A.Outline outline31 = new A.Outline() { Width = 9525 };
            A.NoFill noFill52 = new A.NoFill();
            A.Miter miter26 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd28 = new A.HeadEnd();
            A.TailEnd tailEnd28 = new A.TailEnd();

            outline31.Append(noFill52);
            outline31.Append(miter26);
            outline31.Append(headEnd28);
            outline31.Append(tailEnd28);

            shapeProperties28.Append(transform2D28);
            shapeProperties28.Append(presetGeometry26);
            shapeProperties28.Append(noFill51);
            shapeProperties28.Append(outline31);

            picture26.Append(nonVisualPictureProperties26);
            picture26.Append(blipFill26);
            picture26.Append(shapeProperties28);
            Xdr.ClientData clientData26 = new Xdr.ClientData();

            twoCellAnchor26.Append(fromMarker26);
            twoCellAnchor26.Append(toMarker26);
            twoCellAnchor26.Append(picture26);
            twoCellAnchor26.Append(clientData26);

            Xdr.TwoCellAnchor twoCellAnchor27 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker27 = new Xdr.FromMarker();
            Xdr.ColumnId columnId53 = new Xdr.ColumnId();
            columnId53.Text = "1";
            Xdr.ColumnOffset columnOffset53 = new Xdr.ColumnOffset();
            columnOffset53.Text = "0";
            Xdr.RowId rowId53 = new Xdr.RowId();
            rowId53.Text = "11";
            Xdr.RowOffset rowOffset53 = new Xdr.RowOffset();
            rowOffset53.Text = "0";

            fromMarker27.Append(columnId53);
            fromMarker27.Append(columnOffset53);
            fromMarker27.Append(rowId53);
            fromMarker27.Append(rowOffset53);

            Xdr.ToMarker toMarker27 = new Xdr.ToMarker();
            Xdr.ColumnId columnId54 = new Xdr.ColumnId();
            columnId54.Text = "3";
            Xdr.ColumnOffset columnOffset54 = new Xdr.ColumnOffset();
            columnOffset54.Text = "0";
            Xdr.RowId rowId54 = new Xdr.RowId();
            rowId54.Text = "11";
            Xdr.RowOffset rowOffset54 = new Xdr.RowOffset();
            rowOffset54.Text = "0";

            toMarker27.Append(columnId54);
            toMarker27.Append(columnOffset54);
            toMarker27.Append(rowId54);
            toMarker27.Append(rowOffset54);

            Xdr.Picture picture27 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties27 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties27 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2684U, Name = "Picture 67" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties27 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks27 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties27.Append(pictureLocks27);

            nonVisualPictureProperties27.Append(nonVisualDrawingProperties27);
            nonVisualPictureProperties27.Append(nonVisualPictureDrawingProperties27);

            Xdr.BlipFill blipFill27 = new Xdr.BlipFill();

            A.Blip blip27 = new A.Blip() { Embed = "rId1" };
            blip27.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle27 = new A.SourceRectangle();

            A.Stretch stretch27 = new A.Stretch();
            A.FillRectangle fillRectangle27 = new A.FillRectangle();

            stretch27.Append(fillRectangle27);

            blipFill27.Append(blip27);
            blipFill27.Append(sourceRectangle27);
            blipFill27.Append(stretch27);

            Xdr.ShapeProperties shapeProperties29 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D29 = new A.Transform2D();
            A.Offset offset29 = new A.Offset() { X = 581025L, Y = 2314575L };
            A.Extents extents29 = new A.Extents() { Cx = 2819400L, Cy = 0L };

            transform2D29.Append(offset29);
            transform2D29.Append(extents29);

            A.PresetGeometry presetGeometry27 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList29 = new A.AdjustValueList();

            presetGeometry27.Append(adjustValueList29);
            A.NoFill noFill53 = new A.NoFill();

            A.Outline outline32 = new A.Outline() { Width = 9525 };
            A.NoFill noFill54 = new A.NoFill();
            A.Miter miter27 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd29 = new A.HeadEnd();
            A.TailEnd tailEnd29 = new A.TailEnd();

            outline32.Append(noFill54);
            outline32.Append(miter27);
            outline32.Append(headEnd29);
            outline32.Append(tailEnd29);

            shapeProperties29.Append(transform2D29);
            shapeProperties29.Append(presetGeometry27);
            shapeProperties29.Append(noFill53);
            shapeProperties29.Append(outline32);

            picture27.Append(nonVisualPictureProperties27);
            picture27.Append(blipFill27);
            picture27.Append(shapeProperties29);
            Xdr.ClientData clientData27 = new Xdr.ClientData();

            twoCellAnchor27.Append(fromMarker27);
            twoCellAnchor27.Append(toMarker27);
            twoCellAnchor27.Append(picture27);
            twoCellAnchor27.Append(clientData27);

            Xdr.TwoCellAnchor twoCellAnchor28 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker28 = new Xdr.FromMarker();
            Xdr.ColumnId columnId55 = new Xdr.ColumnId();
            columnId55.Text = "1";
            Xdr.ColumnOffset columnOffset55 = new Xdr.ColumnOffset();
            columnOffset55.Text = "19050";
            Xdr.RowId rowId55 = new Xdr.RowId();
            rowId55.Text = "16";
            Xdr.RowOffset rowOffset55 = new Xdr.RowOffset();
            rowOffset55.Text = "0";

            fromMarker28.Append(columnId55);
            fromMarker28.Append(columnOffset55);
            fromMarker28.Append(rowId55);
            fromMarker28.Append(rowOffset55);

            Xdr.ToMarker toMarker28 = new Xdr.ToMarker();
            Xdr.ColumnId columnId56 = new Xdr.ColumnId();
            columnId56.Text = "2";
            Xdr.ColumnOffset columnOffset56 = new Xdr.ColumnOffset();
            columnOffset56.Text = "0";
            Xdr.RowId rowId56 = new Xdr.RowId();
            rowId56.Text = "16";
            Xdr.RowOffset rowOffset56 = new Xdr.RowOffset();
            rowOffset56.Text = "0";

            toMarker28.Append(columnId56);
            toMarker28.Append(columnOffset56);
            toMarker28.Append(rowId56);
            toMarker28.Append(rowOffset56);

            Xdr.Picture picture28 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties28 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties28 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2685U, Name = "Picture 68" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties28 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks28 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties28.Append(pictureLocks28);

            nonVisualPictureProperties28.Append(nonVisualDrawingProperties28);
            nonVisualPictureProperties28.Append(nonVisualPictureDrawingProperties28);

            Xdr.BlipFill blipFill28 = new Xdr.BlipFill();

            A.Blip blip28 = new A.Blip() { Embed = "rId1" };
            blip28.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle28 = new A.SourceRectangle();

            A.Stretch stretch28 = new A.Stretch();
            A.FillRectangle fillRectangle28 = new A.FillRectangle();

            stretch28.Append(fillRectangle28);

            blipFill28.Append(blip28);
            blipFill28.Append(sourceRectangle28);
            blipFill28.Append(stretch28);

            Xdr.ShapeProperties shapeProperties30 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D30 = new A.Transform2D();
            A.Offset offset30 = new A.Offset() { X = 600075L, Y = 3790950L };
            A.Extents extents30 = new A.Extents() { Cx = 1085850L, Cy = 0L };

            transform2D30.Append(offset30);
            transform2D30.Append(extents30);

            A.PresetGeometry presetGeometry28 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList30 = new A.AdjustValueList();

            presetGeometry28.Append(adjustValueList30);
            A.NoFill noFill55 = new A.NoFill();

            A.Outline outline33 = new A.Outline() { Width = 9525 };
            A.NoFill noFill56 = new A.NoFill();
            A.Miter miter28 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd30 = new A.HeadEnd();
            A.TailEnd tailEnd30 = new A.TailEnd();

            outline33.Append(noFill56);
            outline33.Append(miter28);
            outline33.Append(headEnd30);
            outline33.Append(tailEnd30);

            shapeProperties30.Append(transform2D30);
            shapeProperties30.Append(presetGeometry28);
            shapeProperties30.Append(noFill55);
            shapeProperties30.Append(outline33);

            picture28.Append(nonVisualPictureProperties28);
            picture28.Append(blipFill28);
            picture28.Append(shapeProperties30);
            Xdr.ClientData clientData28 = new Xdr.ClientData();

            twoCellAnchor28.Append(fromMarker28);
            twoCellAnchor28.Append(toMarker28);
            twoCellAnchor28.Append(picture28);
            twoCellAnchor28.Append(clientData28);

            Xdr.TwoCellAnchor twoCellAnchor29 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker29 = new Xdr.FromMarker();
            Xdr.ColumnId columnId57 = new Xdr.ColumnId();
            columnId57.Text = "1";
            Xdr.ColumnOffset columnOffset57 = new Xdr.ColumnOffset();
            columnOffset57.Text = "0";
            Xdr.RowId rowId57 = new Xdr.RowId();
            rowId57.Text = "16";
            Xdr.RowOffset rowOffset57 = new Xdr.RowOffset();
            rowOffset57.Text = "0";

            fromMarker29.Append(columnId57);
            fromMarker29.Append(columnOffset57);
            fromMarker29.Append(rowId57);
            fromMarker29.Append(rowOffset57);

            Xdr.ToMarker toMarker29 = new Xdr.ToMarker();
            Xdr.ColumnId columnId58 = new Xdr.ColumnId();
            columnId58.Text = "3";
            Xdr.ColumnOffset columnOffset58 = new Xdr.ColumnOffset();
            columnOffset58.Text = "0";
            Xdr.RowId rowId58 = new Xdr.RowId();
            rowId58.Text = "16";
            Xdr.RowOffset rowOffset58 = new Xdr.RowOffset();
            rowOffset58.Text = "0";

            toMarker29.Append(columnId58);
            toMarker29.Append(columnOffset58);
            toMarker29.Append(rowId58);
            toMarker29.Append(rowOffset58);

            Xdr.Picture picture29 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties29 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties29 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2686U, Name = "Picture 69" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties29 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks29 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties29.Append(pictureLocks29);

            nonVisualPictureProperties29.Append(nonVisualDrawingProperties29);
            nonVisualPictureProperties29.Append(nonVisualPictureDrawingProperties29);

            Xdr.BlipFill blipFill29 = new Xdr.BlipFill();

            A.Blip blip29 = new A.Blip() { Embed = "rId1" };
            blip29.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle29 = new A.SourceRectangle();

            A.Stretch stretch29 = new A.Stretch();
            A.FillRectangle fillRectangle29 = new A.FillRectangle();

            stretch29.Append(fillRectangle29);

            blipFill29.Append(blip29);
            blipFill29.Append(sourceRectangle29);
            blipFill29.Append(stretch29);

            Xdr.ShapeProperties shapeProperties31 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D31 = new A.Transform2D();
            A.Offset offset31 = new A.Offset() { X = 581025L, Y = 3790950L };
            A.Extents extents31 = new A.Extents() { Cx = 2819400L, Cy = 0L };

            transform2D31.Append(offset31);
            transform2D31.Append(extents31);

            A.PresetGeometry presetGeometry29 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList31 = new A.AdjustValueList();

            presetGeometry29.Append(adjustValueList31);
            A.NoFill noFill57 = new A.NoFill();

            A.Outline outline34 = new A.Outline() { Width = 9525 };
            A.NoFill noFill58 = new A.NoFill();
            A.Miter miter29 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd31 = new A.HeadEnd();
            A.TailEnd tailEnd31 = new A.TailEnd();

            outline34.Append(noFill58);
            outline34.Append(miter29);
            outline34.Append(headEnd31);
            outline34.Append(tailEnd31);

            shapeProperties31.Append(transform2D31);
            shapeProperties31.Append(presetGeometry29);
            shapeProperties31.Append(noFill57);
            shapeProperties31.Append(outline34);

            picture29.Append(nonVisualPictureProperties29);
            picture29.Append(blipFill29);
            picture29.Append(shapeProperties31);
            Xdr.ClientData clientData29 = new Xdr.ClientData();

            twoCellAnchor29.Append(fromMarker29);
            twoCellAnchor29.Append(toMarker29);
            twoCellAnchor29.Append(picture29);
            twoCellAnchor29.Append(clientData29);

            Xdr.TwoCellAnchor twoCellAnchor30 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker30 = new Xdr.FromMarker();
            Xdr.ColumnId columnId59 = new Xdr.ColumnId();
            columnId59.Text = "1";
            Xdr.ColumnOffset columnOffset59 = new Xdr.ColumnOffset();
            columnOffset59.Text = "0";
            Xdr.RowId rowId59 = new Xdr.RowId();
            rowId59.Text = "16";
            Xdr.RowOffset rowOffset59 = new Xdr.RowOffset();
            rowOffset59.Text = "0";

            fromMarker30.Append(columnId59);
            fromMarker30.Append(columnOffset59);
            fromMarker30.Append(rowId59);
            fromMarker30.Append(rowOffset59);

            Xdr.ToMarker toMarker30 = new Xdr.ToMarker();
            Xdr.ColumnId columnId60 = new Xdr.ColumnId();
            columnId60.Text = "3";
            Xdr.ColumnOffset columnOffset60 = new Xdr.ColumnOffset();
            columnOffset60.Text = "0";
            Xdr.RowId rowId60 = new Xdr.RowId();
            rowId60.Text = "16";
            Xdr.RowOffset rowOffset60 = new Xdr.RowOffset();
            rowOffset60.Text = "0";

            toMarker30.Append(columnId60);
            toMarker30.Append(columnOffset60);
            toMarker30.Append(rowId60);
            toMarker30.Append(rowOffset60);

            Xdr.Picture picture30 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties30 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties30 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2687U, Name = "Picture 70" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties30 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks30 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties30.Append(pictureLocks30);

            nonVisualPictureProperties30.Append(nonVisualDrawingProperties30);
            nonVisualPictureProperties30.Append(nonVisualPictureDrawingProperties30);

            Xdr.BlipFill blipFill30 = new Xdr.BlipFill();

            A.Blip blip30 = new A.Blip() { Embed = "rId1" };
            blip30.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle30 = new A.SourceRectangle();

            A.Stretch stretch30 = new A.Stretch();
            A.FillRectangle fillRectangle30 = new A.FillRectangle();

            stretch30.Append(fillRectangle30);

            blipFill30.Append(blip30);
            blipFill30.Append(sourceRectangle30);
            blipFill30.Append(stretch30);

            Xdr.ShapeProperties shapeProperties32 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D32 = new A.Transform2D();
            A.Offset offset32 = new A.Offset() { X = 581025L, Y = 3790950L };
            A.Extents extents32 = new A.Extents() { Cx = 2819400L, Cy = 0L };

            transform2D32.Append(offset32);
            transform2D32.Append(extents32);

            A.PresetGeometry presetGeometry30 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList32 = new A.AdjustValueList();

            presetGeometry30.Append(adjustValueList32);
            A.NoFill noFill59 = new A.NoFill();

            A.Outline outline35 = new A.Outline() { Width = 9525 };
            A.NoFill noFill60 = new A.NoFill();
            A.Miter miter30 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd32 = new A.HeadEnd();
            A.TailEnd tailEnd32 = new A.TailEnd();

            outline35.Append(noFill60);
            outline35.Append(miter30);
            outline35.Append(headEnd32);
            outline35.Append(tailEnd32);

            shapeProperties32.Append(transform2D32);
            shapeProperties32.Append(presetGeometry30);
            shapeProperties32.Append(noFill59);
            shapeProperties32.Append(outline35);

            picture30.Append(nonVisualPictureProperties30);
            picture30.Append(blipFill30);
            picture30.Append(shapeProperties32);
            Xdr.ClientData clientData30 = new Xdr.ClientData();

            twoCellAnchor30.Append(fromMarker30);
            twoCellAnchor30.Append(toMarker30);
            twoCellAnchor30.Append(picture30);
            twoCellAnchor30.Append(clientData30);

            Xdr.TwoCellAnchor twoCellAnchor31 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker31 = new Xdr.FromMarker();
            Xdr.ColumnId columnId61 = new Xdr.ColumnId();
            columnId61.Text = "1";
            Xdr.ColumnOffset columnOffset61 = new Xdr.ColumnOffset();
            columnOffset61.Text = "19050";
            Xdr.RowId rowId61 = new Xdr.RowId();
            rowId61.Text = "16";
            Xdr.RowOffset rowOffset61 = new Xdr.RowOffset();
            rowOffset61.Text = "0";

            fromMarker31.Append(columnId61);
            fromMarker31.Append(columnOffset61);
            fromMarker31.Append(rowId61);
            fromMarker31.Append(rowOffset61);

            Xdr.ToMarker toMarker31 = new Xdr.ToMarker();
            Xdr.ColumnId columnId62 = new Xdr.ColumnId();
            columnId62.Text = "3";
            Xdr.ColumnOffset columnOffset62 = new Xdr.ColumnOffset();
            columnOffset62.Text = "0";
            Xdr.RowId rowId62 = new Xdr.RowId();
            rowId62.Text = "16";
            Xdr.RowOffset rowOffset62 = new Xdr.RowOffset();
            rowOffset62.Text = "0";

            toMarker31.Append(columnId62);
            toMarker31.Append(columnOffset62);
            toMarker31.Append(rowId62);
            toMarker31.Append(rowOffset62);

            Xdr.Picture picture31 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties31 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties31 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2688U, Name = "Picture 71" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties31 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks31 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties31.Append(pictureLocks31);

            nonVisualPictureProperties31.Append(nonVisualDrawingProperties31);
            nonVisualPictureProperties31.Append(nonVisualPictureDrawingProperties31);

            Xdr.BlipFill blipFill31 = new Xdr.BlipFill();

            A.Blip blip31 = new A.Blip() { Embed = "rId1" };
            blip31.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle31 = new A.SourceRectangle();

            A.Stretch stretch31 = new A.Stretch();
            A.FillRectangle fillRectangle31 = new A.FillRectangle();

            stretch31.Append(fillRectangle31);

            blipFill31.Append(blip31);
            blipFill31.Append(sourceRectangle31);
            blipFill31.Append(stretch31);

            Xdr.ShapeProperties shapeProperties33 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D33 = new A.Transform2D();
            A.Offset offset33 = new A.Offset() { X = 600075L, Y = 3790950L };
            A.Extents extents33 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D33.Append(offset33);
            transform2D33.Append(extents33);

            A.PresetGeometry presetGeometry31 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList33 = new A.AdjustValueList();

            presetGeometry31.Append(adjustValueList33);
            A.NoFill noFill61 = new A.NoFill();

            A.Outline outline36 = new A.Outline() { Width = 9525 };
            A.NoFill noFill62 = new A.NoFill();
            A.Miter miter31 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd33 = new A.HeadEnd();
            A.TailEnd tailEnd33 = new A.TailEnd();

            outline36.Append(noFill62);
            outline36.Append(miter31);
            outline36.Append(headEnd33);
            outline36.Append(tailEnd33);

            shapeProperties33.Append(transform2D33);
            shapeProperties33.Append(presetGeometry31);
            shapeProperties33.Append(noFill61);
            shapeProperties33.Append(outline36);

            picture31.Append(nonVisualPictureProperties31);
            picture31.Append(blipFill31);
            picture31.Append(shapeProperties33);
            Xdr.ClientData clientData31 = new Xdr.ClientData();

            twoCellAnchor31.Append(fromMarker31);
            twoCellAnchor31.Append(toMarker31);
            twoCellAnchor31.Append(picture31);
            twoCellAnchor31.Append(clientData31);

            Xdr.TwoCellAnchor twoCellAnchor32 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker32 = new Xdr.FromMarker();
            Xdr.ColumnId columnId63 = new Xdr.ColumnId();
            columnId63.Text = "1";
            Xdr.ColumnOffset columnOffset63 = new Xdr.ColumnOffset();
            columnOffset63.Text = "19050";
            Xdr.RowId rowId63 = new Xdr.RowId();
            rowId63.Text = "16";
            Xdr.RowOffset rowOffset63 = new Xdr.RowOffset();
            rowOffset63.Text = "0";

            fromMarker32.Append(columnId63);
            fromMarker32.Append(columnOffset63);
            fromMarker32.Append(rowId63);
            fromMarker32.Append(rowOffset63);

            Xdr.ToMarker toMarker32 = new Xdr.ToMarker();
            Xdr.ColumnId columnId64 = new Xdr.ColumnId();
            columnId64.Text = "3";
            Xdr.ColumnOffset columnOffset64 = new Xdr.ColumnOffset();
            columnOffset64.Text = "0";
            Xdr.RowId rowId64 = new Xdr.RowId();
            rowId64.Text = "16";
            Xdr.RowOffset rowOffset64 = new Xdr.RowOffset();
            rowOffset64.Text = "0";

            toMarker32.Append(columnId64);
            toMarker32.Append(columnOffset64);
            toMarker32.Append(rowId64);
            toMarker32.Append(rowOffset64);

            Xdr.Picture picture32 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties32 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties32 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2689U, Name = "Picture 72" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties32 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks32 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties32.Append(pictureLocks32);

            nonVisualPictureProperties32.Append(nonVisualDrawingProperties32);
            nonVisualPictureProperties32.Append(nonVisualPictureDrawingProperties32);

            Xdr.BlipFill blipFill32 = new Xdr.BlipFill();

            A.Blip blip32 = new A.Blip() { Embed = "rId1" };
            blip32.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle32 = new A.SourceRectangle();

            A.Stretch stretch32 = new A.Stretch();
            A.FillRectangle fillRectangle32 = new A.FillRectangle();

            stretch32.Append(fillRectangle32);

            blipFill32.Append(blip32);
            blipFill32.Append(sourceRectangle32);
            blipFill32.Append(stretch32);

            Xdr.ShapeProperties shapeProperties34 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D34 = new A.Transform2D();
            A.Offset offset34 = new A.Offset() { X = 600075L, Y = 3790950L };
            A.Extents extents34 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D34.Append(offset34);
            transform2D34.Append(extents34);

            A.PresetGeometry presetGeometry32 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList34 = new A.AdjustValueList();

            presetGeometry32.Append(adjustValueList34);
            A.NoFill noFill63 = new A.NoFill();

            A.Outline outline37 = new A.Outline() { Width = 9525 };
            A.NoFill noFill64 = new A.NoFill();
            A.Miter miter32 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd34 = new A.HeadEnd();
            A.TailEnd tailEnd34 = new A.TailEnd();

            outline37.Append(noFill64);
            outline37.Append(miter32);
            outline37.Append(headEnd34);
            outline37.Append(tailEnd34);

            shapeProperties34.Append(transform2D34);
            shapeProperties34.Append(presetGeometry32);
            shapeProperties34.Append(noFill63);
            shapeProperties34.Append(outline37);

            picture32.Append(nonVisualPictureProperties32);
            picture32.Append(blipFill32);
            picture32.Append(shapeProperties34);
            Xdr.ClientData clientData32 = new Xdr.ClientData();

            twoCellAnchor32.Append(fromMarker32);
            twoCellAnchor32.Append(toMarker32);
            twoCellAnchor32.Append(picture32);
            twoCellAnchor32.Append(clientData32);

            Xdr.TwoCellAnchor twoCellAnchor33 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker33 = new Xdr.FromMarker();
            Xdr.ColumnId columnId65 = new Xdr.ColumnId();
            columnId65.Text = "1";
            Xdr.ColumnOffset columnOffset65 = new Xdr.ColumnOffset();
            columnOffset65.Text = "19050";
            Xdr.RowId rowId65 = new Xdr.RowId();
            rowId65.Text = "16";
            Xdr.RowOffset rowOffset65 = new Xdr.RowOffset();
            rowOffset65.Text = "0";

            fromMarker33.Append(columnId65);
            fromMarker33.Append(columnOffset65);
            fromMarker33.Append(rowId65);
            fromMarker33.Append(rowOffset65);

            Xdr.ToMarker toMarker33 = new Xdr.ToMarker();
            Xdr.ColumnId columnId66 = new Xdr.ColumnId();
            columnId66.Text = "3";
            Xdr.ColumnOffset columnOffset66 = new Xdr.ColumnOffset();
            columnOffset66.Text = "0";
            Xdr.RowId rowId66 = new Xdr.RowId();
            rowId66.Text = "16";
            Xdr.RowOffset rowOffset66 = new Xdr.RowOffset();
            rowOffset66.Text = "0";

            toMarker33.Append(columnId66);
            toMarker33.Append(columnOffset66);
            toMarker33.Append(rowId66);
            toMarker33.Append(rowOffset66);

            Xdr.Picture picture33 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties33 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties33 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2690U, Name = "Picture 73" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties33 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks33 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties33.Append(pictureLocks33);

            nonVisualPictureProperties33.Append(nonVisualDrawingProperties33);
            nonVisualPictureProperties33.Append(nonVisualPictureDrawingProperties33);

            Xdr.BlipFill blipFill33 = new Xdr.BlipFill();

            A.Blip blip33 = new A.Blip() { Embed = "rId1" };
            blip33.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle33 = new A.SourceRectangle();

            A.Stretch stretch33 = new A.Stretch();
            A.FillRectangle fillRectangle33 = new A.FillRectangle();

            stretch33.Append(fillRectangle33);

            blipFill33.Append(blip33);
            blipFill33.Append(sourceRectangle33);
            blipFill33.Append(stretch33);

            Xdr.ShapeProperties shapeProperties35 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D35 = new A.Transform2D();
            A.Offset offset35 = new A.Offset() { X = 600075L, Y = 3790950L };
            A.Extents extents35 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D35.Append(offset35);
            transform2D35.Append(extents35);

            A.PresetGeometry presetGeometry33 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList35 = new A.AdjustValueList();

            presetGeometry33.Append(adjustValueList35);
            A.NoFill noFill65 = new A.NoFill();

            A.Outline outline38 = new A.Outline() { Width = 9525 };
            A.NoFill noFill66 = new A.NoFill();
            A.Miter miter33 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd35 = new A.HeadEnd();
            A.TailEnd tailEnd35 = new A.TailEnd();

            outline38.Append(noFill66);
            outline38.Append(miter33);
            outline38.Append(headEnd35);
            outline38.Append(tailEnd35);

            shapeProperties35.Append(transform2D35);
            shapeProperties35.Append(presetGeometry33);
            shapeProperties35.Append(noFill65);
            shapeProperties35.Append(outline38);

            picture33.Append(nonVisualPictureProperties33);
            picture33.Append(blipFill33);
            picture33.Append(shapeProperties35);
            Xdr.ClientData clientData33 = new Xdr.ClientData();

            twoCellAnchor33.Append(fromMarker33);
            twoCellAnchor33.Append(toMarker33);
            twoCellAnchor33.Append(picture33);
            twoCellAnchor33.Append(clientData33);

            Xdr.TwoCellAnchor twoCellAnchor34 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker34 = new Xdr.FromMarker();
            Xdr.ColumnId columnId67 = new Xdr.ColumnId();
            columnId67.Text = "1";
            Xdr.ColumnOffset columnOffset67 = new Xdr.ColumnOffset();
            columnOffset67.Text = "19050";
            Xdr.RowId rowId67 = new Xdr.RowId();
            rowId67.Text = "16";
            Xdr.RowOffset rowOffset67 = new Xdr.RowOffset();
            rowOffset67.Text = "0";

            fromMarker34.Append(columnId67);
            fromMarker34.Append(columnOffset67);
            fromMarker34.Append(rowId67);
            fromMarker34.Append(rowOffset67);

            Xdr.ToMarker toMarker34 = new Xdr.ToMarker();
            Xdr.ColumnId columnId68 = new Xdr.ColumnId();
            columnId68.Text = "3";
            Xdr.ColumnOffset columnOffset68 = new Xdr.ColumnOffset();
            columnOffset68.Text = "0";
            Xdr.RowId rowId68 = new Xdr.RowId();
            rowId68.Text = "16";
            Xdr.RowOffset rowOffset68 = new Xdr.RowOffset();
            rowOffset68.Text = "0";

            toMarker34.Append(columnId68);
            toMarker34.Append(columnOffset68);
            toMarker34.Append(rowId68);
            toMarker34.Append(rowOffset68);

            Xdr.Picture picture34 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties34 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties34 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2691U, Name = "Picture 74" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties34 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks34 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties34.Append(pictureLocks34);

            nonVisualPictureProperties34.Append(nonVisualDrawingProperties34);
            nonVisualPictureProperties34.Append(nonVisualPictureDrawingProperties34);

            Xdr.BlipFill blipFill34 = new Xdr.BlipFill();

            A.Blip blip34 = new A.Blip() { Embed = "rId1" };
            blip34.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle34 = new A.SourceRectangle();

            A.Stretch stretch34 = new A.Stretch();
            A.FillRectangle fillRectangle34 = new A.FillRectangle();

            stretch34.Append(fillRectangle34);

            blipFill34.Append(blip34);
            blipFill34.Append(sourceRectangle34);
            blipFill34.Append(stretch34);

            Xdr.ShapeProperties shapeProperties36 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D36 = new A.Transform2D();
            A.Offset offset36 = new A.Offset() { X = 600075L, Y = 3790950L };
            A.Extents extents36 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D36.Append(offset36);
            transform2D36.Append(extents36);

            A.PresetGeometry presetGeometry34 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList36 = new A.AdjustValueList();

            presetGeometry34.Append(adjustValueList36);
            A.NoFill noFill67 = new A.NoFill();

            A.Outline outline39 = new A.Outline() { Width = 9525 };
            A.NoFill noFill68 = new A.NoFill();
            A.Miter miter34 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd36 = new A.HeadEnd();
            A.TailEnd tailEnd36 = new A.TailEnd();

            outline39.Append(noFill68);
            outline39.Append(miter34);
            outline39.Append(headEnd36);
            outline39.Append(tailEnd36);

            shapeProperties36.Append(transform2D36);
            shapeProperties36.Append(presetGeometry34);
            shapeProperties36.Append(noFill67);
            shapeProperties36.Append(outline39);

            picture34.Append(nonVisualPictureProperties34);
            picture34.Append(blipFill34);
            picture34.Append(shapeProperties36);
            Xdr.ClientData clientData34 = new Xdr.ClientData();

            twoCellAnchor34.Append(fromMarker34);
            twoCellAnchor34.Append(toMarker34);
            twoCellAnchor34.Append(picture34);
            twoCellAnchor34.Append(clientData34);

            Xdr.TwoCellAnchor twoCellAnchor35 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker35 = new Xdr.FromMarker();
            Xdr.ColumnId columnId69 = new Xdr.ColumnId();
            columnId69.Text = "1";
            Xdr.ColumnOffset columnOffset69 = new Xdr.ColumnOffset();
            columnOffset69.Text = "19050";
            Xdr.RowId rowId69 = new Xdr.RowId();
            rowId69.Text = "16";
            Xdr.RowOffset rowOffset69 = new Xdr.RowOffset();
            rowOffset69.Text = "0";

            fromMarker35.Append(columnId69);
            fromMarker35.Append(columnOffset69);
            fromMarker35.Append(rowId69);
            fromMarker35.Append(rowOffset69);

            Xdr.ToMarker toMarker35 = new Xdr.ToMarker();
            Xdr.ColumnId columnId70 = new Xdr.ColumnId();
            columnId70.Text = "3";
            Xdr.ColumnOffset columnOffset70 = new Xdr.ColumnOffset();
            columnOffset70.Text = "0";
            Xdr.RowId rowId70 = new Xdr.RowId();
            rowId70.Text = "16";
            Xdr.RowOffset rowOffset70 = new Xdr.RowOffset();
            rowOffset70.Text = "0";

            toMarker35.Append(columnId70);
            toMarker35.Append(columnOffset70);
            toMarker35.Append(rowId70);
            toMarker35.Append(rowOffset70);

            Xdr.Picture picture35 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties35 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties35 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2692U, Name = "Picture 75" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties35 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks35 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties35.Append(pictureLocks35);

            nonVisualPictureProperties35.Append(nonVisualDrawingProperties35);
            nonVisualPictureProperties35.Append(nonVisualPictureDrawingProperties35);

            Xdr.BlipFill blipFill35 = new Xdr.BlipFill();

            A.Blip blip35 = new A.Blip() { Embed = "rId1" };
            blip35.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle35 = new A.SourceRectangle();

            A.Stretch stretch35 = new A.Stretch();
            A.FillRectangle fillRectangle35 = new A.FillRectangle();

            stretch35.Append(fillRectangle35);

            blipFill35.Append(blip35);
            blipFill35.Append(sourceRectangle35);
            blipFill35.Append(stretch35);

            Xdr.ShapeProperties shapeProperties37 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D37 = new A.Transform2D();
            A.Offset offset37 = new A.Offset() { X = 600075L, Y = 3790950L };
            A.Extents extents37 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D37.Append(offset37);
            transform2D37.Append(extents37);

            A.PresetGeometry presetGeometry35 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList37 = new A.AdjustValueList();

            presetGeometry35.Append(adjustValueList37);
            A.NoFill noFill69 = new A.NoFill();

            A.Outline outline40 = new A.Outline() { Width = 9525 };
            A.NoFill noFill70 = new A.NoFill();
            A.Miter miter35 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd37 = new A.HeadEnd();
            A.TailEnd tailEnd37 = new A.TailEnd();

            outline40.Append(noFill70);
            outline40.Append(miter35);
            outline40.Append(headEnd37);
            outline40.Append(tailEnd37);

            shapeProperties37.Append(transform2D37);
            shapeProperties37.Append(presetGeometry35);
            shapeProperties37.Append(noFill69);
            shapeProperties37.Append(outline40);

            picture35.Append(nonVisualPictureProperties35);
            picture35.Append(blipFill35);
            picture35.Append(shapeProperties37);
            Xdr.ClientData clientData35 = new Xdr.ClientData();

            twoCellAnchor35.Append(fromMarker35);
            twoCellAnchor35.Append(toMarker35);
            twoCellAnchor35.Append(picture35);
            twoCellAnchor35.Append(clientData35);

            Xdr.TwoCellAnchor twoCellAnchor36 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker36 = new Xdr.FromMarker();
            Xdr.ColumnId columnId71 = new Xdr.ColumnId();
            columnId71.Text = "1";
            Xdr.ColumnOffset columnOffset71 = new Xdr.ColumnOffset();
            columnOffset71.Text = "19050";
            Xdr.RowId rowId71 = new Xdr.RowId();
            rowId71.Text = "16";
            Xdr.RowOffset rowOffset71 = new Xdr.RowOffset();
            rowOffset71.Text = "0";

            fromMarker36.Append(columnId71);
            fromMarker36.Append(columnOffset71);
            fromMarker36.Append(rowId71);
            fromMarker36.Append(rowOffset71);

            Xdr.ToMarker toMarker36 = new Xdr.ToMarker();
            Xdr.ColumnId columnId72 = new Xdr.ColumnId();
            columnId72.Text = "3";
            Xdr.ColumnOffset columnOffset72 = new Xdr.ColumnOffset();
            columnOffset72.Text = "0";
            Xdr.RowId rowId72 = new Xdr.RowId();
            rowId72.Text = "16";
            Xdr.RowOffset rowOffset72 = new Xdr.RowOffset();
            rowOffset72.Text = "0";

            toMarker36.Append(columnId72);
            toMarker36.Append(columnOffset72);
            toMarker36.Append(rowId72);
            toMarker36.Append(rowOffset72);

            Xdr.Picture picture36 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties36 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties36 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2693U, Name = "Picture 76" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties36 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks36 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties36.Append(pictureLocks36);

            nonVisualPictureProperties36.Append(nonVisualDrawingProperties36);
            nonVisualPictureProperties36.Append(nonVisualPictureDrawingProperties36);

            Xdr.BlipFill blipFill36 = new Xdr.BlipFill();

            A.Blip blip36 = new A.Blip() { Embed = "rId1" };
            blip36.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle36 = new A.SourceRectangle();

            A.Stretch stretch36 = new A.Stretch();
            A.FillRectangle fillRectangle36 = new A.FillRectangle();

            stretch36.Append(fillRectangle36);

            blipFill36.Append(blip36);
            blipFill36.Append(sourceRectangle36);
            blipFill36.Append(stretch36);

            Xdr.ShapeProperties shapeProperties38 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D38 = new A.Transform2D();
            A.Offset offset38 = new A.Offset() { X = 600075L, Y = 3790950L };
            A.Extents extents38 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D38.Append(offset38);
            transform2D38.Append(extents38);

            A.PresetGeometry presetGeometry36 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList38 = new A.AdjustValueList();

            presetGeometry36.Append(adjustValueList38);
            A.NoFill noFill71 = new A.NoFill();

            A.Outline outline41 = new A.Outline() { Width = 9525 };
            A.NoFill noFill72 = new A.NoFill();
            A.Miter miter36 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd38 = new A.HeadEnd();
            A.TailEnd tailEnd38 = new A.TailEnd();

            outline41.Append(noFill72);
            outline41.Append(miter36);
            outline41.Append(headEnd38);
            outline41.Append(tailEnd38);

            shapeProperties38.Append(transform2D38);
            shapeProperties38.Append(presetGeometry36);
            shapeProperties38.Append(noFill71);
            shapeProperties38.Append(outline41);

            picture36.Append(nonVisualPictureProperties36);
            picture36.Append(blipFill36);
            picture36.Append(shapeProperties38);
            Xdr.ClientData clientData36 = new Xdr.ClientData();

            twoCellAnchor36.Append(fromMarker36);
            twoCellAnchor36.Append(toMarker36);
            twoCellAnchor36.Append(picture36);
            twoCellAnchor36.Append(clientData36);

            Xdr.TwoCellAnchor twoCellAnchor37 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker37 = new Xdr.FromMarker();
            Xdr.ColumnId columnId73 = new Xdr.ColumnId();
            columnId73.Text = "1";
            Xdr.ColumnOffset columnOffset73 = new Xdr.ColumnOffset();
            columnOffset73.Text = "19050";
            Xdr.RowId rowId73 = new Xdr.RowId();
            rowId73.Text = "16";
            Xdr.RowOffset rowOffset73 = new Xdr.RowOffset();
            rowOffset73.Text = "0";

            fromMarker37.Append(columnId73);
            fromMarker37.Append(columnOffset73);
            fromMarker37.Append(rowId73);
            fromMarker37.Append(rowOffset73);

            Xdr.ToMarker toMarker37 = new Xdr.ToMarker();
            Xdr.ColumnId columnId74 = new Xdr.ColumnId();
            columnId74.Text = "3";
            Xdr.ColumnOffset columnOffset74 = new Xdr.ColumnOffset();
            columnOffset74.Text = "0";
            Xdr.RowId rowId74 = new Xdr.RowId();
            rowId74.Text = "16";
            Xdr.RowOffset rowOffset74 = new Xdr.RowOffset();
            rowOffset74.Text = "0";

            toMarker37.Append(columnId74);
            toMarker37.Append(columnOffset74);
            toMarker37.Append(rowId74);
            toMarker37.Append(rowOffset74);

            Xdr.Picture picture37 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties37 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties37 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2694U, Name = "Picture 77" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties37 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks37 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties37.Append(pictureLocks37);

            nonVisualPictureProperties37.Append(nonVisualDrawingProperties37);
            nonVisualPictureProperties37.Append(nonVisualPictureDrawingProperties37);

            Xdr.BlipFill blipFill37 = new Xdr.BlipFill();

            A.Blip blip37 = new A.Blip() { Embed = "rId1" };
            blip37.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle37 = new A.SourceRectangle();

            A.Stretch stretch37 = new A.Stretch();
            A.FillRectangle fillRectangle37 = new A.FillRectangle();

            stretch37.Append(fillRectangle37);

            blipFill37.Append(blip37);
            blipFill37.Append(sourceRectangle37);
            blipFill37.Append(stretch37);

            Xdr.ShapeProperties shapeProperties39 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D39 = new A.Transform2D();
            A.Offset offset39 = new A.Offset() { X = 600075L, Y = 3790950L };
            A.Extents extents39 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D39.Append(offset39);
            transform2D39.Append(extents39);

            A.PresetGeometry presetGeometry37 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList39 = new A.AdjustValueList();

            presetGeometry37.Append(adjustValueList39);
            A.NoFill noFill73 = new A.NoFill();

            A.Outline outline42 = new A.Outline() { Width = 9525 };
            A.NoFill noFill74 = new A.NoFill();
            A.Miter miter37 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd39 = new A.HeadEnd();
            A.TailEnd tailEnd39 = new A.TailEnd();

            outline42.Append(noFill74);
            outline42.Append(miter37);
            outline42.Append(headEnd39);
            outline42.Append(tailEnd39);

            shapeProperties39.Append(transform2D39);
            shapeProperties39.Append(presetGeometry37);
            shapeProperties39.Append(noFill73);
            shapeProperties39.Append(outline42);

            picture37.Append(nonVisualPictureProperties37);
            picture37.Append(blipFill37);
            picture37.Append(shapeProperties39);
            Xdr.ClientData clientData37 = new Xdr.ClientData();

            twoCellAnchor37.Append(fromMarker37);
            twoCellAnchor37.Append(toMarker37);
            twoCellAnchor37.Append(picture37);
            twoCellAnchor37.Append(clientData37);

            Xdr.TwoCellAnchor twoCellAnchor38 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker38 = new Xdr.FromMarker();
            Xdr.ColumnId columnId75 = new Xdr.ColumnId();
            columnId75.Text = "1";
            Xdr.ColumnOffset columnOffset75 = new Xdr.ColumnOffset();
            columnOffset75.Text = "19050";
            Xdr.RowId rowId75 = new Xdr.RowId();
            rowId75.Text = "16";
            Xdr.RowOffset rowOffset75 = new Xdr.RowOffset();
            rowOffset75.Text = "0";

            fromMarker38.Append(columnId75);
            fromMarker38.Append(columnOffset75);
            fromMarker38.Append(rowId75);
            fromMarker38.Append(rowOffset75);

            Xdr.ToMarker toMarker38 = new Xdr.ToMarker();
            Xdr.ColumnId columnId76 = new Xdr.ColumnId();
            columnId76.Text = "3";
            Xdr.ColumnOffset columnOffset76 = new Xdr.ColumnOffset();
            columnOffset76.Text = "0";
            Xdr.RowId rowId76 = new Xdr.RowId();
            rowId76.Text = "16";
            Xdr.RowOffset rowOffset76 = new Xdr.RowOffset();
            rowOffset76.Text = "0";

            toMarker38.Append(columnId76);
            toMarker38.Append(columnOffset76);
            toMarker38.Append(rowId76);
            toMarker38.Append(rowOffset76);

            Xdr.Picture picture38 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties38 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties38 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2695U, Name = "Picture 78" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties38 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks38 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties38.Append(pictureLocks38);

            nonVisualPictureProperties38.Append(nonVisualDrawingProperties38);
            nonVisualPictureProperties38.Append(nonVisualPictureDrawingProperties38);

            Xdr.BlipFill blipFill38 = new Xdr.BlipFill();

            A.Blip blip38 = new A.Blip() { Embed = "rId1" };
            blip38.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle38 = new A.SourceRectangle();

            A.Stretch stretch38 = new A.Stretch();
            A.FillRectangle fillRectangle38 = new A.FillRectangle();

            stretch38.Append(fillRectangle38);

            blipFill38.Append(blip38);
            blipFill38.Append(sourceRectangle38);
            blipFill38.Append(stretch38);

            Xdr.ShapeProperties shapeProperties40 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D40 = new A.Transform2D();
            A.Offset offset40 = new A.Offset() { X = 600075L, Y = 3790950L };
            A.Extents extents40 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D40.Append(offset40);
            transform2D40.Append(extents40);

            A.PresetGeometry presetGeometry38 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList40 = new A.AdjustValueList();

            presetGeometry38.Append(adjustValueList40);
            A.NoFill noFill75 = new A.NoFill();

            A.Outline outline43 = new A.Outline() { Width = 9525 };
            A.NoFill noFill76 = new A.NoFill();
            A.Miter miter38 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd40 = new A.HeadEnd();
            A.TailEnd tailEnd40 = new A.TailEnd();

            outline43.Append(noFill76);
            outline43.Append(miter38);
            outline43.Append(headEnd40);
            outline43.Append(tailEnd40);

            shapeProperties40.Append(transform2D40);
            shapeProperties40.Append(presetGeometry38);
            shapeProperties40.Append(noFill75);
            shapeProperties40.Append(outline43);

            picture38.Append(nonVisualPictureProperties38);
            picture38.Append(blipFill38);
            picture38.Append(shapeProperties40);
            Xdr.ClientData clientData38 = new Xdr.ClientData();

            twoCellAnchor38.Append(fromMarker38);
            twoCellAnchor38.Append(toMarker38);
            twoCellAnchor38.Append(picture38);
            twoCellAnchor38.Append(clientData38);

            Xdr.TwoCellAnchor twoCellAnchor39 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker39 = new Xdr.FromMarker();
            Xdr.ColumnId columnId77 = new Xdr.ColumnId();
            columnId77.Text = "1";
            Xdr.ColumnOffset columnOffset77 = new Xdr.ColumnOffset();
            columnOffset77.Text = "19050";
            Xdr.RowId rowId77 = new Xdr.RowId();
            rowId77.Text = "16";
            Xdr.RowOffset rowOffset77 = new Xdr.RowOffset();
            rowOffset77.Text = "0";

            fromMarker39.Append(columnId77);
            fromMarker39.Append(columnOffset77);
            fromMarker39.Append(rowId77);
            fromMarker39.Append(rowOffset77);

            Xdr.ToMarker toMarker39 = new Xdr.ToMarker();
            Xdr.ColumnId columnId78 = new Xdr.ColumnId();
            columnId78.Text = "3";
            Xdr.ColumnOffset columnOffset78 = new Xdr.ColumnOffset();
            columnOffset78.Text = "0";
            Xdr.RowId rowId78 = new Xdr.RowId();
            rowId78.Text = "16";
            Xdr.RowOffset rowOffset78 = new Xdr.RowOffset();
            rowOffset78.Text = "0";

            toMarker39.Append(columnId78);
            toMarker39.Append(columnOffset78);
            toMarker39.Append(rowId78);
            toMarker39.Append(rowOffset78);

            Xdr.Picture picture39 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties39 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties39 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2696U, Name = "Picture 79" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties39 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks39 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties39.Append(pictureLocks39);

            nonVisualPictureProperties39.Append(nonVisualDrawingProperties39);
            nonVisualPictureProperties39.Append(nonVisualPictureDrawingProperties39);

            Xdr.BlipFill blipFill39 = new Xdr.BlipFill();

            A.Blip blip39 = new A.Blip() { Embed = "rId1" };
            blip39.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle39 = new A.SourceRectangle();

            A.Stretch stretch39 = new A.Stretch();
            A.FillRectangle fillRectangle39 = new A.FillRectangle();

            stretch39.Append(fillRectangle39);

            blipFill39.Append(blip39);
            blipFill39.Append(sourceRectangle39);
            blipFill39.Append(stretch39);

            Xdr.ShapeProperties shapeProperties41 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D41 = new A.Transform2D();
            A.Offset offset41 = new A.Offset() { X = 600075L, Y = 3790950L };
            A.Extents extents41 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D41.Append(offset41);
            transform2D41.Append(extents41);

            A.PresetGeometry presetGeometry39 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList41 = new A.AdjustValueList();

            presetGeometry39.Append(adjustValueList41);
            A.NoFill noFill77 = new A.NoFill();

            A.Outline outline44 = new A.Outline() { Width = 9525 };
            A.NoFill noFill78 = new A.NoFill();
            A.Miter miter39 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd41 = new A.HeadEnd();
            A.TailEnd tailEnd41 = new A.TailEnd();

            outline44.Append(noFill78);
            outline44.Append(miter39);
            outline44.Append(headEnd41);
            outline44.Append(tailEnd41);

            shapeProperties41.Append(transform2D41);
            shapeProperties41.Append(presetGeometry39);
            shapeProperties41.Append(noFill77);
            shapeProperties41.Append(outline44);

            picture39.Append(nonVisualPictureProperties39);
            picture39.Append(blipFill39);
            picture39.Append(shapeProperties41);
            Xdr.ClientData clientData39 = new Xdr.ClientData();

            twoCellAnchor39.Append(fromMarker39);
            twoCellAnchor39.Append(toMarker39);
            twoCellAnchor39.Append(picture39);
            twoCellAnchor39.Append(clientData39);

            Xdr.TwoCellAnchor twoCellAnchor40 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker40 = new Xdr.FromMarker();
            Xdr.ColumnId columnId79 = new Xdr.ColumnId();
            columnId79.Text = "1";
            Xdr.ColumnOffset columnOffset79 = new Xdr.ColumnOffset();
            columnOffset79.Text = "0";
            Xdr.RowId rowId79 = new Xdr.RowId();
            rowId79.Text = "16";
            Xdr.RowOffset rowOffset79 = new Xdr.RowOffset();
            rowOffset79.Text = "0";

            fromMarker40.Append(columnId79);
            fromMarker40.Append(columnOffset79);
            fromMarker40.Append(rowId79);
            fromMarker40.Append(rowOffset79);

            Xdr.ToMarker toMarker40 = new Xdr.ToMarker();
            Xdr.ColumnId columnId80 = new Xdr.ColumnId();
            columnId80.Text = "3";
            Xdr.ColumnOffset columnOffset80 = new Xdr.ColumnOffset();
            columnOffset80.Text = "0";
            Xdr.RowId rowId80 = new Xdr.RowId();
            rowId80.Text = "16";
            Xdr.RowOffset rowOffset80 = new Xdr.RowOffset();
            rowOffset80.Text = "0";

            toMarker40.Append(columnId80);
            toMarker40.Append(columnOffset80);
            toMarker40.Append(rowId80);
            toMarker40.Append(rowOffset80);

            Xdr.Picture picture40 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties40 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties40 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2697U, Name = "Picture 80" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties40 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks40 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties40.Append(pictureLocks40);

            nonVisualPictureProperties40.Append(nonVisualDrawingProperties40);
            nonVisualPictureProperties40.Append(nonVisualPictureDrawingProperties40);

            Xdr.BlipFill blipFill40 = new Xdr.BlipFill();

            A.Blip blip40 = new A.Blip() { Embed = "rId1" };
            blip40.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle40 = new A.SourceRectangle();

            A.Stretch stretch40 = new A.Stretch();
            A.FillRectangle fillRectangle40 = new A.FillRectangle();

            stretch40.Append(fillRectangle40);

            blipFill40.Append(blip40);
            blipFill40.Append(sourceRectangle40);
            blipFill40.Append(stretch40);

            Xdr.ShapeProperties shapeProperties42 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D42 = new A.Transform2D();
            A.Offset offset42 = new A.Offset() { X = 581025L, Y = 3790950L };
            A.Extents extents42 = new A.Extents() { Cx = 2819400L, Cy = 0L };

            transform2D42.Append(offset42);
            transform2D42.Append(extents42);

            A.PresetGeometry presetGeometry40 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList42 = new A.AdjustValueList();

            presetGeometry40.Append(adjustValueList42);
            A.NoFill noFill79 = new A.NoFill();

            A.Outline outline45 = new A.Outline() { Width = 9525 };
            A.NoFill noFill80 = new A.NoFill();
            A.Miter miter40 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd42 = new A.HeadEnd();
            A.TailEnd tailEnd42 = new A.TailEnd();

            outline45.Append(noFill80);
            outline45.Append(miter40);
            outline45.Append(headEnd42);
            outline45.Append(tailEnd42);

            shapeProperties42.Append(transform2D42);
            shapeProperties42.Append(presetGeometry40);
            shapeProperties42.Append(noFill79);
            shapeProperties42.Append(outline45);

            picture40.Append(nonVisualPictureProperties40);
            picture40.Append(blipFill40);
            picture40.Append(shapeProperties42);
            Xdr.ClientData clientData40 = new Xdr.ClientData();

            twoCellAnchor40.Append(fromMarker40);
            twoCellAnchor40.Append(toMarker40);
            twoCellAnchor40.Append(picture40);
            twoCellAnchor40.Append(clientData40);

            Xdr.TwoCellAnchor twoCellAnchor41 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker41 = new Xdr.FromMarker();
            Xdr.ColumnId columnId81 = new Xdr.ColumnId();
            columnId81.Text = "1";
            Xdr.ColumnOffset columnOffset81 = new Xdr.ColumnOffset();
            columnOffset81.Text = "19050";
            Xdr.RowId rowId81 = new Xdr.RowId();
            rowId81.Text = "13";
            Xdr.RowOffset rowOffset81 = new Xdr.RowOffset();
            rowOffset81.Text = "0";

            fromMarker41.Append(columnId81);
            fromMarker41.Append(columnOffset81);
            fromMarker41.Append(rowId81);
            fromMarker41.Append(rowOffset81);

            Xdr.ToMarker toMarker41 = new Xdr.ToMarker();
            Xdr.ColumnId columnId82 = new Xdr.ColumnId();
            columnId82.Text = "2";
            Xdr.ColumnOffset columnOffset82 = new Xdr.ColumnOffset();
            columnOffset82.Text = "0";
            Xdr.RowId rowId82 = new Xdr.RowId();
            rowId82.Text = "13";
            Xdr.RowOffset rowOffset82 = new Xdr.RowOffset();
            rowOffset82.Text = "0";

            toMarker41.Append(columnId82);
            toMarker41.Append(columnOffset82);
            toMarker41.Append(rowId82);
            toMarker41.Append(rowOffset82);

            Xdr.Picture picture41 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties41 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties41 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2906U, Name = "Picture 289" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties41 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks41 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties41.Append(pictureLocks41);

            nonVisualPictureProperties41.Append(nonVisualDrawingProperties41);
            nonVisualPictureProperties41.Append(nonVisualPictureDrawingProperties41);

            Xdr.BlipFill blipFill41 = new Xdr.BlipFill();

            A.Blip blip41 = new A.Blip() { Embed = "rId1" };
            blip41.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle41 = new A.SourceRectangle();

            A.Stretch stretch41 = new A.Stretch();
            A.FillRectangle fillRectangle41 = new A.FillRectangle();

            stretch41.Append(fillRectangle41);

            blipFill41.Append(blip41);
            blipFill41.Append(sourceRectangle41);
            blipFill41.Append(stretch41);

            Xdr.ShapeProperties shapeProperties43 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D43 = new A.Transform2D();
            A.Offset offset43 = new A.Offset() { X = 600075L, Y = 2676525L };
            A.Extents extents43 = new A.Extents() { Cx = 1085850L, Cy = 0L };

            transform2D43.Append(offset43);
            transform2D43.Append(extents43);

            A.PresetGeometry presetGeometry41 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList43 = new A.AdjustValueList();

            presetGeometry41.Append(adjustValueList43);
            A.NoFill noFill81 = new A.NoFill();

            A.Outline outline46 = new A.Outline() { Width = 9525 };
            A.NoFill noFill82 = new A.NoFill();
            A.Miter miter41 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd43 = new A.HeadEnd();
            A.TailEnd tailEnd43 = new A.TailEnd();

            outline46.Append(noFill82);
            outline46.Append(miter41);
            outline46.Append(headEnd43);
            outline46.Append(tailEnd43);

            shapeProperties43.Append(transform2D43);
            shapeProperties43.Append(presetGeometry41);
            shapeProperties43.Append(noFill81);
            shapeProperties43.Append(outline46);

            picture41.Append(nonVisualPictureProperties41);
            picture41.Append(blipFill41);
            picture41.Append(shapeProperties43);
            Xdr.ClientData clientData41 = new Xdr.ClientData();

            twoCellAnchor41.Append(fromMarker41);
            twoCellAnchor41.Append(toMarker41);
            twoCellAnchor41.Append(picture41);
            twoCellAnchor41.Append(clientData41);

            Xdr.TwoCellAnchor twoCellAnchor42 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker42 = new Xdr.FromMarker();
            Xdr.ColumnId columnId83 = new Xdr.ColumnId();
            columnId83.Text = "1";
            Xdr.ColumnOffset columnOffset83 = new Xdr.ColumnOffset();
            columnOffset83.Text = "0";
            Xdr.RowId rowId83 = new Xdr.RowId();
            rowId83.Text = "13";
            Xdr.RowOffset rowOffset83 = new Xdr.RowOffset();
            rowOffset83.Text = "0";

            fromMarker42.Append(columnId83);
            fromMarker42.Append(columnOffset83);
            fromMarker42.Append(rowId83);
            fromMarker42.Append(rowOffset83);

            Xdr.ToMarker toMarker42 = new Xdr.ToMarker();
            Xdr.ColumnId columnId84 = new Xdr.ColumnId();
            columnId84.Text = "3";
            Xdr.ColumnOffset columnOffset84 = new Xdr.ColumnOffset();
            columnOffset84.Text = "0";
            Xdr.RowId rowId84 = new Xdr.RowId();
            rowId84.Text = "13";
            Xdr.RowOffset rowOffset84 = new Xdr.RowOffset();
            rowOffset84.Text = "0";

            toMarker42.Append(columnId84);
            toMarker42.Append(columnOffset84);
            toMarker42.Append(rowId84);
            toMarker42.Append(rowOffset84);

            Xdr.Picture picture42 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties42 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties42 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2907U, Name = "Picture 290" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties42 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks42 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties42.Append(pictureLocks42);

            nonVisualPictureProperties42.Append(nonVisualDrawingProperties42);
            nonVisualPictureProperties42.Append(nonVisualPictureDrawingProperties42);

            Xdr.BlipFill blipFill42 = new Xdr.BlipFill();

            A.Blip blip42 = new A.Blip() { Embed = "rId1" };
            blip42.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle42 = new A.SourceRectangle();

            A.Stretch stretch42 = new A.Stretch();
            A.FillRectangle fillRectangle42 = new A.FillRectangle();

            stretch42.Append(fillRectangle42);

            blipFill42.Append(blip42);
            blipFill42.Append(sourceRectangle42);
            blipFill42.Append(stretch42);

            Xdr.ShapeProperties shapeProperties44 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D44 = new A.Transform2D();
            A.Offset offset44 = new A.Offset() { X = 581025L, Y = 2676525L };
            A.Extents extents44 = new A.Extents() { Cx = 2819400L, Cy = 0L };

            transform2D44.Append(offset44);
            transform2D44.Append(extents44);

            A.PresetGeometry presetGeometry42 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList44 = new A.AdjustValueList();

            presetGeometry42.Append(adjustValueList44);
            A.NoFill noFill83 = new A.NoFill();

            A.Outline outline47 = new A.Outline() { Width = 9525 };
            A.NoFill noFill84 = new A.NoFill();
            A.Miter miter42 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd44 = new A.HeadEnd();
            A.TailEnd tailEnd44 = new A.TailEnd();

            outline47.Append(noFill84);
            outline47.Append(miter42);
            outline47.Append(headEnd44);
            outline47.Append(tailEnd44);

            shapeProperties44.Append(transform2D44);
            shapeProperties44.Append(presetGeometry42);
            shapeProperties44.Append(noFill83);
            shapeProperties44.Append(outline47);

            picture42.Append(nonVisualPictureProperties42);
            picture42.Append(blipFill42);
            picture42.Append(shapeProperties44);
            Xdr.ClientData clientData42 = new Xdr.ClientData();

            twoCellAnchor42.Append(fromMarker42);
            twoCellAnchor42.Append(toMarker42);
            twoCellAnchor42.Append(picture42);
            twoCellAnchor42.Append(clientData42);

            Xdr.TwoCellAnchor twoCellAnchor43 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker43 = new Xdr.FromMarker();
            Xdr.ColumnId columnId85 = new Xdr.ColumnId();
            columnId85.Text = "1";
            Xdr.ColumnOffset columnOffset85 = new Xdr.ColumnOffset();
            columnOffset85.Text = "0";
            Xdr.RowId rowId85 = new Xdr.RowId();
            rowId85.Text = "13";
            Xdr.RowOffset rowOffset85 = new Xdr.RowOffset();
            rowOffset85.Text = "0";

            fromMarker43.Append(columnId85);
            fromMarker43.Append(columnOffset85);
            fromMarker43.Append(rowId85);
            fromMarker43.Append(rowOffset85);

            Xdr.ToMarker toMarker43 = new Xdr.ToMarker();
            Xdr.ColumnId columnId86 = new Xdr.ColumnId();
            columnId86.Text = "3";
            Xdr.ColumnOffset columnOffset86 = new Xdr.ColumnOffset();
            columnOffset86.Text = "0";
            Xdr.RowId rowId86 = new Xdr.RowId();
            rowId86.Text = "13";
            Xdr.RowOffset rowOffset86 = new Xdr.RowOffset();
            rowOffset86.Text = "0";

            toMarker43.Append(columnId86);
            toMarker43.Append(columnOffset86);
            toMarker43.Append(rowId86);
            toMarker43.Append(rowOffset86);

            Xdr.Picture picture43 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties43 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties43 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2908U, Name = "Picture 291" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties43 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks43 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties43.Append(pictureLocks43);

            nonVisualPictureProperties43.Append(nonVisualDrawingProperties43);
            nonVisualPictureProperties43.Append(nonVisualPictureDrawingProperties43);

            Xdr.BlipFill blipFill43 = new Xdr.BlipFill();

            A.Blip blip43 = new A.Blip() { Embed = "rId1" };
            blip43.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle43 = new A.SourceRectangle();

            A.Stretch stretch43 = new A.Stretch();
            A.FillRectangle fillRectangle43 = new A.FillRectangle();

            stretch43.Append(fillRectangle43);

            blipFill43.Append(blip43);
            blipFill43.Append(sourceRectangle43);
            blipFill43.Append(stretch43);

            Xdr.ShapeProperties shapeProperties45 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D45 = new A.Transform2D();
            A.Offset offset45 = new A.Offset() { X = 581025L, Y = 2676525L };
            A.Extents extents45 = new A.Extents() { Cx = 2819400L, Cy = 0L };

            transform2D45.Append(offset45);
            transform2D45.Append(extents45);

            A.PresetGeometry presetGeometry43 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList45 = new A.AdjustValueList();

            presetGeometry43.Append(adjustValueList45);
            A.NoFill noFill85 = new A.NoFill();

            A.Outline outline48 = new A.Outline() { Width = 9525 };
            A.NoFill noFill86 = new A.NoFill();
            A.Miter miter43 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd45 = new A.HeadEnd();
            A.TailEnd tailEnd45 = new A.TailEnd();

            outline48.Append(noFill86);
            outline48.Append(miter43);
            outline48.Append(headEnd45);
            outline48.Append(tailEnd45);

            shapeProperties45.Append(transform2D45);
            shapeProperties45.Append(presetGeometry43);
            shapeProperties45.Append(noFill85);
            shapeProperties45.Append(outline48);

            picture43.Append(nonVisualPictureProperties43);
            picture43.Append(blipFill43);
            picture43.Append(shapeProperties45);
            Xdr.ClientData clientData43 = new Xdr.ClientData();

            twoCellAnchor43.Append(fromMarker43);
            twoCellAnchor43.Append(toMarker43);
            twoCellAnchor43.Append(picture43);
            twoCellAnchor43.Append(clientData43);

            Xdr.TwoCellAnchor twoCellAnchor44 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker44 = new Xdr.FromMarker();
            Xdr.ColumnId columnId87 = new Xdr.ColumnId();
            columnId87.Text = "1";
            Xdr.ColumnOffset columnOffset87 = new Xdr.ColumnOffset();
            columnOffset87.Text = "19050";
            Xdr.RowId rowId87 = new Xdr.RowId();
            rowId87.Text = "13";
            Xdr.RowOffset rowOffset87 = new Xdr.RowOffset();
            rowOffset87.Text = "0";

            fromMarker44.Append(columnId87);
            fromMarker44.Append(columnOffset87);
            fromMarker44.Append(rowId87);
            fromMarker44.Append(rowOffset87);

            Xdr.ToMarker toMarker44 = new Xdr.ToMarker();
            Xdr.ColumnId columnId88 = new Xdr.ColumnId();
            columnId88.Text = "3";
            Xdr.ColumnOffset columnOffset88 = new Xdr.ColumnOffset();
            columnOffset88.Text = "0";
            Xdr.RowId rowId88 = new Xdr.RowId();
            rowId88.Text = "13";
            Xdr.RowOffset rowOffset88 = new Xdr.RowOffset();
            rowOffset88.Text = "0";

            toMarker44.Append(columnId88);
            toMarker44.Append(columnOffset88);
            toMarker44.Append(rowId88);
            toMarker44.Append(rowOffset88);

            Xdr.Picture picture44 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties44 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties44 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2909U, Name = "Picture 292" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties44 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks44 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties44.Append(pictureLocks44);

            nonVisualPictureProperties44.Append(nonVisualDrawingProperties44);
            nonVisualPictureProperties44.Append(nonVisualPictureDrawingProperties44);

            Xdr.BlipFill blipFill44 = new Xdr.BlipFill();

            A.Blip blip44 = new A.Blip() { Embed = "rId1" };
            blip44.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle44 = new A.SourceRectangle();

            A.Stretch stretch44 = new A.Stretch();
            A.FillRectangle fillRectangle44 = new A.FillRectangle();

            stretch44.Append(fillRectangle44);

            blipFill44.Append(blip44);
            blipFill44.Append(sourceRectangle44);
            blipFill44.Append(stretch44);

            Xdr.ShapeProperties shapeProperties46 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D46 = new A.Transform2D();
            A.Offset offset46 = new A.Offset() { X = 600075L, Y = 2676525L };
            A.Extents extents46 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D46.Append(offset46);
            transform2D46.Append(extents46);

            A.PresetGeometry presetGeometry44 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList46 = new A.AdjustValueList();

            presetGeometry44.Append(adjustValueList46);
            A.NoFill noFill87 = new A.NoFill();

            A.Outline outline49 = new A.Outline() { Width = 9525 };
            A.NoFill noFill88 = new A.NoFill();
            A.Miter miter44 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd46 = new A.HeadEnd();
            A.TailEnd tailEnd46 = new A.TailEnd();

            outline49.Append(noFill88);
            outline49.Append(miter44);
            outline49.Append(headEnd46);
            outline49.Append(tailEnd46);

            shapeProperties46.Append(transform2D46);
            shapeProperties46.Append(presetGeometry44);
            shapeProperties46.Append(noFill87);
            shapeProperties46.Append(outline49);

            picture44.Append(nonVisualPictureProperties44);
            picture44.Append(blipFill44);
            picture44.Append(shapeProperties46);
            Xdr.ClientData clientData44 = new Xdr.ClientData();

            twoCellAnchor44.Append(fromMarker44);
            twoCellAnchor44.Append(toMarker44);
            twoCellAnchor44.Append(picture44);
            twoCellAnchor44.Append(clientData44);

            Xdr.TwoCellAnchor twoCellAnchor45 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker45 = new Xdr.FromMarker();
            Xdr.ColumnId columnId89 = new Xdr.ColumnId();
            columnId89.Text = "1";
            Xdr.ColumnOffset columnOffset89 = new Xdr.ColumnOffset();
            columnOffset89.Text = "19050";
            Xdr.RowId rowId89 = new Xdr.RowId();
            rowId89.Text = "13";
            Xdr.RowOffset rowOffset89 = new Xdr.RowOffset();
            rowOffset89.Text = "0";

            fromMarker45.Append(columnId89);
            fromMarker45.Append(columnOffset89);
            fromMarker45.Append(rowId89);
            fromMarker45.Append(rowOffset89);

            Xdr.ToMarker toMarker45 = new Xdr.ToMarker();
            Xdr.ColumnId columnId90 = new Xdr.ColumnId();
            columnId90.Text = "3";
            Xdr.ColumnOffset columnOffset90 = new Xdr.ColumnOffset();
            columnOffset90.Text = "0";
            Xdr.RowId rowId90 = new Xdr.RowId();
            rowId90.Text = "13";
            Xdr.RowOffset rowOffset90 = new Xdr.RowOffset();
            rowOffset90.Text = "0";

            toMarker45.Append(columnId90);
            toMarker45.Append(columnOffset90);
            toMarker45.Append(rowId90);
            toMarker45.Append(rowOffset90);

            Xdr.Picture picture45 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties45 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties45 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2910U, Name = "Picture 293" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties45 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks45 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties45.Append(pictureLocks45);

            nonVisualPictureProperties45.Append(nonVisualDrawingProperties45);
            nonVisualPictureProperties45.Append(nonVisualPictureDrawingProperties45);

            Xdr.BlipFill blipFill45 = new Xdr.BlipFill();

            A.Blip blip45 = new A.Blip() { Embed = "rId1" };
            blip45.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle45 = new A.SourceRectangle();

            A.Stretch stretch45 = new A.Stretch();
            A.FillRectangle fillRectangle45 = new A.FillRectangle();

            stretch45.Append(fillRectangle45);

            blipFill45.Append(blip45);
            blipFill45.Append(sourceRectangle45);
            blipFill45.Append(stretch45);

            Xdr.ShapeProperties shapeProperties47 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D47 = new A.Transform2D();
            A.Offset offset47 = new A.Offset() { X = 600075L, Y = 2676525L };
            A.Extents extents47 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D47.Append(offset47);
            transform2D47.Append(extents47);

            A.PresetGeometry presetGeometry45 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList47 = new A.AdjustValueList();

            presetGeometry45.Append(adjustValueList47);
            A.NoFill noFill89 = new A.NoFill();

            A.Outline outline50 = new A.Outline() { Width = 9525 };
            A.NoFill noFill90 = new A.NoFill();
            A.Miter miter45 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd47 = new A.HeadEnd();
            A.TailEnd tailEnd47 = new A.TailEnd();

            outline50.Append(noFill90);
            outline50.Append(miter45);
            outline50.Append(headEnd47);
            outline50.Append(tailEnd47);

            shapeProperties47.Append(transform2D47);
            shapeProperties47.Append(presetGeometry45);
            shapeProperties47.Append(noFill89);
            shapeProperties47.Append(outline50);

            picture45.Append(nonVisualPictureProperties45);
            picture45.Append(blipFill45);
            picture45.Append(shapeProperties47);
            Xdr.ClientData clientData45 = new Xdr.ClientData();

            twoCellAnchor45.Append(fromMarker45);
            twoCellAnchor45.Append(toMarker45);
            twoCellAnchor45.Append(picture45);
            twoCellAnchor45.Append(clientData45);

            Xdr.TwoCellAnchor twoCellAnchor46 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker46 = new Xdr.FromMarker();
            Xdr.ColumnId columnId91 = new Xdr.ColumnId();
            columnId91.Text = "1";
            Xdr.ColumnOffset columnOffset91 = new Xdr.ColumnOffset();
            columnOffset91.Text = "19050";
            Xdr.RowId rowId91 = new Xdr.RowId();
            rowId91.Text = "13";
            Xdr.RowOffset rowOffset91 = new Xdr.RowOffset();
            rowOffset91.Text = "0";

            fromMarker46.Append(columnId91);
            fromMarker46.Append(columnOffset91);
            fromMarker46.Append(rowId91);
            fromMarker46.Append(rowOffset91);

            Xdr.ToMarker toMarker46 = new Xdr.ToMarker();
            Xdr.ColumnId columnId92 = new Xdr.ColumnId();
            columnId92.Text = "3";
            Xdr.ColumnOffset columnOffset92 = new Xdr.ColumnOffset();
            columnOffset92.Text = "0";
            Xdr.RowId rowId92 = new Xdr.RowId();
            rowId92.Text = "13";
            Xdr.RowOffset rowOffset92 = new Xdr.RowOffset();
            rowOffset92.Text = "0";

            toMarker46.Append(columnId92);
            toMarker46.Append(columnOffset92);
            toMarker46.Append(rowId92);
            toMarker46.Append(rowOffset92);

            Xdr.Picture picture46 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties46 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties46 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2911U, Name = "Picture 294" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties46 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks46 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties46.Append(pictureLocks46);

            nonVisualPictureProperties46.Append(nonVisualDrawingProperties46);
            nonVisualPictureProperties46.Append(nonVisualPictureDrawingProperties46);

            Xdr.BlipFill blipFill46 = new Xdr.BlipFill();

            A.Blip blip46 = new A.Blip() { Embed = "rId1" };
            blip46.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle46 = new A.SourceRectangle();

            A.Stretch stretch46 = new A.Stretch();
            A.FillRectangle fillRectangle46 = new A.FillRectangle();

            stretch46.Append(fillRectangle46);

            blipFill46.Append(blip46);
            blipFill46.Append(sourceRectangle46);
            blipFill46.Append(stretch46);

            Xdr.ShapeProperties shapeProperties48 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D48 = new A.Transform2D();
            A.Offset offset48 = new A.Offset() { X = 600075L, Y = 2676525L };
            A.Extents extents48 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D48.Append(offset48);
            transform2D48.Append(extents48);

            A.PresetGeometry presetGeometry46 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList48 = new A.AdjustValueList();

            presetGeometry46.Append(adjustValueList48);
            A.NoFill noFill91 = new A.NoFill();

            A.Outline outline51 = new A.Outline() { Width = 9525 };
            A.NoFill noFill92 = new A.NoFill();
            A.Miter miter46 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd48 = new A.HeadEnd();
            A.TailEnd tailEnd48 = new A.TailEnd();

            outline51.Append(noFill92);
            outline51.Append(miter46);
            outline51.Append(headEnd48);
            outline51.Append(tailEnd48);

            shapeProperties48.Append(transform2D48);
            shapeProperties48.Append(presetGeometry46);
            shapeProperties48.Append(noFill91);
            shapeProperties48.Append(outline51);

            picture46.Append(nonVisualPictureProperties46);
            picture46.Append(blipFill46);
            picture46.Append(shapeProperties48);
            Xdr.ClientData clientData46 = new Xdr.ClientData();

            twoCellAnchor46.Append(fromMarker46);
            twoCellAnchor46.Append(toMarker46);
            twoCellAnchor46.Append(picture46);
            twoCellAnchor46.Append(clientData46);

            Xdr.TwoCellAnchor twoCellAnchor47 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker47 = new Xdr.FromMarker();
            Xdr.ColumnId columnId93 = new Xdr.ColumnId();
            columnId93.Text = "1";
            Xdr.ColumnOffset columnOffset93 = new Xdr.ColumnOffset();
            columnOffset93.Text = "19050";
            Xdr.RowId rowId93 = new Xdr.RowId();
            rowId93.Text = "13";
            Xdr.RowOffset rowOffset93 = new Xdr.RowOffset();
            rowOffset93.Text = "0";

            fromMarker47.Append(columnId93);
            fromMarker47.Append(columnOffset93);
            fromMarker47.Append(rowId93);
            fromMarker47.Append(rowOffset93);

            Xdr.ToMarker toMarker47 = new Xdr.ToMarker();
            Xdr.ColumnId columnId94 = new Xdr.ColumnId();
            columnId94.Text = "3";
            Xdr.ColumnOffset columnOffset94 = new Xdr.ColumnOffset();
            columnOffset94.Text = "0";
            Xdr.RowId rowId94 = new Xdr.RowId();
            rowId94.Text = "13";
            Xdr.RowOffset rowOffset94 = new Xdr.RowOffset();
            rowOffset94.Text = "0";

            toMarker47.Append(columnId94);
            toMarker47.Append(columnOffset94);
            toMarker47.Append(rowId94);
            toMarker47.Append(rowOffset94);

            Xdr.Picture picture47 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties47 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties47 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2912U, Name = "Picture 295" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties47 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks47 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties47.Append(pictureLocks47);

            nonVisualPictureProperties47.Append(nonVisualDrawingProperties47);
            nonVisualPictureProperties47.Append(nonVisualPictureDrawingProperties47);

            Xdr.BlipFill blipFill47 = new Xdr.BlipFill();

            A.Blip blip47 = new A.Blip() { Embed = "rId1" };
            blip47.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle47 = new A.SourceRectangle();

            A.Stretch stretch47 = new A.Stretch();
            A.FillRectangle fillRectangle47 = new A.FillRectangle();

            stretch47.Append(fillRectangle47);

            blipFill47.Append(blip47);
            blipFill47.Append(sourceRectangle47);
            blipFill47.Append(stretch47);

            Xdr.ShapeProperties shapeProperties49 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D49 = new A.Transform2D();
            A.Offset offset49 = new A.Offset() { X = 600075L, Y = 2676525L };
            A.Extents extents49 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D49.Append(offset49);
            transform2D49.Append(extents49);

            A.PresetGeometry presetGeometry47 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList49 = new A.AdjustValueList();

            presetGeometry47.Append(adjustValueList49);
            A.NoFill noFill93 = new A.NoFill();

            A.Outline outline52 = new A.Outline() { Width = 9525 };
            A.NoFill noFill94 = new A.NoFill();
            A.Miter miter47 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd49 = new A.HeadEnd();
            A.TailEnd tailEnd49 = new A.TailEnd();

            outline52.Append(noFill94);
            outline52.Append(miter47);
            outline52.Append(headEnd49);
            outline52.Append(tailEnd49);

            shapeProperties49.Append(transform2D49);
            shapeProperties49.Append(presetGeometry47);
            shapeProperties49.Append(noFill93);
            shapeProperties49.Append(outline52);

            picture47.Append(nonVisualPictureProperties47);
            picture47.Append(blipFill47);
            picture47.Append(shapeProperties49);
            Xdr.ClientData clientData47 = new Xdr.ClientData();

            twoCellAnchor47.Append(fromMarker47);
            twoCellAnchor47.Append(toMarker47);
            twoCellAnchor47.Append(picture47);
            twoCellAnchor47.Append(clientData47);

            Xdr.TwoCellAnchor twoCellAnchor48 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker48 = new Xdr.FromMarker();
            Xdr.ColumnId columnId95 = new Xdr.ColumnId();
            columnId95.Text = "1";
            Xdr.ColumnOffset columnOffset95 = new Xdr.ColumnOffset();
            columnOffset95.Text = "19050";
            Xdr.RowId rowId95 = new Xdr.RowId();
            rowId95.Text = "13";
            Xdr.RowOffset rowOffset95 = new Xdr.RowOffset();
            rowOffset95.Text = "0";

            fromMarker48.Append(columnId95);
            fromMarker48.Append(columnOffset95);
            fromMarker48.Append(rowId95);
            fromMarker48.Append(rowOffset95);

            Xdr.ToMarker toMarker48 = new Xdr.ToMarker();
            Xdr.ColumnId columnId96 = new Xdr.ColumnId();
            columnId96.Text = "3";
            Xdr.ColumnOffset columnOffset96 = new Xdr.ColumnOffset();
            columnOffset96.Text = "0";
            Xdr.RowId rowId96 = new Xdr.RowId();
            rowId96.Text = "13";
            Xdr.RowOffset rowOffset96 = new Xdr.RowOffset();
            rowOffset96.Text = "0";

            toMarker48.Append(columnId96);
            toMarker48.Append(columnOffset96);
            toMarker48.Append(rowId96);
            toMarker48.Append(rowOffset96);

            Xdr.Picture picture48 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties48 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties48 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2913U, Name = "Picture 296" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties48 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks48 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties48.Append(pictureLocks48);

            nonVisualPictureProperties48.Append(nonVisualDrawingProperties48);
            nonVisualPictureProperties48.Append(nonVisualPictureDrawingProperties48);

            Xdr.BlipFill blipFill48 = new Xdr.BlipFill();

            A.Blip blip48 = new A.Blip() { Embed = "rId1" };
            blip48.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle48 = new A.SourceRectangle();

            A.Stretch stretch48 = new A.Stretch();
            A.FillRectangle fillRectangle48 = new A.FillRectangle();

            stretch48.Append(fillRectangle48);

            blipFill48.Append(blip48);
            blipFill48.Append(sourceRectangle48);
            blipFill48.Append(stretch48);

            Xdr.ShapeProperties shapeProperties50 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D50 = new A.Transform2D();
            A.Offset offset50 = new A.Offset() { X = 600075L, Y = 2676525L };
            A.Extents extents50 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D50.Append(offset50);
            transform2D50.Append(extents50);

            A.PresetGeometry presetGeometry48 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList50 = new A.AdjustValueList();

            presetGeometry48.Append(adjustValueList50);
            A.NoFill noFill95 = new A.NoFill();

            A.Outline outline53 = new A.Outline() { Width = 9525 };
            A.NoFill noFill96 = new A.NoFill();
            A.Miter miter48 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd50 = new A.HeadEnd();
            A.TailEnd tailEnd50 = new A.TailEnd();

            outline53.Append(noFill96);
            outline53.Append(miter48);
            outline53.Append(headEnd50);
            outline53.Append(tailEnd50);

            shapeProperties50.Append(transform2D50);
            shapeProperties50.Append(presetGeometry48);
            shapeProperties50.Append(noFill95);
            shapeProperties50.Append(outline53);

            picture48.Append(nonVisualPictureProperties48);
            picture48.Append(blipFill48);
            picture48.Append(shapeProperties50);
            Xdr.ClientData clientData48 = new Xdr.ClientData();

            twoCellAnchor48.Append(fromMarker48);
            twoCellAnchor48.Append(toMarker48);
            twoCellAnchor48.Append(picture48);
            twoCellAnchor48.Append(clientData48);

            Xdr.TwoCellAnchor twoCellAnchor49 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker49 = new Xdr.FromMarker();
            Xdr.ColumnId columnId97 = new Xdr.ColumnId();
            columnId97.Text = "1";
            Xdr.ColumnOffset columnOffset97 = new Xdr.ColumnOffset();
            columnOffset97.Text = "19050";
            Xdr.RowId rowId97 = new Xdr.RowId();
            rowId97.Text = "13";
            Xdr.RowOffset rowOffset97 = new Xdr.RowOffset();
            rowOffset97.Text = "0";

            fromMarker49.Append(columnId97);
            fromMarker49.Append(columnOffset97);
            fromMarker49.Append(rowId97);
            fromMarker49.Append(rowOffset97);

            Xdr.ToMarker toMarker49 = new Xdr.ToMarker();
            Xdr.ColumnId columnId98 = new Xdr.ColumnId();
            columnId98.Text = "3";
            Xdr.ColumnOffset columnOffset98 = new Xdr.ColumnOffset();
            columnOffset98.Text = "0";
            Xdr.RowId rowId98 = new Xdr.RowId();
            rowId98.Text = "13";
            Xdr.RowOffset rowOffset98 = new Xdr.RowOffset();
            rowOffset98.Text = "0";

            toMarker49.Append(columnId98);
            toMarker49.Append(columnOffset98);
            toMarker49.Append(rowId98);
            toMarker49.Append(rowOffset98);

            Xdr.Picture picture49 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties49 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties49 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2914U, Name = "Picture 297" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties49 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks49 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties49.Append(pictureLocks49);

            nonVisualPictureProperties49.Append(nonVisualDrawingProperties49);
            nonVisualPictureProperties49.Append(nonVisualPictureDrawingProperties49);

            Xdr.BlipFill blipFill49 = new Xdr.BlipFill();

            A.Blip blip49 = new A.Blip() { Embed = "rId1" };
            blip49.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle49 = new A.SourceRectangle();

            A.Stretch stretch49 = new A.Stretch();
            A.FillRectangle fillRectangle49 = new A.FillRectangle();

            stretch49.Append(fillRectangle49);

            blipFill49.Append(blip49);
            blipFill49.Append(sourceRectangle49);
            blipFill49.Append(stretch49);

            Xdr.ShapeProperties shapeProperties51 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D51 = new A.Transform2D();
            A.Offset offset51 = new A.Offset() { X = 600075L, Y = 2676525L };
            A.Extents extents51 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D51.Append(offset51);
            transform2D51.Append(extents51);

            A.PresetGeometry presetGeometry49 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList51 = new A.AdjustValueList();

            presetGeometry49.Append(adjustValueList51);
            A.NoFill noFill97 = new A.NoFill();

            A.Outline outline54 = new A.Outline() { Width = 9525 };
            A.NoFill noFill98 = new A.NoFill();
            A.Miter miter49 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd51 = new A.HeadEnd();
            A.TailEnd tailEnd51 = new A.TailEnd();

            outline54.Append(noFill98);
            outline54.Append(miter49);
            outline54.Append(headEnd51);
            outline54.Append(tailEnd51);

            shapeProperties51.Append(transform2D51);
            shapeProperties51.Append(presetGeometry49);
            shapeProperties51.Append(noFill97);
            shapeProperties51.Append(outline54);

            picture49.Append(nonVisualPictureProperties49);
            picture49.Append(blipFill49);
            picture49.Append(shapeProperties51);
            Xdr.ClientData clientData49 = new Xdr.ClientData();

            twoCellAnchor49.Append(fromMarker49);
            twoCellAnchor49.Append(toMarker49);
            twoCellAnchor49.Append(picture49);
            twoCellAnchor49.Append(clientData49);

            Xdr.TwoCellAnchor twoCellAnchor50 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker50 = new Xdr.FromMarker();
            Xdr.ColumnId columnId99 = new Xdr.ColumnId();
            columnId99.Text = "1";
            Xdr.ColumnOffset columnOffset99 = new Xdr.ColumnOffset();
            columnOffset99.Text = "19050";
            Xdr.RowId rowId99 = new Xdr.RowId();
            rowId99.Text = "13";
            Xdr.RowOffset rowOffset99 = new Xdr.RowOffset();
            rowOffset99.Text = "0";

            fromMarker50.Append(columnId99);
            fromMarker50.Append(columnOffset99);
            fromMarker50.Append(rowId99);
            fromMarker50.Append(rowOffset99);

            Xdr.ToMarker toMarker50 = new Xdr.ToMarker();
            Xdr.ColumnId columnId100 = new Xdr.ColumnId();
            columnId100.Text = "3";
            Xdr.ColumnOffset columnOffset100 = new Xdr.ColumnOffset();
            columnOffset100.Text = "0";
            Xdr.RowId rowId100 = new Xdr.RowId();
            rowId100.Text = "13";
            Xdr.RowOffset rowOffset100 = new Xdr.RowOffset();
            rowOffset100.Text = "0";

            toMarker50.Append(columnId100);
            toMarker50.Append(columnOffset100);
            toMarker50.Append(rowId100);
            toMarker50.Append(rowOffset100);

            Xdr.Picture picture50 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties50 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties50 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2915U, Name = "Picture 298" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties50 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks50 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties50.Append(pictureLocks50);

            nonVisualPictureProperties50.Append(nonVisualDrawingProperties50);
            nonVisualPictureProperties50.Append(nonVisualPictureDrawingProperties50);

            Xdr.BlipFill blipFill50 = new Xdr.BlipFill();

            A.Blip blip50 = new A.Blip() { Embed = "rId1" };
            blip50.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle50 = new A.SourceRectangle();

            A.Stretch stretch50 = new A.Stretch();
            A.FillRectangle fillRectangle50 = new A.FillRectangle();

            stretch50.Append(fillRectangle50);

            blipFill50.Append(blip50);
            blipFill50.Append(sourceRectangle50);
            blipFill50.Append(stretch50);

            Xdr.ShapeProperties shapeProperties52 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D52 = new A.Transform2D();
            A.Offset offset52 = new A.Offset() { X = 600075L, Y = 2676525L };
            A.Extents extents52 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D52.Append(offset52);
            transform2D52.Append(extents52);

            A.PresetGeometry presetGeometry50 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList52 = new A.AdjustValueList();

            presetGeometry50.Append(adjustValueList52);
            A.NoFill noFill99 = new A.NoFill();

            A.Outline outline55 = new A.Outline() { Width = 9525 };
            A.NoFill noFill100 = new A.NoFill();
            A.Miter miter50 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd52 = new A.HeadEnd();
            A.TailEnd tailEnd52 = new A.TailEnd();

            outline55.Append(noFill100);
            outline55.Append(miter50);
            outline55.Append(headEnd52);
            outline55.Append(tailEnd52);

            shapeProperties52.Append(transform2D52);
            shapeProperties52.Append(presetGeometry50);
            shapeProperties52.Append(noFill99);
            shapeProperties52.Append(outline55);

            picture50.Append(nonVisualPictureProperties50);
            picture50.Append(blipFill50);
            picture50.Append(shapeProperties52);
            Xdr.ClientData clientData50 = new Xdr.ClientData();

            twoCellAnchor50.Append(fromMarker50);
            twoCellAnchor50.Append(toMarker50);
            twoCellAnchor50.Append(picture50);
            twoCellAnchor50.Append(clientData50);

            Xdr.TwoCellAnchor twoCellAnchor51 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker51 = new Xdr.FromMarker();
            Xdr.ColumnId columnId101 = new Xdr.ColumnId();
            columnId101.Text = "1";
            Xdr.ColumnOffset columnOffset101 = new Xdr.ColumnOffset();
            columnOffset101.Text = "19050";
            Xdr.RowId rowId101 = new Xdr.RowId();
            rowId101.Text = "13";
            Xdr.RowOffset rowOffset101 = new Xdr.RowOffset();
            rowOffset101.Text = "0";

            fromMarker51.Append(columnId101);
            fromMarker51.Append(columnOffset101);
            fromMarker51.Append(rowId101);
            fromMarker51.Append(rowOffset101);

            Xdr.ToMarker toMarker51 = new Xdr.ToMarker();
            Xdr.ColumnId columnId102 = new Xdr.ColumnId();
            columnId102.Text = "3";
            Xdr.ColumnOffset columnOffset102 = new Xdr.ColumnOffset();
            columnOffset102.Text = "0";
            Xdr.RowId rowId102 = new Xdr.RowId();
            rowId102.Text = "13";
            Xdr.RowOffset rowOffset102 = new Xdr.RowOffset();
            rowOffset102.Text = "0";

            toMarker51.Append(columnId102);
            toMarker51.Append(columnOffset102);
            toMarker51.Append(rowId102);
            toMarker51.Append(rowOffset102);

            Xdr.Picture picture51 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties51 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties51 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2916U, Name = "Picture 299" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties51 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks51 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties51.Append(pictureLocks51);

            nonVisualPictureProperties51.Append(nonVisualDrawingProperties51);
            nonVisualPictureProperties51.Append(nonVisualPictureDrawingProperties51);

            Xdr.BlipFill blipFill51 = new Xdr.BlipFill();

            A.Blip blip51 = new A.Blip() { Embed = "rId1" };
            blip51.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle51 = new A.SourceRectangle();

            A.Stretch stretch51 = new A.Stretch();
            A.FillRectangle fillRectangle51 = new A.FillRectangle();

            stretch51.Append(fillRectangle51);

            blipFill51.Append(blip51);
            blipFill51.Append(sourceRectangle51);
            blipFill51.Append(stretch51);

            Xdr.ShapeProperties shapeProperties53 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D53 = new A.Transform2D();
            A.Offset offset53 = new A.Offset() { X = 600075L, Y = 2676525L };
            A.Extents extents53 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D53.Append(offset53);
            transform2D53.Append(extents53);

            A.PresetGeometry presetGeometry51 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList53 = new A.AdjustValueList();

            presetGeometry51.Append(adjustValueList53);
            A.NoFill noFill101 = new A.NoFill();

            A.Outline outline56 = new A.Outline() { Width = 9525 };
            A.NoFill noFill102 = new A.NoFill();
            A.Miter miter51 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd53 = new A.HeadEnd();
            A.TailEnd tailEnd53 = new A.TailEnd();

            outline56.Append(noFill102);
            outline56.Append(miter51);
            outline56.Append(headEnd53);
            outline56.Append(tailEnd53);

            shapeProperties53.Append(transform2D53);
            shapeProperties53.Append(presetGeometry51);
            shapeProperties53.Append(noFill101);
            shapeProperties53.Append(outline56);

            picture51.Append(nonVisualPictureProperties51);
            picture51.Append(blipFill51);
            picture51.Append(shapeProperties53);
            Xdr.ClientData clientData51 = new Xdr.ClientData();

            twoCellAnchor51.Append(fromMarker51);
            twoCellAnchor51.Append(toMarker51);
            twoCellAnchor51.Append(picture51);
            twoCellAnchor51.Append(clientData51);

            Xdr.TwoCellAnchor twoCellAnchor52 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker52 = new Xdr.FromMarker();
            Xdr.ColumnId columnId103 = new Xdr.ColumnId();
            columnId103.Text = "1";
            Xdr.ColumnOffset columnOffset103 = new Xdr.ColumnOffset();
            columnOffset103.Text = "19050";
            Xdr.RowId rowId103 = new Xdr.RowId();
            rowId103.Text = "13";
            Xdr.RowOffset rowOffset103 = new Xdr.RowOffset();
            rowOffset103.Text = "0";

            fromMarker52.Append(columnId103);
            fromMarker52.Append(columnOffset103);
            fromMarker52.Append(rowId103);
            fromMarker52.Append(rowOffset103);

            Xdr.ToMarker toMarker52 = new Xdr.ToMarker();
            Xdr.ColumnId columnId104 = new Xdr.ColumnId();
            columnId104.Text = "3";
            Xdr.ColumnOffset columnOffset104 = new Xdr.ColumnOffset();
            columnOffset104.Text = "0";
            Xdr.RowId rowId104 = new Xdr.RowId();
            rowId104.Text = "13";
            Xdr.RowOffset rowOffset104 = new Xdr.RowOffset();
            rowOffset104.Text = "0";

            toMarker52.Append(columnId104);
            toMarker52.Append(columnOffset104);
            toMarker52.Append(rowId104);
            toMarker52.Append(rowOffset104);

            Xdr.Picture picture52 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties52 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties52 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2917U, Name = "Picture 300" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties52 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks52 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties52.Append(pictureLocks52);

            nonVisualPictureProperties52.Append(nonVisualDrawingProperties52);
            nonVisualPictureProperties52.Append(nonVisualPictureDrawingProperties52);

            Xdr.BlipFill blipFill52 = new Xdr.BlipFill();

            A.Blip blip52 = new A.Blip() { Embed = "rId1" };
            blip52.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle52 = new A.SourceRectangle();

            A.Stretch stretch52 = new A.Stretch();
            A.FillRectangle fillRectangle52 = new A.FillRectangle();

            stretch52.Append(fillRectangle52);

            blipFill52.Append(blip52);
            blipFill52.Append(sourceRectangle52);
            blipFill52.Append(stretch52);

            Xdr.ShapeProperties shapeProperties54 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D54 = new A.Transform2D();
            A.Offset offset54 = new A.Offset() { X = 600075L, Y = 2676525L };
            A.Extents extents54 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D54.Append(offset54);
            transform2D54.Append(extents54);

            A.PresetGeometry presetGeometry52 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList54 = new A.AdjustValueList();

            presetGeometry52.Append(adjustValueList54);
            A.NoFill noFill103 = new A.NoFill();

            A.Outline outline57 = new A.Outline() { Width = 9525 };
            A.NoFill noFill104 = new A.NoFill();
            A.Miter miter52 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd54 = new A.HeadEnd();
            A.TailEnd tailEnd54 = new A.TailEnd();

            outline57.Append(noFill104);
            outline57.Append(miter52);
            outline57.Append(headEnd54);
            outline57.Append(tailEnd54);

            shapeProperties54.Append(transform2D54);
            shapeProperties54.Append(presetGeometry52);
            shapeProperties54.Append(noFill103);
            shapeProperties54.Append(outline57);

            picture52.Append(nonVisualPictureProperties52);
            picture52.Append(blipFill52);
            picture52.Append(shapeProperties54);
            Xdr.ClientData clientData52 = new Xdr.ClientData();

            twoCellAnchor52.Append(fromMarker52);
            twoCellAnchor52.Append(toMarker52);
            twoCellAnchor52.Append(picture52);
            twoCellAnchor52.Append(clientData52);

            Xdr.TwoCellAnchor twoCellAnchor53 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker53 = new Xdr.FromMarker();
            Xdr.ColumnId columnId105 = new Xdr.ColumnId();
            columnId105.Text = "1";
            Xdr.ColumnOffset columnOffset105 = new Xdr.ColumnOffset();
            columnOffset105.Text = "0";
            Xdr.RowId rowId105 = new Xdr.RowId();
            rowId105.Text = "13";
            Xdr.RowOffset rowOffset105 = new Xdr.RowOffset();
            rowOffset105.Text = "0";

            fromMarker53.Append(columnId105);
            fromMarker53.Append(columnOffset105);
            fromMarker53.Append(rowId105);
            fromMarker53.Append(rowOffset105);

            Xdr.ToMarker toMarker53 = new Xdr.ToMarker();
            Xdr.ColumnId columnId106 = new Xdr.ColumnId();
            columnId106.Text = "3";
            Xdr.ColumnOffset columnOffset106 = new Xdr.ColumnOffset();
            columnOffset106.Text = "0";
            Xdr.RowId rowId106 = new Xdr.RowId();
            rowId106.Text = "13";
            Xdr.RowOffset rowOffset106 = new Xdr.RowOffset();
            rowOffset106.Text = "0";

            toMarker53.Append(columnId106);
            toMarker53.Append(columnOffset106);
            toMarker53.Append(rowId106);
            toMarker53.Append(rowOffset106);

            Xdr.Picture picture53 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties53 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties53 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2918U, Name = "Picture 301" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties53 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks53 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties53.Append(pictureLocks53);

            nonVisualPictureProperties53.Append(nonVisualDrawingProperties53);
            nonVisualPictureProperties53.Append(nonVisualPictureDrawingProperties53);

            Xdr.BlipFill blipFill53 = new Xdr.BlipFill();

            A.Blip blip53 = new A.Blip() { Embed = "rId1" };
            blip53.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle53 = new A.SourceRectangle();

            A.Stretch stretch53 = new A.Stretch();
            A.FillRectangle fillRectangle53 = new A.FillRectangle();

            stretch53.Append(fillRectangle53);

            blipFill53.Append(blip53);
            blipFill53.Append(sourceRectangle53);
            blipFill53.Append(stretch53);

            Xdr.ShapeProperties shapeProperties55 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D55 = new A.Transform2D();
            A.Offset offset55 = new A.Offset() { X = 581025L, Y = 2676525L };
            A.Extents extents55 = new A.Extents() { Cx = 2819400L, Cy = 0L };

            transform2D55.Append(offset55);
            transform2D55.Append(extents55);

            A.PresetGeometry presetGeometry53 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList55 = new A.AdjustValueList();

            presetGeometry53.Append(adjustValueList55);
            A.NoFill noFill105 = new A.NoFill();

            A.Outline outline58 = new A.Outline() { Width = 9525 };
            A.NoFill noFill106 = new A.NoFill();
            A.Miter miter53 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd55 = new A.HeadEnd();
            A.TailEnd tailEnd55 = new A.TailEnd();

            outline58.Append(noFill106);
            outline58.Append(miter53);
            outline58.Append(headEnd55);
            outline58.Append(tailEnd55);

            shapeProperties55.Append(transform2D55);
            shapeProperties55.Append(presetGeometry53);
            shapeProperties55.Append(noFill105);
            shapeProperties55.Append(outline58);

            picture53.Append(nonVisualPictureProperties53);
            picture53.Append(blipFill53);
            picture53.Append(shapeProperties55);
            Xdr.ClientData clientData53 = new Xdr.ClientData();

            twoCellAnchor53.Append(fromMarker53);
            twoCellAnchor53.Append(toMarker53);
            twoCellAnchor53.Append(picture53);
            twoCellAnchor53.Append(clientData53);

            Xdr.TwoCellAnchor twoCellAnchor54 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker54 = new Xdr.FromMarker();
            Xdr.ColumnId columnId107 = new Xdr.ColumnId();
            columnId107.Text = "1";
            Xdr.ColumnOffset columnOffset107 = new Xdr.ColumnOffset();
            columnOffset107.Text = "19050";
            Xdr.RowId rowId107 = new Xdr.RowId();
            rowId107.Text = "13";
            Xdr.RowOffset rowOffset107 = new Xdr.RowOffset();
            rowOffset107.Text = "0";

            fromMarker54.Append(columnId107);
            fromMarker54.Append(columnOffset107);
            fromMarker54.Append(rowId107);
            fromMarker54.Append(rowOffset107);

            Xdr.ToMarker toMarker54 = new Xdr.ToMarker();
            Xdr.ColumnId columnId108 = new Xdr.ColumnId();
            columnId108.Text = "2";
            Xdr.ColumnOffset columnOffset108 = new Xdr.ColumnOffset();
            columnOffset108.Text = "0";
            Xdr.RowId rowId108 = new Xdr.RowId();
            rowId108.Text = "13";
            Xdr.RowOffset rowOffset108 = new Xdr.RowOffset();
            rowOffset108.Text = "0";

            toMarker54.Append(columnId108);
            toMarker54.Append(columnOffset108);
            toMarker54.Append(rowId108);
            toMarker54.Append(rowOffset108);

            Xdr.Picture picture54 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties54 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties54 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2919U, Name = "Picture 302" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties54 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks54 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties54.Append(pictureLocks54);

            nonVisualPictureProperties54.Append(nonVisualDrawingProperties54);
            nonVisualPictureProperties54.Append(nonVisualPictureDrawingProperties54);

            Xdr.BlipFill blipFill54 = new Xdr.BlipFill();

            A.Blip blip54 = new A.Blip() { Embed = "rId1" };
            blip54.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle54 = new A.SourceRectangle();

            A.Stretch stretch54 = new A.Stretch();
            A.FillRectangle fillRectangle54 = new A.FillRectangle();

            stretch54.Append(fillRectangle54);

            blipFill54.Append(blip54);
            blipFill54.Append(sourceRectangle54);
            blipFill54.Append(stretch54);

            Xdr.ShapeProperties shapeProperties56 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D56 = new A.Transform2D();
            A.Offset offset56 = new A.Offset() { X = 600075L, Y = 2676525L };
            A.Extents extents56 = new A.Extents() { Cx = 1085850L, Cy = 0L };

            transform2D56.Append(offset56);
            transform2D56.Append(extents56);

            A.PresetGeometry presetGeometry54 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList56 = new A.AdjustValueList();

            presetGeometry54.Append(adjustValueList56);
            A.NoFill noFill107 = new A.NoFill();

            A.Outline outline59 = new A.Outline() { Width = 9525 };
            A.NoFill noFill108 = new A.NoFill();
            A.Miter miter54 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd56 = new A.HeadEnd();
            A.TailEnd tailEnd56 = new A.TailEnd();

            outline59.Append(noFill108);
            outline59.Append(miter54);
            outline59.Append(headEnd56);
            outline59.Append(tailEnd56);

            shapeProperties56.Append(transform2D56);
            shapeProperties56.Append(presetGeometry54);
            shapeProperties56.Append(noFill107);
            shapeProperties56.Append(outline59);

            picture54.Append(nonVisualPictureProperties54);
            picture54.Append(blipFill54);
            picture54.Append(shapeProperties56);
            Xdr.ClientData clientData54 = new Xdr.ClientData();

            twoCellAnchor54.Append(fromMarker54);
            twoCellAnchor54.Append(toMarker54);
            twoCellAnchor54.Append(picture54);
            twoCellAnchor54.Append(clientData54);

            Xdr.TwoCellAnchor twoCellAnchor55 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker55 = new Xdr.FromMarker();
            Xdr.ColumnId columnId109 = new Xdr.ColumnId();
            columnId109.Text = "1";
            Xdr.ColumnOffset columnOffset109 = new Xdr.ColumnOffset();
            columnOffset109.Text = "0";
            Xdr.RowId rowId109 = new Xdr.RowId();
            rowId109.Text = "13";
            Xdr.RowOffset rowOffset109 = new Xdr.RowOffset();
            rowOffset109.Text = "0";

            fromMarker55.Append(columnId109);
            fromMarker55.Append(columnOffset109);
            fromMarker55.Append(rowId109);
            fromMarker55.Append(rowOffset109);

            Xdr.ToMarker toMarker55 = new Xdr.ToMarker();
            Xdr.ColumnId columnId110 = new Xdr.ColumnId();
            columnId110.Text = "3";
            Xdr.ColumnOffset columnOffset110 = new Xdr.ColumnOffset();
            columnOffset110.Text = "0";
            Xdr.RowId rowId110 = new Xdr.RowId();
            rowId110.Text = "13";
            Xdr.RowOffset rowOffset110 = new Xdr.RowOffset();
            rowOffset110.Text = "0";

            toMarker55.Append(columnId110);
            toMarker55.Append(columnOffset110);
            toMarker55.Append(rowId110);
            toMarker55.Append(rowOffset110);

            Xdr.Picture picture55 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties55 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties55 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2920U, Name = "Picture 303" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties55 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks55 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties55.Append(pictureLocks55);

            nonVisualPictureProperties55.Append(nonVisualDrawingProperties55);
            nonVisualPictureProperties55.Append(nonVisualPictureDrawingProperties55);

            Xdr.BlipFill blipFill55 = new Xdr.BlipFill();

            A.Blip blip55 = new A.Blip() { Embed = "rId1" };
            blip55.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle55 = new A.SourceRectangle();

            A.Stretch stretch55 = new A.Stretch();
            A.FillRectangle fillRectangle55 = new A.FillRectangle();

            stretch55.Append(fillRectangle55);

            blipFill55.Append(blip55);
            blipFill55.Append(sourceRectangle55);
            blipFill55.Append(stretch55);

            Xdr.ShapeProperties shapeProperties57 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D57 = new A.Transform2D();
            A.Offset offset57 = new A.Offset() { X = 581025L, Y = 2676525L };
            A.Extents extents57 = new A.Extents() { Cx = 2819400L, Cy = 0L };

            transform2D57.Append(offset57);
            transform2D57.Append(extents57);

            A.PresetGeometry presetGeometry55 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList57 = new A.AdjustValueList();

            presetGeometry55.Append(adjustValueList57);
            A.NoFill noFill109 = new A.NoFill();

            A.Outline outline60 = new A.Outline() { Width = 9525 };
            A.NoFill noFill110 = new A.NoFill();
            A.Miter miter55 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd57 = new A.HeadEnd();
            A.TailEnd tailEnd57 = new A.TailEnd();

            outline60.Append(noFill110);
            outline60.Append(miter55);
            outline60.Append(headEnd57);
            outline60.Append(tailEnd57);

            shapeProperties57.Append(transform2D57);
            shapeProperties57.Append(presetGeometry55);
            shapeProperties57.Append(noFill109);
            shapeProperties57.Append(outline60);

            picture55.Append(nonVisualPictureProperties55);
            picture55.Append(blipFill55);
            picture55.Append(shapeProperties57);
            Xdr.ClientData clientData55 = new Xdr.ClientData();

            twoCellAnchor55.Append(fromMarker55);
            twoCellAnchor55.Append(toMarker55);
            twoCellAnchor55.Append(picture55);
            twoCellAnchor55.Append(clientData55);

            Xdr.TwoCellAnchor twoCellAnchor56 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker56 = new Xdr.FromMarker();
            Xdr.ColumnId columnId111 = new Xdr.ColumnId();
            columnId111.Text = "1";
            Xdr.ColumnOffset columnOffset111 = new Xdr.ColumnOffset();
            columnOffset111.Text = "0";
            Xdr.RowId rowId111 = new Xdr.RowId();
            rowId111.Text = "13";
            Xdr.RowOffset rowOffset111 = new Xdr.RowOffset();
            rowOffset111.Text = "0";

            fromMarker56.Append(columnId111);
            fromMarker56.Append(columnOffset111);
            fromMarker56.Append(rowId111);
            fromMarker56.Append(rowOffset111);

            Xdr.ToMarker toMarker56 = new Xdr.ToMarker();
            Xdr.ColumnId columnId112 = new Xdr.ColumnId();
            columnId112.Text = "3";
            Xdr.ColumnOffset columnOffset112 = new Xdr.ColumnOffset();
            columnOffset112.Text = "0";
            Xdr.RowId rowId112 = new Xdr.RowId();
            rowId112.Text = "13";
            Xdr.RowOffset rowOffset112 = new Xdr.RowOffset();
            rowOffset112.Text = "0";

            toMarker56.Append(columnId112);
            toMarker56.Append(columnOffset112);
            toMarker56.Append(rowId112);
            toMarker56.Append(rowOffset112);

            Xdr.Picture picture56 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties56 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties56 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2921U, Name = "Picture 304" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties56 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks56 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties56.Append(pictureLocks56);

            nonVisualPictureProperties56.Append(nonVisualDrawingProperties56);
            nonVisualPictureProperties56.Append(nonVisualPictureDrawingProperties56);

            Xdr.BlipFill blipFill56 = new Xdr.BlipFill();

            A.Blip blip56 = new A.Blip() { Embed = "rId1" };
            blip56.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle56 = new A.SourceRectangle();

            A.Stretch stretch56 = new A.Stretch();
            A.FillRectangle fillRectangle56 = new A.FillRectangle();

            stretch56.Append(fillRectangle56);

            blipFill56.Append(blip56);
            blipFill56.Append(sourceRectangle56);
            blipFill56.Append(stretch56);

            Xdr.ShapeProperties shapeProperties58 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D58 = new A.Transform2D();
            A.Offset offset58 = new A.Offset() { X = 581025L, Y = 2676525L };
            A.Extents extents58 = new A.Extents() { Cx = 2819400L, Cy = 0L };

            transform2D58.Append(offset58);
            transform2D58.Append(extents58);

            A.PresetGeometry presetGeometry56 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList58 = new A.AdjustValueList();

            presetGeometry56.Append(adjustValueList58);
            A.NoFill noFill111 = new A.NoFill();

            A.Outline outline61 = new A.Outline() { Width = 9525 };
            A.NoFill noFill112 = new A.NoFill();
            A.Miter miter56 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd58 = new A.HeadEnd();
            A.TailEnd tailEnd58 = new A.TailEnd();

            outline61.Append(noFill112);
            outline61.Append(miter56);
            outline61.Append(headEnd58);
            outline61.Append(tailEnd58);

            shapeProperties58.Append(transform2D58);
            shapeProperties58.Append(presetGeometry56);
            shapeProperties58.Append(noFill111);
            shapeProperties58.Append(outline61);

            picture56.Append(nonVisualPictureProperties56);
            picture56.Append(blipFill56);
            picture56.Append(shapeProperties58);
            Xdr.ClientData clientData56 = new Xdr.ClientData();

            twoCellAnchor56.Append(fromMarker56);
            twoCellAnchor56.Append(toMarker56);
            twoCellAnchor56.Append(picture56);
            twoCellAnchor56.Append(clientData56);

            Xdr.TwoCellAnchor twoCellAnchor57 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker57 = new Xdr.FromMarker();
            Xdr.ColumnId columnId113 = new Xdr.ColumnId();
            columnId113.Text = "1";
            Xdr.ColumnOffset columnOffset113 = new Xdr.ColumnOffset();
            columnOffset113.Text = "19050";
            Xdr.RowId rowId113 = new Xdr.RowId();
            rowId113.Text = "13";
            Xdr.RowOffset rowOffset113 = new Xdr.RowOffset();
            rowOffset113.Text = "0";

            fromMarker57.Append(columnId113);
            fromMarker57.Append(columnOffset113);
            fromMarker57.Append(rowId113);
            fromMarker57.Append(rowOffset113);

            Xdr.ToMarker toMarker57 = new Xdr.ToMarker();
            Xdr.ColumnId columnId114 = new Xdr.ColumnId();
            columnId114.Text = "3";
            Xdr.ColumnOffset columnOffset114 = new Xdr.ColumnOffset();
            columnOffset114.Text = "0";
            Xdr.RowId rowId114 = new Xdr.RowId();
            rowId114.Text = "13";
            Xdr.RowOffset rowOffset114 = new Xdr.RowOffset();
            rowOffset114.Text = "0";

            toMarker57.Append(columnId114);
            toMarker57.Append(columnOffset114);
            toMarker57.Append(rowId114);
            toMarker57.Append(rowOffset114);

            Xdr.Picture picture57 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties57 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties57 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2922U, Name = "Picture 305" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties57 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks57 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties57.Append(pictureLocks57);

            nonVisualPictureProperties57.Append(nonVisualDrawingProperties57);
            nonVisualPictureProperties57.Append(nonVisualPictureDrawingProperties57);

            Xdr.BlipFill blipFill57 = new Xdr.BlipFill();

            A.Blip blip57 = new A.Blip() { Embed = "rId1" };
            blip57.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle57 = new A.SourceRectangle();

            A.Stretch stretch57 = new A.Stretch();
            A.FillRectangle fillRectangle57 = new A.FillRectangle();

            stretch57.Append(fillRectangle57);

            blipFill57.Append(blip57);
            blipFill57.Append(sourceRectangle57);
            blipFill57.Append(stretch57);

            Xdr.ShapeProperties shapeProperties59 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D59 = new A.Transform2D();
            A.Offset offset59 = new A.Offset() { X = 600075L, Y = 2676525L };
            A.Extents extents59 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D59.Append(offset59);
            transform2D59.Append(extents59);

            A.PresetGeometry presetGeometry57 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList59 = new A.AdjustValueList();

            presetGeometry57.Append(adjustValueList59);
            A.NoFill noFill113 = new A.NoFill();

            A.Outline outline62 = new A.Outline() { Width = 9525 };
            A.NoFill noFill114 = new A.NoFill();
            A.Miter miter57 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd59 = new A.HeadEnd();
            A.TailEnd tailEnd59 = new A.TailEnd();

            outline62.Append(noFill114);
            outline62.Append(miter57);
            outline62.Append(headEnd59);
            outline62.Append(tailEnd59);

            shapeProperties59.Append(transform2D59);
            shapeProperties59.Append(presetGeometry57);
            shapeProperties59.Append(noFill113);
            shapeProperties59.Append(outline62);

            picture57.Append(nonVisualPictureProperties57);
            picture57.Append(blipFill57);
            picture57.Append(shapeProperties59);
            Xdr.ClientData clientData57 = new Xdr.ClientData();

            twoCellAnchor57.Append(fromMarker57);
            twoCellAnchor57.Append(toMarker57);
            twoCellAnchor57.Append(picture57);
            twoCellAnchor57.Append(clientData57);

            Xdr.TwoCellAnchor twoCellAnchor58 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker58 = new Xdr.FromMarker();
            Xdr.ColumnId columnId115 = new Xdr.ColumnId();
            columnId115.Text = "1";
            Xdr.ColumnOffset columnOffset115 = new Xdr.ColumnOffset();
            columnOffset115.Text = "19050";
            Xdr.RowId rowId115 = new Xdr.RowId();
            rowId115.Text = "13";
            Xdr.RowOffset rowOffset115 = new Xdr.RowOffset();
            rowOffset115.Text = "0";

            fromMarker58.Append(columnId115);
            fromMarker58.Append(columnOffset115);
            fromMarker58.Append(rowId115);
            fromMarker58.Append(rowOffset115);

            Xdr.ToMarker toMarker58 = new Xdr.ToMarker();
            Xdr.ColumnId columnId116 = new Xdr.ColumnId();
            columnId116.Text = "3";
            Xdr.ColumnOffset columnOffset116 = new Xdr.ColumnOffset();
            columnOffset116.Text = "0";
            Xdr.RowId rowId116 = new Xdr.RowId();
            rowId116.Text = "13";
            Xdr.RowOffset rowOffset116 = new Xdr.RowOffset();
            rowOffset116.Text = "0";

            toMarker58.Append(columnId116);
            toMarker58.Append(columnOffset116);
            toMarker58.Append(rowId116);
            toMarker58.Append(rowOffset116);

            Xdr.Picture picture58 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties58 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties58 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2923U, Name = "Picture 306" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties58 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks58 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties58.Append(pictureLocks58);

            nonVisualPictureProperties58.Append(nonVisualDrawingProperties58);
            nonVisualPictureProperties58.Append(nonVisualPictureDrawingProperties58);

            Xdr.BlipFill blipFill58 = new Xdr.BlipFill();

            A.Blip blip58 = new A.Blip() { Embed = "rId1" };
            blip58.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle58 = new A.SourceRectangle();

            A.Stretch stretch58 = new A.Stretch();
            A.FillRectangle fillRectangle58 = new A.FillRectangle();

            stretch58.Append(fillRectangle58);

            blipFill58.Append(blip58);
            blipFill58.Append(sourceRectangle58);
            blipFill58.Append(stretch58);

            Xdr.ShapeProperties shapeProperties60 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D60 = new A.Transform2D();
            A.Offset offset60 = new A.Offset() { X = 600075L, Y = 2676525L };
            A.Extents extents60 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D60.Append(offset60);
            transform2D60.Append(extents60);

            A.PresetGeometry presetGeometry58 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList60 = new A.AdjustValueList();

            presetGeometry58.Append(adjustValueList60);
            A.NoFill noFill115 = new A.NoFill();

            A.Outline outline63 = new A.Outline() { Width = 9525 };
            A.NoFill noFill116 = new A.NoFill();
            A.Miter miter58 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd60 = new A.HeadEnd();
            A.TailEnd tailEnd60 = new A.TailEnd();

            outline63.Append(noFill116);
            outline63.Append(miter58);
            outline63.Append(headEnd60);
            outline63.Append(tailEnd60);

            shapeProperties60.Append(transform2D60);
            shapeProperties60.Append(presetGeometry58);
            shapeProperties60.Append(noFill115);
            shapeProperties60.Append(outline63);

            picture58.Append(nonVisualPictureProperties58);
            picture58.Append(blipFill58);
            picture58.Append(shapeProperties60);
            Xdr.ClientData clientData58 = new Xdr.ClientData();

            twoCellAnchor58.Append(fromMarker58);
            twoCellAnchor58.Append(toMarker58);
            twoCellAnchor58.Append(picture58);
            twoCellAnchor58.Append(clientData58);

            Xdr.TwoCellAnchor twoCellAnchor59 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker59 = new Xdr.FromMarker();
            Xdr.ColumnId columnId117 = new Xdr.ColumnId();
            columnId117.Text = "1";
            Xdr.ColumnOffset columnOffset117 = new Xdr.ColumnOffset();
            columnOffset117.Text = "19050";
            Xdr.RowId rowId117 = new Xdr.RowId();
            rowId117.Text = "13";
            Xdr.RowOffset rowOffset117 = new Xdr.RowOffset();
            rowOffset117.Text = "0";

            fromMarker59.Append(columnId117);
            fromMarker59.Append(columnOffset117);
            fromMarker59.Append(rowId117);
            fromMarker59.Append(rowOffset117);

            Xdr.ToMarker toMarker59 = new Xdr.ToMarker();
            Xdr.ColumnId columnId118 = new Xdr.ColumnId();
            columnId118.Text = "3";
            Xdr.ColumnOffset columnOffset118 = new Xdr.ColumnOffset();
            columnOffset118.Text = "0";
            Xdr.RowId rowId118 = new Xdr.RowId();
            rowId118.Text = "13";
            Xdr.RowOffset rowOffset118 = new Xdr.RowOffset();
            rowOffset118.Text = "0";

            toMarker59.Append(columnId118);
            toMarker59.Append(columnOffset118);
            toMarker59.Append(rowId118);
            toMarker59.Append(rowOffset118);

            Xdr.Picture picture59 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties59 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties59 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2924U, Name = "Picture 307" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties59 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks59 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties59.Append(pictureLocks59);

            nonVisualPictureProperties59.Append(nonVisualDrawingProperties59);
            nonVisualPictureProperties59.Append(nonVisualPictureDrawingProperties59);

            Xdr.BlipFill blipFill59 = new Xdr.BlipFill();

            A.Blip blip59 = new A.Blip() { Embed = "rId1" };
            blip59.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle59 = new A.SourceRectangle();

            A.Stretch stretch59 = new A.Stretch();
            A.FillRectangle fillRectangle59 = new A.FillRectangle();

            stretch59.Append(fillRectangle59);

            blipFill59.Append(blip59);
            blipFill59.Append(sourceRectangle59);
            blipFill59.Append(stretch59);

            Xdr.ShapeProperties shapeProperties61 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D61 = new A.Transform2D();
            A.Offset offset61 = new A.Offset() { X = 600075L, Y = 2676525L };
            A.Extents extents61 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D61.Append(offset61);
            transform2D61.Append(extents61);

            A.PresetGeometry presetGeometry59 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList61 = new A.AdjustValueList();

            presetGeometry59.Append(adjustValueList61);
            A.NoFill noFill117 = new A.NoFill();

            A.Outline outline64 = new A.Outline() { Width = 9525 };
            A.NoFill noFill118 = new A.NoFill();
            A.Miter miter59 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd61 = new A.HeadEnd();
            A.TailEnd tailEnd61 = new A.TailEnd();

            outline64.Append(noFill118);
            outline64.Append(miter59);
            outline64.Append(headEnd61);
            outline64.Append(tailEnd61);

            shapeProperties61.Append(transform2D61);
            shapeProperties61.Append(presetGeometry59);
            shapeProperties61.Append(noFill117);
            shapeProperties61.Append(outline64);

            picture59.Append(nonVisualPictureProperties59);
            picture59.Append(blipFill59);
            picture59.Append(shapeProperties61);
            Xdr.ClientData clientData59 = new Xdr.ClientData();

            twoCellAnchor59.Append(fromMarker59);
            twoCellAnchor59.Append(toMarker59);
            twoCellAnchor59.Append(picture59);
            twoCellAnchor59.Append(clientData59);

            Xdr.TwoCellAnchor twoCellAnchor60 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker60 = new Xdr.FromMarker();
            Xdr.ColumnId columnId119 = new Xdr.ColumnId();
            columnId119.Text = "1";
            Xdr.ColumnOffset columnOffset119 = new Xdr.ColumnOffset();
            columnOffset119.Text = "19050";
            Xdr.RowId rowId119 = new Xdr.RowId();
            rowId119.Text = "13";
            Xdr.RowOffset rowOffset119 = new Xdr.RowOffset();
            rowOffset119.Text = "0";

            fromMarker60.Append(columnId119);
            fromMarker60.Append(columnOffset119);
            fromMarker60.Append(rowId119);
            fromMarker60.Append(rowOffset119);

            Xdr.ToMarker toMarker60 = new Xdr.ToMarker();
            Xdr.ColumnId columnId120 = new Xdr.ColumnId();
            columnId120.Text = "3";
            Xdr.ColumnOffset columnOffset120 = new Xdr.ColumnOffset();
            columnOffset120.Text = "0";
            Xdr.RowId rowId120 = new Xdr.RowId();
            rowId120.Text = "13";
            Xdr.RowOffset rowOffset120 = new Xdr.RowOffset();
            rowOffset120.Text = "0";

            toMarker60.Append(columnId120);
            toMarker60.Append(columnOffset120);
            toMarker60.Append(rowId120);
            toMarker60.Append(rowOffset120);

            Xdr.Picture picture60 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties60 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties60 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2925U, Name = "Picture 308" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties60 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks60 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties60.Append(pictureLocks60);

            nonVisualPictureProperties60.Append(nonVisualDrawingProperties60);
            nonVisualPictureProperties60.Append(nonVisualPictureDrawingProperties60);

            Xdr.BlipFill blipFill60 = new Xdr.BlipFill();

            A.Blip blip60 = new A.Blip() { Embed = "rId1" };
            blip60.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle60 = new A.SourceRectangle();

            A.Stretch stretch60 = new A.Stretch();
            A.FillRectangle fillRectangle60 = new A.FillRectangle();

            stretch60.Append(fillRectangle60);

            blipFill60.Append(blip60);
            blipFill60.Append(sourceRectangle60);
            blipFill60.Append(stretch60);

            Xdr.ShapeProperties shapeProperties62 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D62 = new A.Transform2D();
            A.Offset offset62 = new A.Offset() { X = 600075L, Y = 2676525L };
            A.Extents extents62 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D62.Append(offset62);
            transform2D62.Append(extents62);

            A.PresetGeometry presetGeometry60 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList62 = new A.AdjustValueList();

            presetGeometry60.Append(adjustValueList62);
            A.NoFill noFill119 = new A.NoFill();

            A.Outline outline65 = new A.Outline() { Width = 9525 };
            A.NoFill noFill120 = new A.NoFill();
            A.Miter miter60 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd62 = new A.HeadEnd();
            A.TailEnd tailEnd62 = new A.TailEnd();

            outline65.Append(noFill120);
            outline65.Append(miter60);
            outline65.Append(headEnd62);
            outline65.Append(tailEnd62);

            shapeProperties62.Append(transform2D62);
            shapeProperties62.Append(presetGeometry60);
            shapeProperties62.Append(noFill119);
            shapeProperties62.Append(outline65);

            picture60.Append(nonVisualPictureProperties60);
            picture60.Append(blipFill60);
            picture60.Append(shapeProperties62);
            Xdr.ClientData clientData60 = new Xdr.ClientData();

            twoCellAnchor60.Append(fromMarker60);
            twoCellAnchor60.Append(toMarker60);
            twoCellAnchor60.Append(picture60);
            twoCellAnchor60.Append(clientData60);

            Xdr.TwoCellAnchor twoCellAnchor61 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker61 = new Xdr.FromMarker();
            Xdr.ColumnId columnId121 = new Xdr.ColumnId();
            columnId121.Text = "1";
            Xdr.ColumnOffset columnOffset121 = new Xdr.ColumnOffset();
            columnOffset121.Text = "19050";
            Xdr.RowId rowId121 = new Xdr.RowId();
            rowId121.Text = "13";
            Xdr.RowOffset rowOffset121 = new Xdr.RowOffset();
            rowOffset121.Text = "0";

            fromMarker61.Append(columnId121);
            fromMarker61.Append(columnOffset121);
            fromMarker61.Append(rowId121);
            fromMarker61.Append(rowOffset121);

            Xdr.ToMarker toMarker61 = new Xdr.ToMarker();
            Xdr.ColumnId columnId122 = new Xdr.ColumnId();
            columnId122.Text = "3";
            Xdr.ColumnOffset columnOffset122 = new Xdr.ColumnOffset();
            columnOffset122.Text = "0";
            Xdr.RowId rowId122 = new Xdr.RowId();
            rowId122.Text = "13";
            Xdr.RowOffset rowOffset122 = new Xdr.RowOffset();
            rowOffset122.Text = "0";

            toMarker61.Append(columnId122);
            toMarker61.Append(columnOffset122);
            toMarker61.Append(rowId122);
            toMarker61.Append(rowOffset122);

            Xdr.Picture picture61 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties61 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties61 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2926U, Name = "Picture 309" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties61 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks61 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties61.Append(pictureLocks61);

            nonVisualPictureProperties61.Append(nonVisualDrawingProperties61);
            nonVisualPictureProperties61.Append(nonVisualPictureDrawingProperties61);

            Xdr.BlipFill blipFill61 = new Xdr.BlipFill();

            A.Blip blip61 = new A.Blip() { Embed = "rId1" };
            blip61.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle61 = new A.SourceRectangle();

            A.Stretch stretch61 = new A.Stretch();
            A.FillRectangle fillRectangle61 = new A.FillRectangle();

            stretch61.Append(fillRectangle61);

            blipFill61.Append(blip61);
            blipFill61.Append(sourceRectangle61);
            blipFill61.Append(stretch61);

            Xdr.ShapeProperties shapeProperties63 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D63 = new A.Transform2D();
            A.Offset offset63 = new A.Offset() { X = 600075L, Y = 2676525L };
            A.Extents extents63 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D63.Append(offset63);
            transform2D63.Append(extents63);

            A.PresetGeometry presetGeometry61 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList63 = new A.AdjustValueList();

            presetGeometry61.Append(adjustValueList63);
            A.NoFill noFill121 = new A.NoFill();

            A.Outline outline66 = new A.Outline() { Width = 9525 };
            A.NoFill noFill122 = new A.NoFill();
            A.Miter miter61 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd63 = new A.HeadEnd();
            A.TailEnd tailEnd63 = new A.TailEnd();

            outline66.Append(noFill122);
            outline66.Append(miter61);
            outline66.Append(headEnd63);
            outline66.Append(tailEnd63);

            shapeProperties63.Append(transform2D63);
            shapeProperties63.Append(presetGeometry61);
            shapeProperties63.Append(noFill121);
            shapeProperties63.Append(outline66);

            picture61.Append(nonVisualPictureProperties61);
            picture61.Append(blipFill61);
            picture61.Append(shapeProperties63);
            Xdr.ClientData clientData61 = new Xdr.ClientData();

            twoCellAnchor61.Append(fromMarker61);
            twoCellAnchor61.Append(toMarker61);
            twoCellAnchor61.Append(picture61);
            twoCellAnchor61.Append(clientData61);

            Xdr.TwoCellAnchor twoCellAnchor62 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker62 = new Xdr.FromMarker();
            Xdr.ColumnId columnId123 = new Xdr.ColumnId();
            columnId123.Text = "1";
            Xdr.ColumnOffset columnOffset123 = new Xdr.ColumnOffset();
            columnOffset123.Text = "19050";
            Xdr.RowId rowId123 = new Xdr.RowId();
            rowId123.Text = "13";
            Xdr.RowOffset rowOffset123 = new Xdr.RowOffset();
            rowOffset123.Text = "0";

            fromMarker62.Append(columnId123);
            fromMarker62.Append(columnOffset123);
            fromMarker62.Append(rowId123);
            fromMarker62.Append(rowOffset123);

            Xdr.ToMarker toMarker62 = new Xdr.ToMarker();
            Xdr.ColumnId columnId124 = new Xdr.ColumnId();
            columnId124.Text = "3";
            Xdr.ColumnOffset columnOffset124 = new Xdr.ColumnOffset();
            columnOffset124.Text = "0";
            Xdr.RowId rowId124 = new Xdr.RowId();
            rowId124.Text = "13";
            Xdr.RowOffset rowOffset124 = new Xdr.RowOffset();
            rowOffset124.Text = "0";

            toMarker62.Append(columnId124);
            toMarker62.Append(columnOffset124);
            toMarker62.Append(rowId124);
            toMarker62.Append(rowOffset124);

            Xdr.Picture picture62 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties62 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties62 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2927U, Name = "Picture 310" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties62 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks62 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties62.Append(pictureLocks62);

            nonVisualPictureProperties62.Append(nonVisualDrawingProperties62);
            nonVisualPictureProperties62.Append(nonVisualPictureDrawingProperties62);

            Xdr.BlipFill blipFill62 = new Xdr.BlipFill();

            A.Blip blip62 = new A.Blip() { Embed = "rId1" };
            blip62.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle62 = new A.SourceRectangle();

            A.Stretch stretch62 = new A.Stretch();
            A.FillRectangle fillRectangle62 = new A.FillRectangle();

            stretch62.Append(fillRectangle62);

            blipFill62.Append(blip62);
            blipFill62.Append(sourceRectangle62);
            blipFill62.Append(stretch62);

            Xdr.ShapeProperties shapeProperties64 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D64 = new A.Transform2D();
            A.Offset offset64 = new A.Offset() { X = 600075L, Y = 2676525L };
            A.Extents extents64 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D64.Append(offset64);
            transform2D64.Append(extents64);

            A.PresetGeometry presetGeometry62 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList64 = new A.AdjustValueList();

            presetGeometry62.Append(adjustValueList64);
            A.NoFill noFill123 = new A.NoFill();

            A.Outline outline67 = new A.Outline() { Width = 9525 };
            A.NoFill noFill124 = new A.NoFill();
            A.Miter miter62 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd64 = new A.HeadEnd();
            A.TailEnd tailEnd64 = new A.TailEnd();

            outline67.Append(noFill124);
            outline67.Append(miter62);
            outline67.Append(headEnd64);
            outline67.Append(tailEnd64);

            shapeProperties64.Append(transform2D64);
            shapeProperties64.Append(presetGeometry62);
            shapeProperties64.Append(noFill123);
            shapeProperties64.Append(outline67);

            picture62.Append(nonVisualPictureProperties62);
            picture62.Append(blipFill62);
            picture62.Append(shapeProperties64);
            Xdr.ClientData clientData62 = new Xdr.ClientData();

            twoCellAnchor62.Append(fromMarker62);
            twoCellAnchor62.Append(toMarker62);
            twoCellAnchor62.Append(picture62);
            twoCellAnchor62.Append(clientData62);

            Xdr.TwoCellAnchor twoCellAnchor63 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker63 = new Xdr.FromMarker();
            Xdr.ColumnId columnId125 = new Xdr.ColumnId();
            columnId125.Text = "1";
            Xdr.ColumnOffset columnOffset125 = new Xdr.ColumnOffset();
            columnOffset125.Text = "19050";
            Xdr.RowId rowId125 = new Xdr.RowId();
            rowId125.Text = "13";
            Xdr.RowOffset rowOffset125 = new Xdr.RowOffset();
            rowOffset125.Text = "0";

            fromMarker63.Append(columnId125);
            fromMarker63.Append(columnOffset125);
            fromMarker63.Append(rowId125);
            fromMarker63.Append(rowOffset125);

            Xdr.ToMarker toMarker63 = new Xdr.ToMarker();
            Xdr.ColumnId columnId126 = new Xdr.ColumnId();
            columnId126.Text = "3";
            Xdr.ColumnOffset columnOffset126 = new Xdr.ColumnOffset();
            columnOffset126.Text = "0";
            Xdr.RowId rowId126 = new Xdr.RowId();
            rowId126.Text = "13";
            Xdr.RowOffset rowOffset126 = new Xdr.RowOffset();
            rowOffset126.Text = "0";

            toMarker63.Append(columnId126);
            toMarker63.Append(columnOffset126);
            toMarker63.Append(rowId126);
            toMarker63.Append(rowOffset126);

            Xdr.Picture picture63 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties63 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties63 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2928U, Name = "Picture 311" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties63 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks63 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties63.Append(pictureLocks63);

            nonVisualPictureProperties63.Append(nonVisualDrawingProperties63);
            nonVisualPictureProperties63.Append(nonVisualPictureDrawingProperties63);

            Xdr.BlipFill blipFill63 = new Xdr.BlipFill();

            A.Blip blip63 = new A.Blip() { Embed = "rId1" };
            blip63.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle63 = new A.SourceRectangle();

            A.Stretch stretch63 = new A.Stretch();
            A.FillRectangle fillRectangle63 = new A.FillRectangle();

            stretch63.Append(fillRectangle63);

            blipFill63.Append(blip63);
            blipFill63.Append(sourceRectangle63);
            blipFill63.Append(stretch63);

            Xdr.ShapeProperties shapeProperties65 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D65 = new A.Transform2D();
            A.Offset offset65 = new A.Offset() { X = 600075L, Y = 2676525L };
            A.Extents extents65 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D65.Append(offset65);
            transform2D65.Append(extents65);

            A.PresetGeometry presetGeometry63 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList65 = new A.AdjustValueList();

            presetGeometry63.Append(adjustValueList65);
            A.NoFill noFill125 = new A.NoFill();

            A.Outline outline68 = new A.Outline() { Width = 9525 };
            A.NoFill noFill126 = new A.NoFill();
            A.Miter miter63 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd65 = new A.HeadEnd();
            A.TailEnd tailEnd65 = new A.TailEnd();

            outline68.Append(noFill126);
            outline68.Append(miter63);
            outline68.Append(headEnd65);
            outline68.Append(tailEnd65);

            shapeProperties65.Append(transform2D65);
            shapeProperties65.Append(presetGeometry63);
            shapeProperties65.Append(noFill125);
            shapeProperties65.Append(outline68);

            picture63.Append(nonVisualPictureProperties63);
            picture63.Append(blipFill63);
            picture63.Append(shapeProperties65);
            Xdr.ClientData clientData63 = new Xdr.ClientData();

            twoCellAnchor63.Append(fromMarker63);
            twoCellAnchor63.Append(toMarker63);
            twoCellAnchor63.Append(picture63);
            twoCellAnchor63.Append(clientData63);

            Xdr.TwoCellAnchor twoCellAnchor64 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker64 = new Xdr.FromMarker();
            Xdr.ColumnId columnId127 = new Xdr.ColumnId();
            columnId127.Text = "1";
            Xdr.ColumnOffset columnOffset127 = new Xdr.ColumnOffset();
            columnOffset127.Text = "19050";
            Xdr.RowId rowId127 = new Xdr.RowId();
            rowId127.Text = "13";
            Xdr.RowOffset rowOffset127 = new Xdr.RowOffset();
            rowOffset127.Text = "0";

            fromMarker64.Append(columnId127);
            fromMarker64.Append(columnOffset127);
            fromMarker64.Append(rowId127);
            fromMarker64.Append(rowOffset127);

            Xdr.ToMarker toMarker64 = new Xdr.ToMarker();
            Xdr.ColumnId columnId128 = new Xdr.ColumnId();
            columnId128.Text = "3";
            Xdr.ColumnOffset columnOffset128 = new Xdr.ColumnOffset();
            columnOffset128.Text = "0";
            Xdr.RowId rowId128 = new Xdr.RowId();
            rowId128.Text = "13";
            Xdr.RowOffset rowOffset128 = new Xdr.RowOffset();
            rowOffset128.Text = "0";

            toMarker64.Append(columnId128);
            toMarker64.Append(columnOffset128);
            toMarker64.Append(rowId128);
            toMarker64.Append(rowOffset128);

            Xdr.Picture picture64 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties64 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties64 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2929U, Name = "Picture 312" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties64 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks64 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties64.Append(pictureLocks64);

            nonVisualPictureProperties64.Append(nonVisualDrawingProperties64);
            nonVisualPictureProperties64.Append(nonVisualPictureDrawingProperties64);

            Xdr.BlipFill blipFill64 = new Xdr.BlipFill();

            A.Blip blip64 = new A.Blip() { Embed = "rId1" };
            blip64.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle64 = new A.SourceRectangle();

            A.Stretch stretch64 = new A.Stretch();
            A.FillRectangle fillRectangle64 = new A.FillRectangle();

            stretch64.Append(fillRectangle64);

            blipFill64.Append(blip64);
            blipFill64.Append(sourceRectangle64);
            blipFill64.Append(stretch64);

            Xdr.ShapeProperties shapeProperties66 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D66 = new A.Transform2D();
            A.Offset offset66 = new A.Offset() { X = 600075L, Y = 2676525L };
            A.Extents extents66 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D66.Append(offset66);
            transform2D66.Append(extents66);

            A.PresetGeometry presetGeometry64 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList66 = new A.AdjustValueList();

            presetGeometry64.Append(adjustValueList66);
            A.NoFill noFill127 = new A.NoFill();

            A.Outline outline69 = new A.Outline() { Width = 9525 };
            A.NoFill noFill128 = new A.NoFill();
            A.Miter miter64 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd66 = new A.HeadEnd();
            A.TailEnd tailEnd66 = new A.TailEnd();

            outline69.Append(noFill128);
            outline69.Append(miter64);
            outline69.Append(headEnd66);
            outline69.Append(tailEnd66);

            shapeProperties66.Append(transform2D66);
            shapeProperties66.Append(presetGeometry64);
            shapeProperties66.Append(noFill127);
            shapeProperties66.Append(outline69);

            picture64.Append(nonVisualPictureProperties64);
            picture64.Append(blipFill64);
            picture64.Append(shapeProperties66);
            Xdr.ClientData clientData64 = new Xdr.ClientData();

            twoCellAnchor64.Append(fromMarker64);
            twoCellAnchor64.Append(toMarker64);
            twoCellAnchor64.Append(picture64);
            twoCellAnchor64.Append(clientData64);

            Xdr.TwoCellAnchor twoCellAnchor65 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker65 = new Xdr.FromMarker();
            Xdr.ColumnId columnId129 = new Xdr.ColumnId();
            columnId129.Text = "1";
            Xdr.ColumnOffset columnOffset129 = new Xdr.ColumnOffset();
            columnOffset129.Text = "19050";
            Xdr.RowId rowId129 = new Xdr.RowId();
            rowId129.Text = "13";
            Xdr.RowOffset rowOffset129 = new Xdr.RowOffset();
            rowOffset129.Text = "0";

            fromMarker65.Append(columnId129);
            fromMarker65.Append(columnOffset129);
            fromMarker65.Append(rowId129);
            fromMarker65.Append(rowOffset129);

            Xdr.ToMarker toMarker65 = new Xdr.ToMarker();
            Xdr.ColumnId columnId130 = new Xdr.ColumnId();
            columnId130.Text = "3";
            Xdr.ColumnOffset columnOffset130 = new Xdr.ColumnOffset();
            columnOffset130.Text = "0";
            Xdr.RowId rowId130 = new Xdr.RowId();
            rowId130.Text = "13";
            Xdr.RowOffset rowOffset130 = new Xdr.RowOffset();
            rowOffset130.Text = "0";

            toMarker65.Append(columnId130);
            toMarker65.Append(columnOffset130);
            toMarker65.Append(rowId130);
            toMarker65.Append(rowOffset130);

            Xdr.Picture picture65 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties65 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties65 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2930U, Name = "Picture 313" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties65 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks65 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties65.Append(pictureLocks65);

            nonVisualPictureProperties65.Append(nonVisualDrawingProperties65);
            nonVisualPictureProperties65.Append(nonVisualPictureDrawingProperties65);

            Xdr.BlipFill blipFill65 = new Xdr.BlipFill();

            A.Blip blip65 = new A.Blip() { Embed = "rId1" };
            blip65.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle65 = new A.SourceRectangle();

            A.Stretch stretch65 = new A.Stretch();
            A.FillRectangle fillRectangle65 = new A.FillRectangle();

            stretch65.Append(fillRectangle65);

            blipFill65.Append(blip65);
            blipFill65.Append(sourceRectangle65);
            blipFill65.Append(stretch65);

            Xdr.ShapeProperties shapeProperties67 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D67 = new A.Transform2D();
            A.Offset offset67 = new A.Offset() { X = 600075L, Y = 2676525L };
            A.Extents extents67 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D67.Append(offset67);
            transform2D67.Append(extents67);

            A.PresetGeometry presetGeometry65 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList67 = new A.AdjustValueList();

            presetGeometry65.Append(adjustValueList67);
            A.NoFill noFill129 = new A.NoFill();

            A.Outline outline70 = new A.Outline() { Width = 9525 };
            A.NoFill noFill130 = new A.NoFill();
            A.Miter miter65 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd67 = new A.HeadEnd();
            A.TailEnd tailEnd67 = new A.TailEnd();

            outline70.Append(noFill130);
            outline70.Append(miter65);
            outline70.Append(headEnd67);
            outline70.Append(tailEnd67);

            shapeProperties67.Append(transform2D67);
            shapeProperties67.Append(presetGeometry65);
            shapeProperties67.Append(noFill129);
            shapeProperties67.Append(outline70);

            picture65.Append(nonVisualPictureProperties65);
            picture65.Append(blipFill65);
            picture65.Append(shapeProperties67);
            Xdr.ClientData clientData65 = new Xdr.ClientData();

            twoCellAnchor65.Append(fromMarker65);
            twoCellAnchor65.Append(toMarker65);
            twoCellAnchor65.Append(picture65);
            twoCellAnchor65.Append(clientData65);

            Xdr.TwoCellAnchor twoCellAnchor66 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker66 = new Xdr.FromMarker();
            Xdr.ColumnId columnId131 = new Xdr.ColumnId();
            columnId131.Text = "1";
            Xdr.ColumnOffset columnOffset131 = new Xdr.ColumnOffset();
            columnOffset131.Text = "0";
            Xdr.RowId rowId131 = new Xdr.RowId();
            rowId131.Text = "13";
            Xdr.RowOffset rowOffset131 = new Xdr.RowOffset();
            rowOffset131.Text = "0";

            fromMarker66.Append(columnId131);
            fromMarker66.Append(columnOffset131);
            fromMarker66.Append(rowId131);
            fromMarker66.Append(rowOffset131);

            Xdr.ToMarker toMarker66 = new Xdr.ToMarker();
            Xdr.ColumnId columnId132 = new Xdr.ColumnId();
            columnId132.Text = "3";
            Xdr.ColumnOffset columnOffset132 = new Xdr.ColumnOffset();
            columnOffset132.Text = "0";
            Xdr.RowId rowId132 = new Xdr.RowId();
            rowId132.Text = "13";
            Xdr.RowOffset rowOffset132 = new Xdr.RowOffset();
            rowOffset132.Text = "0";

            toMarker66.Append(columnId132);
            toMarker66.Append(columnOffset132);
            toMarker66.Append(rowId132);
            toMarker66.Append(rowOffset132);

            Xdr.Picture picture66 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties66 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties66 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2931U, Name = "Picture 314" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties66 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks66 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties66.Append(pictureLocks66);

            nonVisualPictureProperties66.Append(nonVisualDrawingProperties66);
            nonVisualPictureProperties66.Append(nonVisualPictureDrawingProperties66);

            Xdr.BlipFill blipFill66 = new Xdr.BlipFill();

            A.Blip blip66 = new A.Blip() { Embed = "rId1" };
            blip66.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle66 = new A.SourceRectangle();

            A.Stretch stretch66 = new A.Stretch();
            A.FillRectangle fillRectangle66 = new A.FillRectangle();

            stretch66.Append(fillRectangle66);

            blipFill66.Append(blip66);
            blipFill66.Append(sourceRectangle66);
            blipFill66.Append(stretch66);

            Xdr.ShapeProperties shapeProperties68 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D68 = new A.Transform2D();
            A.Offset offset68 = new A.Offset() { X = 581025L, Y = 2676525L };
            A.Extents extents68 = new A.Extents() { Cx = 2819400L, Cy = 0L };

            transform2D68.Append(offset68);
            transform2D68.Append(extents68);

            A.PresetGeometry presetGeometry66 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList68 = new A.AdjustValueList();

            presetGeometry66.Append(adjustValueList68);
            A.NoFill noFill131 = new A.NoFill();

            A.Outline outline71 = new A.Outline() { Width = 9525 };
            A.NoFill noFill132 = new A.NoFill();
            A.Miter miter66 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd68 = new A.HeadEnd();
            A.TailEnd tailEnd68 = new A.TailEnd();

            outline71.Append(noFill132);
            outline71.Append(miter66);
            outline71.Append(headEnd68);
            outline71.Append(tailEnd68);

            shapeProperties68.Append(transform2D68);
            shapeProperties68.Append(presetGeometry66);
            shapeProperties68.Append(noFill131);
            shapeProperties68.Append(outline71);

            picture66.Append(nonVisualPictureProperties66);
            picture66.Append(blipFill66);
            picture66.Append(shapeProperties68);
            Xdr.ClientData clientData66 = new Xdr.ClientData();

            twoCellAnchor66.Append(fromMarker66);
            twoCellAnchor66.Append(toMarker66);
            twoCellAnchor66.Append(picture66);
            twoCellAnchor66.Append(clientData66);

            Xdr.TwoCellAnchor twoCellAnchor67 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker67 = new Xdr.FromMarker();
            Xdr.ColumnId columnId133 = new Xdr.ColumnId();
            columnId133.Text = "1";
            Xdr.ColumnOffset columnOffset133 = new Xdr.ColumnOffset();
            columnOffset133.Text = "19050";
            Xdr.RowId rowId133 = new Xdr.RowId();
            rowId133.Text = "13";
            Xdr.RowOffset rowOffset133 = new Xdr.RowOffset();
            rowOffset133.Text = "0";

            fromMarker67.Append(columnId133);
            fromMarker67.Append(columnOffset133);
            fromMarker67.Append(rowId133);
            fromMarker67.Append(rowOffset133);

            Xdr.ToMarker toMarker67 = new Xdr.ToMarker();
            Xdr.ColumnId columnId134 = new Xdr.ColumnId();
            columnId134.Text = "2";
            Xdr.ColumnOffset columnOffset134 = new Xdr.ColumnOffset();
            columnOffset134.Text = "0";
            Xdr.RowId rowId134 = new Xdr.RowId();
            rowId134.Text = "13";
            Xdr.RowOffset rowOffset134 = new Xdr.RowOffset();
            rowOffset134.Text = "0";

            toMarker67.Append(columnId134);
            toMarker67.Append(columnOffset134);
            toMarker67.Append(rowId134);
            toMarker67.Append(rowOffset134);

            Xdr.Picture picture67 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties67 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties67 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2932U, Name = "Picture 315" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties67 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks67 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties67.Append(pictureLocks67);

            nonVisualPictureProperties67.Append(nonVisualDrawingProperties67);
            nonVisualPictureProperties67.Append(nonVisualPictureDrawingProperties67);

            Xdr.BlipFill blipFill67 = new Xdr.BlipFill();

            A.Blip blip67 = new A.Blip() { Embed = "rId1" };
            blip67.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle67 = new A.SourceRectangle();

            A.Stretch stretch67 = new A.Stretch();
            A.FillRectangle fillRectangle67 = new A.FillRectangle();

            stretch67.Append(fillRectangle67);

            blipFill67.Append(blip67);
            blipFill67.Append(sourceRectangle67);
            blipFill67.Append(stretch67);

            Xdr.ShapeProperties shapeProperties69 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D69 = new A.Transform2D();
            A.Offset offset69 = new A.Offset() { X = 600075L, Y = 2676525L };
            A.Extents extents69 = new A.Extents() { Cx = 1085850L, Cy = 0L };

            transform2D69.Append(offset69);
            transform2D69.Append(extents69);

            A.PresetGeometry presetGeometry67 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList69 = new A.AdjustValueList();

            presetGeometry67.Append(adjustValueList69);
            A.NoFill noFill133 = new A.NoFill();

            A.Outline outline72 = new A.Outline() { Width = 9525 };
            A.NoFill noFill134 = new A.NoFill();
            A.Miter miter67 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd69 = new A.HeadEnd();
            A.TailEnd tailEnd69 = new A.TailEnd();

            outline72.Append(noFill134);
            outline72.Append(miter67);
            outline72.Append(headEnd69);
            outline72.Append(tailEnd69);

            shapeProperties69.Append(transform2D69);
            shapeProperties69.Append(presetGeometry67);
            shapeProperties69.Append(noFill133);
            shapeProperties69.Append(outline72);

            picture67.Append(nonVisualPictureProperties67);
            picture67.Append(blipFill67);
            picture67.Append(shapeProperties69);
            Xdr.ClientData clientData67 = new Xdr.ClientData();

            twoCellAnchor67.Append(fromMarker67);
            twoCellAnchor67.Append(toMarker67);
            twoCellAnchor67.Append(picture67);
            twoCellAnchor67.Append(clientData67);

            Xdr.TwoCellAnchor twoCellAnchor68 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker68 = new Xdr.FromMarker();
            Xdr.ColumnId columnId135 = new Xdr.ColumnId();
            columnId135.Text = "1";
            Xdr.ColumnOffset columnOffset135 = new Xdr.ColumnOffset();
            columnOffset135.Text = "0";
            Xdr.RowId rowId135 = new Xdr.RowId();
            rowId135.Text = "13";
            Xdr.RowOffset rowOffset135 = new Xdr.RowOffset();
            rowOffset135.Text = "0";

            fromMarker68.Append(columnId135);
            fromMarker68.Append(columnOffset135);
            fromMarker68.Append(rowId135);
            fromMarker68.Append(rowOffset135);

            Xdr.ToMarker toMarker68 = new Xdr.ToMarker();
            Xdr.ColumnId columnId136 = new Xdr.ColumnId();
            columnId136.Text = "3";
            Xdr.ColumnOffset columnOffset136 = new Xdr.ColumnOffset();
            columnOffset136.Text = "0";
            Xdr.RowId rowId136 = new Xdr.RowId();
            rowId136.Text = "13";
            Xdr.RowOffset rowOffset136 = new Xdr.RowOffset();
            rowOffset136.Text = "0";

            toMarker68.Append(columnId136);
            toMarker68.Append(columnOffset136);
            toMarker68.Append(rowId136);
            toMarker68.Append(rowOffset136);

            Xdr.Picture picture68 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties68 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties68 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2933U, Name = "Picture 316" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties68 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks68 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties68.Append(pictureLocks68);

            nonVisualPictureProperties68.Append(nonVisualDrawingProperties68);
            nonVisualPictureProperties68.Append(nonVisualPictureDrawingProperties68);

            Xdr.BlipFill blipFill68 = new Xdr.BlipFill();

            A.Blip blip68 = new A.Blip() { Embed = "rId1" };
            blip68.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle68 = new A.SourceRectangle();

            A.Stretch stretch68 = new A.Stretch();
            A.FillRectangle fillRectangle68 = new A.FillRectangle();

            stretch68.Append(fillRectangle68);

            blipFill68.Append(blip68);
            blipFill68.Append(sourceRectangle68);
            blipFill68.Append(stretch68);

            Xdr.ShapeProperties shapeProperties70 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D70 = new A.Transform2D();
            A.Offset offset70 = new A.Offset() { X = 581025L, Y = 2676525L };
            A.Extents extents70 = new A.Extents() { Cx = 2819400L, Cy = 0L };

            transform2D70.Append(offset70);
            transform2D70.Append(extents70);

            A.PresetGeometry presetGeometry68 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList70 = new A.AdjustValueList();

            presetGeometry68.Append(adjustValueList70);
            A.NoFill noFill135 = new A.NoFill();

            A.Outline outline73 = new A.Outline() { Width = 9525 };
            A.NoFill noFill136 = new A.NoFill();
            A.Miter miter68 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd70 = new A.HeadEnd();
            A.TailEnd tailEnd70 = new A.TailEnd();

            outline73.Append(noFill136);
            outline73.Append(miter68);
            outline73.Append(headEnd70);
            outline73.Append(tailEnd70);

            shapeProperties70.Append(transform2D70);
            shapeProperties70.Append(presetGeometry68);
            shapeProperties70.Append(noFill135);
            shapeProperties70.Append(outline73);

            picture68.Append(nonVisualPictureProperties68);
            picture68.Append(blipFill68);
            picture68.Append(shapeProperties70);
            Xdr.ClientData clientData68 = new Xdr.ClientData();

            twoCellAnchor68.Append(fromMarker68);
            twoCellAnchor68.Append(toMarker68);
            twoCellAnchor68.Append(picture68);
            twoCellAnchor68.Append(clientData68);

            Xdr.TwoCellAnchor twoCellAnchor69 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker69 = new Xdr.FromMarker();
            Xdr.ColumnId columnId137 = new Xdr.ColumnId();
            columnId137.Text = "1";
            Xdr.ColumnOffset columnOffset137 = new Xdr.ColumnOffset();
            columnOffset137.Text = "0";
            Xdr.RowId rowId137 = new Xdr.RowId();
            rowId137.Text = "13";
            Xdr.RowOffset rowOffset137 = new Xdr.RowOffset();
            rowOffset137.Text = "0";

            fromMarker69.Append(columnId137);
            fromMarker69.Append(columnOffset137);
            fromMarker69.Append(rowId137);
            fromMarker69.Append(rowOffset137);

            Xdr.ToMarker toMarker69 = new Xdr.ToMarker();
            Xdr.ColumnId columnId138 = new Xdr.ColumnId();
            columnId138.Text = "3";
            Xdr.ColumnOffset columnOffset138 = new Xdr.ColumnOffset();
            columnOffset138.Text = "0";
            Xdr.RowId rowId138 = new Xdr.RowId();
            rowId138.Text = "13";
            Xdr.RowOffset rowOffset138 = new Xdr.RowOffset();
            rowOffset138.Text = "0";

            toMarker69.Append(columnId138);
            toMarker69.Append(columnOffset138);
            toMarker69.Append(rowId138);
            toMarker69.Append(rowOffset138);

            Xdr.Picture picture69 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties69 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties69 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2934U, Name = "Picture 317" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties69 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks69 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties69.Append(pictureLocks69);

            nonVisualPictureProperties69.Append(nonVisualDrawingProperties69);
            nonVisualPictureProperties69.Append(nonVisualPictureDrawingProperties69);

            Xdr.BlipFill blipFill69 = new Xdr.BlipFill();

            A.Blip blip69 = new A.Blip() { Embed = "rId1" };
            blip69.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle69 = new A.SourceRectangle();

            A.Stretch stretch69 = new A.Stretch();
            A.FillRectangle fillRectangle69 = new A.FillRectangle();

            stretch69.Append(fillRectangle69);

            blipFill69.Append(blip69);
            blipFill69.Append(sourceRectangle69);
            blipFill69.Append(stretch69);

            Xdr.ShapeProperties shapeProperties71 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D71 = new A.Transform2D();
            A.Offset offset71 = new A.Offset() { X = 581025L, Y = 2676525L };
            A.Extents extents71 = new A.Extents() { Cx = 2819400L, Cy = 0L };

            transform2D71.Append(offset71);
            transform2D71.Append(extents71);

            A.PresetGeometry presetGeometry69 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList71 = new A.AdjustValueList();

            presetGeometry69.Append(adjustValueList71);
            A.NoFill noFill137 = new A.NoFill();

            A.Outline outline74 = new A.Outline() { Width = 9525 };
            A.NoFill noFill138 = new A.NoFill();
            A.Miter miter69 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd71 = new A.HeadEnd();
            A.TailEnd tailEnd71 = new A.TailEnd();

            outline74.Append(noFill138);
            outline74.Append(miter69);
            outline74.Append(headEnd71);
            outline74.Append(tailEnd71);

            shapeProperties71.Append(transform2D71);
            shapeProperties71.Append(presetGeometry69);
            shapeProperties71.Append(noFill137);
            shapeProperties71.Append(outline74);

            picture69.Append(nonVisualPictureProperties69);
            picture69.Append(blipFill69);
            picture69.Append(shapeProperties71);
            Xdr.ClientData clientData69 = new Xdr.ClientData();

            twoCellAnchor69.Append(fromMarker69);
            twoCellAnchor69.Append(toMarker69);
            twoCellAnchor69.Append(picture69);
            twoCellAnchor69.Append(clientData69);

            Xdr.TwoCellAnchor twoCellAnchor70 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker70 = new Xdr.FromMarker();
            Xdr.ColumnId columnId139 = new Xdr.ColumnId();
            columnId139.Text = "1";
            Xdr.ColumnOffset columnOffset139 = new Xdr.ColumnOffset();
            columnOffset139.Text = "19050";
            Xdr.RowId rowId139 = new Xdr.RowId();
            rowId139.Text = "13";
            Xdr.RowOffset rowOffset139 = new Xdr.RowOffset();
            rowOffset139.Text = "0";

            fromMarker70.Append(columnId139);
            fromMarker70.Append(columnOffset139);
            fromMarker70.Append(rowId139);
            fromMarker70.Append(rowOffset139);

            Xdr.ToMarker toMarker70 = new Xdr.ToMarker();
            Xdr.ColumnId columnId140 = new Xdr.ColumnId();
            columnId140.Text = "3";
            Xdr.ColumnOffset columnOffset140 = new Xdr.ColumnOffset();
            columnOffset140.Text = "0";
            Xdr.RowId rowId140 = new Xdr.RowId();
            rowId140.Text = "13";
            Xdr.RowOffset rowOffset140 = new Xdr.RowOffset();
            rowOffset140.Text = "0";

            toMarker70.Append(columnId140);
            toMarker70.Append(columnOffset140);
            toMarker70.Append(rowId140);
            toMarker70.Append(rowOffset140);

            Xdr.Picture picture70 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties70 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties70 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2935U, Name = "Picture 318" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties70 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks70 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties70.Append(pictureLocks70);

            nonVisualPictureProperties70.Append(nonVisualDrawingProperties70);
            nonVisualPictureProperties70.Append(nonVisualPictureDrawingProperties70);

            Xdr.BlipFill blipFill70 = new Xdr.BlipFill();

            A.Blip blip70 = new A.Blip() { Embed = "rId1" };
            blip70.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle70 = new A.SourceRectangle();

            A.Stretch stretch70 = new A.Stretch();
            A.FillRectangle fillRectangle70 = new A.FillRectangle();

            stretch70.Append(fillRectangle70);

            blipFill70.Append(blip70);
            blipFill70.Append(sourceRectangle70);
            blipFill70.Append(stretch70);

            Xdr.ShapeProperties shapeProperties72 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D72 = new A.Transform2D();
            A.Offset offset72 = new A.Offset() { X = 600075L, Y = 2676525L };
            A.Extents extents72 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D72.Append(offset72);
            transform2D72.Append(extents72);

            A.PresetGeometry presetGeometry70 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList72 = new A.AdjustValueList();

            presetGeometry70.Append(adjustValueList72);
            A.NoFill noFill139 = new A.NoFill();

            A.Outline outline75 = new A.Outline() { Width = 9525 };
            A.NoFill noFill140 = new A.NoFill();
            A.Miter miter70 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd72 = new A.HeadEnd();
            A.TailEnd tailEnd72 = new A.TailEnd();

            outline75.Append(noFill140);
            outline75.Append(miter70);
            outline75.Append(headEnd72);
            outline75.Append(tailEnd72);

            shapeProperties72.Append(transform2D72);
            shapeProperties72.Append(presetGeometry70);
            shapeProperties72.Append(noFill139);
            shapeProperties72.Append(outline75);

            picture70.Append(nonVisualPictureProperties70);
            picture70.Append(blipFill70);
            picture70.Append(shapeProperties72);
            Xdr.ClientData clientData70 = new Xdr.ClientData();

            twoCellAnchor70.Append(fromMarker70);
            twoCellAnchor70.Append(toMarker70);
            twoCellAnchor70.Append(picture70);
            twoCellAnchor70.Append(clientData70);

            Xdr.TwoCellAnchor twoCellAnchor71 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker71 = new Xdr.FromMarker();
            Xdr.ColumnId columnId141 = new Xdr.ColumnId();
            columnId141.Text = "1";
            Xdr.ColumnOffset columnOffset141 = new Xdr.ColumnOffset();
            columnOffset141.Text = "19050";
            Xdr.RowId rowId141 = new Xdr.RowId();
            rowId141.Text = "13";
            Xdr.RowOffset rowOffset141 = new Xdr.RowOffset();
            rowOffset141.Text = "0";

            fromMarker71.Append(columnId141);
            fromMarker71.Append(columnOffset141);
            fromMarker71.Append(rowId141);
            fromMarker71.Append(rowOffset141);

            Xdr.ToMarker toMarker71 = new Xdr.ToMarker();
            Xdr.ColumnId columnId142 = new Xdr.ColumnId();
            columnId142.Text = "3";
            Xdr.ColumnOffset columnOffset142 = new Xdr.ColumnOffset();
            columnOffset142.Text = "0";
            Xdr.RowId rowId142 = new Xdr.RowId();
            rowId142.Text = "13";
            Xdr.RowOffset rowOffset142 = new Xdr.RowOffset();
            rowOffset142.Text = "0";

            toMarker71.Append(columnId142);
            toMarker71.Append(columnOffset142);
            toMarker71.Append(rowId142);
            toMarker71.Append(rowOffset142);

            Xdr.Picture picture71 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties71 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties71 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2936U, Name = "Picture 319" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties71 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks71 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties71.Append(pictureLocks71);

            nonVisualPictureProperties71.Append(nonVisualDrawingProperties71);
            nonVisualPictureProperties71.Append(nonVisualPictureDrawingProperties71);

            Xdr.BlipFill blipFill71 = new Xdr.BlipFill();

            A.Blip blip71 = new A.Blip() { Embed = "rId1" };
            blip71.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle71 = new A.SourceRectangle();

            A.Stretch stretch71 = new A.Stretch();
            A.FillRectangle fillRectangle71 = new A.FillRectangle();

            stretch71.Append(fillRectangle71);

            blipFill71.Append(blip71);
            blipFill71.Append(sourceRectangle71);
            blipFill71.Append(stretch71);

            Xdr.ShapeProperties shapeProperties73 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D73 = new A.Transform2D();
            A.Offset offset73 = new A.Offset() { X = 600075L, Y = 2676525L };
            A.Extents extents73 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D73.Append(offset73);
            transform2D73.Append(extents73);

            A.PresetGeometry presetGeometry71 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList73 = new A.AdjustValueList();

            presetGeometry71.Append(adjustValueList73);
            A.NoFill noFill141 = new A.NoFill();

            A.Outline outline76 = new A.Outline() { Width = 9525 };
            A.NoFill noFill142 = new A.NoFill();
            A.Miter miter71 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd73 = new A.HeadEnd();
            A.TailEnd tailEnd73 = new A.TailEnd();

            outline76.Append(noFill142);
            outline76.Append(miter71);
            outline76.Append(headEnd73);
            outline76.Append(tailEnd73);

            shapeProperties73.Append(transform2D73);
            shapeProperties73.Append(presetGeometry71);
            shapeProperties73.Append(noFill141);
            shapeProperties73.Append(outline76);

            picture71.Append(nonVisualPictureProperties71);
            picture71.Append(blipFill71);
            picture71.Append(shapeProperties73);
            Xdr.ClientData clientData71 = new Xdr.ClientData();

            twoCellAnchor71.Append(fromMarker71);
            twoCellAnchor71.Append(toMarker71);
            twoCellAnchor71.Append(picture71);
            twoCellAnchor71.Append(clientData71);

            Xdr.TwoCellAnchor twoCellAnchor72 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker72 = new Xdr.FromMarker();
            Xdr.ColumnId columnId143 = new Xdr.ColumnId();
            columnId143.Text = "1";
            Xdr.ColumnOffset columnOffset143 = new Xdr.ColumnOffset();
            columnOffset143.Text = "19050";
            Xdr.RowId rowId143 = new Xdr.RowId();
            rowId143.Text = "13";
            Xdr.RowOffset rowOffset143 = new Xdr.RowOffset();
            rowOffset143.Text = "0";

            fromMarker72.Append(columnId143);
            fromMarker72.Append(columnOffset143);
            fromMarker72.Append(rowId143);
            fromMarker72.Append(rowOffset143);

            Xdr.ToMarker toMarker72 = new Xdr.ToMarker();
            Xdr.ColumnId columnId144 = new Xdr.ColumnId();
            columnId144.Text = "3";
            Xdr.ColumnOffset columnOffset144 = new Xdr.ColumnOffset();
            columnOffset144.Text = "0";
            Xdr.RowId rowId144 = new Xdr.RowId();
            rowId144.Text = "13";
            Xdr.RowOffset rowOffset144 = new Xdr.RowOffset();
            rowOffset144.Text = "0";

            toMarker72.Append(columnId144);
            toMarker72.Append(columnOffset144);
            toMarker72.Append(rowId144);
            toMarker72.Append(rowOffset144);

            Xdr.Picture picture72 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties72 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties72 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2937U, Name = "Picture 320" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties72 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks72 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties72.Append(pictureLocks72);

            nonVisualPictureProperties72.Append(nonVisualDrawingProperties72);
            nonVisualPictureProperties72.Append(nonVisualPictureDrawingProperties72);

            Xdr.BlipFill blipFill72 = new Xdr.BlipFill();

            A.Blip blip72 = new A.Blip() { Embed = "rId1" };
            blip72.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle72 = new A.SourceRectangle();

            A.Stretch stretch72 = new A.Stretch();
            A.FillRectangle fillRectangle72 = new A.FillRectangle();

            stretch72.Append(fillRectangle72);

            blipFill72.Append(blip72);
            blipFill72.Append(sourceRectangle72);
            blipFill72.Append(stretch72);

            Xdr.ShapeProperties shapeProperties74 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D74 = new A.Transform2D();
            A.Offset offset74 = new A.Offset() { X = 600075L, Y = 2676525L };
            A.Extents extents74 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D74.Append(offset74);
            transform2D74.Append(extents74);

            A.PresetGeometry presetGeometry72 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList74 = new A.AdjustValueList();

            presetGeometry72.Append(adjustValueList74);
            A.NoFill noFill143 = new A.NoFill();

            A.Outline outline77 = new A.Outline() { Width = 9525 };
            A.NoFill noFill144 = new A.NoFill();
            A.Miter miter72 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd74 = new A.HeadEnd();
            A.TailEnd tailEnd74 = new A.TailEnd();

            outline77.Append(noFill144);
            outline77.Append(miter72);
            outline77.Append(headEnd74);
            outline77.Append(tailEnd74);

            shapeProperties74.Append(transform2D74);
            shapeProperties74.Append(presetGeometry72);
            shapeProperties74.Append(noFill143);
            shapeProperties74.Append(outline77);

            picture72.Append(nonVisualPictureProperties72);
            picture72.Append(blipFill72);
            picture72.Append(shapeProperties74);
            Xdr.ClientData clientData72 = new Xdr.ClientData();

            twoCellAnchor72.Append(fromMarker72);
            twoCellAnchor72.Append(toMarker72);
            twoCellAnchor72.Append(picture72);
            twoCellAnchor72.Append(clientData72);

            Xdr.TwoCellAnchor twoCellAnchor73 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker73 = new Xdr.FromMarker();
            Xdr.ColumnId columnId145 = new Xdr.ColumnId();
            columnId145.Text = "1";
            Xdr.ColumnOffset columnOffset145 = new Xdr.ColumnOffset();
            columnOffset145.Text = "19050";
            Xdr.RowId rowId145 = new Xdr.RowId();
            rowId145.Text = "13";
            Xdr.RowOffset rowOffset145 = new Xdr.RowOffset();
            rowOffset145.Text = "0";

            fromMarker73.Append(columnId145);
            fromMarker73.Append(columnOffset145);
            fromMarker73.Append(rowId145);
            fromMarker73.Append(rowOffset145);

            Xdr.ToMarker toMarker73 = new Xdr.ToMarker();
            Xdr.ColumnId columnId146 = new Xdr.ColumnId();
            columnId146.Text = "3";
            Xdr.ColumnOffset columnOffset146 = new Xdr.ColumnOffset();
            columnOffset146.Text = "0";
            Xdr.RowId rowId146 = new Xdr.RowId();
            rowId146.Text = "13";
            Xdr.RowOffset rowOffset146 = new Xdr.RowOffset();
            rowOffset146.Text = "0";

            toMarker73.Append(columnId146);
            toMarker73.Append(columnOffset146);
            toMarker73.Append(rowId146);
            toMarker73.Append(rowOffset146);

            Xdr.Picture picture73 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties73 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties73 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2938U, Name = "Picture 321" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties73 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks73 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties73.Append(pictureLocks73);

            nonVisualPictureProperties73.Append(nonVisualDrawingProperties73);
            nonVisualPictureProperties73.Append(nonVisualPictureDrawingProperties73);

            Xdr.BlipFill blipFill73 = new Xdr.BlipFill();

            A.Blip blip73 = new A.Blip() { Embed = "rId1" };
            blip73.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle73 = new A.SourceRectangle();

            A.Stretch stretch73 = new A.Stretch();
            A.FillRectangle fillRectangle73 = new A.FillRectangle();

            stretch73.Append(fillRectangle73);

            blipFill73.Append(blip73);
            blipFill73.Append(sourceRectangle73);
            blipFill73.Append(stretch73);

            Xdr.ShapeProperties shapeProperties75 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D75 = new A.Transform2D();
            A.Offset offset75 = new A.Offset() { X = 600075L, Y = 2676525L };
            A.Extents extents75 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D75.Append(offset75);
            transform2D75.Append(extents75);

            A.PresetGeometry presetGeometry73 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList75 = new A.AdjustValueList();

            presetGeometry73.Append(adjustValueList75);
            A.NoFill noFill145 = new A.NoFill();

            A.Outline outline78 = new A.Outline() { Width = 9525 };
            A.NoFill noFill146 = new A.NoFill();
            A.Miter miter73 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd75 = new A.HeadEnd();
            A.TailEnd tailEnd75 = new A.TailEnd();

            outline78.Append(noFill146);
            outline78.Append(miter73);
            outline78.Append(headEnd75);
            outline78.Append(tailEnd75);

            shapeProperties75.Append(transform2D75);
            shapeProperties75.Append(presetGeometry73);
            shapeProperties75.Append(noFill145);
            shapeProperties75.Append(outline78);

            picture73.Append(nonVisualPictureProperties73);
            picture73.Append(blipFill73);
            picture73.Append(shapeProperties75);
            Xdr.ClientData clientData73 = new Xdr.ClientData();

            twoCellAnchor73.Append(fromMarker73);
            twoCellAnchor73.Append(toMarker73);
            twoCellAnchor73.Append(picture73);
            twoCellAnchor73.Append(clientData73);

            Xdr.TwoCellAnchor twoCellAnchor74 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker74 = new Xdr.FromMarker();
            Xdr.ColumnId columnId147 = new Xdr.ColumnId();
            columnId147.Text = "1";
            Xdr.ColumnOffset columnOffset147 = new Xdr.ColumnOffset();
            columnOffset147.Text = "19050";
            Xdr.RowId rowId147 = new Xdr.RowId();
            rowId147.Text = "13";
            Xdr.RowOffset rowOffset147 = new Xdr.RowOffset();
            rowOffset147.Text = "0";

            fromMarker74.Append(columnId147);
            fromMarker74.Append(columnOffset147);
            fromMarker74.Append(rowId147);
            fromMarker74.Append(rowOffset147);

            Xdr.ToMarker toMarker74 = new Xdr.ToMarker();
            Xdr.ColumnId columnId148 = new Xdr.ColumnId();
            columnId148.Text = "3";
            Xdr.ColumnOffset columnOffset148 = new Xdr.ColumnOffset();
            columnOffset148.Text = "0";
            Xdr.RowId rowId148 = new Xdr.RowId();
            rowId148.Text = "13";
            Xdr.RowOffset rowOffset148 = new Xdr.RowOffset();
            rowOffset148.Text = "0";

            toMarker74.Append(columnId148);
            toMarker74.Append(columnOffset148);
            toMarker74.Append(rowId148);
            toMarker74.Append(rowOffset148);

            Xdr.Picture picture74 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties74 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties74 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2939U, Name = "Picture 322" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties74 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks74 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties74.Append(pictureLocks74);

            nonVisualPictureProperties74.Append(nonVisualDrawingProperties74);
            nonVisualPictureProperties74.Append(nonVisualPictureDrawingProperties74);

            Xdr.BlipFill blipFill74 = new Xdr.BlipFill();

            A.Blip blip74 = new A.Blip() { Embed = "rId1" };
            blip74.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle74 = new A.SourceRectangle();

            A.Stretch stretch74 = new A.Stretch();
            A.FillRectangle fillRectangle74 = new A.FillRectangle();

            stretch74.Append(fillRectangle74);

            blipFill74.Append(blip74);
            blipFill74.Append(sourceRectangle74);
            blipFill74.Append(stretch74);

            Xdr.ShapeProperties shapeProperties76 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D76 = new A.Transform2D();
            A.Offset offset76 = new A.Offset() { X = 600075L, Y = 2676525L };
            A.Extents extents76 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D76.Append(offset76);
            transform2D76.Append(extents76);

            A.PresetGeometry presetGeometry74 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList76 = new A.AdjustValueList();

            presetGeometry74.Append(adjustValueList76);
            A.NoFill noFill147 = new A.NoFill();

            A.Outline outline79 = new A.Outline() { Width = 9525 };
            A.NoFill noFill148 = new A.NoFill();
            A.Miter miter74 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd76 = new A.HeadEnd();
            A.TailEnd tailEnd76 = new A.TailEnd();

            outline79.Append(noFill148);
            outline79.Append(miter74);
            outline79.Append(headEnd76);
            outline79.Append(tailEnd76);

            shapeProperties76.Append(transform2D76);
            shapeProperties76.Append(presetGeometry74);
            shapeProperties76.Append(noFill147);
            shapeProperties76.Append(outline79);

            picture74.Append(nonVisualPictureProperties74);
            picture74.Append(blipFill74);
            picture74.Append(shapeProperties76);
            Xdr.ClientData clientData74 = new Xdr.ClientData();

            twoCellAnchor74.Append(fromMarker74);
            twoCellAnchor74.Append(toMarker74);
            twoCellAnchor74.Append(picture74);
            twoCellAnchor74.Append(clientData74);

            Xdr.TwoCellAnchor twoCellAnchor75 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker75 = new Xdr.FromMarker();
            Xdr.ColumnId columnId149 = new Xdr.ColumnId();
            columnId149.Text = "1";
            Xdr.ColumnOffset columnOffset149 = new Xdr.ColumnOffset();
            columnOffset149.Text = "19050";
            Xdr.RowId rowId149 = new Xdr.RowId();
            rowId149.Text = "13";
            Xdr.RowOffset rowOffset149 = new Xdr.RowOffset();
            rowOffset149.Text = "0";

            fromMarker75.Append(columnId149);
            fromMarker75.Append(columnOffset149);
            fromMarker75.Append(rowId149);
            fromMarker75.Append(rowOffset149);

            Xdr.ToMarker toMarker75 = new Xdr.ToMarker();
            Xdr.ColumnId columnId150 = new Xdr.ColumnId();
            columnId150.Text = "3";
            Xdr.ColumnOffset columnOffset150 = new Xdr.ColumnOffset();
            columnOffset150.Text = "0";
            Xdr.RowId rowId150 = new Xdr.RowId();
            rowId150.Text = "13";
            Xdr.RowOffset rowOffset150 = new Xdr.RowOffset();
            rowOffset150.Text = "0";

            toMarker75.Append(columnId150);
            toMarker75.Append(columnOffset150);
            toMarker75.Append(rowId150);
            toMarker75.Append(rowOffset150);

            Xdr.Picture picture75 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties75 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties75 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2940U, Name = "Picture 323" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties75 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks75 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties75.Append(pictureLocks75);

            nonVisualPictureProperties75.Append(nonVisualDrawingProperties75);
            nonVisualPictureProperties75.Append(nonVisualPictureDrawingProperties75);

            Xdr.BlipFill blipFill75 = new Xdr.BlipFill();

            A.Blip blip75 = new A.Blip() { Embed = "rId1" };
            blip75.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle75 = new A.SourceRectangle();

            A.Stretch stretch75 = new A.Stretch();
            A.FillRectangle fillRectangle75 = new A.FillRectangle();

            stretch75.Append(fillRectangle75);

            blipFill75.Append(blip75);
            blipFill75.Append(sourceRectangle75);
            blipFill75.Append(stretch75);

            Xdr.ShapeProperties shapeProperties77 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D77 = new A.Transform2D();
            A.Offset offset77 = new A.Offset() { X = 600075L, Y = 2676525L };
            A.Extents extents77 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D77.Append(offset77);
            transform2D77.Append(extents77);

            A.PresetGeometry presetGeometry75 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList77 = new A.AdjustValueList();

            presetGeometry75.Append(adjustValueList77);
            A.NoFill noFill149 = new A.NoFill();

            A.Outline outline80 = new A.Outline() { Width = 9525 };
            A.NoFill noFill150 = new A.NoFill();
            A.Miter miter75 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd77 = new A.HeadEnd();
            A.TailEnd tailEnd77 = new A.TailEnd();

            outline80.Append(noFill150);
            outline80.Append(miter75);
            outline80.Append(headEnd77);
            outline80.Append(tailEnd77);

            shapeProperties77.Append(transform2D77);
            shapeProperties77.Append(presetGeometry75);
            shapeProperties77.Append(noFill149);
            shapeProperties77.Append(outline80);

            picture75.Append(nonVisualPictureProperties75);
            picture75.Append(blipFill75);
            picture75.Append(shapeProperties77);
            Xdr.ClientData clientData75 = new Xdr.ClientData();

            twoCellAnchor75.Append(fromMarker75);
            twoCellAnchor75.Append(toMarker75);
            twoCellAnchor75.Append(picture75);
            twoCellAnchor75.Append(clientData75);

            Xdr.TwoCellAnchor twoCellAnchor76 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker76 = new Xdr.FromMarker();
            Xdr.ColumnId columnId151 = new Xdr.ColumnId();
            columnId151.Text = "1";
            Xdr.ColumnOffset columnOffset151 = new Xdr.ColumnOffset();
            columnOffset151.Text = "19050";
            Xdr.RowId rowId151 = new Xdr.RowId();
            rowId151.Text = "13";
            Xdr.RowOffset rowOffset151 = new Xdr.RowOffset();
            rowOffset151.Text = "0";

            fromMarker76.Append(columnId151);
            fromMarker76.Append(columnOffset151);
            fromMarker76.Append(rowId151);
            fromMarker76.Append(rowOffset151);

            Xdr.ToMarker toMarker76 = new Xdr.ToMarker();
            Xdr.ColumnId columnId152 = new Xdr.ColumnId();
            columnId152.Text = "3";
            Xdr.ColumnOffset columnOffset152 = new Xdr.ColumnOffset();
            columnOffset152.Text = "0";
            Xdr.RowId rowId152 = new Xdr.RowId();
            rowId152.Text = "13";
            Xdr.RowOffset rowOffset152 = new Xdr.RowOffset();
            rowOffset152.Text = "0";

            toMarker76.Append(columnId152);
            toMarker76.Append(columnOffset152);
            toMarker76.Append(rowId152);
            toMarker76.Append(rowOffset152);

            Xdr.Picture picture76 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties76 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties76 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2941U, Name = "Picture 324" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties76 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks76 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties76.Append(pictureLocks76);

            nonVisualPictureProperties76.Append(nonVisualDrawingProperties76);
            nonVisualPictureProperties76.Append(nonVisualPictureDrawingProperties76);

            Xdr.BlipFill blipFill76 = new Xdr.BlipFill();

            A.Blip blip76 = new A.Blip() { Embed = "rId1" };
            blip76.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle76 = new A.SourceRectangle();

            A.Stretch stretch76 = new A.Stretch();
            A.FillRectangle fillRectangle76 = new A.FillRectangle();

            stretch76.Append(fillRectangle76);

            blipFill76.Append(blip76);
            blipFill76.Append(sourceRectangle76);
            blipFill76.Append(stretch76);

            Xdr.ShapeProperties shapeProperties78 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D78 = new A.Transform2D();
            A.Offset offset78 = new A.Offset() { X = 600075L, Y = 2676525L };
            A.Extents extents78 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D78.Append(offset78);
            transform2D78.Append(extents78);

            A.PresetGeometry presetGeometry76 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList78 = new A.AdjustValueList();

            presetGeometry76.Append(adjustValueList78);
            A.NoFill noFill151 = new A.NoFill();

            A.Outline outline81 = new A.Outline() { Width = 9525 };
            A.NoFill noFill152 = new A.NoFill();
            A.Miter miter76 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd78 = new A.HeadEnd();
            A.TailEnd tailEnd78 = new A.TailEnd();

            outline81.Append(noFill152);
            outline81.Append(miter76);
            outline81.Append(headEnd78);
            outline81.Append(tailEnd78);

            shapeProperties78.Append(transform2D78);
            shapeProperties78.Append(presetGeometry76);
            shapeProperties78.Append(noFill151);
            shapeProperties78.Append(outline81);

            picture76.Append(nonVisualPictureProperties76);
            picture76.Append(blipFill76);
            picture76.Append(shapeProperties78);
            Xdr.ClientData clientData76 = new Xdr.ClientData();

            twoCellAnchor76.Append(fromMarker76);
            twoCellAnchor76.Append(toMarker76);
            twoCellAnchor76.Append(picture76);
            twoCellAnchor76.Append(clientData76);

            Xdr.TwoCellAnchor twoCellAnchor77 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker77 = new Xdr.FromMarker();
            Xdr.ColumnId columnId153 = new Xdr.ColumnId();
            columnId153.Text = "1";
            Xdr.ColumnOffset columnOffset153 = new Xdr.ColumnOffset();
            columnOffset153.Text = "19050";
            Xdr.RowId rowId153 = new Xdr.RowId();
            rowId153.Text = "13";
            Xdr.RowOffset rowOffset153 = new Xdr.RowOffset();
            rowOffset153.Text = "0";

            fromMarker77.Append(columnId153);
            fromMarker77.Append(columnOffset153);
            fromMarker77.Append(rowId153);
            fromMarker77.Append(rowOffset153);

            Xdr.ToMarker toMarker77 = new Xdr.ToMarker();
            Xdr.ColumnId columnId154 = new Xdr.ColumnId();
            columnId154.Text = "3";
            Xdr.ColumnOffset columnOffset154 = new Xdr.ColumnOffset();
            columnOffset154.Text = "0";
            Xdr.RowId rowId154 = new Xdr.RowId();
            rowId154.Text = "13";
            Xdr.RowOffset rowOffset154 = new Xdr.RowOffset();
            rowOffset154.Text = "0";

            toMarker77.Append(columnId154);
            toMarker77.Append(columnOffset154);
            toMarker77.Append(rowId154);
            toMarker77.Append(rowOffset154);

            Xdr.Picture picture77 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties77 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties77 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2942U, Name = "Picture 325" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties77 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks77 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties77.Append(pictureLocks77);

            nonVisualPictureProperties77.Append(nonVisualDrawingProperties77);
            nonVisualPictureProperties77.Append(nonVisualPictureDrawingProperties77);

            Xdr.BlipFill blipFill77 = new Xdr.BlipFill();

            A.Blip blip77 = new A.Blip() { Embed = "rId1" };
            blip77.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle77 = new A.SourceRectangle();

            A.Stretch stretch77 = new A.Stretch();
            A.FillRectangle fillRectangle77 = new A.FillRectangle();

            stretch77.Append(fillRectangle77);

            blipFill77.Append(blip77);
            blipFill77.Append(sourceRectangle77);
            blipFill77.Append(stretch77);

            Xdr.ShapeProperties shapeProperties79 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D79 = new A.Transform2D();
            A.Offset offset79 = new A.Offset() { X = 600075L, Y = 2676525L };
            A.Extents extents79 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D79.Append(offset79);
            transform2D79.Append(extents79);

            A.PresetGeometry presetGeometry77 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList79 = new A.AdjustValueList();

            presetGeometry77.Append(adjustValueList79);
            A.NoFill noFill153 = new A.NoFill();

            A.Outline outline82 = new A.Outline() { Width = 9525 };
            A.NoFill noFill154 = new A.NoFill();
            A.Miter miter77 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd79 = new A.HeadEnd();
            A.TailEnd tailEnd79 = new A.TailEnd();

            outline82.Append(noFill154);
            outline82.Append(miter77);
            outline82.Append(headEnd79);
            outline82.Append(tailEnd79);

            shapeProperties79.Append(transform2D79);
            shapeProperties79.Append(presetGeometry77);
            shapeProperties79.Append(noFill153);
            shapeProperties79.Append(outline82);

            picture77.Append(nonVisualPictureProperties77);
            picture77.Append(blipFill77);
            picture77.Append(shapeProperties79);
            Xdr.ClientData clientData77 = new Xdr.ClientData();

            twoCellAnchor77.Append(fromMarker77);
            twoCellAnchor77.Append(toMarker77);
            twoCellAnchor77.Append(picture77);
            twoCellAnchor77.Append(clientData77);

            Xdr.TwoCellAnchor twoCellAnchor78 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker78 = new Xdr.FromMarker();
            Xdr.ColumnId columnId155 = new Xdr.ColumnId();
            columnId155.Text = "1";
            Xdr.ColumnOffset columnOffset155 = new Xdr.ColumnOffset();
            columnOffset155.Text = "19050";
            Xdr.RowId rowId155 = new Xdr.RowId();
            rowId155.Text = "13";
            Xdr.RowOffset rowOffset155 = new Xdr.RowOffset();
            rowOffset155.Text = "0";

            fromMarker78.Append(columnId155);
            fromMarker78.Append(columnOffset155);
            fromMarker78.Append(rowId155);
            fromMarker78.Append(rowOffset155);

            Xdr.ToMarker toMarker78 = new Xdr.ToMarker();
            Xdr.ColumnId columnId156 = new Xdr.ColumnId();
            columnId156.Text = "3";
            Xdr.ColumnOffset columnOffset156 = new Xdr.ColumnOffset();
            columnOffset156.Text = "0";
            Xdr.RowId rowId156 = new Xdr.RowId();
            rowId156.Text = "13";
            Xdr.RowOffset rowOffset156 = new Xdr.RowOffset();
            rowOffset156.Text = "0";

            toMarker78.Append(columnId156);
            toMarker78.Append(columnOffset156);
            toMarker78.Append(rowId156);
            toMarker78.Append(rowOffset156);

            Xdr.Picture picture78 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties78 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties78 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2943U, Name = "Picture 326" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties78 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks78 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties78.Append(pictureLocks78);

            nonVisualPictureProperties78.Append(nonVisualDrawingProperties78);
            nonVisualPictureProperties78.Append(nonVisualPictureDrawingProperties78);

            Xdr.BlipFill blipFill78 = new Xdr.BlipFill();

            A.Blip blip78 = new A.Blip() { Embed = "rId1" };
            blip78.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle78 = new A.SourceRectangle();

            A.Stretch stretch78 = new A.Stretch();
            A.FillRectangle fillRectangle78 = new A.FillRectangle();

            stretch78.Append(fillRectangle78);

            blipFill78.Append(blip78);
            blipFill78.Append(sourceRectangle78);
            blipFill78.Append(stretch78);

            Xdr.ShapeProperties shapeProperties80 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D80 = new A.Transform2D();
            A.Offset offset80 = new A.Offset() { X = 600075L, Y = 2676525L };
            A.Extents extents80 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D80.Append(offset80);
            transform2D80.Append(extents80);

            A.PresetGeometry presetGeometry78 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList80 = new A.AdjustValueList();

            presetGeometry78.Append(adjustValueList80);
            A.NoFill noFill155 = new A.NoFill();

            A.Outline outline83 = new A.Outline() { Width = 9525 };
            A.NoFill noFill156 = new A.NoFill();
            A.Miter miter78 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd80 = new A.HeadEnd();
            A.TailEnd tailEnd80 = new A.TailEnd();

            outline83.Append(noFill156);
            outline83.Append(miter78);
            outline83.Append(headEnd80);
            outline83.Append(tailEnd80);

            shapeProperties80.Append(transform2D80);
            shapeProperties80.Append(presetGeometry78);
            shapeProperties80.Append(noFill155);
            shapeProperties80.Append(outline83);

            picture78.Append(nonVisualPictureProperties78);
            picture78.Append(blipFill78);
            picture78.Append(shapeProperties80);
            Xdr.ClientData clientData78 = new Xdr.ClientData();

            twoCellAnchor78.Append(fromMarker78);
            twoCellAnchor78.Append(toMarker78);
            twoCellAnchor78.Append(picture78);
            twoCellAnchor78.Append(clientData78);

            Xdr.TwoCellAnchor twoCellAnchor79 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker79 = new Xdr.FromMarker();
            Xdr.ColumnId columnId157 = new Xdr.ColumnId();
            columnId157.Text = "1";
            Xdr.ColumnOffset columnOffset157 = new Xdr.ColumnOffset();
            columnOffset157.Text = "0";
            Xdr.RowId rowId157 = new Xdr.RowId();
            rowId157.Text = "13";
            Xdr.RowOffset rowOffset157 = new Xdr.RowOffset();
            rowOffset157.Text = "0";

            fromMarker79.Append(columnId157);
            fromMarker79.Append(columnOffset157);
            fromMarker79.Append(rowId157);
            fromMarker79.Append(rowOffset157);

            Xdr.ToMarker toMarker79 = new Xdr.ToMarker();
            Xdr.ColumnId columnId158 = new Xdr.ColumnId();
            columnId158.Text = "3";
            Xdr.ColumnOffset columnOffset158 = new Xdr.ColumnOffset();
            columnOffset158.Text = "0";
            Xdr.RowId rowId158 = new Xdr.RowId();
            rowId158.Text = "13";
            Xdr.RowOffset rowOffset158 = new Xdr.RowOffset();
            rowOffset158.Text = "0";

            toMarker79.Append(columnId158);
            toMarker79.Append(columnOffset158);
            toMarker79.Append(rowId158);
            toMarker79.Append(rowOffset158);

            Xdr.Picture picture79 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties79 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties79 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2944U, Name = "Picture 327" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties79 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks79 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties79.Append(pictureLocks79);

            nonVisualPictureProperties79.Append(nonVisualDrawingProperties79);
            nonVisualPictureProperties79.Append(nonVisualPictureDrawingProperties79);

            Xdr.BlipFill blipFill79 = new Xdr.BlipFill();

            A.Blip blip79 = new A.Blip() { Embed = "rId1" };
            blip79.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle79 = new A.SourceRectangle();

            A.Stretch stretch79 = new A.Stretch();
            A.FillRectangle fillRectangle79 = new A.FillRectangle();

            stretch79.Append(fillRectangle79);

            blipFill79.Append(blip79);
            blipFill79.Append(sourceRectangle79);
            blipFill79.Append(stretch79);

            Xdr.ShapeProperties shapeProperties81 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D81 = new A.Transform2D();
            A.Offset offset81 = new A.Offset() { X = 581025L, Y = 2676525L };
            A.Extents extents81 = new A.Extents() { Cx = 2819400L, Cy = 0L };

            transform2D81.Append(offset81);
            transform2D81.Append(extents81);

            A.PresetGeometry presetGeometry79 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList81 = new A.AdjustValueList();

            presetGeometry79.Append(adjustValueList81);
            A.NoFill noFill157 = new A.NoFill();

            A.Outline outline84 = new A.Outline() { Width = 9525 };
            A.NoFill noFill158 = new A.NoFill();
            A.Miter miter79 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd81 = new A.HeadEnd();
            A.TailEnd tailEnd81 = new A.TailEnd();

            outline84.Append(noFill158);
            outline84.Append(miter79);
            outline84.Append(headEnd81);
            outline84.Append(tailEnd81);

            shapeProperties81.Append(transform2D81);
            shapeProperties81.Append(presetGeometry79);
            shapeProperties81.Append(noFill157);
            shapeProperties81.Append(outline84);

            picture79.Append(nonVisualPictureProperties79);
            picture79.Append(blipFill79);
            picture79.Append(shapeProperties81);
            Xdr.ClientData clientData79 = new Xdr.ClientData();

            twoCellAnchor79.Append(fromMarker79);
            twoCellAnchor79.Append(toMarker79);
            twoCellAnchor79.Append(picture79);
            twoCellAnchor79.Append(clientData79);

            Xdr.TwoCellAnchor twoCellAnchor80 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker80 = new Xdr.FromMarker();
            Xdr.ColumnId columnId159 = new Xdr.ColumnId();
            columnId159.Text = "1";
            Xdr.ColumnOffset columnOffset159 = new Xdr.ColumnOffset();
            columnOffset159.Text = "19050";
            Xdr.RowId rowId159 = new Xdr.RowId();
            rowId159.Text = "13";
            Xdr.RowOffset rowOffset159 = new Xdr.RowOffset();
            rowOffset159.Text = "0";

            fromMarker80.Append(columnId159);
            fromMarker80.Append(columnOffset159);
            fromMarker80.Append(rowId159);
            fromMarker80.Append(rowOffset159);

            Xdr.ToMarker toMarker80 = new Xdr.ToMarker();
            Xdr.ColumnId columnId160 = new Xdr.ColumnId();
            columnId160.Text = "2";
            Xdr.ColumnOffset columnOffset160 = new Xdr.ColumnOffset();
            columnOffset160.Text = "0";
            Xdr.RowId rowId160 = new Xdr.RowId();
            rowId160.Text = "13";
            Xdr.RowOffset rowOffset160 = new Xdr.RowOffset();
            rowOffset160.Text = "0";

            toMarker80.Append(columnId160);
            toMarker80.Append(columnOffset160);
            toMarker80.Append(rowId160);
            toMarker80.Append(rowOffset160);

            Xdr.Picture picture80 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties80 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties80 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2945U, Name = "Picture 328" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties80 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks80 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties80.Append(pictureLocks80);

            nonVisualPictureProperties80.Append(nonVisualDrawingProperties80);
            nonVisualPictureProperties80.Append(nonVisualPictureDrawingProperties80);

            Xdr.BlipFill blipFill80 = new Xdr.BlipFill();

            A.Blip blip80 = new A.Blip() { Embed = "rId1" };
            blip80.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle80 = new A.SourceRectangle();

            A.Stretch stretch80 = new A.Stretch();
            A.FillRectangle fillRectangle80 = new A.FillRectangle();

            stretch80.Append(fillRectangle80);

            blipFill80.Append(blip80);
            blipFill80.Append(sourceRectangle80);
            blipFill80.Append(stretch80);

            Xdr.ShapeProperties shapeProperties82 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D82 = new A.Transform2D();
            A.Offset offset82 = new A.Offset() { X = 600075L, Y = 2676525L };
            A.Extents extents82 = new A.Extents() { Cx = 1085850L, Cy = 0L };

            transform2D82.Append(offset82);
            transform2D82.Append(extents82);

            A.PresetGeometry presetGeometry80 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList82 = new A.AdjustValueList();

            presetGeometry80.Append(adjustValueList82);
            A.NoFill noFill159 = new A.NoFill();

            A.Outline outline85 = new A.Outline() { Width = 9525 };
            A.NoFill noFill160 = new A.NoFill();
            A.Miter miter80 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd82 = new A.HeadEnd();
            A.TailEnd tailEnd82 = new A.TailEnd();

            outline85.Append(noFill160);
            outline85.Append(miter80);
            outline85.Append(headEnd82);
            outline85.Append(tailEnd82);

            shapeProperties82.Append(transform2D82);
            shapeProperties82.Append(presetGeometry80);
            shapeProperties82.Append(noFill159);
            shapeProperties82.Append(outline85);

            picture80.Append(nonVisualPictureProperties80);
            picture80.Append(blipFill80);
            picture80.Append(shapeProperties82);
            Xdr.ClientData clientData80 = new Xdr.ClientData();

            twoCellAnchor80.Append(fromMarker80);
            twoCellAnchor80.Append(toMarker80);
            twoCellAnchor80.Append(picture80);
            twoCellAnchor80.Append(clientData80);

            Xdr.TwoCellAnchor twoCellAnchor81 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker81 = new Xdr.FromMarker();
            Xdr.ColumnId columnId161 = new Xdr.ColumnId();
            columnId161.Text = "1";
            Xdr.ColumnOffset columnOffset161 = new Xdr.ColumnOffset();
            columnOffset161.Text = "0";
            Xdr.RowId rowId161 = new Xdr.RowId();
            rowId161.Text = "13";
            Xdr.RowOffset rowOffset161 = new Xdr.RowOffset();
            rowOffset161.Text = "0";

            fromMarker81.Append(columnId161);
            fromMarker81.Append(columnOffset161);
            fromMarker81.Append(rowId161);
            fromMarker81.Append(rowOffset161);

            Xdr.ToMarker toMarker81 = new Xdr.ToMarker();
            Xdr.ColumnId columnId162 = new Xdr.ColumnId();
            columnId162.Text = "3";
            Xdr.ColumnOffset columnOffset162 = new Xdr.ColumnOffset();
            columnOffset162.Text = "0";
            Xdr.RowId rowId162 = new Xdr.RowId();
            rowId162.Text = "13";
            Xdr.RowOffset rowOffset162 = new Xdr.RowOffset();
            rowOffset162.Text = "0";

            toMarker81.Append(columnId162);
            toMarker81.Append(columnOffset162);
            toMarker81.Append(rowId162);
            toMarker81.Append(rowOffset162);

            Xdr.Picture picture81 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties81 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties81 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2946U, Name = "Picture 329" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties81 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks81 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties81.Append(pictureLocks81);

            nonVisualPictureProperties81.Append(nonVisualDrawingProperties81);
            nonVisualPictureProperties81.Append(nonVisualPictureDrawingProperties81);

            Xdr.BlipFill blipFill81 = new Xdr.BlipFill();

            A.Blip blip81 = new A.Blip() { Embed = "rId1" };
            blip81.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle81 = new A.SourceRectangle();

            A.Stretch stretch81 = new A.Stretch();
            A.FillRectangle fillRectangle81 = new A.FillRectangle();

            stretch81.Append(fillRectangle81);

            blipFill81.Append(blip81);
            blipFill81.Append(sourceRectangle81);
            blipFill81.Append(stretch81);

            Xdr.ShapeProperties shapeProperties83 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D83 = new A.Transform2D();
            A.Offset offset83 = new A.Offset() { X = 581025L, Y = 2676525L };
            A.Extents extents83 = new A.Extents() { Cx = 2819400L, Cy = 0L };

            transform2D83.Append(offset83);
            transform2D83.Append(extents83);

            A.PresetGeometry presetGeometry81 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList83 = new A.AdjustValueList();

            presetGeometry81.Append(adjustValueList83);
            A.NoFill noFill161 = new A.NoFill();

            A.Outline outline86 = new A.Outline() { Width = 9525 };
            A.NoFill noFill162 = new A.NoFill();
            A.Miter miter81 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd83 = new A.HeadEnd();
            A.TailEnd tailEnd83 = new A.TailEnd();

            outline86.Append(noFill162);
            outline86.Append(miter81);
            outline86.Append(headEnd83);
            outline86.Append(tailEnd83);

            shapeProperties83.Append(transform2D83);
            shapeProperties83.Append(presetGeometry81);
            shapeProperties83.Append(noFill161);
            shapeProperties83.Append(outline86);

            picture81.Append(nonVisualPictureProperties81);
            picture81.Append(blipFill81);
            picture81.Append(shapeProperties83);
            Xdr.ClientData clientData81 = new Xdr.ClientData();

            twoCellAnchor81.Append(fromMarker81);
            twoCellAnchor81.Append(toMarker81);
            twoCellAnchor81.Append(picture81);
            twoCellAnchor81.Append(clientData81);

            Xdr.TwoCellAnchor twoCellAnchor82 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker82 = new Xdr.FromMarker();
            Xdr.ColumnId columnId163 = new Xdr.ColumnId();
            columnId163.Text = "1";
            Xdr.ColumnOffset columnOffset163 = new Xdr.ColumnOffset();
            columnOffset163.Text = "0";
            Xdr.RowId rowId163 = new Xdr.RowId();
            rowId163.Text = "13";
            Xdr.RowOffset rowOffset163 = new Xdr.RowOffset();
            rowOffset163.Text = "0";

            fromMarker82.Append(columnId163);
            fromMarker82.Append(columnOffset163);
            fromMarker82.Append(rowId163);
            fromMarker82.Append(rowOffset163);

            Xdr.ToMarker toMarker82 = new Xdr.ToMarker();
            Xdr.ColumnId columnId164 = new Xdr.ColumnId();
            columnId164.Text = "3";
            Xdr.ColumnOffset columnOffset164 = new Xdr.ColumnOffset();
            columnOffset164.Text = "0";
            Xdr.RowId rowId164 = new Xdr.RowId();
            rowId164.Text = "13";
            Xdr.RowOffset rowOffset164 = new Xdr.RowOffset();
            rowOffset164.Text = "0";

            toMarker82.Append(columnId164);
            toMarker82.Append(columnOffset164);
            toMarker82.Append(rowId164);
            toMarker82.Append(rowOffset164);

            Xdr.Picture picture82 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties82 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties82 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2947U, Name = "Picture 330" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties82 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks82 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties82.Append(pictureLocks82);

            nonVisualPictureProperties82.Append(nonVisualDrawingProperties82);
            nonVisualPictureProperties82.Append(nonVisualPictureDrawingProperties82);

            Xdr.BlipFill blipFill82 = new Xdr.BlipFill();

            A.Blip blip82 = new A.Blip() { Embed = "rId1" };
            blip82.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle82 = new A.SourceRectangle();

            A.Stretch stretch82 = new A.Stretch();
            A.FillRectangle fillRectangle82 = new A.FillRectangle();

            stretch82.Append(fillRectangle82);

            blipFill82.Append(blip82);
            blipFill82.Append(sourceRectangle82);
            blipFill82.Append(stretch82);

            Xdr.ShapeProperties shapeProperties84 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D84 = new A.Transform2D();
            A.Offset offset84 = new A.Offset() { X = 581025L, Y = 2676525L };
            A.Extents extents84 = new A.Extents() { Cx = 2819400L, Cy = 0L };

            transform2D84.Append(offset84);
            transform2D84.Append(extents84);

            A.PresetGeometry presetGeometry82 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList84 = new A.AdjustValueList();

            presetGeometry82.Append(adjustValueList84);
            A.NoFill noFill163 = new A.NoFill();

            A.Outline outline87 = new A.Outline() { Width = 9525 };
            A.NoFill noFill164 = new A.NoFill();
            A.Miter miter82 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd84 = new A.HeadEnd();
            A.TailEnd tailEnd84 = new A.TailEnd();

            outline87.Append(noFill164);
            outline87.Append(miter82);
            outline87.Append(headEnd84);
            outline87.Append(tailEnd84);

            shapeProperties84.Append(transform2D84);
            shapeProperties84.Append(presetGeometry82);
            shapeProperties84.Append(noFill163);
            shapeProperties84.Append(outline87);

            picture82.Append(nonVisualPictureProperties82);
            picture82.Append(blipFill82);
            picture82.Append(shapeProperties84);
            Xdr.ClientData clientData82 = new Xdr.ClientData();

            twoCellAnchor82.Append(fromMarker82);
            twoCellAnchor82.Append(toMarker82);
            twoCellAnchor82.Append(picture82);
            twoCellAnchor82.Append(clientData82);

            Xdr.TwoCellAnchor twoCellAnchor83 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker83 = new Xdr.FromMarker();
            Xdr.ColumnId columnId165 = new Xdr.ColumnId();
            columnId165.Text = "1";
            Xdr.ColumnOffset columnOffset165 = new Xdr.ColumnOffset();
            columnOffset165.Text = "19050";
            Xdr.RowId rowId165 = new Xdr.RowId();
            rowId165.Text = "13";
            Xdr.RowOffset rowOffset165 = new Xdr.RowOffset();
            rowOffset165.Text = "0";

            fromMarker83.Append(columnId165);
            fromMarker83.Append(columnOffset165);
            fromMarker83.Append(rowId165);
            fromMarker83.Append(rowOffset165);

            Xdr.ToMarker toMarker83 = new Xdr.ToMarker();
            Xdr.ColumnId columnId166 = new Xdr.ColumnId();
            columnId166.Text = "3";
            Xdr.ColumnOffset columnOffset166 = new Xdr.ColumnOffset();
            columnOffset166.Text = "0";
            Xdr.RowId rowId166 = new Xdr.RowId();
            rowId166.Text = "13";
            Xdr.RowOffset rowOffset166 = new Xdr.RowOffset();
            rowOffset166.Text = "0";

            toMarker83.Append(columnId166);
            toMarker83.Append(columnOffset166);
            toMarker83.Append(rowId166);
            toMarker83.Append(rowOffset166);

            Xdr.Picture picture83 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties83 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties83 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2948U, Name = "Picture 331" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties83 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks83 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties83.Append(pictureLocks83);

            nonVisualPictureProperties83.Append(nonVisualDrawingProperties83);
            nonVisualPictureProperties83.Append(nonVisualPictureDrawingProperties83);

            Xdr.BlipFill blipFill83 = new Xdr.BlipFill();

            A.Blip blip83 = new A.Blip() { Embed = "rId1" };
            blip83.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle83 = new A.SourceRectangle();

            A.Stretch stretch83 = new A.Stretch();
            A.FillRectangle fillRectangle83 = new A.FillRectangle();

            stretch83.Append(fillRectangle83);

            blipFill83.Append(blip83);
            blipFill83.Append(sourceRectangle83);
            blipFill83.Append(stretch83);

            Xdr.ShapeProperties shapeProperties85 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D85 = new A.Transform2D();
            A.Offset offset85 = new A.Offset() { X = 600075L, Y = 2676525L };
            A.Extents extents85 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D85.Append(offset85);
            transform2D85.Append(extents85);

            A.PresetGeometry presetGeometry83 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList85 = new A.AdjustValueList();

            presetGeometry83.Append(adjustValueList85);
            A.NoFill noFill165 = new A.NoFill();

            A.Outline outline88 = new A.Outline() { Width = 9525 };
            A.NoFill noFill166 = new A.NoFill();
            A.Miter miter83 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd85 = new A.HeadEnd();
            A.TailEnd tailEnd85 = new A.TailEnd();

            outline88.Append(noFill166);
            outline88.Append(miter83);
            outline88.Append(headEnd85);
            outline88.Append(tailEnd85);

            shapeProperties85.Append(transform2D85);
            shapeProperties85.Append(presetGeometry83);
            shapeProperties85.Append(noFill165);
            shapeProperties85.Append(outline88);

            picture83.Append(nonVisualPictureProperties83);
            picture83.Append(blipFill83);
            picture83.Append(shapeProperties85);
            Xdr.ClientData clientData83 = new Xdr.ClientData();

            twoCellAnchor83.Append(fromMarker83);
            twoCellAnchor83.Append(toMarker83);
            twoCellAnchor83.Append(picture83);
            twoCellAnchor83.Append(clientData83);

            Xdr.TwoCellAnchor twoCellAnchor84 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker84 = new Xdr.FromMarker();
            Xdr.ColumnId columnId167 = new Xdr.ColumnId();
            columnId167.Text = "1";
            Xdr.ColumnOffset columnOffset167 = new Xdr.ColumnOffset();
            columnOffset167.Text = "19050";
            Xdr.RowId rowId167 = new Xdr.RowId();
            rowId167.Text = "13";
            Xdr.RowOffset rowOffset167 = new Xdr.RowOffset();
            rowOffset167.Text = "0";

            fromMarker84.Append(columnId167);
            fromMarker84.Append(columnOffset167);
            fromMarker84.Append(rowId167);
            fromMarker84.Append(rowOffset167);

            Xdr.ToMarker toMarker84 = new Xdr.ToMarker();
            Xdr.ColumnId columnId168 = new Xdr.ColumnId();
            columnId168.Text = "3";
            Xdr.ColumnOffset columnOffset168 = new Xdr.ColumnOffset();
            columnOffset168.Text = "0";
            Xdr.RowId rowId168 = new Xdr.RowId();
            rowId168.Text = "13";
            Xdr.RowOffset rowOffset168 = new Xdr.RowOffset();
            rowOffset168.Text = "0";

            toMarker84.Append(columnId168);
            toMarker84.Append(columnOffset168);
            toMarker84.Append(rowId168);
            toMarker84.Append(rowOffset168);

            Xdr.Picture picture84 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties84 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties84 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2949U, Name = "Picture 332" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties84 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks84 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties84.Append(pictureLocks84);

            nonVisualPictureProperties84.Append(nonVisualDrawingProperties84);
            nonVisualPictureProperties84.Append(nonVisualPictureDrawingProperties84);

            Xdr.BlipFill blipFill84 = new Xdr.BlipFill();

            A.Blip blip84 = new A.Blip() { Embed = "rId1" };
            blip84.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle84 = new A.SourceRectangle();

            A.Stretch stretch84 = new A.Stretch();
            A.FillRectangle fillRectangle84 = new A.FillRectangle();

            stretch84.Append(fillRectangle84);

            blipFill84.Append(blip84);
            blipFill84.Append(sourceRectangle84);
            blipFill84.Append(stretch84);

            Xdr.ShapeProperties shapeProperties86 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D86 = new A.Transform2D();
            A.Offset offset86 = new A.Offset() { X = 600075L, Y = 2676525L };
            A.Extents extents86 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D86.Append(offset86);
            transform2D86.Append(extents86);

            A.PresetGeometry presetGeometry84 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList86 = new A.AdjustValueList();

            presetGeometry84.Append(adjustValueList86);
            A.NoFill noFill167 = new A.NoFill();

            A.Outline outline89 = new A.Outline() { Width = 9525 };
            A.NoFill noFill168 = new A.NoFill();
            A.Miter miter84 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd86 = new A.HeadEnd();
            A.TailEnd tailEnd86 = new A.TailEnd();

            outline89.Append(noFill168);
            outline89.Append(miter84);
            outline89.Append(headEnd86);
            outline89.Append(tailEnd86);

            shapeProperties86.Append(transform2D86);
            shapeProperties86.Append(presetGeometry84);
            shapeProperties86.Append(noFill167);
            shapeProperties86.Append(outline89);

            picture84.Append(nonVisualPictureProperties84);
            picture84.Append(blipFill84);
            picture84.Append(shapeProperties86);
            Xdr.ClientData clientData84 = new Xdr.ClientData();

            twoCellAnchor84.Append(fromMarker84);
            twoCellAnchor84.Append(toMarker84);
            twoCellAnchor84.Append(picture84);
            twoCellAnchor84.Append(clientData84);

            Xdr.TwoCellAnchor twoCellAnchor85 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker85 = new Xdr.FromMarker();
            Xdr.ColumnId columnId169 = new Xdr.ColumnId();
            columnId169.Text = "1";
            Xdr.ColumnOffset columnOffset169 = new Xdr.ColumnOffset();
            columnOffset169.Text = "19050";
            Xdr.RowId rowId169 = new Xdr.RowId();
            rowId169.Text = "13";
            Xdr.RowOffset rowOffset169 = new Xdr.RowOffset();
            rowOffset169.Text = "0";

            fromMarker85.Append(columnId169);
            fromMarker85.Append(columnOffset169);
            fromMarker85.Append(rowId169);
            fromMarker85.Append(rowOffset169);

            Xdr.ToMarker toMarker85 = new Xdr.ToMarker();
            Xdr.ColumnId columnId170 = new Xdr.ColumnId();
            columnId170.Text = "3";
            Xdr.ColumnOffset columnOffset170 = new Xdr.ColumnOffset();
            columnOffset170.Text = "0";
            Xdr.RowId rowId170 = new Xdr.RowId();
            rowId170.Text = "13";
            Xdr.RowOffset rowOffset170 = new Xdr.RowOffset();
            rowOffset170.Text = "0";

            toMarker85.Append(columnId170);
            toMarker85.Append(columnOffset170);
            toMarker85.Append(rowId170);
            toMarker85.Append(rowOffset170);

            Xdr.Picture picture85 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties85 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties85 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2950U, Name = "Picture 333" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties85 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks85 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties85.Append(pictureLocks85);

            nonVisualPictureProperties85.Append(nonVisualDrawingProperties85);
            nonVisualPictureProperties85.Append(nonVisualPictureDrawingProperties85);

            Xdr.BlipFill blipFill85 = new Xdr.BlipFill();

            A.Blip blip85 = new A.Blip() { Embed = "rId1" };
            blip85.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle85 = new A.SourceRectangle();

            A.Stretch stretch85 = new A.Stretch();
            A.FillRectangle fillRectangle85 = new A.FillRectangle();

            stretch85.Append(fillRectangle85);

            blipFill85.Append(blip85);
            blipFill85.Append(sourceRectangle85);
            blipFill85.Append(stretch85);

            Xdr.ShapeProperties shapeProperties87 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D87 = new A.Transform2D();
            A.Offset offset87 = new A.Offset() { X = 600075L, Y = 2676525L };
            A.Extents extents87 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D87.Append(offset87);
            transform2D87.Append(extents87);

            A.PresetGeometry presetGeometry85 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList87 = new A.AdjustValueList();

            presetGeometry85.Append(adjustValueList87);
            A.NoFill noFill169 = new A.NoFill();

            A.Outline outline90 = new A.Outline() { Width = 9525 };
            A.NoFill noFill170 = new A.NoFill();
            A.Miter miter85 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd87 = new A.HeadEnd();
            A.TailEnd tailEnd87 = new A.TailEnd();

            outline90.Append(noFill170);
            outline90.Append(miter85);
            outline90.Append(headEnd87);
            outline90.Append(tailEnd87);

            shapeProperties87.Append(transform2D87);
            shapeProperties87.Append(presetGeometry85);
            shapeProperties87.Append(noFill169);
            shapeProperties87.Append(outline90);

            picture85.Append(nonVisualPictureProperties85);
            picture85.Append(blipFill85);
            picture85.Append(shapeProperties87);
            Xdr.ClientData clientData85 = new Xdr.ClientData();

            twoCellAnchor85.Append(fromMarker85);
            twoCellAnchor85.Append(toMarker85);
            twoCellAnchor85.Append(picture85);
            twoCellAnchor85.Append(clientData85);

            Xdr.TwoCellAnchor twoCellAnchor86 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker86 = new Xdr.FromMarker();
            Xdr.ColumnId columnId171 = new Xdr.ColumnId();
            columnId171.Text = "1";
            Xdr.ColumnOffset columnOffset171 = new Xdr.ColumnOffset();
            columnOffset171.Text = "19050";
            Xdr.RowId rowId171 = new Xdr.RowId();
            rowId171.Text = "13";
            Xdr.RowOffset rowOffset171 = new Xdr.RowOffset();
            rowOffset171.Text = "0";

            fromMarker86.Append(columnId171);
            fromMarker86.Append(columnOffset171);
            fromMarker86.Append(rowId171);
            fromMarker86.Append(rowOffset171);

            Xdr.ToMarker toMarker86 = new Xdr.ToMarker();
            Xdr.ColumnId columnId172 = new Xdr.ColumnId();
            columnId172.Text = "3";
            Xdr.ColumnOffset columnOffset172 = new Xdr.ColumnOffset();
            columnOffset172.Text = "0";
            Xdr.RowId rowId172 = new Xdr.RowId();
            rowId172.Text = "13";
            Xdr.RowOffset rowOffset172 = new Xdr.RowOffset();
            rowOffset172.Text = "0";

            toMarker86.Append(columnId172);
            toMarker86.Append(columnOffset172);
            toMarker86.Append(rowId172);
            toMarker86.Append(rowOffset172);

            Xdr.Picture picture86 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties86 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties86 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2951U, Name = "Picture 334" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties86 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks86 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties86.Append(pictureLocks86);

            nonVisualPictureProperties86.Append(nonVisualDrawingProperties86);
            nonVisualPictureProperties86.Append(nonVisualPictureDrawingProperties86);

            Xdr.BlipFill blipFill86 = new Xdr.BlipFill();

            A.Blip blip86 = new A.Blip() { Embed = "rId1" };
            blip86.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle86 = new A.SourceRectangle();

            A.Stretch stretch86 = new A.Stretch();
            A.FillRectangle fillRectangle86 = new A.FillRectangle();

            stretch86.Append(fillRectangle86);

            blipFill86.Append(blip86);
            blipFill86.Append(sourceRectangle86);
            blipFill86.Append(stretch86);

            Xdr.ShapeProperties shapeProperties88 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D88 = new A.Transform2D();
            A.Offset offset88 = new A.Offset() { X = 600075L, Y = 2676525L };
            A.Extents extents88 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D88.Append(offset88);
            transform2D88.Append(extents88);

            A.PresetGeometry presetGeometry86 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList88 = new A.AdjustValueList();

            presetGeometry86.Append(adjustValueList88);
            A.NoFill noFill171 = new A.NoFill();

            A.Outline outline91 = new A.Outline() { Width = 9525 };
            A.NoFill noFill172 = new A.NoFill();
            A.Miter miter86 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd88 = new A.HeadEnd();
            A.TailEnd tailEnd88 = new A.TailEnd();

            outline91.Append(noFill172);
            outline91.Append(miter86);
            outline91.Append(headEnd88);
            outline91.Append(tailEnd88);

            shapeProperties88.Append(transform2D88);
            shapeProperties88.Append(presetGeometry86);
            shapeProperties88.Append(noFill171);
            shapeProperties88.Append(outline91);

            picture86.Append(nonVisualPictureProperties86);
            picture86.Append(blipFill86);
            picture86.Append(shapeProperties88);
            Xdr.ClientData clientData86 = new Xdr.ClientData();

            twoCellAnchor86.Append(fromMarker86);
            twoCellAnchor86.Append(toMarker86);
            twoCellAnchor86.Append(picture86);
            twoCellAnchor86.Append(clientData86);

            Xdr.TwoCellAnchor twoCellAnchor87 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker87 = new Xdr.FromMarker();
            Xdr.ColumnId columnId173 = new Xdr.ColumnId();
            columnId173.Text = "1";
            Xdr.ColumnOffset columnOffset173 = new Xdr.ColumnOffset();
            columnOffset173.Text = "19050";
            Xdr.RowId rowId173 = new Xdr.RowId();
            rowId173.Text = "13";
            Xdr.RowOffset rowOffset173 = new Xdr.RowOffset();
            rowOffset173.Text = "0";

            fromMarker87.Append(columnId173);
            fromMarker87.Append(columnOffset173);
            fromMarker87.Append(rowId173);
            fromMarker87.Append(rowOffset173);

            Xdr.ToMarker toMarker87 = new Xdr.ToMarker();
            Xdr.ColumnId columnId174 = new Xdr.ColumnId();
            columnId174.Text = "3";
            Xdr.ColumnOffset columnOffset174 = new Xdr.ColumnOffset();
            columnOffset174.Text = "0";
            Xdr.RowId rowId174 = new Xdr.RowId();
            rowId174.Text = "13";
            Xdr.RowOffset rowOffset174 = new Xdr.RowOffset();
            rowOffset174.Text = "0";

            toMarker87.Append(columnId174);
            toMarker87.Append(columnOffset174);
            toMarker87.Append(rowId174);
            toMarker87.Append(rowOffset174);

            Xdr.Picture picture87 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties87 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties87 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2952U, Name = "Picture 335" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties87 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks87 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties87.Append(pictureLocks87);

            nonVisualPictureProperties87.Append(nonVisualDrawingProperties87);
            nonVisualPictureProperties87.Append(nonVisualPictureDrawingProperties87);

            Xdr.BlipFill blipFill87 = new Xdr.BlipFill();

            A.Blip blip87 = new A.Blip() { Embed = "rId1" };
            blip87.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle87 = new A.SourceRectangle();

            A.Stretch stretch87 = new A.Stretch();
            A.FillRectangle fillRectangle87 = new A.FillRectangle();

            stretch87.Append(fillRectangle87);

            blipFill87.Append(blip87);
            blipFill87.Append(sourceRectangle87);
            blipFill87.Append(stretch87);

            Xdr.ShapeProperties shapeProperties89 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D89 = new A.Transform2D();
            A.Offset offset89 = new A.Offset() { X = 600075L, Y = 2676525L };
            A.Extents extents89 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D89.Append(offset89);
            transform2D89.Append(extents89);

            A.PresetGeometry presetGeometry87 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList89 = new A.AdjustValueList();

            presetGeometry87.Append(adjustValueList89);
            A.NoFill noFill173 = new A.NoFill();

            A.Outline outline92 = new A.Outline() { Width = 9525 };
            A.NoFill noFill174 = new A.NoFill();
            A.Miter miter87 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd89 = new A.HeadEnd();
            A.TailEnd tailEnd89 = new A.TailEnd();

            outline92.Append(noFill174);
            outline92.Append(miter87);
            outline92.Append(headEnd89);
            outline92.Append(tailEnd89);

            shapeProperties89.Append(transform2D89);
            shapeProperties89.Append(presetGeometry87);
            shapeProperties89.Append(noFill173);
            shapeProperties89.Append(outline92);

            picture87.Append(nonVisualPictureProperties87);
            picture87.Append(blipFill87);
            picture87.Append(shapeProperties89);
            Xdr.ClientData clientData87 = new Xdr.ClientData();

            twoCellAnchor87.Append(fromMarker87);
            twoCellAnchor87.Append(toMarker87);
            twoCellAnchor87.Append(picture87);
            twoCellAnchor87.Append(clientData87);

            Xdr.TwoCellAnchor twoCellAnchor88 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker88 = new Xdr.FromMarker();
            Xdr.ColumnId columnId175 = new Xdr.ColumnId();
            columnId175.Text = "1";
            Xdr.ColumnOffset columnOffset175 = new Xdr.ColumnOffset();
            columnOffset175.Text = "19050";
            Xdr.RowId rowId175 = new Xdr.RowId();
            rowId175.Text = "13";
            Xdr.RowOffset rowOffset175 = new Xdr.RowOffset();
            rowOffset175.Text = "0";

            fromMarker88.Append(columnId175);
            fromMarker88.Append(columnOffset175);
            fromMarker88.Append(rowId175);
            fromMarker88.Append(rowOffset175);

            Xdr.ToMarker toMarker88 = new Xdr.ToMarker();
            Xdr.ColumnId columnId176 = new Xdr.ColumnId();
            columnId176.Text = "3";
            Xdr.ColumnOffset columnOffset176 = new Xdr.ColumnOffset();
            columnOffset176.Text = "0";
            Xdr.RowId rowId176 = new Xdr.RowId();
            rowId176.Text = "13";
            Xdr.RowOffset rowOffset176 = new Xdr.RowOffset();
            rowOffset176.Text = "0";

            toMarker88.Append(columnId176);
            toMarker88.Append(columnOffset176);
            toMarker88.Append(rowId176);
            toMarker88.Append(rowOffset176);

            Xdr.Picture picture88 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties88 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties88 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2953U, Name = "Picture 336" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties88 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks88 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties88.Append(pictureLocks88);

            nonVisualPictureProperties88.Append(nonVisualDrawingProperties88);
            nonVisualPictureProperties88.Append(nonVisualPictureDrawingProperties88);

            Xdr.BlipFill blipFill88 = new Xdr.BlipFill();

            A.Blip blip88 = new A.Blip() { Embed = "rId1" };
            blip88.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle88 = new A.SourceRectangle();

            A.Stretch stretch88 = new A.Stretch();
            A.FillRectangle fillRectangle88 = new A.FillRectangle();

            stretch88.Append(fillRectangle88);

            blipFill88.Append(blip88);
            blipFill88.Append(sourceRectangle88);
            blipFill88.Append(stretch88);

            Xdr.ShapeProperties shapeProperties90 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D90 = new A.Transform2D();
            A.Offset offset90 = new A.Offset() { X = 600075L, Y = 2676525L };
            A.Extents extents90 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D90.Append(offset90);
            transform2D90.Append(extents90);

            A.PresetGeometry presetGeometry88 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList90 = new A.AdjustValueList();

            presetGeometry88.Append(adjustValueList90);
            A.NoFill noFill175 = new A.NoFill();

            A.Outline outline93 = new A.Outline() { Width = 9525 };
            A.NoFill noFill176 = new A.NoFill();
            A.Miter miter88 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd90 = new A.HeadEnd();
            A.TailEnd tailEnd90 = new A.TailEnd();

            outline93.Append(noFill176);
            outline93.Append(miter88);
            outline93.Append(headEnd90);
            outline93.Append(tailEnd90);

            shapeProperties90.Append(transform2D90);
            shapeProperties90.Append(presetGeometry88);
            shapeProperties90.Append(noFill175);
            shapeProperties90.Append(outline93);

            picture88.Append(nonVisualPictureProperties88);
            picture88.Append(blipFill88);
            picture88.Append(shapeProperties90);
            Xdr.ClientData clientData88 = new Xdr.ClientData();

            twoCellAnchor88.Append(fromMarker88);
            twoCellAnchor88.Append(toMarker88);
            twoCellAnchor88.Append(picture88);
            twoCellAnchor88.Append(clientData88);

            Xdr.TwoCellAnchor twoCellAnchor89 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker89 = new Xdr.FromMarker();
            Xdr.ColumnId columnId177 = new Xdr.ColumnId();
            columnId177.Text = "1";
            Xdr.ColumnOffset columnOffset177 = new Xdr.ColumnOffset();
            columnOffset177.Text = "19050";
            Xdr.RowId rowId177 = new Xdr.RowId();
            rowId177.Text = "13";
            Xdr.RowOffset rowOffset177 = new Xdr.RowOffset();
            rowOffset177.Text = "0";

            fromMarker89.Append(columnId177);
            fromMarker89.Append(columnOffset177);
            fromMarker89.Append(rowId177);
            fromMarker89.Append(rowOffset177);

            Xdr.ToMarker toMarker89 = new Xdr.ToMarker();
            Xdr.ColumnId columnId178 = new Xdr.ColumnId();
            columnId178.Text = "3";
            Xdr.ColumnOffset columnOffset178 = new Xdr.ColumnOffset();
            columnOffset178.Text = "0";
            Xdr.RowId rowId178 = new Xdr.RowId();
            rowId178.Text = "13";
            Xdr.RowOffset rowOffset178 = new Xdr.RowOffset();
            rowOffset178.Text = "0";

            toMarker89.Append(columnId178);
            toMarker89.Append(columnOffset178);
            toMarker89.Append(rowId178);
            toMarker89.Append(rowOffset178);

            Xdr.Picture picture89 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties89 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties89 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2954U, Name = "Picture 337" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties89 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks89 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties89.Append(pictureLocks89);

            nonVisualPictureProperties89.Append(nonVisualDrawingProperties89);
            nonVisualPictureProperties89.Append(nonVisualPictureDrawingProperties89);

            Xdr.BlipFill blipFill89 = new Xdr.BlipFill();

            A.Blip blip89 = new A.Blip() { Embed = "rId1" };
            blip89.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle89 = new A.SourceRectangle();

            A.Stretch stretch89 = new A.Stretch();
            A.FillRectangle fillRectangle89 = new A.FillRectangle();

            stretch89.Append(fillRectangle89);

            blipFill89.Append(blip89);
            blipFill89.Append(sourceRectangle89);
            blipFill89.Append(stretch89);

            Xdr.ShapeProperties shapeProperties91 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D91 = new A.Transform2D();
            A.Offset offset91 = new A.Offset() { X = 600075L, Y = 2676525L };
            A.Extents extents91 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D91.Append(offset91);
            transform2D91.Append(extents91);

            A.PresetGeometry presetGeometry89 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList91 = new A.AdjustValueList();

            presetGeometry89.Append(adjustValueList91);
            A.NoFill noFill177 = new A.NoFill();

            A.Outline outline94 = new A.Outline() { Width = 9525 };
            A.NoFill noFill178 = new A.NoFill();
            A.Miter miter89 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd91 = new A.HeadEnd();
            A.TailEnd tailEnd91 = new A.TailEnd();

            outline94.Append(noFill178);
            outline94.Append(miter89);
            outline94.Append(headEnd91);
            outline94.Append(tailEnd91);

            shapeProperties91.Append(transform2D91);
            shapeProperties91.Append(presetGeometry89);
            shapeProperties91.Append(noFill177);
            shapeProperties91.Append(outline94);

            picture89.Append(nonVisualPictureProperties89);
            picture89.Append(blipFill89);
            picture89.Append(shapeProperties91);
            Xdr.ClientData clientData89 = new Xdr.ClientData();

            twoCellAnchor89.Append(fromMarker89);
            twoCellAnchor89.Append(toMarker89);
            twoCellAnchor89.Append(picture89);
            twoCellAnchor89.Append(clientData89);

            Xdr.TwoCellAnchor twoCellAnchor90 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker90 = new Xdr.FromMarker();
            Xdr.ColumnId columnId179 = new Xdr.ColumnId();
            columnId179.Text = "1";
            Xdr.ColumnOffset columnOffset179 = new Xdr.ColumnOffset();
            columnOffset179.Text = "19050";
            Xdr.RowId rowId179 = new Xdr.RowId();
            rowId179.Text = "13";
            Xdr.RowOffset rowOffset179 = new Xdr.RowOffset();
            rowOffset179.Text = "0";

            fromMarker90.Append(columnId179);
            fromMarker90.Append(columnOffset179);
            fromMarker90.Append(rowId179);
            fromMarker90.Append(rowOffset179);

            Xdr.ToMarker toMarker90 = new Xdr.ToMarker();
            Xdr.ColumnId columnId180 = new Xdr.ColumnId();
            columnId180.Text = "3";
            Xdr.ColumnOffset columnOffset180 = new Xdr.ColumnOffset();
            columnOffset180.Text = "0";
            Xdr.RowId rowId180 = new Xdr.RowId();
            rowId180.Text = "13";
            Xdr.RowOffset rowOffset180 = new Xdr.RowOffset();
            rowOffset180.Text = "0";

            toMarker90.Append(columnId180);
            toMarker90.Append(columnOffset180);
            toMarker90.Append(rowId180);
            toMarker90.Append(rowOffset180);

            Xdr.Picture picture90 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties90 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties90 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2955U, Name = "Picture 338" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties90 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks90 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties90.Append(pictureLocks90);

            nonVisualPictureProperties90.Append(nonVisualDrawingProperties90);
            nonVisualPictureProperties90.Append(nonVisualPictureDrawingProperties90);

            Xdr.BlipFill blipFill90 = new Xdr.BlipFill();

            A.Blip blip90 = new A.Blip() { Embed = "rId1" };
            blip90.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle90 = new A.SourceRectangle();

            A.Stretch stretch90 = new A.Stretch();
            A.FillRectangle fillRectangle90 = new A.FillRectangle();

            stretch90.Append(fillRectangle90);

            blipFill90.Append(blip90);
            blipFill90.Append(sourceRectangle90);
            blipFill90.Append(stretch90);

            Xdr.ShapeProperties shapeProperties92 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D92 = new A.Transform2D();
            A.Offset offset92 = new A.Offset() { X = 600075L, Y = 2676525L };
            A.Extents extents92 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D92.Append(offset92);
            transform2D92.Append(extents92);

            A.PresetGeometry presetGeometry90 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList92 = new A.AdjustValueList();

            presetGeometry90.Append(adjustValueList92);
            A.NoFill noFill179 = new A.NoFill();

            A.Outline outline95 = new A.Outline() { Width = 9525 };
            A.NoFill noFill180 = new A.NoFill();
            A.Miter miter90 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd92 = new A.HeadEnd();
            A.TailEnd tailEnd92 = new A.TailEnd();

            outline95.Append(noFill180);
            outline95.Append(miter90);
            outline95.Append(headEnd92);
            outline95.Append(tailEnd92);

            shapeProperties92.Append(transform2D92);
            shapeProperties92.Append(presetGeometry90);
            shapeProperties92.Append(noFill179);
            shapeProperties92.Append(outline95);

            picture90.Append(nonVisualPictureProperties90);
            picture90.Append(blipFill90);
            picture90.Append(shapeProperties92);
            Xdr.ClientData clientData90 = new Xdr.ClientData();

            twoCellAnchor90.Append(fromMarker90);
            twoCellAnchor90.Append(toMarker90);
            twoCellAnchor90.Append(picture90);
            twoCellAnchor90.Append(clientData90);

            Xdr.TwoCellAnchor twoCellAnchor91 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker91 = new Xdr.FromMarker();
            Xdr.ColumnId columnId181 = new Xdr.ColumnId();
            columnId181.Text = "1";
            Xdr.ColumnOffset columnOffset181 = new Xdr.ColumnOffset();
            columnOffset181.Text = "19050";
            Xdr.RowId rowId181 = new Xdr.RowId();
            rowId181.Text = "13";
            Xdr.RowOffset rowOffset181 = new Xdr.RowOffset();
            rowOffset181.Text = "0";

            fromMarker91.Append(columnId181);
            fromMarker91.Append(columnOffset181);
            fromMarker91.Append(rowId181);
            fromMarker91.Append(rowOffset181);

            Xdr.ToMarker toMarker91 = new Xdr.ToMarker();
            Xdr.ColumnId columnId182 = new Xdr.ColumnId();
            columnId182.Text = "3";
            Xdr.ColumnOffset columnOffset182 = new Xdr.ColumnOffset();
            columnOffset182.Text = "0";
            Xdr.RowId rowId182 = new Xdr.RowId();
            rowId182.Text = "13";
            Xdr.RowOffset rowOffset182 = new Xdr.RowOffset();
            rowOffset182.Text = "0";

            toMarker91.Append(columnId182);
            toMarker91.Append(columnOffset182);
            toMarker91.Append(rowId182);
            toMarker91.Append(rowOffset182);

            Xdr.Picture picture91 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties91 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties91 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2956U, Name = "Picture 339" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties91 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks91 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties91.Append(pictureLocks91);

            nonVisualPictureProperties91.Append(nonVisualDrawingProperties91);
            nonVisualPictureProperties91.Append(nonVisualPictureDrawingProperties91);

            Xdr.BlipFill blipFill91 = new Xdr.BlipFill();

            A.Blip blip91 = new A.Blip() { Embed = "rId1" };
            blip91.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle91 = new A.SourceRectangle();

            A.Stretch stretch91 = new A.Stretch();
            A.FillRectangle fillRectangle91 = new A.FillRectangle();

            stretch91.Append(fillRectangle91);

            blipFill91.Append(blip91);
            blipFill91.Append(sourceRectangle91);
            blipFill91.Append(stretch91);

            Xdr.ShapeProperties shapeProperties93 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D93 = new A.Transform2D();
            A.Offset offset93 = new A.Offset() { X = 600075L, Y = 2676525L };
            A.Extents extents93 = new A.Extents() { Cx = 2800350L, Cy = 0L };

            transform2D93.Append(offset93);
            transform2D93.Append(extents93);

            A.PresetGeometry presetGeometry91 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList93 = new A.AdjustValueList();

            presetGeometry91.Append(adjustValueList93);
            A.NoFill noFill181 = new A.NoFill();

            A.Outline outline96 = new A.Outline() { Width = 9525 };
            A.NoFill noFill182 = new A.NoFill();
            A.Miter miter91 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd93 = new A.HeadEnd();
            A.TailEnd tailEnd93 = new A.TailEnd();

            outline96.Append(noFill182);
            outline96.Append(miter91);
            outline96.Append(headEnd93);
            outline96.Append(tailEnd93);

            shapeProperties93.Append(transform2D93);
            shapeProperties93.Append(presetGeometry91);
            shapeProperties93.Append(noFill181);
            shapeProperties93.Append(outline96);

            picture91.Append(nonVisualPictureProperties91);
            picture91.Append(blipFill91);
            picture91.Append(shapeProperties93);
            Xdr.ClientData clientData91 = new Xdr.ClientData();

            twoCellAnchor91.Append(fromMarker91);
            twoCellAnchor91.Append(toMarker91);
            twoCellAnchor91.Append(picture91);
            twoCellAnchor91.Append(clientData91);

            Xdr.TwoCellAnchor twoCellAnchor92 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker92 = new Xdr.FromMarker();
            Xdr.ColumnId columnId183 = new Xdr.ColumnId();
            columnId183.Text = "1";
            Xdr.ColumnOffset columnOffset183 = new Xdr.ColumnOffset();
            columnOffset183.Text = "0";
            Xdr.RowId rowId183 = new Xdr.RowId();
            rowId183.Text = "13";
            Xdr.RowOffset rowOffset183 = new Xdr.RowOffset();
            rowOffset183.Text = "0";

            fromMarker92.Append(columnId183);
            fromMarker92.Append(columnOffset183);
            fromMarker92.Append(rowId183);
            fromMarker92.Append(rowOffset183);

            Xdr.ToMarker toMarker92 = new Xdr.ToMarker();
            Xdr.ColumnId columnId184 = new Xdr.ColumnId();
            columnId184.Text = "3";
            Xdr.ColumnOffset columnOffset184 = new Xdr.ColumnOffset();
            columnOffset184.Text = "0";
            Xdr.RowId rowId184 = new Xdr.RowId();
            rowId184.Text = "13";
            Xdr.RowOffset rowOffset184 = new Xdr.RowOffset();
            rowOffset184.Text = "0";

            toMarker92.Append(columnId184);
            toMarker92.Append(columnOffset184);
            toMarker92.Append(rowId184);
            toMarker92.Append(rowOffset184);

            Xdr.Picture picture92 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties92 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties92 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2957U, Name = "Picture 340" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties92 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks92 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties92.Append(pictureLocks92);

            nonVisualPictureProperties92.Append(nonVisualDrawingProperties92);
            nonVisualPictureProperties92.Append(nonVisualPictureDrawingProperties92);

            Xdr.BlipFill blipFill92 = new Xdr.BlipFill();

            A.Blip blip92 = new A.Blip() { Embed = "rId1" };
            blip92.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle92 = new A.SourceRectangle();

            A.Stretch stretch92 = new A.Stretch();
            A.FillRectangle fillRectangle92 = new A.FillRectangle();

            stretch92.Append(fillRectangle92);

            blipFill92.Append(blip92);
            blipFill92.Append(sourceRectangle92);
            blipFill92.Append(stretch92);

            Xdr.ShapeProperties shapeProperties94 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D94 = new A.Transform2D();
            A.Offset offset94 = new A.Offset() { X = 581025L, Y = 2676525L };
            A.Extents extents94 = new A.Extents() { Cx = 2819400L, Cy = 0L };

            transform2D94.Append(offset94);
            transform2D94.Append(extents94);

            A.PresetGeometry presetGeometry92 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList94 = new A.AdjustValueList();

            presetGeometry92.Append(adjustValueList94);
            A.NoFill noFill183 = new A.NoFill();

            A.Outline outline97 = new A.Outline() { Width = 9525 };
            A.NoFill noFill184 = new A.NoFill();
            A.Miter miter92 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd94 = new A.HeadEnd();
            A.TailEnd tailEnd94 = new A.TailEnd();

            outline97.Append(noFill184);
            outline97.Append(miter92);
            outline97.Append(headEnd94);
            outline97.Append(tailEnd94);

            shapeProperties94.Append(transform2D94);
            shapeProperties94.Append(presetGeometry92);
            shapeProperties94.Append(noFill183);
            shapeProperties94.Append(outline97);

            picture92.Append(nonVisualPictureProperties92);
            picture92.Append(blipFill92);
            picture92.Append(shapeProperties94);
            Xdr.ClientData clientData92 = new Xdr.ClientData();

            twoCellAnchor92.Append(fromMarker92);
            twoCellAnchor92.Append(toMarker92);
            twoCellAnchor92.Append(picture92);
            twoCellAnchor92.Append(clientData92);

            Xdr.TwoCellAnchor twoCellAnchor93 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker93 = new Xdr.FromMarker();
            Xdr.ColumnId columnId185 = new Xdr.ColumnId();
            columnId185.Text = "2";
            Xdr.ColumnOffset columnOffset185 = new Xdr.ColumnOffset();
            columnOffset185.Text = "0";
            Xdr.RowId rowId185 = new Xdr.RowId();
            rowId185.Text = "13";
            Xdr.RowOffset rowOffset185 = new Xdr.RowOffset();
            rowOffset185.Text = "0";

            fromMarker93.Append(columnId185);
            fromMarker93.Append(columnOffset185);
            fromMarker93.Append(rowId185);
            fromMarker93.Append(rowOffset185);

            Xdr.ToMarker toMarker93 = new Xdr.ToMarker();
            Xdr.ColumnId columnId186 = new Xdr.ColumnId();
            columnId186.Text = "4";
            Xdr.ColumnOffset columnOffset186 = new Xdr.ColumnOffset();
            columnOffset186.Text = "0";
            Xdr.RowId rowId186 = new Xdr.RowId();
            rowId186.Text = "13";
            Xdr.RowOffset rowOffset186 = new Xdr.RowOffset();
            rowOffset186.Text = "0";

            toMarker93.Append(columnId186);
            toMarker93.Append(columnOffset186);
            toMarker93.Append(rowId186);
            toMarker93.Append(rowOffset186);

            Xdr.Picture picture93 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties93 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties93 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2958U, Name = "Picture 341" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties93 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks93 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties93.Append(pictureLocks93);

            nonVisualPictureProperties93.Append(nonVisualDrawingProperties93);
            nonVisualPictureProperties93.Append(nonVisualPictureDrawingProperties93);

            Xdr.BlipFill blipFill93 = new Xdr.BlipFill();

            A.Blip blip93 = new A.Blip() { Embed = "rId1" };
            blip93.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle93 = new A.SourceRectangle();

            A.Stretch stretch93 = new A.Stretch();
            A.FillRectangle fillRectangle93 = new A.FillRectangle();

            stretch93.Append(fillRectangle93);

            blipFill93.Append(blip93);
            blipFill93.Append(sourceRectangle93);
            blipFill93.Append(stretch93);

            Xdr.ShapeProperties shapeProperties95 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D95 = new A.Transform2D();
            A.Offset offset95 = new A.Offset() { X = 1685925L, Y = 2676525L };
            A.Extents extents95 = new A.Extents() { Cx = 3924300L, Cy = 0L };

            transform2D95.Append(offset95);
            transform2D95.Append(extents95);

            A.PresetGeometry presetGeometry93 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList95 = new A.AdjustValueList();

            presetGeometry93.Append(adjustValueList95);
            A.NoFill noFill185 = new A.NoFill();

            A.Outline outline98 = new A.Outline() { Width = 9525 };
            A.NoFill noFill186 = new A.NoFill();
            A.Miter miter93 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd95 = new A.HeadEnd();
            A.TailEnd tailEnd95 = new A.TailEnd();

            outline98.Append(noFill186);
            outline98.Append(miter93);
            outline98.Append(headEnd95);
            outline98.Append(tailEnd95);

            shapeProperties95.Append(transform2D95);
            shapeProperties95.Append(presetGeometry93);
            shapeProperties95.Append(noFill185);
            shapeProperties95.Append(outline98);

            picture93.Append(nonVisualPictureProperties93);
            picture93.Append(blipFill93);
            picture93.Append(shapeProperties95);
            Xdr.ClientData clientData93 = new Xdr.ClientData();

            twoCellAnchor93.Append(fromMarker93);
            twoCellAnchor93.Append(toMarker93);
            twoCellAnchor93.Append(picture93);
            twoCellAnchor93.Append(clientData93);

            Xdr.TwoCellAnchor twoCellAnchor94 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker94 = new Xdr.FromMarker();
            Xdr.ColumnId columnId187 = new Xdr.ColumnId();
            columnId187.Text = "2";
            Xdr.ColumnOffset columnOffset187 = new Xdr.ColumnOffset();
            columnOffset187.Text = "0";
            Xdr.RowId rowId187 = new Xdr.RowId();
            rowId187.Text = "13";
            Xdr.RowOffset rowOffset187 = new Xdr.RowOffset();
            rowOffset187.Text = "0";

            fromMarker94.Append(columnId187);
            fromMarker94.Append(columnOffset187);
            fromMarker94.Append(rowId187);
            fromMarker94.Append(rowOffset187);

            Xdr.ToMarker toMarker94 = new Xdr.ToMarker();
            Xdr.ColumnId columnId188 = new Xdr.ColumnId();
            columnId188.Text = "4";
            Xdr.ColumnOffset columnOffset188 = new Xdr.ColumnOffset();
            columnOffset188.Text = "0";
            Xdr.RowId rowId188 = new Xdr.RowId();
            rowId188.Text = "13";
            Xdr.RowOffset rowOffset188 = new Xdr.RowOffset();
            rowOffset188.Text = "0";

            toMarker94.Append(columnId188);
            toMarker94.Append(columnOffset188);
            toMarker94.Append(rowId188);
            toMarker94.Append(rowOffset188);

            Xdr.Picture picture94 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties94 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties94 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2959U, Name = "Picture 342" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties94 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks94 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties94.Append(pictureLocks94);

            nonVisualPictureProperties94.Append(nonVisualDrawingProperties94);
            nonVisualPictureProperties94.Append(nonVisualPictureDrawingProperties94);

            Xdr.BlipFill blipFill94 = new Xdr.BlipFill();

            A.Blip blip94 = new A.Blip() { Embed = "rId1" };
            blip94.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle94 = new A.SourceRectangle();

            A.Stretch stretch94 = new A.Stretch();
            A.FillRectangle fillRectangle94 = new A.FillRectangle();

            stretch94.Append(fillRectangle94);

            blipFill94.Append(blip94);
            blipFill94.Append(sourceRectangle94);
            blipFill94.Append(stretch94);

            Xdr.ShapeProperties shapeProperties96 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D96 = new A.Transform2D();
            A.Offset offset96 = new A.Offset() { X = 1685925L, Y = 2676525L };
            A.Extents extents96 = new A.Extents() { Cx = 3924300L, Cy = 0L };

            transform2D96.Append(offset96);
            transform2D96.Append(extents96);

            A.PresetGeometry presetGeometry94 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList96 = new A.AdjustValueList();

            presetGeometry94.Append(adjustValueList96);
            A.NoFill noFill187 = new A.NoFill();

            A.Outline outline99 = new A.Outline() { Width = 9525 };
            A.NoFill noFill188 = new A.NoFill();
            A.Miter miter94 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd96 = new A.HeadEnd();
            A.TailEnd tailEnd96 = new A.TailEnd();

            outline99.Append(noFill188);
            outline99.Append(miter94);
            outline99.Append(headEnd96);
            outline99.Append(tailEnd96);

            shapeProperties96.Append(transform2D96);
            shapeProperties96.Append(presetGeometry94);
            shapeProperties96.Append(noFill187);
            shapeProperties96.Append(outline99);

            picture94.Append(nonVisualPictureProperties94);
            picture94.Append(blipFill94);
            picture94.Append(shapeProperties96);
            Xdr.ClientData clientData94 = new Xdr.ClientData();

            twoCellAnchor94.Append(fromMarker94);
            twoCellAnchor94.Append(toMarker94);
            twoCellAnchor94.Append(picture94);
            twoCellAnchor94.Append(clientData94);

            Xdr.TwoCellAnchor twoCellAnchor95 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker95 = new Xdr.FromMarker();
            Xdr.ColumnId columnId189 = new Xdr.ColumnId();
            columnId189.Text = "2";
            Xdr.ColumnOffset columnOffset189 = new Xdr.ColumnOffset();
            columnOffset189.Text = "19050";
            Xdr.RowId rowId189 = new Xdr.RowId();
            rowId189.Text = "13";
            Xdr.RowOffset rowOffset189 = new Xdr.RowOffset();
            rowOffset189.Text = "0";

            fromMarker95.Append(columnId189);
            fromMarker95.Append(columnOffset189);
            fromMarker95.Append(rowId189);
            fromMarker95.Append(rowOffset189);

            Xdr.ToMarker toMarker95 = new Xdr.ToMarker();
            Xdr.ColumnId columnId190 = new Xdr.ColumnId();
            columnId190.Text = "4";
            Xdr.ColumnOffset columnOffset190 = new Xdr.ColumnOffset();
            columnOffset190.Text = "0";
            Xdr.RowId rowId190 = new Xdr.RowId();
            rowId190.Text = "13";
            Xdr.RowOffset rowOffset190 = new Xdr.RowOffset();
            rowOffset190.Text = "0";

            toMarker95.Append(columnId190);
            toMarker95.Append(columnOffset190);
            toMarker95.Append(rowId190);
            toMarker95.Append(rowOffset190);

            Xdr.Picture picture95 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties95 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties95 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2960U, Name = "Picture 343" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties95 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks95 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties95.Append(pictureLocks95);

            nonVisualPictureProperties95.Append(nonVisualDrawingProperties95);
            nonVisualPictureProperties95.Append(nonVisualPictureDrawingProperties95);

            Xdr.BlipFill blipFill95 = new Xdr.BlipFill();

            A.Blip blip95 = new A.Blip() { Embed = "rId1" };
            blip95.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle95 = new A.SourceRectangle();

            A.Stretch stretch95 = new A.Stretch();
            A.FillRectangle fillRectangle95 = new A.FillRectangle();

            stretch95.Append(fillRectangle95);

            blipFill95.Append(blip95);
            blipFill95.Append(sourceRectangle95);
            blipFill95.Append(stretch95);

            Xdr.ShapeProperties shapeProperties97 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D97 = new A.Transform2D();
            A.Offset offset97 = new A.Offset() { X = 1704975L, Y = 2676525L };
            A.Extents extents97 = new A.Extents() { Cx = 3905250L, Cy = 0L };

            transform2D97.Append(offset97);
            transform2D97.Append(extents97);

            A.PresetGeometry presetGeometry95 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList97 = new A.AdjustValueList();

            presetGeometry95.Append(adjustValueList97);
            A.NoFill noFill189 = new A.NoFill();

            A.Outline outline100 = new A.Outline() { Width = 9525 };
            A.NoFill noFill190 = new A.NoFill();
            A.Miter miter95 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd97 = new A.HeadEnd();
            A.TailEnd tailEnd97 = new A.TailEnd();

            outline100.Append(noFill190);
            outline100.Append(miter95);
            outline100.Append(headEnd97);
            outline100.Append(tailEnd97);

            shapeProperties97.Append(transform2D97);
            shapeProperties97.Append(presetGeometry95);
            shapeProperties97.Append(noFill189);
            shapeProperties97.Append(outline100);

            picture95.Append(nonVisualPictureProperties95);
            picture95.Append(blipFill95);
            picture95.Append(shapeProperties97);
            Xdr.ClientData clientData95 = new Xdr.ClientData();

            twoCellAnchor95.Append(fromMarker95);
            twoCellAnchor95.Append(toMarker95);
            twoCellAnchor95.Append(picture95);
            twoCellAnchor95.Append(clientData95);

            Xdr.TwoCellAnchor twoCellAnchor96 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker96 = new Xdr.FromMarker();
            Xdr.ColumnId columnId191 = new Xdr.ColumnId();
            columnId191.Text = "2";
            Xdr.ColumnOffset columnOffset191 = new Xdr.ColumnOffset();
            columnOffset191.Text = "19050";
            Xdr.RowId rowId191 = new Xdr.RowId();
            rowId191.Text = "13";
            Xdr.RowOffset rowOffset191 = new Xdr.RowOffset();
            rowOffset191.Text = "0";

            fromMarker96.Append(columnId191);
            fromMarker96.Append(columnOffset191);
            fromMarker96.Append(rowId191);
            fromMarker96.Append(rowOffset191);

            Xdr.ToMarker toMarker96 = new Xdr.ToMarker();
            Xdr.ColumnId columnId192 = new Xdr.ColumnId();
            columnId192.Text = "4";
            Xdr.ColumnOffset columnOffset192 = new Xdr.ColumnOffset();
            columnOffset192.Text = "0";
            Xdr.RowId rowId192 = new Xdr.RowId();
            rowId192.Text = "13";
            Xdr.RowOffset rowOffset192 = new Xdr.RowOffset();
            rowOffset192.Text = "0";

            toMarker96.Append(columnId192);
            toMarker96.Append(columnOffset192);
            toMarker96.Append(rowId192);
            toMarker96.Append(rowOffset192);

            Xdr.Picture picture96 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties96 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties96 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2961U, Name = "Picture 344" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties96 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks96 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties96.Append(pictureLocks96);

            nonVisualPictureProperties96.Append(nonVisualDrawingProperties96);
            nonVisualPictureProperties96.Append(nonVisualPictureDrawingProperties96);

            Xdr.BlipFill blipFill96 = new Xdr.BlipFill();

            A.Blip blip96 = new A.Blip() { Embed = "rId1" };
            blip96.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle96 = new A.SourceRectangle();

            A.Stretch stretch96 = new A.Stretch();
            A.FillRectangle fillRectangle96 = new A.FillRectangle();

            stretch96.Append(fillRectangle96);

            blipFill96.Append(blip96);
            blipFill96.Append(sourceRectangle96);
            blipFill96.Append(stretch96);

            Xdr.ShapeProperties shapeProperties98 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D98 = new A.Transform2D();
            A.Offset offset98 = new A.Offset() { X = 1704975L, Y = 2676525L };
            A.Extents extents98 = new A.Extents() { Cx = 3905250L, Cy = 0L };

            transform2D98.Append(offset98);
            transform2D98.Append(extents98);

            A.PresetGeometry presetGeometry96 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList98 = new A.AdjustValueList();

            presetGeometry96.Append(adjustValueList98);
            A.NoFill noFill191 = new A.NoFill();

            A.Outline outline101 = new A.Outline() { Width = 9525 };
            A.NoFill noFill192 = new A.NoFill();
            A.Miter miter96 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd98 = new A.HeadEnd();
            A.TailEnd tailEnd98 = new A.TailEnd();

            outline101.Append(noFill192);
            outline101.Append(miter96);
            outline101.Append(headEnd98);
            outline101.Append(tailEnd98);

            shapeProperties98.Append(transform2D98);
            shapeProperties98.Append(presetGeometry96);
            shapeProperties98.Append(noFill191);
            shapeProperties98.Append(outline101);

            picture96.Append(nonVisualPictureProperties96);
            picture96.Append(blipFill96);
            picture96.Append(shapeProperties98);
            Xdr.ClientData clientData96 = new Xdr.ClientData();

            twoCellAnchor96.Append(fromMarker96);
            twoCellAnchor96.Append(toMarker96);
            twoCellAnchor96.Append(picture96);
            twoCellAnchor96.Append(clientData96);

            Xdr.TwoCellAnchor twoCellAnchor97 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker97 = new Xdr.FromMarker();
            Xdr.ColumnId columnId193 = new Xdr.ColumnId();
            columnId193.Text = "2";
            Xdr.ColumnOffset columnOffset193 = new Xdr.ColumnOffset();
            columnOffset193.Text = "19050";
            Xdr.RowId rowId193 = new Xdr.RowId();
            rowId193.Text = "13";
            Xdr.RowOffset rowOffset193 = new Xdr.RowOffset();
            rowOffset193.Text = "0";

            fromMarker97.Append(columnId193);
            fromMarker97.Append(columnOffset193);
            fromMarker97.Append(rowId193);
            fromMarker97.Append(rowOffset193);

            Xdr.ToMarker toMarker97 = new Xdr.ToMarker();
            Xdr.ColumnId columnId194 = new Xdr.ColumnId();
            columnId194.Text = "4";
            Xdr.ColumnOffset columnOffset194 = new Xdr.ColumnOffset();
            columnOffset194.Text = "0";
            Xdr.RowId rowId194 = new Xdr.RowId();
            rowId194.Text = "13";
            Xdr.RowOffset rowOffset194 = new Xdr.RowOffset();
            rowOffset194.Text = "0";

            toMarker97.Append(columnId194);
            toMarker97.Append(columnOffset194);
            toMarker97.Append(rowId194);
            toMarker97.Append(rowOffset194);

            Xdr.Picture picture97 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties97 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties97 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2962U, Name = "Picture 345" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties97 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks97 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties97.Append(pictureLocks97);

            nonVisualPictureProperties97.Append(nonVisualDrawingProperties97);
            nonVisualPictureProperties97.Append(nonVisualPictureDrawingProperties97);

            Xdr.BlipFill blipFill97 = new Xdr.BlipFill();

            A.Blip blip97 = new A.Blip() { Embed = "rId1" };
            blip97.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle97 = new A.SourceRectangle();

            A.Stretch stretch97 = new A.Stretch();
            A.FillRectangle fillRectangle97 = new A.FillRectangle();

            stretch97.Append(fillRectangle97);

            blipFill97.Append(blip97);
            blipFill97.Append(sourceRectangle97);
            blipFill97.Append(stretch97);

            Xdr.ShapeProperties shapeProperties99 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D99 = new A.Transform2D();
            A.Offset offset99 = new A.Offset() { X = 1704975L, Y = 2676525L };
            A.Extents extents99 = new A.Extents() { Cx = 3905250L, Cy = 0L };

            transform2D99.Append(offset99);
            transform2D99.Append(extents99);

            A.PresetGeometry presetGeometry97 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList99 = new A.AdjustValueList();

            presetGeometry97.Append(adjustValueList99);
            A.NoFill noFill193 = new A.NoFill();

            A.Outline outline102 = new A.Outline() { Width = 9525 };
            A.NoFill noFill194 = new A.NoFill();
            A.Miter miter97 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd99 = new A.HeadEnd();
            A.TailEnd tailEnd99 = new A.TailEnd();

            outline102.Append(noFill194);
            outline102.Append(miter97);
            outline102.Append(headEnd99);
            outline102.Append(tailEnd99);

            shapeProperties99.Append(transform2D99);
            shapeProperties99.Append(presetGeometry97);
            shapeProperties99.Append(noFill193);
            shapeProperties99.Append(outline102);

            picture97.Append(nonVisualPictureProperties97);
            picture97.Append(blipFill97);
            picture97.Append(shapeProperties99);
            Xdr.ClientData clientData97 = new Xdr.ClientData();

            twoCellAnchor97.Append(fromMarker97);
            twoCellAnchor97.Append(toMarker97);
            twoCellAnchor97.Append(picture97);
            twoCellAnchor97.Append(clientData97);

            Xdr.TwoCellAnchor twoCellAnchor98 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker98 = new Xdr.FromMarker();
            Xdr.ColumnId columnId195 = new Xdr.ColumnId();
            columnId195.Text = "2";
            Xdr.ColumnOffset columnOffset195 = new Xdr.ColumnOffset();
            columnOffset195.Text = "19050";
            Xdr.RowId rowId195 = new Xdr.RowId();
            rowId195.Text = "13";
            Xdr.RowOffset rowOffset195 = new Xdr.RowOffset();
            rowOffset195.Text = "0";

            fromMarker98.Append(columnId195);
            fromMarker98.Append(columnOffset195);
            fromMarker98.Append(rowId195);
            fromMarker98.Append(rowOffset195);

            Xdr.ToMarker toMarker98 = new Xdr.ToMarker();
            Xdr.ColumnId columnId196 = new Xdr.ColumnId();
            columnId196.Text = "4";
            Xdr.ColumnOffset columnOffset196 = new Xdr.ColumnOffset();
            columnOffset196.Text = "0";
            Xdr.RowId rowId196 = new Xdr.RowId();
            rowId196.Text = "13";
            Xdr.RowOffset rowOffset196 = new Xdr.RowOffset();
            rowOffset196.Text = "0";

            toMarker98.Append(columnId196);
            toMarker98.Append(columnOffset196);
            toMarker98.Append(rowId196);
            toMarker98.Append(rowOffset196);

            Xdr.Picture picture98 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties98 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties98 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2963U, Name = "Picture 346" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties98 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks98 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties98.Append(pictureLocks98);

            nonVisualPictureProperties98.Append(nonVisualDrawingProperties98);
            nonVisualPictureProperties98.Append(nonVisualPictureDrawingProperties98);

            Xdr.BlipFill blipFill98 = new Xdr.BlipFill();

            A.Blip blip98 = new A.Blip() { Embed = "rId1" };
            blip98.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle98 = new A.SourceRectangle();

            A.Stretch stretch98 = new A.Stretch();
            A.FillRectangle fillRectangle98 = new A.FillRectangle();

            stretch98.Append(fillRectangle98);

            blipFill98.Append(blip98);
            blipFill98.Append(sourceRectangle98);
            blipFill98.Append(stretch98);

            Xdr.ShapeProperties shapeProperties100 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D100 = new A.Transform2D();
            A.Offset offset100 = new A.Offset() { X = 1704975L, Y = 2676525L };
            A.Extents extents100 = new A.Extents() { Cx = 3905250L, Cy = 0L };

            transform2D100.Append(offset100);
            transform2D100.Append(extents100);

            A.PresetGeometry presetGeometry98 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList100 = new A.AdjustValueList();

            presetGeometry98.Append(adjustValueList100);
            A.NoFill noFill195 = new A.NoFill();

            A.Outline outline103 = new A.Outline() { Width = 9525 };
            A.NoFill noFill196 = new A.NoFill();
            A.Miter miter98 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd100 = new A.HeadEnd();
            A.TailEnd tailEnd100 = new A.TailEnd();

            outline103.Append(noFill196);
            outline103.Append(miter98);
            outline103.Append(headEnd100);
            outline103.Append(tailEnd100);

            shapeProperties100.Append(transform2D100);
            shapeProperties100.Append(presetGeometry98);
            shapeProperties100.Append(noFill195);
            shapeProperties100.Append(outline103);

            picture98.Append(nonVisualPictureProperties98);
            picture98.Append(blipFill98);
            picture98.Append(shapeProperties100);
            Xdr.ClientData clientData98 = new Xdr.ClientData();

            twoCellAnchor98.Append(fromMarker98);
            twoCellAnchor98.Append(toMarker98);
            twoCellAnchor98.Append(picture98);
            twoCellAnchor98.Append(clientData98);

            Xdr.TwoCellAnchor twoCellAnchor99 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker99 = new Xdr.FromMarker();
            Xdr.ColumnId columnId197 = new Xdr.ColumnId();
            columnId197.Text = "2";
            Xdr.ColumnOffset columnOffset197 = new Xdr.ColumnOffset();
            columnOffset197.Text = "19050";
            Xdr.RowId rowId197 = new Xdr.RowId();
            rowId197.Text = "13";
            Xdr.RowOffset rowOffset197 = new Xdr.RowOffset();
            rowOffset197.Text = "0";

            fromMarker99.Append(columnId197);
            fromMarker99.Append(columnOffset197);
            fromMarker99.Append(rowId197);
            fromMarker99.Append(rowOffset197);

            Xdr.ToMarker toMarker99 = new Xdr.ToMarker();
            Xdr.ColumnId columnId198 = new Xdr.ColumnId();
            columnId198.Text = "4";
            Xdr.ColumnOffset columnOffset198 = new Xdr.ColumnOffset();
            columnOffset198.Text = "0";
            Xdr.RowId rowId198 = new Xdr.RowId();
            rowId198.Text = "13";
            Xdr.RowOffset rowOffset198 = new Xdr.RowOffset();
            rowOffset198.Text = "0";

            toMarker99.Append(columnId198);
            toMarker99.Append(columnOffset198);
            toMarker99.Append(rowId198);
            toMarker99.Append(rowOffset198);

            Xdr.Picture picture99 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties99 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties99 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2964U, Name = "Picture 347" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties99 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks99 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties99.Append(pictureLocks99);

            nonVisualPictureProperties99.Append(nonVisualDrawingProperties99);
            nonVisualPictureProperties99.Append(nonVisualPictureDrawingProperties99);

            Xdr.BlipFill blipFill99 = new Xdr.BlipFill();

            A.Blip blip99 = new A.Blip() { Embed = "rId1" };
            blip99.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle99 = new A.SourceRectangle();

            A.Stretch stretch99 = new A.Stretch();
            A.FillRectangle fillRectangle99 = new A.FillRectangle();

            stretch99.Append(fillRectangle99);

            blipFill99.Append(blip99);
            blipFill99.Append(sourceRectangle99);
            blipFill99.Append(stretch99);

            Xdr.ShapeProperties shapeProperties101 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D101 = new A.Transform2D();
            A.Offset offset101 = new A.Offset() { X = 1704975L, Y = 2676525L };
            A.Extents extents101 = new A.Extents() { Cx = 3905250L, Cy = 0L };

            transform2D101.Append(offset101);
            transform2D101.Append(extents101);

            A.PresetGeometry presetGeometry99 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList101 = new A.AdjustValueList();

            presetGeometry99.Append(adjustValueList101);
            A.NoFill noFill197 = new A.NoFill();

            A.Outline outline104 = new A.Outline() { Width = 9525 };
            A.NoFill noFill198 = new A.NoFill();
            A.Miter miter99 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd101 = new A.HeadEnd();
            A.TailEnd tailEnd101 = new A.TailEnd();

            outline104.Append(noFill198);
            outline104.Append(miter99);
            outline104.Append(headEnd101);
            outline104.Append(tailEnd101);

            shapeProperties101.Append(transform2D101);
            shapeProperties101.Append(presetGeometry99);
            shapeProperties101.Append(noFill197);
            shapeProperties101.Append(outline104);

            picture99.Append(nonVisualPictureProperties99);
            picture99.Append(blipFill99);
            picture99.Append(shapeProperties101);
            Xdr.ClientData clientData99 = new Xdr.ClientData();

            twoCellAnchor99.Append(fromMarker99);
            twoCellAnchor99.Append(toMarker99);
            twoCellAnchor99.Append(picture99);
            twoCellAnchor99.Append(clientData99);

            Xdr.TwoCellAnchor twoCellAnchor100 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker100 = new Xdr.FromMarker();
            Xdr.ColumnId columnId199 = new Xdr.ColumnId();
            columnId199.Text = "2";
            Xdr.ColumnOffset columnOffset199 = new Xdr.ColumnOffset();
            columnOffset199.Text = "19050";
            Xdr.RowId rowId199 = new Xdr.RowId();
            rowId199.Text = "13";
            Xdr.RowOffset rowOffset199 = new Xdr.RowOffset();
            rowOffset199.Text = "0";

            fromMarker100.Append(columnId199);
            fromMarker100.Append(columnOffset199);
            fromMarker100.Append(rowId199);
            fromMarker100.Append(rowOffset199);

            Xdr.ToMarker toMarker100 = new Xdr.ToMarker();
            Xdr.ColumnId columnId200 = new Xdr.ColumnId();
            columnId200.Text = "4";
            Xdr.ColumnOffset columnOffset200 = new Xdr.ColumnOffset();
            columnOffset200.Text = "0";
            Xdr.RowId rowId200 = new Xdr.RowId();
            rowId200.Text = "13";
            Xdr.RowOffset rowOffset200 = new Xdr.RowOffset();
            rowOffset200.Text = "0";

            toMarker100.Append(columnId200);
            toMarker100.Append(columnOffset200);
            toMarker100.Append(rowId200);
            toMarker100.Append(rowOffset200);

            Xdr.Picture picture100 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties100 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties100 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2965U, Name = "Picture 348" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties100 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks100 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties100.Append(pictureLocks100);

            nonVisualPictureProperties100.Append(nonVisualDrawingProperties100);
            nonVisualPictureProperties100.Append(nonVisualPictureDrawingProperties100);

            Xdr.BlipFill blipFill100 = new Xdr.BlipFill();

            A.Blip blip100 = new A.Blip() { Embed = "rId1" };
            blip100.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle100 = new A.SourceRectangle();

            A.Stretch stretch100 = new A.Stretch();
            A.FillRectangle fillRectangle100 = new A.FillRectangle();

            stretch100.Append(fillRectangle100);

            blipFill100.Append(blip100);
            blipFill100.Append(sourceRectangle100);
            blipFill100.Append(stretch100);

            Xdr.ShapeProperties shapeProperties102 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D102 = new A.Transform2D();
            A.Offset offset102 = new A.Offset() { X = 1704975L, Y = 2676525L };
            A.Extents extents102 = new A.Extents() { Cx = 3905250L, Cy = 0L };

            transform2D102.Append(offset102);
            transform2D102.Append(extents102);

            A.PresetGeometry presetGeometry100 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList102 = new A.AdjustValueList();

            presetGeometry100.Append(adjustValueList102);
            A.NoFill noFill199 = new A.NoFill();

            A.Outline outline105 = new A.Outline() { Width = 9525 };
            A.NoFill noFill200 = new A.NoFill();
            A.Miter miter100 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd102 = new A.HeadEnd();
            A.TailEnd tailEnd102 = new A.TailEnd();

            outline105.Append(noFill200);
            outline105.Append(miter100);
            outline105.Append(headEnd102);
            outline105.Append(tailEnd102);

            shapeProperties102.Append(transform2D102);
            shapeProperties102.Append(presetGeometry100);
            shapeProperties102.Append(noFill199);
            shapeProperties102.Append(outline105);

            picture100.Append(nonVisualPictureProperties100);
            picture100.Append(blipFill100);
            picture100.Append(shapeProperties102);
            Xdr.ClientData clientData100 = new Xdr.ClientData();

            twoCellAnchor100.Append(fromMarker100);
            twoCellAnchor100.Append(toMarker100);
            twoCellAnchor100.Append(picture100);
            twoCellAnchor100.Append(clientData100);

            Xdr.TwoCellAnchor twoCellAnchor101 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker101 = new Xdr.FromMarker();
            Xdr.ColumnId columnId201 = new Xdr.ColumnId();
            columnId201.Text = "2";
            Xdr.ColumnOffset columnOffset201 = new Xdr.ColumnOffset();
            columnOffset201.Text = "19050";
            Xdr.RowId rowId201 = new Xdr.RowId();
            rowId201.Text = "13";
            Xdr.RowOffset rowOffset201 = new Xdr.RowOffset();
            rowOffset201.Text = "0";

            fromMarker101.Append(columnId201);
            fromMarker101.Append(columnOffset201);
            fromMarker101.Append(rowId201);
            fromMarker101.Append(rowOffset201);

            Xdr.ToMarker toMarker101 = new Xdr.ToMarker();
            Xdr.ColumnId columnId202 = new Xdr.ColumnId();
            columnId202.Text = "4";
            Xdr.ColumnOffset columnOffset202 = new Xdr.ColumnOffset();
            columnOffset202.Text = "0";
            Xdr.RowId rowId202 = new Xdr.RowId();
            rowId202.Text = "13";
            Xdr.RowOffset rowOffset202 = new Xdr.RowOffset();
            rowOffset202.Text = "0";

            toMarker101.Append(columnId202);
            toMarker101.Append(columnOffset202);
            toMarker101.Append(rowId202);
            toMarker101.Append(rowOffset202);

            Xdr.Picture picture101 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties101 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties101 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2966U, Name = "Picture 349" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties101 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks101 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties101.Append(pictureLocks101);

            nonVisualPictureProperties101.Append(nonVisualDrawingProperties101);
            nonVisualPictureProperties101.Append(nonVisualPictureDrawingProperties101);

            Xdr.BlipFill blipFill101 = new Xdr.BlipFill();

            A.Blip blip101 = new A.Blip() { Embed = "rId1" };
            blip101.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle101 = new A.SourceRectangle();

            A.Stretch stretch101 = new A.Stretch();
            A.FillRectangle fillRectangle101 = new A.FillRectangle();

            stretch101.Append(fillRectangle101);

            blipFill101.Append(blip101);
            blipFill101.Append(sourceRectangle101);
            blipFill101.Append(stretch101);

            Xdr.ShapeProperties shapeProperties103 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D103 = new A.Transform2D();
            A.Offset offset103 = new A.Offset() { X = 1704975L, Y = 2676525L };
            A.Extents extents103 = new A.Extents() { Cx = 3905250L, Cy = 0L };

            transform2D103.Append(offset103);
            transform2D103.Append(extents103);

            A.PresetGeometry presetGeometry101 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList103 = new A.AdjustValueList();

            presetGeometry101.Append(adjustValueList103);
            A.NoFill noFill201 = new A.NoFill();

            A.Outline outline106 = new A.Outline() { Width = 9525 };
            A.NoFill noFill202 = new A.NoFill();
            A.Miter miter101 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd103 = new A.HeadEnd();
            A.TailEnd tailEnd103 = new A.TailEnd();

            outline106.Append(noFill202);
            outline106.Append(miter101);
            outline106.Append(headEnd103);
            outline106.Append(tailEnd103);

            shapeProperties103.Append(transform2D103);
            shapeProperties103.Append(presetGeometry101);
            shapeProperties103.Append(noFill201);
            shapeProperties103.Append(outline106);

            picture101.Append(nonVisualPictureProperties101);
            picture101.Append(blipFill101);
            picture101.Append(shapeProperties103);
            Xdr.ClientData clientData101 = new Xdr.ClientData();

            twoCellAnchor101.Append(fromMarker101);
            twoCellAnchor101.Append(toMarker101);
            twoCellAnchor101.Append(picture101);
            twoCellAnchor101.Append(clientData101);

            Xdr.TwoCellAnchor twoCellAnchor102 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker102 = new Xdr.FromMarker();
            Xdr.ColumnId columnId203 = new Xdr.ColumnId();
            columnId203.Text = "2";
            Xdr.ColumnOffset columnOffset203 = new Xdr.ColumnOffset();
            columnOffset203.Text = "19050";
            Xdr.RowId rowId203 = new Xdr.RowId();
            rowId203.Text = "13";
            Xdr.RowOffset rowOffset203 = new Xdr.RowOffset();
            rowOffset203.Text = "0";

            fromMarker102.Append(columnId203);
            fromMarker102.Append(columnOffset203);
            fromMarker102.Append(rowId203);
            fromMarker102.Append(rowOffset203);

            Xdr.ToMarker toMarker102 = new Xdr.ToMarker();
            Xdr.ColumnId columnId204 = new Xdr.ColumnId();
            columnId204.Text = "4";
            Xdr.ColumnOffset columnOffset204 = new Xdr.ColumnOffset();
            columnOffset204.Text = "0";
            Xdr.RowId rowId204 = new Xdr.RowId();
            rowId204.Text = "13";
            Xdr.RowOffset rowOffset204 = new Xdr.RowOffset();
            rowOffset204.Text = "0";

            toMarker102.Append(columnId204);
            toMarker102.Append(columnOffset204);
            toMarker102.Append(rowId204);
            toMarker102.Append(rowOffset204);

            Xdr.Picture picture102 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties102 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties102 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2967U, Name = "Picture 350" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties102 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks102 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties102.Append(pictureLocks102);

            nonVisualPictureProperties102.Append(nonVisualDrawingProperties102);
            nonVisualPictureProperties102.Append(nonVisualPictureDrawingProperties102);

            Xdr.BlipFill blipFill102 = new Xdr.BlipFill();

            A.Blip blip102 = new A.Blip() { Embed = "rId1" };
            blip102.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle102 = new A.SourceRectangle();

            A.Stretch stretch102 = new A.Stretch();
            A.FillRectangle fillRectangle102 = new A.FillRectangle();

            stretch102.Append(fillRectangle102);

            blipFill102.Append(blip102);
            blipFill102.Append(sourceRectangle102);
            blipFill102.Append(stretch102);

            Xdr.ShapeProperties shapeProperties104 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D104 = new A.Transform2D();
            A.Offset offset104 = new A.Offset() { X = 1704975L, Y = 2676525L };
            A.Extents extents104 = new A.Extents() { Cx = 3905250L, Cy = 0L };

            transform2D104.Append(offset104);
            transform2D104.Append(extents104);

            A.PresetGeometry presetGeometry102 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList104 = new A.AdjustValueList();

            presetGeometry102.Append(adjustValueList104);
            A.NoFill noFill203 = new A.NoFill();

            A.Outline outline107 = new A.Outline() { Width = 9525 };
            A.NoFill noFill204 = new A.NoFill();
            A.Miter miter102 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd104 = new A.HeadEnd();
            A.TailEnd tailEnd104 = new A.TailEnd();

            outline107.Append(noFill204);
            outline107.Append(miter102);
            outline107.Append(headEnd104);
            outline107.Append(tailEnd104);

            shapeProperties104.Append(transform2D104);
            shapeProperties104.Append(presetGeometry102);
            shapeProperties104.Append(noFill203);
            shapeProperties104.Append(outline107);

            picture102.Append(nonVisualPictureProperties102);
            picture102.Append(blipFill102);
            picture102.Append(shapeProperties104);
            Xdr.ClientData clientData102 = new Xdr.ClientData();

            twoCellAnchor102.Append(fromMarker102);
            twoCellAnchor102.Append(toMarker102);
            twoCellAnchor102.Append(picture102);
            twoCellAnchor102.Append(clientData102);

            Xdr.TwoCellAnchor twoCellAnchor103 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker103 = new Xdr.FromMarker();
            Xdr.ColumnId columnId205 = new Xdr.ColumnId();
            columnId205.Text = "2";
            Xdr.ColumnOffset columnOffset205 = new Xdr.ColumnOffset();
            columnOffset205.Text = "19050";
            Xdr.RowId rowId205 = new Xdr.RowId();
            rowId205.Text = "13";
            Xdr.RowOffset rowOffset205 = new Xdr.RowOffset();
            rowOffset205.Text = "0";

            fromMarker103.Append(columnId205);
            fromMarker103.Append(columnOffset205);
            fromMarker103.Append(rowId205);
            fromMarker103.Append(rowOffset205);

            Xdr.ToMarker toMarker103 = new Xdr.ToMarker();
            Xdr.ColumnId columnId206 = new Xdr.ColumnId();
            columnId206.Text = "4";
            Xdr.ColumnOffset columnOffset206 = new Xdr.ColumnOffset();
            columnOffset206.Text = "0";
            Xdr.RowId rowId206 = new Xdr.RowId();
            rowId206.Text = "13";
            Xdr.RowOffset rowOffset206 = new Xdr.RowOffset();
            rowOffset206.Text = "0";

            toMarker103.Append(columnId206);
            toMarker103.Append(columnOffset206);
            toMarker103.Append(rowId206);
            toMarker103.Append(rowOffset206);

            Xdr.Picture picture103 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties103 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties103 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2968U, Name = "Picture 351" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties103 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks103 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties103.Append(pictureLocks103);

            nonVisualPictureProperties103.Append(nonVisualDrawingProperties103);
            nonVisualPictureProperties103.Append(nonVisualPictureDrawingProperties103);

            Xdr.BlipFill blipFill103 = new Xdr.BlipFill();

            A.Blip blip103 = new A.Blip() { Embed = "rId1" };
            blip103.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle103 = new A.SourceRectangle();

            A.Stretch stretch103 = new A.Stretch();
            A.FillRectangle fillRectangle103 = new A.FillRectangle();

            stretch103.Append(fillRectangle103);

            blipFill103.Append(blip103);
            blipFill103.Append(sourceRectangle103);
            blipFill103.Append(stretch103);

            Xdr.ShapeProperties shapeProperties105 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D105 = new A.Transform2D();
            A.Offset offset105 = new A.Offset() { X = 1704975L, Y = 2676525L };
            A.Extents extents105 = new A.Extents() { Cx = 3905250L, Cy = 0L };

            transform2D105.Append(offset105);
            transform2D105.Append(extents105);

            A.PresetGeometry presetGeometry103 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList105 = new A.AdjustValueList();

            presetGeometry103.Append(adjustValueList105);
            A.NoFill noFill205 = new A.NoFill();

            A.Outline outline108 = new A.Outline() { Width = 9525 };
            A.NoFill noFill206 = new A.NoFill();
            A.Miter miter103 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd105 = new A.HeadEnd();
            A.TailEnd tailEnd105 = new A.TailEnd();

            outline108.Append(noFill206);
            outline108.Append(miter103);
            outline108.Append(headEnd105);
            outline108.Append(tailEnd105);

            shapeProperties105.Append(transform2D105);
            shapeProperties105.Append(presetGeometry103);
            shapeProperties105.Append(noFill205);
            shapeProperties105.Append(outline108);

            picture103.Append(nonVisualPictureProperties103);
            picture103.Append(blipFill103);
            picture103.Append(shapeProperties105);
            Xdr.ClientData clientData103 = new Xdr.ClientData();

            twoCellAnchor103.Append(fromMarker103);
            twoCellAnchor103.Append(toMarker103);
            twoCellAnchor103.Append(picture103);
            twoCellAnchor103.Append(clientData103);

            Xdr.TwoCellAnchor twoCellAnchor104 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker104 = new Xdr.FromMarker();
            Xdr.ColumnId columnId207 = new Xdr.ColumnId();
            columnId207.Text = "2";
            Xdr.ColumnOffset columnOffset207 = new Xdr.ColumnOffset();
            columnOffset207.Text = "0";
            Xdr.RowId rowId207 = new Xdr.RowId();
            rowId207.Text = "13";
            Xdr.RowOffset rowOffset207 = new Xdr.RowOffset();
            rowOffset207.Text = "0";

            fromMarker104.Append(columnId207);
            fromMarker104.Append(columnOffset207);
            fromMarker104.Append(rowId207);
            fromMarker104.Append(rowOffset207);

            Xdr.ToMarker toMarker104 = new Xdr.ToMarker();
            Xdr.ColumnId columnId208 = new Xdr.ColumnId();
            columnId208.Text = "4";
            Xdr.ColumnOffset columnOffset208 = new Xdr.ColumnOffset();
            columnOffset208.Text = "0";
            Xdr.RowId rowId208 = new Xdr.RowId();
            rowId208.Text = "13";
            Xdr.RowOffset rowOffset208 = new Xdr.RowOffset();
            rowOffset208.Text = "0";

            toMarker104.Append(columnId208);
            toMarker104.Append(columnOffset208);
            toMarker104.Append(rowId208);
            toMarker104.Append(rowOffset208);

            Xdr.Picture picture104 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties104 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties104 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2969U, Name = "Picture 352" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties104 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks104 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties104.Append(pictureLocks104);

            nonVisualPictureProperties104.Append(nonVisualDrawingProperties104);
            nonVisualPictureProperties104.Append(nonVisualPictureDrawingProperties104);

            Xdr.BlipFill blipFill104 = new Xdr.BlipFill();

            A.Blip blip104 = new A.Blip() { Embed = "rId1" };
            blip104.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle104 = new A.SourceRectangle();

            A.Stretch stretch104 = new A.Stretch();
            A.FillRectangle fillRectangle104 = new A.FillRectangle();

            stretch104.Append(fillRectangle104);

            blipFill104.Append(blip104);
            blipFill104.Append(sourceRectangle104);
            blipFill104.Append(stretch104);

            Xdr.ShapeProperties shapeProperties106 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D106 = new A.Transform2D();
            A.Offset offset106 = new A.Offset() { X = 1685925L, Y = 2676525L };
            A.Extents extents106 = new A.Extents() { Cx = 3924300L, Cy = 0L };

            transform2D106.Append(offset106);
            transform2D106.Append(extents106);

            A.PresetGeometry presetGeometry104 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList106 = new A.AdjustValueList();

            presetGeometry104.Append(adjustValueList106);
            A.NoFill noFill207 = new A.NoFill();

            A.Outline outline109 = new A.Outline() { Width = 9525 };
            A.NoFill noFill208 = new A.NoFill();
            A.Miter miter104 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd106 = new A.HeadEnd();
            A.TailEnd tailEnd106 = new A.TailEnd();

            outline109.Append(noFill208);
            outline109.Append(miter104);
            outline109.Append(headEnd106);
            outline109.Append(tailEnd106);

            shapeProperties106.Append(transform2D106);
            shapeProperties106.Append(presetGeometry104);
            shapeProperties106.Append(noFill207);
            shapeProperties106.Append(outline109);

            picture104.Append(nonVisualPictureProperties104);
            picture104.Append(blipFill104);
            picture104.Append(shapeProperties106);
            Xdr.ClientData clientData104 = new Xdr.ClientData();

            twoCellAnchor104.Append(fromMarker104);
            twoCellAnchor104.Append(toMarker104);
            twoCellAnchor104.Append(picture104);
            twoCellAnchor104.Append(clientData104);

            Xdr.TwoCellAnchor twoCellAnchor105 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker105 = new Xdr.FromMarker();
            Xdr.ColumnId columnId209 = new Xdr.ColumnId();
            columnId209.Text = "2";
            Xdr.ColumnOffset columnOffset209 = new Xdr.ColumnOffset();
            columnOffset209.Text = "0";
            Xdr.RowId rowId209 = new Xdr.RowId();
            rowId209.Text = "13";
            Xdr.RowOffset rowOffset209 = new Xdr.RowOffset();
            rowOffset209.Text = "0";

            fromMarker105.Append(columnId209);
            fromMarker105.Append(columnOffset209);
            fromMarker105.Append(rowId209);
            fromMarker105.Append(rowOffset209);

            Xdr.ToMarker toMarker105 = new Xdr.ToMarker();
            Xdr.ColumnId columnId210 = new Xdr.ColumnId();
            columnId210.Text = "4";
            Xdr.ColumnOffset columnOffset210 = new Xdr.ColumnOffset();
            columnOffset210.Text = "0";
            Xdr.RowId rowId210 = new Xdr.RowId();
            rowId210.Text = "13";
            Xdr.RowOffset rowOffset210 = new Xdr.RowOffset();
            rowOffset210.Text = "0";

            toMarker105.Append(columnId210);
            toMarker105.Append(columnOffset210);
            toMarker105.Append(rowId210);
            toMarker105.Append(rowOffset210);

            Xdr.Picture picture105 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties105 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties105 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2970U, Name = "Picture 353" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties105 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks105 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties105.Append(pictureLocks105);

            nonVisualPictureProperties105.Append(nonVisualDrawingProperties105);
            nonVisualPictureProperties105.Append(nonVisualPictureDrawingProperties105);

            Xdr.BlipFill blipFill105 = new Xdr.BlipFill();

            A.Blip blip105 = new A.Blip() { Embed = "rId1" };
            blip105.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle105 = new A.SourceRectangle();

            A.Stretch stretch105 = new A.Stretch();
            A.FillRectangle fillRectangle105 = new A.FillRectangle();

            stretch105.Append(fillRectangle105);

            blipFill105.Append(blip105);
            blipFill105.Append(sourceRectangle105);
            blipFill105.Append(stretch105);

            Xdr.ShapeProperties shapeProperties107 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D107 = new A.Transform2D();
            A.Offset offset107 = new A.Offset() { X = 1685925L, Y = 2676525L };
            A.Extents extents107 = new A.Extents() { Cx = 3924300L, Cy = 0L };

            transform2D107.Append(offset107);
            transform2D107.Append(extents107);

            A.PresetGeometry presetGeometry105 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList107 = new A.AdjustValueList();

            presetGeometry105.Append(adjustValueList107);
            A.NoFill noFill209 = new A.NoFill();

            A.Outline outline110 = new A.Outline() { Width = 9525 };
            A.NoFill noFill210 = new A.NoFill();
            A.Miter miter105 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd107 = new A.HeadEnd();
            A.TailEnd tailEnd107 = new A.TailEnd();

            outline110.Append(noFill210);
            outline110.Append(miter105);
            outline110.Append(headEnd107);
            outline110.Append(tailEnd107);

            shapeProperties107.Append(transform2D107);
            shapeProperties107.Append(presetGeometry105);
            shapeProperties107.Append(noFill209);
            shapeProperties107.Append(outline110);

            picture105.Append(nonVisualPictureProperties105);
            picture105.Append(blipFill105);
            picture105.Append(shapeProperties107);
            Xdr.ClientData clientData105 = new Xdr.ClientData();

            twoCellAnchor105.Append(fromMarker105);
            twoCellAnchor105.Append(toMarker105);
            twoCellAnchor105.Append(picture105);
            twoCellAnchor105.Append(clientData105);

            Xdr.TwoCellAnchor twoCellAnchor106 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker106 = new Xdr.FromMarker();
            Xdr.ColumnId columnId211 = new Xdr.ColumnId();
            columnId211.Text = "2";
            Xdr.ColumnOffset columnOffset211 = new Xdr.ColumnOffset();
            columnOffset211.Text = "0";
            Xdr.RowId rowId211 = new Xdr.RowId();
            rowId211.Text = "13";
            Xdr.RowOffset rowOffset211 = new Xdr.RowOffset();
            rowOffset211.Text = "0";

            fromMarker106.Append(columnId211);
            fromMarker106.Append(columnOffset211);
            fromMarker106.Append(rowId211);
            fromMarker106.Append(rowOffset211);

            Xdr.ToMarker toMarker106 = new Xdr.ToMarker();
            Xdr.ColumnId columnId212 = new Xdr.ColumnId();
            columnId212.Text = "4";
            Xdr.ColumnOffset columnOffset212 = new Xdr.ColumnOffset();
            columnOffset212.Text = "0";
            Xdr.RowId rowId212 = new Xdr.RowId();
            rowId212.Text = "13";
            Xdr.RowOffset rowOffset212 = new Xdr.RowOffset();
            rowOffset212.Text = "0";

            toMarker106.Append(columnId212);
            toMarker106.Append(columnOffset212);
            toMarker106.Append(rowId212);
            toMarker106.Append(rowOffset212);

            Xdr.Picture picture106 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties106 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties106 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2971U, Name = "Picture 354" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties106 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks106 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties106.Append(pictureLocks106);

            nonVisualPictureProperties106.Append(nonVisualDrawingProperties106);
            nonVisualPictureProperties106.Append(nonVisualPictureDrawingProperties106);

            Xdr.BlipFill blipFill106 = new Xdr.BlipFill();

            A.Blip blip106 = new A.Blip() { Embed = "rId1" };
            blip106.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle106 = new A.SourceRectangle();

            A.Stretch stretch106 = new A.Stretch();
            A.FillRectangle fillRectangle106 = new A.FillRectangle();

            stretch106.Append(fillRectangle106);

            blipFill106.Append(blip106);
            blipFill106.Append(sourceRectangle106);
            blipFill106.Append(stretch106);

            Xdr.ShapeProperties shapeProperties108 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D108 = new A.Transform2D();
            A.Offset offset108 = new A.Offset() { X = 1685925L, Y = 2676525L };
            A.Extents extents108 = new A.Extents() { Cx = 3924300L, Cy = 0L };

            transform2D108.Append(offset108);
            transform2D108.Append(extents108);

            A.PresetGeometry presetGeometry106 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList108 = new A.AdjustValueList();

            presetGeometry106.Append(adjustValueList108);
            A.NoFill noFill211 = new A.NoFill();

            A.Outline outline111 = new A.Outline() { Width = 9525 };
            A.NoFill noFill212 = new A.NoFill();
            A.Miter miter106 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd108 = new A.HeadEnd();
            A.TailEnd tailEnd108 = new A.TailEnd();

            outline111.Append(noFill212);
            outline111.Append(miter106);
            outline111.Append(headEnd108);
            outline111.Append(tailEnd108);

            shapeProperties108.Append(transform2D108);
            shapeProperties108.Append(presetGeometry106);
            shapeProperties108.Append(noFill211);
            shapeProperties108.Append(outline111);

            picture106.Append(nonVisualPictureProperties106);
            picture106.Append(blipFill106);
            picture106.Append(shapeProperties108);
            Xdr.ClientData clientData106 = new Xdr.ClientData();

            twoCellAnchor106.Append(fromMarker106);
            twoCellAnchor106.Append(toMarker106);
            twoCellAnchor106.Append(picture106);
            twoCellAnchor106.Append(clientData106);

            Xdr.TwoCellAnchor twoCellAnchor107 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker107 = new Xdr.FromMarker();
            Xdr.ColumnId columnId213 = new Xdr.ColumnId();
            columnId213.Text = "2";
            Xdr.ColumnOffset columnOffset213 = new Xdr.ColumnOffset();
            columnOffset213.Text = "19050";
            Xdr.RowId rowId213 = new Xdr.RowId();
            rowId213.Text = "13";
            Xdr.RowOffset rowOffset213 = new Xdr.RowOffset();
            rowOffset213.Text = "0";

            fromMarker107.Append(columnId213);
            fromMarker107.Append(columnOffset213);
            fromMarker107.Append(rowId213);
            fromMarker107.Append(rowOffset213);

            Xdr.ToMarker toMarker107 = new Xdr.ToMarker();
            Xdr.ColumnId columnId214 = new Xdr.ColumnId();
            columnId214.Text = "4";
            Xdr.ColumnOffset columnOffset214 = new Xdr.ColumnOffset();
            columnOffset214.Text = "0";
            Xdr.RowId rowId214 = new Xdr.RowId();
            rowId214.Text = "13";
            Xdr.RowOffset rowOffset214 = new Xdr.RowOffset();
            rowOffset214.Text = "0";

            toMarker107.Append(columnId214);
            toMarker107.Append(columnOffset214);
            toMarker107.Append(rowId214);
            toMarker107.Append(rowOffset214);

            Xdr.Picture picture107 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties107 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties107 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2972U, Name = "Picture 355" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties107 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks107 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties107.Append(pictureLocks107);

            nonVisualPictureProperties107.Append(nonVisualDrawingProperties107);
            nonVisualPictureProperties107.Append(nonVisualPictureDrawingProperties107);

            Xdr.BlipFill blipFill107 = new Xdr.BlipFill();

            A.Blip blip107 = new A.Blip() { Embed = "rId1" };
            blip107.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle107 = new A.SourceRectangle();

            A.Stretch stretch107 = new A.Stretch();
            A.FillRectangle fillRectangle107 = new A.FillRectangle();

            stretch107.Append(fillRectangle107);

            blipFill107.Append(blip107);
            blipFill107.Append(sourceRectangle107);
            blipFill107.Append(stretch107);

            Xdr.ShapeProperties shapeProperties109 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D109 = new A.Transform2D();
            A.Offset offset109 = new A.Offset() { X = 1704975L, Y = 2676525L };
            A.Extents extents109 = new A.Extents() { Cx = 3905250L, Cy = 0L };

            transform2D109.Append(offset109);
            transform2D109.Append(extents109);

            A.PresetGeometry presetGeometry107 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList109 = new A.AdjustValueList();

            presetGeometry107.Append(adjustValueList109);
            A.NoFill noFill213 = new A.NoFill();

            A.Outline outline112 = new A.Outline() { Width = 9525 };
            A.NoFill noFill214 = new A.NoFill();
            A.Miter miter107 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd109 = new A.HeadEnd();
            A.TailEnd tailEnd109 = new A.TailEnd();

            outline112.Append(noFill214);
            outline112.Append(miter107);
            outline112.Append(headEnd109);
            outline112.Append(tailEnd109);

            shapeProperties109.Append(transform2D109);
            shapeProperties109.Append(presetGeometry107);
            shapeProperties109.Append(noFill213);
            shapeProperties109.Append(outline112);

            picture107.Append(nonVisualPictureProperties107);
            picture107.Append(blipFill107);
            picture107.Append(shapeProperties109);
            Xdr.ClientData clientData107 = new Xdr.ClientData();

            twoCellAnchor107.Append(fromMarker107);
            twoCellAnchor107.Append(toMarker107);
            twoCellAnchor107.Append(picture107);
            twoCellAnchor107.Append(clientData107);

            Xdr.TwoCellAnchor twoCellAnchor108 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker108 = new Xdr.FromMarker();
            Xdr.ColumnId columnId215 = new Xdr.ColumnId();
            columnId215.Text = "2";
            Xdr.ColumnOffset columnOffset215 = new Xdr.ColumnOffset();
            columnOffset215.Text = "19050";
            Xdr.RowId rowId215 = new Xdr.RowId();
            rowId215.Text = "13";
            Xdr.RowOffset rowOffset215 = new Xdr.RowOffset();
            rowOffset215.Text = "0";

            fromMarker108.Append(columnId215);
            fromMarker108.Append(columnOffset215);
            fromMarker108.Append(rowId215);
            fromMarker108.Append(rowOffset215);

            Xdr.ToMarker toMarker108 = new Xdr.ToMarker();
            Xdr.ColumnId columnId216 = new Xdr.ColumnId();
            columnId216.Text = "4";
            Xdr.ColumnOffset columnOffset216 = new Xdr.ColumnOffset();
            columnOffset216.Text = "0";
            Xdr.RowId rowId216 = new Xdr.RowId();
            rowId216.Text = "13";
            Xdr.RowOffset rowOffset216 = new Xdr.RowOffset();
            rowOffset216.Text = "0";

            toMarker108.Append(columnId216);
            toMarker108.Append(columnOffset216);
            toMarker108.Append(rowId216);
            toMarker108.Append(rowOffset216);

            Xdr.Picture picture108 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties108 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties108 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2973U, Name = "Picture 356" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties108 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks108 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties108.Append(pictureLocks108);

            nonVisualPictureProperties108.Append(nonVisualDrawingProperties108);
            nonVisualPictureProperties108.Append(nonVisualPictureDrawingProperties108);

            Xdr.BlipFill blipFill108 = new Xdr.BlipFill();

            A.Blip blip108 = new A.Blip() { Embed = "rId1" };
            blip108.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle108 = new A.SourceRectangle();

            A.Stretch stretch108 = new A.Stretch();
            A.FillRectangle fillRectangle108 = new A.FillRectangle();

            stretch108.Append(fillRectangle108);

            blipFill108.Append(blip108);
            blipFill108.Append(sourceRectangle108);
            blipFill108.Append(stretch108);

            Xdr.ShapeProperties shapeProperties110 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D110 = new A.Transform2D();
            A.Offset offset110 = new A.Offset() { X = 1704975L, Y = 2676525L };
            A.Extents extents110 = new A.Extents() { Cx = 3905250L, Cy = 0L };

            transform2D110.Append(offset110);
            transform2D110.Append(extents110);

            A.PresetGeometry presetGeometry108 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList110 = new A.AdjustValueList();

            presetGeometry108.Append(adjustValueList110);
            A.NoFill noFill215 = new A.NoFill();

            A.Outline outline113 = new A.Outline() { Width = 9525 };
            A.NoFill noFill216 = new A.NoFill();
            A.Miter miter108 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd110 = new A.HeadEnd();
            A.TailEnd tailEnd110 = new A.TailEnd();

            outline113.Append(noFill216);
            outline113.Append(miter108);
            outline113.Append(headEnd110);
            outline113.Append(tailEnd110);

            shapeProperties110.Append(transform2D110);
            shapeProperties110.Append(presetGeometry108);
            shapeProperties110.Append(noFill215);
            shapeProperties110.Append(outline113);

            picture108.Append(nonVisualPictureProperties108);
            picture108.Append(blipFill108);
            picture108.Append(shapeProperties110);
            Xdr.ClientData clientData108 = new Xdr.ClientData();

            twoCellAnchor108.Append(fromMarker108);
            twoCellAnchor108.Append(toMarker108);
            twoCellAnchor108.Append(picture108);
            twoCellAnchor108.Append(clientData108);

            Xdr.TwoCellAnchor twoCellAnchor109 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker109 = new Xdr.FromMarker();
            Xdr.ColumnId columnId217 = new Xdr.ColumnId();
            columnId217.Text = "2";
            Xdr.ColumnOffset columnOffset217 = new Xdr.ColumnOffset();
            columnOffset217.Text = "19050";
            Xdr.RowId rowId217 = new Xdr.RowId();
            rowId217.Text = "13";
            Xdr.RowOffset rowOffset217 = new Xdr.RowOffset();
            rowOffset217.Text = "0";

            fromMarker109.Append(columnId217);
            fromMarker109.Append(columnOffset217);
            fromMarker109.Append(rowId217);
            fromMarker109.Append(rowOffset217);

            Xdr.ToMarker toMarker109 = new Xdr.ToMarker();
            Xdr.ColumnId columnId218 = new Xdr.ColumnId();
            columnId218.Text = "4";
            Xdr.ColumnOffset columnOffset218 = new Xdr.ColumnOffset();
            columnOffset218.Text = "0";
            Xdr.RowId rowId218 = new Xdr.RowId();
            rowId218.Text = "13";
            Xdr.RowOffset rowOffset218 = new Xdr.RowOffset();
            rowOffset218.Text = "0";

            toMarker109.Append(columnId218);
            toMarker109.Append(columnOffset218);
            toMarker109.Append(rowId218);
            toMarker109.Append(rowOffset218);

            Xdr.Picture picture109 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties109 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties109 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2974U, Name = "Picture 357" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties109 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks109 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties109.Append(pictureLocks109);

            nonVisualPictureProperties109.Append(nonVisualDrawingProperties109);
            nonVisualPictureProperties109.Append(nonVisualPictureDrawingProperties109);

            Xdr.BlipFill blipFill109 = new Xdr.BlipFill();

            A.Blip blip109 = new A.Blip() { Embed = "rId1" };
            blip109.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle109 = new A.SourceRectangle();

            A.Stretch stretch109 = new A.Stretch();
            A.FillRectangle fillRectangle109 = new A.FillRectangle();

            stretch109.Append(fillRectangle109);

            blipFill109.Append(blip109);
            blipFill109.Append(sourceRectangle109);
            blipFill109.Append(stretch109);

            Xdr.ShapeProperties shapeProperties111 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D111 = new A.Transform2D();
            A.Offset offset111 = new A.Offset() { X = 1704975L, Y = 2676525L };
            A.Extents extents111 = new A.Extents() { Cx = 3905250L, Cy = 0L };

            transform2D111.Append(offset111);
            transform2D111.Append(extents111);

            A.PresetGeometry presetGeometry109 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList111 = new A.AdjustValueList();

            presetGeometry109.Append(adjustValueList111);
            A.NoFill noFill217 = new A.NoFill();

            A.Outline outline114 = new A.Outline() { Width = 9525 };
            A.NoFill noFill218 = new A.NoFill();
            A.Miter miter109 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd111 = new A.HeadEnd();
            A.TailEnd tailEnd111 = new A.TailEnd();

            outline114.Append(noFill218);
            outline114.Append(miter109);
            outline114.Append(headEnd111);
            outline114.Append(tailEnd111);

            shapeProperties111.Append(transform2D111);
            shapeProperties111.Append(presetGeometry109);
            shapeProperties111.Append(noFill217);
            shapeProperties111.Append(outline114);

            picture109.Append(nonVisualPictureProperties109);
            picture109.Append(blipFill109);
            picture109.Append(shapeProperties111);
            Xdr.ClientData clientData109 = new Xdr.ClientData();

            twoCellAnchor109.Append(fromMarker109);
            twoCellAnchor109.Append(toMarker109);
            twoCellAnchor109.Append(picture109);
            twoCellAnchor109.Append(clientData109);

            Xdr.TwoCellAnchor twoCellAnchor110 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker110 = new Xdr.FromMarker();
            Xdr.ColumnId columnId219 = new Xdr.ColumnId();
            columnId219.Text = "2";
            Xdr.ColumnOffset columnOffset219 = new Xdr.ColumnOffset();
            columnOffset219.Text = "19050";
            Xdr.RowId rowId219 = new Xdr.RowId();
            rowId219.Text = "13";
            Xdr.RowOffset rowOffset219 = new Xdr.RowOffset();
            rowOffset219.Text = "0";

            fromMarker110.Append(columnId219);
            fromMarker110.Append(columnOffset219);
            fromMarker110.Append(rowId219);
            fromMarker110.Append(rowOffset219);

            Xdr.ToMarker toMarker110 = new Xdr.ToMarker();
            Xdr.ColumnId columnId220 = new Xdr.ColumnId();
            columnId220.Text = "4";
            Xdr.ColumnOffset columnOffset220 = new Xdr.ColumnOffset();
            columnOffset220.Text = "0";
            Xdr.RowId rowId220 = new Xdr.RowId();
            rowId220.Text = "13";
            Xdr.RowOffset rowOffset220 = new Xdr.RowOffset();
            rowOffset220.Text = "0";

            toMarker110.Append(columnId220);
            toMarker110.Append(columnOffset220);
            toMarker110.Append(rowId220);
            toMarker110.Append(rowOffset220);

            Xdr.Picture picture110 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties110 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties110 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2975U, Name = "Picture 358" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties110 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks110 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties110.Append(pictureLocks110);

            nonVisualPictureProperties110.Append(nonVisualDrawingProperties110);
            nonVisualPictureProperties110.Append(nonVisualPictureDrawingProperties110);

            Xdr.BlipFill blipFill110 = new Xdr.BlipFill();

            A.Blip blip110 = new A.Blip() { Embed = "rId1" };
            blip110.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle110 = new A.SourceRectangle();

            A.Stretch stretch110 = new A.Stretch();
            A.FillRectangle fillRectangle110 = new A.FillRectangle();

            stretch110.Append(fillRectangle110);

            blipFill110.Append(blip110);
            blipFill110.Append(sourceRectangle110);
            blipFill110.Append(stretch110);

            Xdr.ShapeProperties shapeProperties112 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D112 = new A.Transform2D();
            A.Offset offset112 = new A.Offset() { X = 1704975L, Y = 2676525L };
            A.Extents extents112 = new A.Extents() { Cx = 3905250L, Cy = 0L };

            transform2D112.Append(offset112);
            transform2D112.Append(extents112);

            A.PresetGeometry presetGeometry110 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList112 = new A.AdjustValueList();

            presetGeometry110.Append(adjustValueList112);
            A.NoFill noFill219 = new A.NoFill();

            A.Outline outline115 = new A.Outline() { Width = 9525 };
            A.NoFill noFill220 = new A.NoFill();
            A.Miter miter110 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd112 = new A.HeadEnd();
            A.TailEnd tailEnd112 = new A.TailEnd();

            outline115.Append(noFill220);
            outline115.Append(miter110);
            outline115.Append(headEnd112);
            outline115.Append(tailEnd112);

            shapeProperties112.Append(transform2D112);
            shapeProperties112.Append(presetGeometry110);
            shapeProperties112.Append(noFill219);
            shapeProperties112.Append(outline115);

            picture110.Append(nonVisualPictureProperties110);
            picture110.Append(blipFill110);
            picture110.Append(shapeProperties112);
            Xdr.ClientData clientData110 = new Xdr.ClientData();

            twoCellAnchor110.Append(fromMarker110);
            twoCellAnchor110.Append(toMarker110);
            twoCellAnchor110.Append(picture110);
            twoCellAnchor110.Append(clientData110);

            Xdr.TwoCellAnchor twoCellAnchor111 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker111 = new Xdr.FromMarker();
            Xdr.ColumnId columnId221 = new Xdr.ColumnId();
            columnId221.Text = "2";
            Xdr.ColumnOffset columnOffset221 = new Xdr.ColumnOffset();
            columnOffset221.Text = "19050";
            Xdr.RowId rowId221 = new Xdr.RowId();
            rowId221.Text = "13";
            Xdr.RowOffset rowOffset221 = new Xdr.RowOffset();
            rowOffset221.Text = "0";

            fromMarker111.Append(columnId221);
            fromMarker111.Append(columnOffset221);
            fromMarker111.Append(rowId221);
            fromMarker111.Append(rowOffset221);

            Xdr.ToMarker toMarker111 = new Xdr.ToMarker();
            Xdr.ColumnId columnId222 = new Xdr.ColumnId();
            columnId222.Text = "4";
            Xdr.ColumnOffset columnOffset222 = new Xdr.ColumnOffset();
            columnOffset222.Text = "0";
            Xdr.RowId rowId222 = new Xdr.RowId();
            rowId222.Text = "13";
            Xdr.RowOffset rowOffset222 = new Xdr.RowOffset();
            rowOffset222.Text = "0";

            toMarker111.Append(columnId222);
            toMarker111.Append(columnOffset222);
            toMarker111.Append(rowId222);
            toMarker111.Append(rowOffset222);

            Xdr.Picture picture111 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties111 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties111 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2976U, Name = "Picture 359" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties111 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks111 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties111.Append(pictureLocks111);

            nonVisualPictureProperties111.Append(nonVisualDrawingProperties111);
            nonVisualPictureProperties111.Append(nonVisualPictureDrawingProperties111);

            Xdr.BlipFill blipFill111 = new Xdr.BlipFill();

            A.Blip blip111 = new A.Blip() { Embed = "rId1" };
            blip111.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle111 = new A.SourceRectangle();

            A.Stretch stretch111 = new A.Stretch();
            A.FillRectangle fillRectangle111 = new A.FillRectangle();

            stretch111.Append(fillRectangle111);

            blipFill111.Append(blip111);
            blipFill111.Append(sourceRectangle111);
            blipFill111.Append(stretch111);

            Xdr.ShapeProperties shapeProperties113 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D113 = new A.Transform2D();
            A.Offset offset113 = new A.Offset() { X = 1704975L, Y = 2676525L };
            A.Extents extents113 = new A.Extents() { Cx = 3905250L, Cy = 0L };

            transform2D113.Append(offset113);
            transform2D113.Append(extents113);

            A.PresetGeometry presetGeometry111 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList113 = new A.AdjustValueList();

            presetGeometry111.Append(adjustValueList113);
            A.NoFill noFill221 = new A.NoFill();

            A.Outline outline116 = new A.Outline() { Width = 9525 };
            A.NoFill noFill222 = new A.NoFill();
            A.Miter miter111 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd113 = new A.HeadEnd();
            A.TailEnd tailEnd113 = new A.TailEnd();

            outline116.Append(noFill222);
            outline116.Append(miter111);
            outline116.Append(headEnd113);
            outline116.Append(tailEnd113);

            shapeProperties113.Append(transform2D113);
            shapeProperties113.Append(presetGeometry111);
            shapeProperties113.Append(noFill221);
            shapeProperties113.Append(outline116);

            picture111.Append(nonVisualPictureProperties111);
            picture111.Append(blipFill111);
            picture111.Append(shapeProperties113);
            Xdr.ClientData clientData111 = new Xdr.ClientData();

            twoCellAnchor111.Append(fromMarker111);
            twoCellAnchor111.Append(toMarker111);
            twoCellAnchor111.Append(picture111);
            twoCellAnchor111.Append(clientData111);

            Xdr.TwoCellAnchor twoCellAnchor112 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker112 = new Xdr.FromMarker();
            Xdr.ColumnId columnId223 = new Xdr.ColumnId();
            columnId223.Text = "2";
            Xdr.ColumnOffset columnOffset223 = new Xdr.ColumnOffset();
            columnOffset223.Text = "19050";
            Xdr.RowId rowId223 = new Xdr.RowId();
            rowId223.Text = "13";
            Xdr.RowOffset rowOffset223 = new Xdr.RowOffset();
            rowOffset223.Text = "0";

            fromMarker112.Append(columnId223);
            fromMarker112.Append(columnOffset223);
            fromMarker112.Append(rowId223);
            fromMarker112.Append(rowOffset223);

            Xdr.ToMarker toMarker112 = new Xdr.ToMarker();
            Xdr.ColumnId columnId224 = new Xdr.ColumnId();
            columnId224.Text = "4";
            Xdr.ColumnOffset columnOffset224 = new Xdr.ColumnOffset();
            columnOffset224.Text = "0";
            Xdr.RowId rowId224 = new Xdr.RowId();
            rowId224.Text = "13";
            Xdr.RowOffset rowOffset224 = new Xdr.RowOffset();
            rowOffset224.Text = "0";

            toMarker112.Append(columnId224);
            toMarker112.Append(columnOffset224);
            toMarker112.Append(rowId224);
            toMarker112.Append(rowOffset224);

            Xdr.Picture picture112 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties112 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties112 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2977U, Name = "Picture 360" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties112 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks112 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties112.Append(pictureLocks112);

            nonVisualPictureProperties112.Append(nonVisualDrawingProperties112);
            nonVisualPictureProperties112.Append(nonVisualPictureDrawingProperties112);

            Xdr.BlipFill blipFill112 = new Xdr.BlipFill();

            A.Blip blip112 = new A.Blip() { Embed = "rId1" };
            blip112.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle112 = new A.SourceRectangle();

            A.Stretch stretch112 = new A.Stretch();
            A.FillRectangle fillRectangle112 = new A.FillRectangle();

            stretch112.Append(fillRectangle112);

            blipFill112.Append(blip112);
            blipFill112.Append(sourceRectangle112);
            blipFill112.Append(stretch112);

            Xdr.ShapeProperties shapeProperties114 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D114 = new A.Transform2D();
            A.Offset offset114 = new A.Offset() { X = 1704975L, Y = 2676525L };
            A.Extents extents114 = new A.Extents() { Cx = 3905250L, Cy = 0L };

            transform2D114.Append(offset114);
            transform2D114.Append(extents114);

            A.PresetGeometry presetGeometry112 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList114 = new A.AdjustValueList();

            presetGeometry112.Append(adjustValueList114);
            A.NoFill noFill223 = new A.NoFill();

            A.Outline outline117 = new A.Outline() { Width = 9525 };
            A.NoFill noFill224 = new A.NoFill();
            A.Miter miter112 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd114 = new A.HeadEnd();
            A.TailEnd tailEnd114 = new A.TailEnd();

            outline117.Append(noFill224);
            outline117.Append(miter112);
            outline117.Append(headEnd114);
            outline117.Append(tailEnd114);

            shapeProperties114.Append(transform2D114);
            shapeProperties114.Append(presetGeometry112);
            shapeProperties114.Append(noFill223);
            shapeProperties114.Append(outline117);

            picture112.Append(nonVisualPictureProperties112);
            picture112.Append(blipFill112);
            picture112.Append(shapeProperties114);
            Xdr.ClientData clientData112 = new Xdr.ClientData();

            twoCellAnchor112.Append(fromMarker112);
            twoCellAnchor112.Append(toMarker112);
            twoCellAnchor112.Append(picture112);
            twoCellAnchor112.Append(clientData112);

            Xdr.TwoCellAnchor twoCellAnchor113 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker113 = new Xdr.FromMarker();
            Xdr.ColumnId columnId225 = new Xdr.ColumnId();
            columnId225.Text = "2";
            Xdr.ColumnOffset columnOffset225 = new Xdr.ColumnOffset();
            columnOffset225.Text = "19050";
            Xdr.RowId rowId225 = new Xdr.RowId();
            rowId225.Text = "13";
            Xdr.RowOffset rowOffset225 = new Xdr.RowOffset();
            rowOffset225.Text = "0";

            fromMarker113.Append(columnId225);
            fromMarker113.Append(columnOffset225);
            fromMarker113.Append(rowId225);
            fromMarker113.Append(rowOffset225);

            Xdr.ToMarker toMarker113 = new Xdr.ToMarker();
            Xdr.ColumnId columnId226 = new Xdr.ColumnId();
            columnId226.Text = "4";
            Xdr.ColumnOffset columnOffset226 = new Xdr.ColumnOffset();
            columnOffset226.Text = "0";
            Xdr.RowId rowId226 = new Xdr.RowId();
            rowId226.Text = "13";
            Xdr.RowOffset rowOffset226 = new Xdr.RowOffset();
            rowOffset226.Text = "0";

            toMarker113.Append(columnId226);
            toMarker113.Append(columnOffset226);
            toMarker113.Append(rowId226);
            toMarker113.Append(rowOffset226);

            Xdr.Picture picture113 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties113 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties113 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2978U, Name = "Picture 361" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties113 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks113 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties113.Append(pictureLocks113);

            nonVisualPictureProperties113.Append(nonVisualDrawingProperties113);
            nonVisualPictureProperties113.Append(nonVisualPictureDrawingProperties113);

            Xdr.BlipFill blipFill113 = new Xdr.BlipFill();

            A.Blip blip113 = new A.Blip() { Embed = "rId1" };
            blip113.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle113 = new A.SourceRectangle();

            A.Stretch stretch113 = new A.Stretch();
            A.FillRectangle fillRectangle113 = new A.FillRectangle();

            stretch113.Append(fillRectangle113);

            blipFill113.Append(blip113);
            blipFill113.Append(sourceRectangle113);
            blipFill113.Append(stretch113);

            Xdr.ShapeProperties shapeProperties115 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D115 = new A.Transform2D();
            A.Offset offset115 = new A.Offset() { X = 1704975L, Y = 2676525L };
            A.Extents extents115 = new A.Extents() { Cx = 3905250L, Cy = 0L };

            transform2D115.Append(offset115);
            transform2D115.Append(extents115);

            A.PresetGeometry presetGeometry113 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList115 = new A.AdjustValueList();

            presetGeometry113.Append(adjustValueList115);
            A.NoFill noFill225 = new A.NoFill();

            A.Outline outline118 = new A.Outline() { Width = 9525 };
            A.NoFill noFill226 = new A.NoFill();
            A.Miter miter113 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd115 = new A.HeadEnd();
            A.TailEnd tailEnd115 = new A.TailEnd();

            outline118.Append(noFill226);
            outline118.Append(miter113);
            outline118.Append(headEnd115);
            outline118.Append(tailEnd115);

            shapeProperties115.Append(transform2D115);
            shapeProperties115.Append(presetGeometry113);
            shapeProperties115.Append(noFill225);
            shapeProperties115.Append(outline118);

            picture113.Append(nonVisualPictureProperties113);
            picture113.Append(blipFill113);
            picture113.Append(shapeProperties115);
            Xdr.ClientData clientData113 = new Xdr.ClientData();

            twoCellAnchor113.Append(fromMarker113);
            twoCellAnchor113.Append(toMarker113);
            twoCellAnchor113.Append(picture113);
            twoCellAnchor113.Append(clientData113);

            Xdr.TwoCellAnchor twoCellAnchor114 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker114 = new Xdr.FromMarker();
            Xdr.ColumnId columnId227 = new Xdr.ColumnId();
            columnId227.Text = "2";
            Xdr.ColumnOffset columnOffset227 = new Xdr.ColumnOffset();
            columnOffset227.Text = "19050";
            Xdr.RowId rowId227 = new Xdr.RowId();
            rowId227.Text = "13";
            Xdr.RowOffset rowOffset227 = new Xdr.RowOffset();
            rowOffset227.Text = "0";

            fromMarker114.Append(columnId227);
            fromMarker114.Append(columnOffset227);
            fromMarker114.Append(rowId227);
            fromMarker114.Append(rowOffset227);

            Xdr.ToMarker toMarker114 = new Xdr.ToMarker();
            Xdr.ColumnId columnId228 = new Xdr.ColumnId();
            columnId228.Text = "4";
            Xdr.ColumnOffset columnOffset228 = new Xdr.ColumnOffset();
            columnOffset228.Text = "0";
            Xdr.RowId rowId228 = new Xdr.RowId();
            rowId228.Text = "13";
            Xdr.RowOffset rowOffset228 = new Xdr.RowOffset();
            rowOffset228.Text = "0";

            toMarker114.Append(columnId228);
            toMarker114.Append(columnOffset228);
            toMarker114.Append(rowId228);
            toMarker114.Append(rowOffset228);

            Xdr.Picture picture114 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties114 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties114 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2979U, Name = "Picture 362" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties114 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks114 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties114.Append(pictureLocks114);

            nonVisualPictureProperties114.Append(nonVisualDrawingProperties114);
            nonVisualPictureProperties114.Append(nonVisualPictureDrawingProperties114);

            Xdr.BlipFill blipFill114 = new Xdr.BlipFill();

            A.Blip blip114 = new A.Blip() { Embed = "rId1" };
            blip114.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle114 = new A.SourceRectangle();

            A.Stretch stretch114 = new A.Stretch();
            A.FillRectangle fillRectangle114 = new A.FillRectangle();

            stretch114.Append(fillRectangle114);

            blipFill114.Append(blip114);
            blipFill114.Append(sourceRectangle114);
            blipFill114.Append(stretch114);

            Xdr.ShapeProperties shapeProperties116 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D116 = new A.Transform2D();
            A.Offset offset116 = new A.Offset() { X = 1704975L, Y = 2676525L };
            A.Extents extents116 = new A.Extents() { Cx = 3905250L, Cy = 0L };

            transform2D116.Append(offset116);
            transform2D116.Append(extents116);

            A.PresetGeometry presetGeometry114 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList116 = new A.AdjustValueList();

            presetGeometry114.Append(adjustValueList116);
            A.NoFill noFill227 = new A.NoFill();

            A.Outline outline119 = new A.Outline() { Width = 9525 };
            A.NoFill noFill228 = new A.NoFill();
            A.Miter miter114 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd116 = new A.HeadEnd();
            A.TailEnd tailEnd116 = new A.TailEnd();

            outline119.Append(noFill228);
            outline119.Append(miter114);
            outline119.Append(headEnd116);
            outline119.Append(tailEnd116);

            shapeProperties116.Append(transform2D116);
            shapeProperties116.Append(presetGeometry114);
            shapeProperties116.Append(noFill227);
            shapeProperties116.Append(outline119);

            picture114.Append(nonVisualPictureProperties114);
            picture114.Append(blipFill114);
            picture114.Append(shapeProperties116);
            Xdr.ClientData clientData114 = new Xdr.ClientData();

            twoCellAnchor114.Append(fromMarker114);
            twoCellAnchor114.Append(toMarker114);
            twoCellAnchor114.Append(picture114);
            twoCellAnchor114.Append(clientData114);

            Xdr.TwoCellAnchor twoCellAnchor115 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker115 = new Xdr.FromMarker();
            Xdr.ColumnId columnId229 = new Xdr.ColumnId();
            columnId229.Text = "2";
            Xdr.ColumnOffset columnOffset229 = new Xdr.ColumnOffset();
            columnOffset229.Text = "19050";
            Xdr.RowId rowId229 = new Xdr.RowId();
            rowId229.Text = "13";
            Xdr.RowOffset rowOffset229 = new Xdr.RowOffset();
            rowOffset229.Text = "0";

            fromMarker115.Append(columnId229);
            fromMarker115.Append(columnOffset229);
            fromMarker115.Append(rowId229);
            fromMarker115.Append(rowOffset229);

            Xdr.ToMarker toMarker115 = new Xdr.ToMarker();
            Xdr.ColumnId columnId230 = new Xdr.ColumnId();
            columnId230.Text = "4";
            Xdr.ColumnOffset columnOffset230 = new Xdr.ColumnOffset();
            columnOffset230.Text = "0";
            Xdr.RowId rowId230 = new Xdr.RowId();
            rowId230.Text = "13";
            Xdr.RowOffset rowOffset230 = new Xdr.RowOffset();
            rowOffset230.Text = "0";

            toMarker115.Append(columnId230);
            toMarker115.Append(columnOffset230);
            toMarker115.Append(rowId230);
            toMarker115.Append(rowOffset230);

            Xdr.Picture picture115 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties115 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties115 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2980U, Name = "Picture 363" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties115 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks115 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties115.Append(pictureLocks115);

            nonVisualPictureProperties115.Append(nonVisualDrawingProperties115);
            nonVisualPictureProperties115.Append(nonVisualPictureDrawingProperties115);

            Xdr.BlipFill blipFill115 = new Xdr.BlipFill();

            A.Blip blip115 = new A.Blip() { Embed = "rId1" };
            blip115.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle115 = new A.SourceRectangle();

            A.Stretch stretch115 = new A.Stretch();
            A.FillRectangle fillRectangle115 = new A.FillRectangle();

            stretch115.Append(fillRectangle115);

            blipFill115.Append(blip115);
            blipFill115.Append(sourceRectangle115);
            blipFill115.Append(stretch115);

            Xdr.ShapeProperties shapeProperties117 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D117 = new A.Transform2D();
            A.Offset offset117 = new A.Offset() { X = 1704975L, Y = 2676525L };
            A.Extents extents117 = new A.Extents() { Cx = 3905250L, Cy = 0L };

            transform2D117.Append(offset117);
            transform2D117.Append(extents117);

            A.PresetGeometry presetGeometry115 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList117 = new A.AdjustValueList();

            presetGeometry115.Append(adjustValueList117);
            A.NoFill noFill229 = new A.NoFill();

            A.Outline outline120 = new A.Outline() { Width = 9525 };
            A.NoFill noFill230 = new A.NoFill();
            A.Miter miter115 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd117 = new A.HeadEnd();
            A.TailEnd tailEnd117 = new A.TailEnd();

            outline120.Append(noFill230);
            outline120.Append(miter115);
            outline120.Append(headEnd117);
            outline120.Append(tailEnd117);

            shapeProperties117.Append(transform2D117);
            shapeProperties117.Append(presetGeometry115);
            shapeProperties117.Append(noFill229);
            shapeProperties117.Append(outline120);

            picture115.Append(nonVisualPictureProperties115);
            picture115.Append(blipFill115);
            picture115.Append(shapeProperties117);
            Xdr.ClientData clientData115 = new Xdr.ClientData();

            twoCellAnchor115.Append(fromMarker115);
            twoCellAnchor115.Append(toMarker115);
            twoCellAnchor115.Append(picture115);
            twoCellAnchor115.Append(clientData115);

            Xdr.TwoCellAnchor twoCellAnchor116 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker116 = new Xdr.FromMarker();
            Xdr.ColumnId columnId231 = new Xdr.ColumnId();
            columnId231.Text = "2";
            Xdr.ColumnOffset columnOffset231 = new Xdr.ColumnOffset();
            columnOffset231.Text = "0";
            Xdr.RowId rowId231 = new Xdr.RowId();
            rowId231.Text = "13";
            Xdr.RowOffset rowOffset231 = new Xdr.RowOffset();
            rowOffset231.Text = "0";

            fromMarker116.Append(columnId231);
            fromMarker116.Append(columnOffset231);
            fromMarker116.Append(rowId231);
            fromMarker116.Append(rowOffset231);

            Xdr.ToMarker toMarker116 = new Xdr.ToMarker();
            Xdr.ColumnId columnId232 = new Xdr.ColumnId();
            columnId232.Text = "4";
            Xdr.ColumnOffset columnOffset232 = new Xdr.ColumnOffset();
            columnOffset232.Text = "0";
            Xdr.RowId rowId232 = new Xdr.RowId();
            rowId232.Text = "13";
            Xdr.RowOffset rowOffset232 = new Xdr.RowOffset();
            rowOffset232.Text = "0";

            toMarker116.Append(columnId232);
            toMarker116.Append(columnOffset232);
            toMarker116.Append(rowId232);
            toMarker116.Append(rowOffset232);

            Xdr.Picture picture116 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties116 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties116 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2981U, Name = "Picture 364" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties116 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks116 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties116.Append(pictureLocks116);

            nonVisualPictureProperties116.Append(nonVisualDrawingProperties116);
            nonVisualPictureProperties116.Append(nonVisualPictureDrawingProperties116);

            Xdr.BlipFill blipFill116 = new Xdr.BlipFill();

            A.Blip blip116 = new A.Blip() { Embed = "rId1" };
            blip116.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle116 = new A.SourceRectangle();

            A.Stretch stretch116 = new A.Stretch();
            A.FillRectangle fillRectangle116 = new A.FillRectangle();

            stretch116.Append(fillRectangle116);

            blipFill116.Append(blip116);
            blipFill116.Append(sourceRectangle116);
            blipFill116.Append(stretch116);

            Xdr.ShapeProperties shapeProperties118 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D118 = new A.Transform2D();
            A.Offset offset118 = new A.Offset() { X = 1685925L, Y = 2676525L };
            A.Extents extents118 = new A.Extents() { Cx = 3924300L, Cy = 0L };

            transform2D118.Append(offset118);
            transform2D118.Append(extents118);

            A.PresetGeometry presetGeometry116 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList118 = new A.AdjustValueList();

            presetGeometry116.Append(adjustValueList118);
            A.NoFill noFill231 = new A.NoFill();

            A.Outline outline121 = new A.Outline() { Width = 9525 };
            A.NoFill noFill232 = new A.NoFill();
            A.Miter miter116 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd118 = new A.HeadEnd();
            A.TailEnd tailEnd118 = new A.TailEnd();

            outline121.Append(noFill232);
            outline121.Append(miter116);
            outline121.Append(headEnd118);
            outline121.Append(tailEnd118);

            shapeProperties118.Append(transform2D118);
            shapeProperties118.Append(presetGeometry116);
            shapeProperties118.Append(noFill231);
            shapeProperties118.Append(outline121);

            picture116.Append(nonVisualPictureProperties116);
            picture116.Append(blipFill116);
            picture116.Append(shapeProperties118);
            Xdr.ClientData clientData116 = new Xdr.ClientData();

            twoCellAnchor116.Append(fromMarker116);
            twoCellAnchor116.Append(toMarker116);
            twoCellAnchor116.Append(picture116);
            twoCellAnchor116.Append(clientData116);

            Xdr.TwoCellAnchor twoCellAnchor117 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker117 = new Xdr.FromMarker();
            Xdr.ColumnId columnId233 = new Xdr.ColumnId();
            columnId233.Text = "2";
            Xdr.ColumnOffset columnOffset233 = new Xdr.ColumnOffset();
            columnOffset233.Text = "0";
            Xdr.RowId rowId233 = new Xdr.RowId();
            rowId233.Text = "13";
            Xdr.RowOffset rowOffset233 = new Xdr.RowOffset();
            rowOffset233.Text = "0";

            fromMarker117.Append(columnId233);
            fromMarker117.Append(columnOffset233);
            fromMarker117.Append(rowId233);
            fromMarker117.Append(rowOffset233);

            Xdr.ToMarker toMarker117 = new Xdr.ToMarker();
            Xdr.ColumnId columnId234 = new Xdr.ColumnId();
            columnId234.Text = "4";
            Xdr.ColumnOffset columnOffset234 = new Xdr.ColumnOffset();
            columnOffset234.Text = "0";
            Xdr.RowId rowId234 = new Xdr.RowId();
            rowId234.Text = "13";
            Xdr.RowOffset rowOffset234 = new Xdr.RowOffset();
            rowOffset234.Text = "0";

            toMarker117.Append(columnId234);
            toMarker117.Append(columnOffset234);
            toMarker117.Append(rowId234);
            toMarker117.Append(rowOffset234);

            Xdr.Picture picture117 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties117 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties117 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2982U, Name = "Picture 365" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties117 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks117 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties117.Append(pictureLocks117);

            nonVisualPictureProperties117.Append(nonVisualDrawingProperties117);
            nonVisualPictureProperties117.Append(nonVisualPictureDrawingProperties117);

            Xdr.BlipFill blipFill117 = new Xdr.BlipFill();

            A.Blip blip117 = new A.Blip() { Embed = "rId1" };
            blip117.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle117 = new A.SourceRectangle();

            A.Stretch stretch117 = new A.Stretch();
            A.FillRectangle fillRectangle117 = new A.FillRectangle();

            stretch117.Append(fillRectangle117);

            blipFill117.Append(blip117);
            blipFill117.Append(sourceRectangle117);
            blipFill117.Append(stretch117);

            Xdr.ShapeProperties shapeProperties119 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D119 = new A.Transform2D();
            A.Offset offset119 = new A.Offset() { X = 1685925L, Y = 2676525L };
            A.Extents extents119 = new A.Extents() { Cx = 3924300L, Cy = 0L };

            transform2D119.Append(offset119);
            transform2D119.Append(extents119);

            A.PresetGeometry presetGeometry117 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList119 = new A.AdjustValueList();

            presetGeometry117.Append(adjustValueList119);
            A.NoFill noFill233 = new A.NoFill();

            A.Outline outline122 = new A.Outline() { Width = 9525 };
            A.NoFill noFill234 = new A.NoFill();
            A.Miter miter117 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd119 = new A.HeadEnd();
            A.TailEnd tailEnd119 = new A.TailEnd();

            outline122.Append(noFill234);
            outline122.Append(miter117);
            outline122.Append(headEnd119);
            outline122.Append(tailEnd119);

            shapeProperties119.Append(transform2D119);
            shapeProperties119.Append(presetGeometry117);
            shapeProperties119.Append(noFill233);
            shapeProperties119.Append(outline122);

            picture117.Append(nonVisualPictureProperties117);
            picture117.Append(blipFill117);
            picture117.Append(shapeProperties119);
            Xdr.ClientData clientData117 = new Xdr.ClientData();

            twoCellAnchor117.Append(fromMarker117);
            twoCellAnchor117.Append(toMarker117);
            twoCellAnchor117.Append(picture117);
            twoCellAnchor117.Append(clientData117);

            Xdr.TwoCellAnchor twoCellAnchor118 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker118 = new Xdr.FromMarker();
            Xdr.ColumnId columnId235 = new Xdr.ColumnId();
            columnId235.Text = "2";
            Xdr.ColumnOffset columnOffset235 = new Xdr.ColumnOffset();
            columnOffset235.Text = "0";
            Xdr.RowId rowId235 = new Xdr.RowId();
            rowId235.Text = "13";
            Xdr.RowOffset rowOffset235 = new Xdr.RowOffset();
            rowOffset235.Text = "0";

            fromMarker118.Append(columnId235);
            fromMarker118.Append(columnOffset235);
            fromMarker118.Append(rowId235);
            fromMarker118.Append(rowOffset235);

            Xdr.ToMarker toMarker118 = new Xdr.ToMarker();
            Xdr.ColumnId columnId236 = new Xdr.ColumnId();
            columnId236.Text = "4";
            Xdr.ColumnOffset columnOffset236 = new Xdr.ColumnOffset();
            columnOffset236.Text = "0";
            Xdr.RowId rowId236 = new Xdr.RowId();
            rowId236.Text = "13";
            Xdr.RowOffset rowOffset236 = new Xdr.RowOffset();
            rowOffset236.Text = "0";

            toMarker118.Append(columnId236);
            toMarker118.Append(columnOffset236);
            toMarker118.Append(rowId236);
            toMarker118.Append(rowOffset236);

            Xdr.Picture picture118 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties118 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties118 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2983U, Name = "Picture 366" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties118 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks118 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties118.Append(pictureLocks118);

            nonVisualPictureProperties118.Append(nonVisualDrawingProperties118);
            nonVisualPictureProperties118.Append(nonVisualPictureDrawingProperties118);

            Xdr.BlipFill blipFill118 = new Xdr.BlipFill();

            A.Blip blip118 = new A.Blip() { Embed = "rId1" };
            blip118.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle118 = new A.SourceRectangle();

            A.Stretch stretch118 = new A.Stretch();
            A.FillRectangle fillRectangle118 = new A.FillRectangle();

            stretch118.Append(fillRectangle118);

            blipFill118.Append(blip118);
            blipFill118.Append(sourceRectangle118);
            blipFill118.Append(stretch118);

            Xdr.ShapeProperties shapeProperties120 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D120 = new A.Transform2D();
            A.Offset offset120 = new A.Offset() { X = 1685925L, Y = 2676525L };
            A.Extents extents120 = new A.Extents() { Cx = 3924300L, Cy = 0L };

            transform2D120.Append(offset120);
            transform2D120.Append(extents120);

            A.PresetGeometry presetGeometry118 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList120 = new A.AdjustValueList();

            presetGeometry118.Append(adjustValueList120);
            A.NoFill noFill235 = new A.NoFill();

            A.Outline outline123 = new A.Outline() { Width = 9525 };
            A.NoFill noFill236 = new A.NoFill();
            A.Miter miter118 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd120 = new A.HeadEnd();
            A.TailEnd tailEnd120 = new A.TailEnd();

            outline123.Append(noFill236);
            outline123.Append(miter118);
            outline123.Append(headEnd120);
            outline123.Append(tailEnd120);

            shapeProperties120.Append(transform2D120);
            shapeProperties120.Append(presetGeometry118);
            shapeProperties120.Append(noFill235);
            shapeProperties120.Append(outline123);

            picture118.Append(nonVisualPictureProperties118);
            picture118.Append(blipFill118);
            picture118.Append(shapeProperties120);
            Xdr.ClientData clientData118 = new Xdr.ClientData();

            twoCellAnchor118.Append(fromMarker118);
            twoCellAnchor118.Append(toMarker118);
            twoCellAnchor118.Append(picture118);
            twoCellAnchor118.Append(clientData118);

            Xdr.TwoCellAnchor twoCellAnchor119 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker119 = new Xdr.FromMarker();
            Xdr.ColumnId columnId237 = new Xdr.ColumnId();
            columnId237.Text = "2";
            Xdr.ColumnOffset columnOffset237 = new Xdr.ColumnOffset();
            columnOffset237.Text = "19050";
            Xdr.RowId rowId237 = new Xdr.RowId();
            rowId237.Text = "13";
            Xdr.RowOffset rowOffset237 = new Xdr.RowOffset();
            rowOffset237.Text = "0";

            fromMarker119.Append(columnId237);
            fromMarker119.Append(columnOffset237);
            fromMarker119.Append(rowId237);
            fromMarker119.Append(rowOffset237);

            Xdr.ToMarker toMarker119 = new Xdr.ToMarker();
            Xdr.ColumnId columnId238 = new Xdr.ColumnId();
            columnId238.Text = "4";
            Xdr.ColumnOffset columnOffset238 = new Xdr.ColumnOffset();
            columnOffset238.Text = "0";
            Xdr.RowId rowId238 = new Xdr.RowId();
            rowId238.Text = "13";
            Xdr.RowOffset rowOffset238 = new Xdr.RowOffset();
            rowOffset238.Text = "0";

            toMarker119.Append(columnId238);
            toMarker119.Append(columnOffset238);
            toMarker119.Append(rowId238);
            toMarker119.Append(rowOffset238);

            Xdr.Picture picture119 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties119 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties119 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2984U, Name = "Picture 367" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties119 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks119 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties119.Append(pictureLocks119);

            nonVisualPictureProperties119.Append(nonVisualDrawingProperties119);
            nonVisualPictureProperties119.Append(nonVisualPictureDrawingProperties119);

            Xdr.BlipFill blipFill119 = new Xdr.BlipFill();

            A.Blip blip119 = new A.Blip() { Embed = "rId1" };
            blip119.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle119 = new A.SourceRectangle();

            A.Stretch stretch119 = new A.Stretch();
            A.FillRectangle fillRectangle119 = new A.FillRectangle();

            stretch119.Append(fillRectangle119);

            blipFill119.Append(blip119);
            blipFill119.Append(sourceRectangle119);
            blipFill119.Append(stretch119);

            Xdr.ShapeProperties shapeProperties121 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D121 = new A.Transform2D();
            A.Offset offset121 = new A.Offset() { X = 1704975L, Y = 2676525L };
            A.Extents extents121 = new A.Extents() { Cx = 3905250L, Cy = 0L };

            transform2D121.Append(offset121);
            transform2D121.Append(extents121);

            A.PresetGeometry presetGeometry119 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList121 = new A.AdjustValueList();

            presetGeometry119.Append(adjustValueList121);
            A.NoFill noFill237 = new A.NoFill();

            A.Outline outline124 = new A.Outline() { Width = 9525 };
            A.NoFill noFill238 = new A.NoFill();
            A.Miter miter119 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd121 = new A.HeadEnd();
            A.TailEnd tailEnd121 = new A.TailEnd();

            outline124.Append(noFill238);
            outline124.Append(miter119);
            outline124.Append(headEnd121);
            outline124.Append(tailEnd121);

            shapeProperties121.Append(transform2D121);
            shapeProperties121.Append(presetGeometry119);
            shapeProperties121.Append(noFill237);
            shapeProperties121.Append(outline124);

            picture119.Append(nonVisualPictureProperties119);
            picture119.Append(blipFill119);
            picture119.Append(shapeProperties121);
            Xdr.ClientData clientData119 = new Xdr.ClientData();

            twoCellAnchor119.Append(fromMarker119);
            twoCellAnchor119.Append(toMarker119);
            twoCellAnchor119.Append(picture119);
            twoCellAnchor119.Append(clientData119);

            Xdr.TwoCellAnchor twoCellAnchor120 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker120 = new Xdr.FromMarker();
            Xdr.ColumnId columnId239 = new Xdr.ColumnId();
            columnId239.Text = "2";
            Xdr.ColumnOffset columnOffset239 = new Xdr.ColumnOffset();
            columnOffset239.Text = "19050";
            Xdr.RowId rowId239 = new Xdr.RowId();
            rowId239.Text = "13";
            Xdr.RowOffset rowOffset239 = new Xdr.RowOffset();
            rowOffset239.Text = "0";

            fromMarker120.Append(columnId239);
            fromMarker120.Append(columnOffset239);
            fromMarker120.Append(rowId239);
            fromMarker120.Append(rowOffset239);

            Xdr.ToMarker toMarker120 = new Xdr.ToMarker();
            Xdr.ColumnId columnId240 = new Xdr.ColumnId();
            columnId240.Text = "4";
            Xdr.ColumnOffset columnOffset240 = new Xdr.ColumnOffset();
            columnOffset240.Text = "0";
            Xdr.RowId rowId240 = new Xdr.RowId();
            rowId240.Text = "13";
            Xdr.RowOffset rowOffset240 = new Xdr.RowOffset();
            rowOffset240.Text = "0";

            toMarker120.Append(columnId240);
            toMarker120.Append(columnOffset240);
            toMarker120.Append(rowId240);
            toMarker120.Append(rowOffset240);

            Xdr.Picture picture120 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties120 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties120 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2985U, Name = "Picture 368" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties120 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks120 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties120.Append(pictureLocks120);

            nonVisualPictureProperties120.Append(nonVisualDrawingProperties120);
            nonVisualPictureProperties120.Append(nonVisualPictureDrawingProperties120);

            Xdr.BlipFill blipFill120 = new Xdr.BlipFill();

            A.Blip blip120 = new A.Blip() { Embed = "rId1" };
            blip120.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle120 = new A.SourceRectangle();

            A.Stretch stretch120 = new A.Stretch();
            A.FillRectangle fillRectangle120 = new A.FillRectangle();

            stretch120.Append(fillRectangle120);

            blipFill120.Append(blip120);
            blipFill120.Append(sourceRectangle120);
            blipFill120.Append(stretch120);

            Xdr.ShapeProperties shapeProperties122 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D122 = new A.Transform2D();
            A.Offset offset122 = new A.Offset() { X = 1704975L, Y = 2676525L };
            A.Extents extents122 = new A.Extents() { Cx = 3905250L, Cy = 0L };

            transform2D122.Append(offset122);
            transform2D122.Append(extents122);

            A.PresetGeometry presetGeometry120 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList122 = new A.AdjustValueList();

            presetGeometry120.Append(adjustValueList122);
            A.NoFill noFill239 = new A.NoFill();

            A.Outline outline125 = new A.Outline() { Width = 9525 };
            A.NoFill noFill240 = new A.NoFill();
            A.Miter miter120 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd122 = new A.HeadEnd();
            A.TailEnd tailEnd122 = new A.TailEnd();

            outline125.Append(noFill240);
            outline125.Append(miter120);
            outline125.Append(headEnd122);
            outline125.Append(tailEnd122);

            shapeProperties122.Append(transform2D122);
            shapeProperties122.Append(presetGeometry120);
            shapeProperties122.Append(noFill239);
            shapeProperties122.Append(outline125);

            picture120.Append(nonVisualPictureProperties120);
            picture120.Append(blipFill120);
            picture120.Append(shapeProperties122);
            Xdr.ClientData clientData120 = new Xdr.ClientData();

            twoCellAnchor120.Append(fromMarker120);
            twoCellAnchor120.Append(toMarker120);
            twoCellAnchor120.Append(picture120);
            twoCellAnchor120.Append(clientData120);

            Xdr.TwoCellAnchor twoCellAnchor121 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker121 = new Xdr.FromMarker();
            Xdr.ColumnId columnId241 = new Xdr.ColumnId();
            columnId241.Text = "2";
            Xdr.ColumnOffset columnOffset241 = new Xdr.ColumnOffset();
            columnOffset241.Text = "19050";
            Xdr.RowId rowId241 = new Xdr.RowId();
            rowId241.Text = "13";
            Xdr.RowOffset rowOffset241 = new Xdr.RowOffset();
            rowOffset241.Text = "0";

            fromMarker121.Append(columnId241);
            fromMarker121.Append(columnOffset241);
            fromMarker121.Append(rowId241);
            fromMarker121.Append(rowOffset241);

            Xdr.ToMarker toMarker121 = new Xdr.ToMarker();
            Xdr.ColumnId columnId242 = new Xdr.ColumnId();
            columnId242.Text = "4";
            Xdr.ColumnOffset columnOffset242 = new Xdr.ColumnOffset();
            columnOffset242.Text = "0";
            Xdr.RowId rowId242 = new Xdr.RowId();
            rowId242.Text = "13";
            Xdr.RowOffset rowOffset242 = new Xdr.RowOffset();
            rowOffset242.Text = "0";

            toMarker121.Append(columnId242);
            toMarker121.Append(columnOffset242);
            toMarker121.Append(rowId242);
            toMarker121.Append(rowOffset242);

            Xdr.Picture picture121 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties121 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties121 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2986U, Name = "Picture 369" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties121 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks121 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties121.Append(pictureLocks121);

            nonVisualPictureProperties121.Append(nonVisualDrawingProperties121);
            nonVisualPictureProperties121.Append(nonVisualPictureDrawingProperties121);

            Xdr.BlipFill blipFill121 = new Xdr.BlipFill();

            A.Blip blip121 = new A.Blip() { Embed = "rId1" };
            blip121.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle121 = new A.SourceRectangle();

            A.Stretch stretch121 = new A.Stretch();
            A.FillRectangle fillRectangle121 = new A.FillRectangle();

            stretch121.Append(fillRectangle121);

            blipFill121.Append(blip121);
            blipFill121.Append(sourceRectangle121);
            blipFill121.Append(stretch121);

            Xdr.ShapeProperties shapeProperties123 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D123 = new A.Transform2D();
            A.Offset offset123 = new A.Offset() { X = 1704975L, Y = 2676525L };
            A.Extents extents123 = new A.Extents() { Cx = 3905250L, Cy = 0L };

            transform2D123.Append(offset123);
            transform2D123.Append(extents123);

            A.PresetGeometry presetGeometry121 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList123 = new A.AdjustValueList();

            presetGeometry121.Append(adjustValueList123);
            A.NoFill noFill241 = new A.NoFill();

            A.Outline outline126 = new A.Outline() { Width = 9525 };
            A.NoFill noFill242 = new A.NoFill();
            A.Miter miter121 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd123 = new A.HeadEnd();
            A.TailEnd tailEnd123 = new A.TailEnd();

            outline126.Append(noFill242);
            outline126.Append(miter121);
            outline126.Append(headEnd123);
            outline126.Append(tailEnd123);

            shapeProperties123.Append(transform2D123);
            shapeProperties123.Append(presetGeometry121);
            shapeProperties123.Append(noFill241);
            shapeProperties123.Append(outline126);

            picture121.Append(nonVisualPictureProperties121);
            picture121.Append(blipFill121);
            picture121.Append(shapeProperties123);
            Xdr.ClientData clientData121 = new Xdr.ClientData();

            twoCellAnchor121.Append(fromMarker121);
            twoCellAnchor121.Append(toMarker121);
            twoCellAnchor121.Append(picture121);
            twoCellAnchor121.Append(clientData121);

            Xdr.TwoCellAnchor twoCellAnchor122 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker122 = new Xdr.FromMarker();
            Xdr.ColumnId columnId243 = new Xdr.ColumnId();
            columnId243.Text = "2";
            Xdr.ColumnOffset columnOffset243 = new Xdr.ColumnOffset();
            columnOffset243.Text = "19050";
            Xdr.RowId rowId243 = new Xdr.RowId();
            rowId243.Text = "13";
            Xdr.RowOffset rowOffset243 = new Xdr.RowOffset();
            rowOffset243.Text = "0";

            fromMarker122.Append(columnId243);
            fromMarker122.Append(columnOffset243);
            fromMarker122.Append(rowId243);
            fromMarker122.Append(rowOffset243);

            Xdr.ToMarker toMarker122 = new Xdr.ToMarker();
            Xdr.ColumnId columnId244 = new Xdr.ColumnId();
            columnId244.Text = "4";
            Xdr.ColumnOffset columnOffset244 = new Xdr.ColumnOffset();
            columnOffset244.Text = "0";
            Xdr.RowId rowId244 = new Xdr.RowId();
            rowId244.Text = "13";
            Xdr.RowOffset rowOffset244 = new Xdr.RowOffset();
            rowOffset244.Text = "0";

            toMarker122.Append(columnId244);
            toMarker122.Append(columnOffset244);
            toMarker122.Append(rowId244);
            toMarker122.Append(rowOffset244);

            Xdr.Picture picture122 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties122 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties122 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2987U, Name = "Picture 370" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties122 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks122 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties122.Append(pictureLocks122);

            nonVisualPictureProperties122.Append(nonVisualDrawingProperties122);
            nonVisualPictureProperties122.Append(nonVisualPictureDrawingProperties122);

            Xdr.BlipFill blipFill122 = new Xdr.BlipFill();

            A.Blip blip122 = new A.Blip() { Embed = "rId1" };
            blip122.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle122 = new A.SourceRectangle();

            A.Stretch stretch122 = new A.Stretch();
            A.FillRectangle fillRectangle122 = new A.FillRectangle();

            stretch122.Append(fillRectangle122);

            blipFill122.Append(blip122);
            blipFill122.Append(sourceRectangle122);
            blipFill122.Append(stretch122);

            Xdr.ShapeProperties shapeProperties124 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D124 = new A.Transform2D();
            A.Offset offset124 = new A.Offset() { X = 1704975L, Y = 2676525L };
            A.Extents extents124 = new A.Extents() { Cx = 3905250L, Cy = 0L };

            transform2D124.Append(offset124);
            transform2D124.Append(extents124);

            A.PresetGeometry presetGeometry122 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList124 = new A.AdjustValueList();

            presetGeometry122.Append(adjustValueList124);
            A.NoFill noFill243 = new A.NoFill();

            A.Outline outline127 = new A.Outline() { Width = 9525 };
            A.NoFill noFill244 = new A.NoFill();
            A.Miter miter122 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd124 = new A.HeadEnd();
            A.TailEnd tailEnd124 = new A.TailEnd();

            outline127.Append(noFill244);
            outline127.Append(miter122);
            outline127.Append(headEnd124);
            outline127.Append(tailEnd124);

            shapeProperties124.Append(transform2D124);
            shapeProperties124.Append(presetGeometry122);
            shapeProperties124.Append(noFill243);
            shapeProperties124.Append(outline127);

            picture122.Append(nonVisualPictureProperties122);
            picture122.Append(blipFill122);
            picture122.Append(shapeProperties124);
            Xdr.ClientData clientData122 = new Xdr.ClientData();

            twoCellAnchor122.Append(fromMarker122);
            twoCellAnchor122.Append(toMarker122);
            twoCellAnchor122.Append(picture122);
            twoCellAnchor122.Append(clientData122);

            Xdr.TwoCellAnchor twoCellAnchor123 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker123 = new Xdr.FromMarker();
            Xdr.ColumnId columnId245 = new Xdr.ColumnId();
            columnId245.Text = "2";
            Xdr.ColumnOffset columnOffset245 = new Xdr.ColumnOffset();
            columnOffset245.Text = "19050";
            Xdr.RowId rowId245 = new Xdr.RowId();
            rowId245.Text = "13";
            Xdr.RowOffset rowOffset245 = new Xdr.RowOffset();
            rowOffset245.Text = "0";

            fromMarker123.Append(columnId245);
            fromMarker123.Append(columnOffset245);
            fromMarker123.Append(rowId245);
            fromMarker123.Append(rowOffset245);

            Xdr.ToMarker toMarker123 = new Xdr.ToMarker();
            Xdr.ColumnId columnId246 = new Xdr.ColumnId();
            columnId246.Text = "4";
            Xdr.ColumnOffset columnOffset246 = new Xdr.ColumnOffset();
            columnOffset246.Text = "0";
            Xdr.RowId rowId246 = new Xdr.RowId();
            rowId246.Text = "13";
            Xdr.RowOffset rowOffset246 = new Xdr.RowOffset();
            rowOffset246.Text = "0";

            toMarker123.Append(columnId246);
            toMarker123.Append(columnOffset246);
            toMarker123.Append(rowId246);
            toMarker123.Append(rowOffset246);

            Xdr.Picture picture123 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties123 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties123 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2988U, Name = "Picture 371" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties123 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks123 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties123.Append(pictureLocks123);

            nonVisualPictureProperties123.Append(nonVisualDrawingProperties123);
            nonVisualPictureProperties123.Append(nonVisualPictureDrawingProperties123);

            Xdr.BlipFill blipFill123 = new Xdr.BlipFill();

            A.Blip blip123 = new A.Blip() { Embed = "rId1" };
            blip123.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle123 = new A.SourceRectangle();

            A.Stretch stretch123 = new A.Stretch();
            A.FillRectangle fillRectangle123 = new A.FillRectangle();

            stretch123.Append(fillRectangle123);

            blipFill123.Append(blip123);
            blipFill123.Append(sourceRectangle123);
            blipFill123.Append(stretch123);

            Xdr.ShapeProperties shapeProperties125 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D125 = new A.Transform2D();
            A.Offset offset125 = new A.Offset() { X = 1704975L, Y = 2676525L };
            A.Extents extents125 = new A.Extents() { Cx = 3905250L, Cy = 0L };

            transform2D125.Append(offset125);
            transform2D125.Append(extents125);

            A.PresetGeometry presetGeometry123 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList125 = new A.AdjustValueList();

            presetGeometry123.Append(adjustValueList125);
            A.NoFill noFill245 = new A.NoFill();

            A.Outline outline128 = new A.Outline() { Width = 9525 };
            A.NoFill noFill246 = new A.NoFill();
            A.Miter miter123 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd125 = new A.HeadEnd();
            A.TailEnd tailEnd125 = new A.TailEnd();

            outline128.Append(noFill246);
            outline128.Append(miter123);
            outline128.Append(headEnd125);
            outline128.Append(tailEnd125);

            shapeProperties125.Append(transform2D125);
            shapeProperties125.Append(presetGeometry123);
            shapeProperties125.Append(noFill245);
            shapeProperties125.Append(outline128);

            picture123.Append(nonVisualPictureProperties123);
            picture123.Append(blipFill123);
            picture123.Append(shapeProperties125);
            Xdr.ClientData clientData123 = new Xdr.ClientData();

            twoCellAnchor123.Append(fromMarker123);
            twoCellAnchor123.Append(toMarker123);
            twoCellAnchor123.Append(picture123);
            twoCellAnchor123.Append(clientData123);

            Xdr.TwoCellAnchor twoCellAnchor124 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker124 = new Xdr.FromMarker();
            Xdr.ColumnId columnId247 = new Xdr.ColumnId();
            columnId247.Text = "2";
            Xdr.ColumnOffset columnOffset247 = new Xdr.ColumnOffset();
            columnOffset247.Text = "19050";
            Xdr.RowId rowId247 = new Xdr.RowId();
            rowId247.Text = "13";
            Xdr.RowOffset rowOffset247 = new Xdr.RowOffset();
            rowOffset247.Text = "0";

            fromMarker124.Append(columnId247);
            fromMarker124.Append(columnOffset247);
            fromMarker124.Append(rowId247);
            fromMarker124.Append(rowOffset247);

            Xdr.ToMarker toMarker124 = new Xdr.ToMarker();
            Xdr.ColumnId columnId248 = new Xdr.ColumnId();
            columnId248.Text = "4";
            Xdr.ColumnOffset columnOffset248 = new Xdr.ColumnOffset();
            columnOffset248.Text = "0";
            Xdr.RowId rowId248 = new Xdr.RowId();
            rowId248.Text = "13";
            Xdr.RowOffset rowOffset248 = new Xdr.RowOffset();
            rowOffset248.Text = "0";

            toMarker124.Append(columnId248);
            toMarker124.Append(columnOffset248);
            toMarker124.Append(rowId248);
            toMarker124.Append(rowOffset248);

            Xdr.Picture picture124 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties124 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties124 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2989U, Name = "Picture 372" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties124 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks124 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties124.Append(pictureLocks124);

            nonVisualPictureProperties124.Append(nonVisualDrawingProperties124);
            nonVisualPictureProperties124.Append(nonVisualPictureDrawingProperties124);

            Xdr.BlipFill blipFill124 = new Xdr.BlipFill();

            A.Blip blip124 = new A.Blip() { Embed = "rId1" };
            blip124.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle124 = new A.SourceRectangle();

            A.Stretch stretch124 = new A.Stretch();
            A.FillRectangle fillRectangle124 = new A.FillRectangle();

            stretch124.Append(fillRectangle124);

            blipFill124.Append(blip124);
            blipFill124.Append(sourceRectangle124);
            blipFill124.Append(stretch124);

            Xdr.ShapeProperties shapeProperties126 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D126 = new A.Transform2D();
            A.Offset offset126 = new A.Offset() { X = 1704975L, Y = 2676525L };
            A.Extents extents126 = new A.Extents() { Cx = 3905250L, Cy = 0L };

            transform2D126.Append(offset126);
            transform2D126.Append(extents126);

            A.PresetGeometry presetGeometry124 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList126 = new A.AdjustValueList();

            presetGeometry124.Append(adjustValueList126);
            A.NoFill noFill247 = new A.NoFill();

            A.Outline outline129 = new A.Outline() { Width = 9525 };
            A.NoFill noFill248 = new A.NoFill();
            A.Miter miter124 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd126 = new A.HeadEnd();
            A.TailEnd tailEnd126 = new A.TailEnd();

            outline129.Append(noFill248);
            outline129.Append(miter124);
            outline129.Append(headEnd126);
            outline129.Append(tailEnd126);

            shapeProperties126.Append(transform2D126);
            shapeProperties126.Append(presetGeometry124);
            shapeProperties126.Append(noFill247);
            shapeProperties126.Append(outline129);

            picture124.Append(nonVisualPictureProperties124);
            picture124.Append(blipFill124);
            picture124.Append(shapeProperties126);
            Xdr.ClientData clientData124 = new Xdr.ClientData();

            twoCellAnchor124.Append(fromMarker124);
            twoCellAnchor124.Append(toMarker124);
            twoCellAnchor124.Append(picture124);
            twoCellAnchor124.Append(clientData124);

            Xdr.TwoCellAnchor twoCellAnchor125 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker125 = new Xdr.FromMarker();
            Xdr.ColumnId columnId249 = new Xdr.ColumnId();
            columnId249.Text = "2";
            Xdr.ColumnOffset columnOffset249 = new Xdr.ColumnOffset();
            columnOffset249.Text = "19050";
            Xdr.RowId rowId249 = new Xdr.RowId();
            rowId249.Text = "13";
            Xdr.RowOffset rowOffset249 = new Xdr.RowOffset();
            rowOffset249.Text = "0";

            fromMarker125.Append(columnId249);
            fromMarker125.Append(columnOffset249);
            fromMarker125.Append(rowId249);
            fromMarker125.Append(rowOffset249);

            Xdr.ToMarker toMarker125 = new Xdr.ToMarker();
            Xdr.ColumnId columnId250 = new Xdr.ColumnId();
            columnId250.Text = "4";
            Xdr.ColumnOffset columnOffset250 = new Xdr.ColumnOffset();
            columnOffset250.Text = "0";
            Xdr.RowId rowId250 = new Xdr.RowId();
            rowId250.Text = "13";
            Xdr.RowOffset rowOffset250 = new Xdr.RowOffset();
            rowOffset250.Text = "0";

            toMarker125.Append(columnId250);
            toMarker125.Append(columnOffset250);
            toMarker125.Append(rowId250);
            toMarker125.Append(rowOffset250);

            Xdr.Picture picture125 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties125 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties125 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2990U, Name = "Picture 373" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties125 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks125 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties125.Append(pictureLocks125);

            nonVisualPictureProperties125.Append(nonVisualDrawingProperties125);
            nonVisualPictureProperties125.Append(nonVisualPictureDrawingProperties125);

            Xdr.BlipFill blipFill125 = new Xdr.BlipFill();

            A.Blip blip125 = new A.Blip() { Embed = "rId1" };
            blip125.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle125 = new A.SourceRectangle();

            A.Stretch stretch125 = new A.Stretch();
            A.FillRectangle fillRectangle125 = new A.FillRectangle();

            stretch125.Append(fillRectangle125);

            blipFill125.Append(blip125);
            blipFill125.Append(sourceRectangle125);
            blipFill125.Append(stretch125);

            Xdr.ShapeProperties shapeProperties127 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D127 = new A.Transform2D();
            A.Offset offset127 = new A.Offset() { X = 1704975L, Y = 2676525L };
            A.Extents extents127 = new A.Extents() { Cx = 3905250L, Cy = 0L };

            transform2D127.Append(offset127);
            transform2D127.Append(extents127);

            A.PresetGeometry presetGeometry125 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList127 = new A.AdjustValueList();

            presetGeometry125.Append(adjustValueList127);
            A.NoFill noFill249 = new A.NoFill();

            A.Outline outline130 = new A.Outline() { Width = 9525 };
            A.NoFill noFill250 = new A.NoFill();
            A.Miter miter125 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd127 = new A.HeadEnd();
            A.TailEnd tailEnd127 = new A.TailEnd();

            outline130.Append(noFill250);
            outline130.Append(miter125);
            outline130.Append(headEnd127);
            outline130.Append(tailEnd127);

            shapeProperties127.Append(transform2D127);
            shapeProperties127.Append(presetGeometry125);
            shapeProperties127.Append(noFill249);
            shapeProperties127.Append(outline130);

            picture125.Append(nonVisualPictureProperties125);
            picture125.Append(blipFill125);
            picture125.Append(shapeProperties127);
            Xdr.ClientData clientData125 = new Xdr.ClientData();

            twoCellAnchor125.Append(fromMarker125);
            twoCellAnchor125.Append(toMarker125);
            twoCellAnchor125.Append(picture125);
            twoCellAnchor125.Append(clientData125);

            Xdr.TwoCellAnchor twoCellAnchor126 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker126 = new Xdr.FromMarker();
            Xdr.ColumnId columnId251 = new Xdr.ColumnId();
            columnId251.Text = "2";
            Xdr.ColumnOffset columnOffset251 = new Xdr.ColumnOffset();
            columnOffset251.Text = "19050";
            Xdr.RowId rowId251 = new Xdr.RowId();
            rowId251.Text = "13";
            Xdr.RowOffset rowOffset251 = new Xdr.RowOffset();
            rowOffset251.Text = "0";

            fromMarker126.Append(columnId251);
            fromMarker126.Append(columnOffset251);
            fromMarker126.Append(rowId251);
            fromMarker126.Append(rowOffset251);

            Xdr.ToMarker toMarker126 = new Xdr.ToMarker();
            Xdr.ColumnId columnId252 = new Xdr.ColumnId();
            columnId252.Text = "4";
            Xdr.ColumnOffset columnOffset252 = new Xdr.ColumnOffset();
            columnOffset252.Text = "0";
            Xdr.RowId rowId252 = new Xdr.RowId();
            rowId252.Text = "13";
            Xdr.RowOffset rowOffset252 = new Xdr.RowOffset();
            rowOffset252.Text = "0";

            toMarker126.Append(columnId252);
            toMarker126.Append(columnOffset252);
            toMarker126.Append(rowId252);
            toMarker126.Append(rowOffset252);

            Xdr.Picture picture126 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties126 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties126 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2991U, Name = "Picture 374" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties126 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks126 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties126.Append(pictureLocks126);

            nonVisualPictureProperties126.Append(nonVisualDrawingProperties126);
            nonVisualPictureProperties126.Append(nonVisualPictureDrawingProperties126);

            Xdr.BlipFill blipFill126 = new Xdr.BlipFill();

            A.Blip blip126 = new A.Blip() { Embed = "rId1" };
            blip126.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle126 = new A.SourceRectangle();

            A.Stretch stretch126 = new A.Stretch();
            A.FillRectangle fillRectangle126 = new A.FillRectangle();

            stretch126.Append(fillRectangle126);

            blipFill126.Append(blip126);
            blipFill126.Append(sourceRectangle126);
            blipFill126.Append(stretch126);

            Xdr.ShapeProperties shapeProperties128 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D128 = new A.Transform2D();
            A.Offset offset128 = new A.Offset() { X = 1704975L, Y = 2676525L };
            A.Extents extents128 = new A.Extents() { Cx = 3905250L, Cy = 0L };

            transform2D128.Append(offset128);
            transform2D128.Append(extents128);

            A.PresetGeometry presetGeometry126 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList128 = new A.AdjustValueList();

            presetGeometry126.Append(adjustValueList128);
            A.NoFill noFill251 = new A.NoFill();

            A.Outline outline131 = new A.Outline() { Width = 9525 };
            A.NoFill noFill252 = new A.NoFill();
            A.Miter miter126 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd128 = new A.HeadEnd();
            A.TailEnd tailEnd128 = new A.TailEnd();

            outline131.Append(noFill252);
            outline131.Append(miter126);
            outline131.Append(headEnd128);
            outline131.Append(tailEnd128);

            shapeProperties128.Append(transform2D128);
            shapeProperties128.Append(presetGeometry126);
            shapeProperties128.Append(noFill251);
            shapeProperties128.Append(outline131);

            picture126.Append(nonVisualPictureProperties126);
            picture126.Append(blipFill126);
            picture126.Append(shapeProperties128);
            Xdr.ClientData clientData126 = new Xdr.ClientData();

            twoCellAnchor126.Append(fromMarker126);
            twoCellAnchor126.Append(toMarker126);
            twoCellAnchor126.Append(picture126);
            twoCellAnchor126.Append(clientData126);

            Xdr.TwoCellAnchor twoCellAnchor127 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker127 = new Xdr.FromMarker();
            Xdr.ColumnId columnId253 = new Xdr.ColumnId();
            columnId253.Text = "2";
            Xdr.ColumnOffset columnOffset253 = new Xdr.ColumnOffset();
            columnOffset253.Text = "19050";
            Xdr.RowId rowId253 = new Xdr.RowId();
            rowId253.Text = "13";
            Xdr.RowOffset rowOffset253 = new Xdr.RowOffset();
            rowOffset253.Text = "0";

            fromMarker127.Append(columnId253);
            fromMarker127.Append(columnOffset253);
            fromMarker127.Append(rowId253);
            fromMarker127.Append(rowOffset253);

            Xdr.ToMarker toMarker127 = new Xdr.ToMarker();
            Xdr.ColumnId columnId254 = new Xdr.ColumnId();
            columnId254.Text = "4";
            Xdr.ColumnOffset columnOffset254 = new Xdr.ColumnOffset();
            columnOffset254.Text = "0";
            Xdr.RowId rowId254 = new Xdr.RowId();
            rowId254.Text = "13";
            Xdr.RowOffset rowOffset254 = new Xdr.RowOffset();
            rowOffset254.Text = "0";

            toMarker127.Append(columnId254);
            toMarker127.Append(columnOffset254);
            toMarker127.Append(rowId254);
            toMarker127.Append(rowOffset254);

            Xdr.Picture picture127 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties127 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties127 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2992U, Name = "Picture 375" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties127 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks127 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties127.Append(pictureLocks127);

            nonVisualPictureProperties127.Append(nonVisualDrawingProperties127);
            nonVisualPictureProperties127.Append(nonVisualPictureDrawingProperties127);

            Xdr.BlipFill blipFill127 = new Xdr.BlipFill();

            A.Blip blip127 = new A.Blip() { Embed = "rId1" };
            blip127.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle127 = new A.SourceRectangle();

            A.Stretch stretch127 = new A.Stretch();
            A.FillRectangle fillRectangle127 = new A.FillRectangle();

            stretch127.Append(fillRectangle127);

            blipFill127.Append(blip127);
            blipFill127.Append(sourceRectangle127);
            blipFill127.Append(stretch127);

            Xdr.ShapeProperties shapeProperties129 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D129 = new A.Transform2D();
            A.Offset offset129 = new A.Offset() { X = 1704975L, Y = 2676525L };
            A.Extents extents129 = new A.Extents() { Cx = 3905250L, Cy = 0L };

            transform2D129.Append(offset129);
            transform2D129.Append(extents129);

            A.PresetGeometry presetGeometry127 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList129 = new A.AdjustValueList();

            presetGeometry127.Append(adjustValueList129);
            A.NoFill noFill253 = new A.NoFill();

            A.Outline outline132 = new A.Outline() { Width = 9525 };
            A.NoFill noFill254 = new A.NoFill();
            A.Miter miter127 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd129 = new A.HeadEnd();
            A.TailEnd tailEnd129 = new A.TailEnd();

            outline132.Append(noFill254);
            outline132.Append(miter127);
            outline132.Append(headEnd129);
            outline132.Append(tailEnd129);

            shapeProperties129.Append(transform2D129);
            shapeProperties129.Append(presetGeometry127);
            shapeProperties129.Append(noFill253);
            shapeProperties129.Append(outline132);

            picture127.Append(nonVisualPictureProperties127);
            picture127.Append(blipFill127);
            picture127.Append(shapeProperties129);
            Xdr.ClientData clientData127 = new Xdr.ClientData();

            twoCellAnchor127.Append(fromMarker127);
            twoCellAnchor127.Append(toMarker127);
            twoCellAnchor127.Append(picture127);
            twoCellAnchor127.Append(clientData127);

            Xdr.TwoCellAnchor twoCellAnchor128 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker128 = new Xdr.FromMarker();
            Xdr.ColumnId columnId255 = new Xdr.ColumnId();
            columnId255.Text = "2";
            Xdr.ColumnOffset columnOffset255 = new Xdr.ColumnOffset();
            columnOffset255.Text = "0";
            Xdr.RowId rowId255 = new Xdr.RowId();
            rowId255.Text = "13";
            Xdr.RowOffset rowOffset255 = new Xdr.RowOffset();
            rowOffset255.Text = "0";

            fromMarker128.Append(columnId255);
            fromMarker128.Append(columnOffset255);
            fromMarker128.Append(rowId255);
            fromMarker128.Append(rowOffset255);

            Xdr.ToMarker toMarker128 = new Xdr.ToMarker();
            Xdr.ColumnId columnId256 = new Xdr.ColumnId();
            columnId256.Text = "4";
            Xdr.ColumnOffset columnOffset256 = new Xdr.ColumnOffset();
            columnOffset256.Text = "0";
            Xdr.RowId rowId256 = new Xdr.RowId();
            rowId256.Text = "13";
            Xdr.RowOffset rowOffset256 = new Xdr.RowOffset();
            rowOffset256.Text = "0";

            toMarker128.Append(columnId256);
            toMarker128.Append(columnOffset256);
            toMarker128.Append(rowId256);
            toMarker128.Append(rowOffset256);

            Xdr.Picture picture128 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties128 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties128 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2993U, Name = "Picture 376" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties128 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks128 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties128.Append(pictureLocks128);

            nonVisualPictureProperties128.Append(nonVisualDrawingProperties128);
            nonVisualPictureProperties128.Append(nonVisualPictureDrawingProperties128);

            Xdr.BlipFill blipFill128 = new Xdr.BlipFill();

            A.Blip blip128 = new A.Blip() { Embed = "rId1" };
            blip128.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle128 = new A.SourceRectangle();

            A.Stretch stretch128 = new A.Stretch();
            A.FillRectangle fillRectangle128 = new A.FillRectangle();

            stretch128.Append(fillRectangle128);

            blipFill128.Append(blip128);
            blipFill128.Append(sourceRectangle128);
            blipFill128.Append(stretch128);

            Xdr.ShapeProperties shapeProperties130 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D130 = new A.Transform2D();
            A.Offset offset130 = new A.Offset() { X = 1685925L, Y = 2676525L };
            A.Extents extents130 = new A.Extents() { Cx = 3924300L, Cy = 0L };

            transform2D130.Append(offset130);
            transform2D130.Append(extents130);

            A.PresetGeometry presetGeometry128 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList130 = new A.AdjustValueList();

            presetGeometry128.Append(adjustValueList130);
            A.NoFill noFill255 = new A.NoFill();

            A.Outline outline133 = new A.Outline() { Width = 9525 };
            A.NoFill noFill256 = new A.NoFill();
            A.Miter miter128 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd130 = new A.HeadEnd();
            A.TailEnd tailEnd130 = new A.TailEnd();

            outline133.Append(noFill256);
            outline133.Append(miter128);
            outline133.Append(headEnd130);
            outline133.Append(tailEnd130);

            shapeProperties130.Append(transform2D130);
            shapeProperties130.Append(presetGeometry128);
            shapeProperties130.Append(noFill255);
            shapeProperties130.Append(outline133);

            picture128.Append(nonVisualPictureProperties128);
            picture128.Append(blipFill128);
            picture128.Append(shapeProperties130);
            Xdr.ClientData clientData128 = new Xdr.ClientData();

            twoCellAnchor128.Append(fromMarker128);
            twoCellAnchor128.Append(toMarker128);
            twoCellAnchor128.Append(picture128);
            twoCellAnchor128.Append(clientData128);

            Xdr.TwoCellAnchor twoCellAnchor129 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker129 = new Xdr.FromMarker();
            Xdr.ColumnId columnId257 = new Xdr.ColumnId();
            columnId257.Text = "2";
            Xdr.ColumnOffset columnOffset257 = new Xdr.ColumnOffset();
            columnOffset257.Text = "0";
            Xdr.RowId rowId257 = new Xdr.RowId();
            rowId257.Text = "13";
            Xdr.RowOffset rowOffset257 = new Xdr.RowOffset();
            rowOffset257.Text = "0";

            fromMarker129.Append(columnId257);
            fromMarker129.Append(columnOffset257);
            fromMarker129.Append(rowId257);
            fromMarker129.Append(rowOffset257);

            Xdr.ToMarker toMarker129 = new Xdr.ToMarker();
            Xdr.ColumnId columnId258 = new Xdr.ColumnId();
            columnId258.Text = "4";
            Xdr.ColumnOffset columnOffset258 = new Xdr.ColumnOffset();
            columnOffset258.Text = "0";
            Xdr.RowId rowId258 = new Xdr.RowId();
            rowId258.Text = "13";
            Xdr.RowOffset rowOffset258 = new Xdr.RowOffset();
            rowOffset258.Text = "0";

            toMarker129.Append(columnId258);
            toMarker129.Append(columnOffset258);
            toMarker129.Append(rowId258);
            toMarker129.Append(rowOffset258);

            Xdr.Picture picture129 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties129 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties129 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2994U, Name = "Picture 377" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties129 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks129 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties129.Append(pictureLocks129);

            nonVisualPictureProperties129.Append(nonVisualDrawingProperties129);
            nonVisualPictureProperties129.Append(nonVisualPictureDrawingProperties129);

            Xdr.BlipFill blipFill129 = new Xdr.BlipFill();

            A.Blip blip129 = new A.Blip() { Embed = "rId1" };
            blip129.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle129 = new A.SourceRectangle();

            A.Stretch stretch129 = new A.Stretch();
            A.FillRectangle fillRectangle129 = new A.FillRectangle();

            stretch129.Append(fillRectangle129);

            blipFill129.Append(blip129);
            blipFill129.Append(sourceRectangle129);
            blipFill129.Append(stretch129);

            Xdr.ShapeProperties shapeProperties131 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D131 = new A.Transform2D();
            A.Offset offset131 = new A.Offset() { X = 1685925L, Y = 2676525L };
            A.Extents extents131 = new A.Extents() { Cx = 3924300L, Cy = 0L };

            transform2D131.Append(offset131);
            transform2D131.Append(extents131);

            A.PresetGeometry presetGeometry129 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList131 = new A.AdjustValueList();

            presetGeometry129.Append(adjustValueList131);
            A.NoFill noFill257 = new A.NoFill();

            A.Outline outline134 = new A.Outline() { Width = 9525 };
            A.NoFill noFill258 = new A.NoFill();
            A.Miter miter129 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd131 = new A.HeadEnd();
            A.TailEnd tailEnd131 = new A.TailEnd();

            outline134.Append(noFill258);
            outline134.Append(miter129);
            outline134.Append(headEnd131);
            outline134.Append(tailEnd131);

            shapeProperties131.Append(transform2D131);
            shapeProperties131.Append(presetGeometry129);
            shapeProperties131.Append(noFill257);
            shapeProperties131.Append(outline134);

            picture129.Append(nonVisualPictureProperties129);
            picture129.Append(blipFill129);
            picture129.Append(shapeProperties131);
            Xdr.ClientData clientData129 = new Xdr.ClientData();

            twoCellAnchor129.Append(fromMarker129);
            twoCellAnchor129.Append(toMarker129);
            twoCellAnchor129.Append(picture129);
            twoCellAnchor129.Append(clientData129);

            Xdr.TwoCellAnchor twoCellAnchor130 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker130 = new Xdr.FromMarker();
            Xdr.ColumnId columnId259 = new Xdr.ColumnId();
            columnId259.Text = "2";
            Xdr.ColumnOffset columnOffset259 = new Xdr.ColumnOffset();
            columnOffset259.Text = "0";
            Xdr.RowId rowId259 = new Xdr.RowId();
            rowId259.Text = "13";
            Xdr.RowOffset rowOffset259 = new Xdr.RowOffset();
            rowOffset259.Text = "0";

            fromMarker130.Append(columnId259);
            fromMarker130.Append(columnOffset259);
            fromMarker130.Append(rowId259);
            fromMarker130.Append(rowOffset259);

            Xdr.ToMarker toMarker130 = new Xdr.ToMarker();
            Xdr.ColumnId columnId260 = new Xdr.ColumnId();
            columnId260.Text = "4";
            Xdr.ColumnOffset columnOffset260 = new Xdr.ColumnOffset();
            columnOffset260.Text = "0";
            Xdr.RowId rowId260 = new Xdr.RowId();
            rowId260.Text = "13";
            Xdr.RowOffset rowOffset260 = new Xdr.RowOffset();
            rowOffset260.Text = "0";

            toMarker130.Append(columnId260);
            toMarker130.Append(columnOffset260);
            toMarker130.Append(rowId260);
            toMarker130.Append(rowOffset260);

            Xdr.Picture picture130 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties130 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties130 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2995U, Name = "Picture 378" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties130 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks130 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties130.Append(pictureLocks130);

            nonVisualPictureProperties130.Append(nonVisualDrawingProperties130);
            nonVisualPictureProperties130.Append(nonVisualPictureDrawingProperties130);

            Xdr.BlipFill blipFill130 = new Xdr.BlipFill();

            A.Blip blip130 = new A.Blip() { Embed = "rId1" };
            blip130.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle130 = new A.SourceRectangle();

            A.Stretch stretch130 = new A.Stretch();
            A.FillRectangle fillRectangle130 = new A.FillRectangle();

            stretch130.Append(fillRectangle130);

            blipFill130.Append(blip130);
            blipFill130.Append(sourceRectangle130);
            blipFill130.Append(stretch130);

            Xdr.ShapeProperties shapeProperties132 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D132 = new A.Transform2D();
            A.Offset offset132 = new A.Offset() { X = 1685925L, Y = 2676525L };
            A.Extents extents132 = new A.Extents() { Cx = 3924300L, Cy = 0L };

            transform2D132.Append(offset132);
            transform2D132.Append(extents132);

            A.PresetGeometry presetGeometry130 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList132 = new A.AdjustValueList();

            presetGeometry130.Append(adjustValueList132);
            A.NoFill noFill259 = new A.NoFill();

            A.Outline outline135 = new A.Outline() { Width = 9525 };
            A.NoFill noFill260 = new A.NoFill();
            A.Miter miter130 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd132 = new A.HeadEnd();
            A.TailEnd tailEnd132 = new A.TailEnd();

            outline135.Append(noFill260);
            outline135.Append(miter130);
            outline135.Append(headEnd132);
            outline135.Append(tailEnd132);

            shapeProperties132.Append(transform2D132);
            shapeProperties132.Append(presetGeometry130);
            shapeProperties132.Append(noFill259);
            shapeProperties132.Append(outline135);

            picture130.Append(nonVisualPictureProperties130);
            picture130.Append(blipFill130);
            picture130.Append(shapeProperties132);
            Xdr.ClientData clientData130 = new Xdr.ClientData();

            twoCellAnchor130.Append(fromMarker130);
            twoCellAnchor130.Append(toMarker130);
            twoCellAnchor130.Append(picture130);
            twoCellAnchor130.Append(clientData130);

            Xdr.TwoCellAnchor twoCellAnchor131 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker131 = new Xdr.FromMarker();
            Xdr.ColumnId columnId261 = new Xdr.ColumnId();
            columnId261.Text = "2";
            Xdr.ColumnOffset columnOffset261 = new Xdr.ColumnOffset();
            columnOffset261.Text = "19050";
            Xdr.RowId rowId261 = new Xdr.RowId();
            rowId261.Text = "13";
            Xdr.RowOffset rowOffset261 = new Xdr.RowOffset();
            rowOffset261.Text = "0";

            fromMarker131.Append(columnId261);
            fromMarker131.Append(columnOffset261);
            fromMarker131.Append(rowId261);
            fromMarker131.Append(rowOffset261);

            Xdr.ToMarker toMarker131 = new Xdr.ToMarker();
            Xdr.ColumnId columnId262 = new Xdr.ColumnId();
            columnId262.Text = "4";
            Xdr.ColumnOffset columnOffset262 = new Xdr.ColumnOffset();
            columnOffset262.Text = "0";
            Xdr.RowId rowId262 = new Xdr.RowId();
            rowId262.Text = "13";
            Xdr.RowOffset rowOffset262 = new Xdr.RowOffset();
            rowOffset262.Text = "0";

            toMarker131.Append(columnId262);
            toMarker131.Append(columnOffset262);
            toMarker131.Append(rowId262);
            toMarker131.Append(rowOffset262);

            Xdr.Picture picture131 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties131 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties131 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2996U, Name = "Picture 379" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties131 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks131 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties131.Append(pictureLocks131);

            nonVisualPictureProperties131.Append(nonVisualDrawingProperties131);
            nonVisualPictureProperties131.Append(nonVisualPictureDrawingProperties131);

            Xdr.BlipFill blipFill131 = new Xdr.BlipFill();

            A.Blip blip131 = new A.Blip() { Embed = "rId1" };
            blip131.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle131 = new A.SourceRectangle();

            A.Stretch stretch131 = new A.Stretch();
            A.FillRectangle fillRectangle131 = new A.FillRectangle();

            stretch131.Append(fillRectangle131);

            blipFill131.Append(blip131);
            blipFill131.Append(sourceRectangle131);
            blipFill131.Append(stretch131);

            Xdr.ShapeProperties shapeProperties133 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D133 = new A.Transform2D();
            A.Offset offset133 = new A.Offset() { X = 1704975L, Y = 2676525L };
            A.Extents extents133 = new A.Extents() { Cx = 3905250L, Cy = 0L };

            transform2D133.Append(offset133);
            transform2D133.Append(extents133);

            A.PresetGeometry presetGeometry131 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList133 = new A.AdjustValueList();

            presetGeometry131.Append(adjustValueList133);
            A.NoFill noFill261 = new A.NoFill();

            A.Outline outline136 = new A.Outline() { Width = 9525 };
            A.NoFill noFill262 = new A.NoFill();
            A.Miter miter131 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd133 = new A.HeadEnd();
            A.TailEnd tailEnd133 = new A.TailEnd();

            outline136.Append(noFill262);
            outline136.Append(miter131);
            outline136.Append(headEnd133);
            outline136.Append(tailEnd133);

            shapeProperties133.Append(transform2D133);
            shapeProperties133.Append(presetGeometry131);
            shapeProperties133.Append(noFill261);
            shapeProperties133.Append(outline136);

            picture131.Append(nonVisualPictureProperties131);
            picture131.Append(blipFill131);
            picture131.Append(shapeProperties133);
            Xdr.ClientData clientData131 = new Xdr.ClientData();

            twoCellAnchor131.Append(fromMarker131);
            twoCellAnchor131.Append(toMarker131);
            twoCellAnchor131.Append(picture131);
            twoCellAnchor131.Append(clientData131);

            Xdr.TwoCellAnchor twoCellAnchor132 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker132 = new Xdr.FromMarker();
            Xdr.ColumnId columnId263 = new Xdr.ColumnId();
            columnId263.Text = "2";
            Xdr.ColumnOffset columnOffset263 = new Xdr.ColumnOffset();
            columnOffset263.Text = "19050";
            Xdr.RowId rowId263 = new Xdr.RowId();
            rowId263.Text = "13";
            Xdr.RowOffset rowOffset263 = new Xdr.RowOffset();
            rowOffset263.Text = "0";

            fromMarker132.Append(columnId263);
            fromMarker132.Append(columnOffset263);
            fromMarker132.Append(rowId263);
            fromMarker132.Append(rowOffset263);

            Xdr.ToMarker toMarker132 = new Xdr.ToMarker();
            Xdr.ColumnId columnId264 = new Xdr.ColumnId();
            columnId264.Text = "4";
            Xdr.ColumnOffset columnOffset264 = new Xdr.ColumnOffset();
            columnOffset264.Text = "0";
            Xdr.RowId rowId264 = new Xdr.RowId();
            rowId264.Text = "13";
            Xdr.RowOffset rowOffset264 = new Xdr.RowOffset();
            rowOffset264.Text = "0";

            toMarker132.Append(columnId264);
            toMarker132.Append(columnOffset264);
            toMarker132.Append(rowId264);
            toMarker132.Append(rowOffset264);

            Xdr.Picture picture132 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties132 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties132 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2997U, Name = "Picture 380" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties132 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks132 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties132.Append(pictureLocks132);

            nonVisualPictureProperties132.Append(nonVisualDrawingProperties132);
            nonVisualPictureProperties132.Append(nonVisualPictureDrawingProperties132);

            Xdr.BlipFill blipFill132 = new Xdr.BlipFill();

            A.Blip blip132 = new A.Blip() { Embed = "rId1" };
            blip132.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle132 = new A.SourceRectangle();

            A.Stretch stretch132 = new A.Stretch();
            A.FillRectangle fillRectangle132 = new A.FillRectangle();

            stretch132.Append(fillRectangle132);

            blipFill132.Append(blip132);
            blipFill132.Append(sourceRectangle132);
            blipFill132.Append(stretch132);

            Xdr.ShapeProperties shapeProperties134 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D134 = new A.Transform2D();
            A.Offset offset134 = new A.Offset() { X = 1704975L, Y = 2676525L };
            A.Extents extents134 = new A.Extents() { Cx = 3905250L, Cy = 0L };

            transform2D134.Append(offset134);
            transform2D134.Append(extents134);

            A.PresetGeometry presetGeometry132 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList134 = new A.AdjustValueList();

            presetGeometry132.Append(adjustValueList134);
            A.NoFill noFill263 = new A.NoFill();

            A.Outline outline137 = new A.Outline() { Width = 9525 };
            A.NoFill noFill264 = new A.NoFill();
            A.Miter miter132 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd134 = new A.HeadEnd();
            A.TailEnd tailEnd134 = new A.TailEnd();

            outline137.Append(noFill264);
            outline137.Append(miter132);
            outline137.Append(headEnd134);
            outline137.Append(tailEnd134);

            shapeProperties134.Append(transform2D134);
            shapeProperties134.Append(presetGeometry132);
            shapeProperties134.Append(noFill263);
            shapeProperties134.Append(outline137);

            picture132.Append(nonVisualPictureProperties132);
            picture132.Append(blipFill132);
            picture132.Append(shapeProperties134);
            Xdr.ClientData clientData132 = new Xdr.ClientData();

            twoCellAnchor132.Append(fromMarker132);
            twoCellAnchor132.Append(toMarker132);
            twoCellAnchor132.Append(picture132);
            twoCellAnchor132.Append(clientData132);

            Xdr.TwoCellAnchor twoCellAnchor133 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker133 = new Xdr.FromMarker();
            Xdr.ColumnId columnId265 = new Xdr.ColumnId();
            columnId265.Text = "2";
            Xdr.ColumnOffset columnOffset265 = new Xdr.ColumnOffset();
            columnOffset265.Text = "19050";
            Xdr.RowId rowId265 = new Xdr.RowId();
            rowId265.Text = "13";
            Xdr.RowOffset rowOffset265 = new Xdr.RowOffset();
            rowOffset265.Text = "0";

            fromMarker133.Append(columnId265);
            fromMarker133.Append(columnOffset265);
            fromMarker133.Append(rowId265);
            fromMarker133.Append(rowOffset265);

            Xdr.ToMarker toMarker133 = new Xdr.ToMarker();
            Xdr.ColumnId columnId266 = new Xdr.ColumnId();
            columnId266.Text = "4";
            Xdr.ColumnOffset columnOffset266 = new Xdr.ColumnOffset();
            columnOffset266.Text = "0";
            Xdr.RowId rowId266 = new Xdr.RowId();
            rowId266.Text = "13";
            Xdr.RowOffset rowOffset266 = new Xdr.RowOffset();
            rowOffset266.Text = "0";

            toMarker133.Append(columnId266);
            toMarker133.Append(columnOffset266);
            toMarker133.Append(rowId266);
            toMarker133.Append(rowOffset266);

            Xdr.Picture picture133 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties133 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties133 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2998U, Name = "Picture 381" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties133 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks133 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties133.Append(pictureLocks133);

            nonVisualPictureProperties133.Append(nonVisualDrawingProperties133);
            nonVisualPictureProperties133.Append(nonVisualPictureDrawingProperties133);

            Xdr.BlipFill blipFill133 = new Xdr.BlipFill();

            A.Blip blip133 = new A.Blip() { Embed = "rId1" };
            blip133.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle133 = new A.SourceRectangle();

            A.Stretch stretch133 = new A.Stretch();
            A.FillRectangle fillRectangle133 = new A.FillRectangle();

            stretch133.Append(fillRectangle133);

            blipFill133.Append(blip133);
            blipFill133.Append(sourceRectangle133);
            blipFill133.Append(stretch133);

            Xdr.ShapeProperties shapeProperties135 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D135 = new A.Transform2D();
            A.Offset offset135 = new A.Offset() { X = 1704975L, Y = 2676525L };
            A.Extents extents135 = new A.Extents() { Cx = 3905250L, Cy = 0L };

            transform2D135.Append(offset135);
            transform2D135.Append(extents135);

            A.PresetGeometry presetGeometry133 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList135 = new A.AdjustValueList();

            presetGeometry133.Append(adjustValueList135);
            A.NoFill noFill265 = new A.NoFill();

            A.Outline outline138 = new A.Outline() { Width = 9525 };
            A.NoFill noFill266 = new A.NoFill();
            A.Miter miter133 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd135 = new A.HeadEnd();
            A.TailEnd tailEnd135 = new A.TailEnd();

            outline138.Append(noFill266);
            outline138.Append(miter133);
            outline138.Append(headEnd135);
            outline138.Append(tailEnd135);

            shapeProperties135.Append(transform2D135);
            shapeProperties135.Append(presetGeometry133);
            shapeProperties135.Append(noFill265);
            shapeProperties135.Append(outline138);

            picture133.Append(nonVisualPictureProperties133);
            picture133.Append(blipFill133);
            picture133.Append(shapeProperties135);
            Xdr.ClientData clientData133 = new Xdr.ClientData();

            twoCellAnchor133.Append(fromMarker133);
            twoCellAnchor133.Append(toMarker133);
            twoCellAnchor133.Append(picture133);
            twoCellAnchor133.Append(clientData133);

            Xdr.TwoCellAnchor twoCellAnchor134 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker134 = new Xdr.FromMarker();
            Xdr.ColumnId columnId267 = new Xdr.ColumnId();
            columnId267.Text = "2";
            Xdr.ColumnOffset columnOffset267 = new Xdr.ColumnOffset();
            columnOffset267.Text = "19050";
            Xdr.RowId rowId267 = new Xdr.RowId();
            rowId267.Text = "13";
            Xdr.RowOffset rowOffset267 = new Xdr.RowOffset();
            rowOffset267.Text = "0";

            fromMarker134.Append(columnId267);
            fromMarker134.Append(columnOffset267);
            fromMarker134.Append(rowId267);
            fromMarker134.Append(rowOffset267);

            Xdr.ToMarker toMarker134 = new Xdr.ToMarker();
            Xdr.ColumnId columnId268 = new Xdr.ColumnId();
            columnId268.Text = "4";
            Xdr.ColumnOffset columnOffset268 = new Xdr.ColumnOffset();
            columnOffset268.Text = "0";
            Xdr.RowId rowId268 = new Xdr.RowId();
            rowId268.Text = "13";
            Xdr.RowOffset rowOffset268 = new Xdr.RowOffset();
            rowOffset268.Text = "0";

            toMarker134.Append(columnId268);
            toMarker134.Append(columnOffset268);
            toMarker134.Append(rowId268);
            toMarker134.Append(rowOffset268);

            Xdr.Picture picture134 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties134 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties134 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2999U, Name = "Picture 382" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties134 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks134 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties134.Append(pictureLocks134);

            nonVisualPictureProperties134.Append(nonVisualDrawingProperties134);
            nonVisualPictureProperties134.Append(nonVisualPictureDrawingProperties134);

            Xdr.BlipFill blipFill134 = new Xdr.BlipFill();

            A.Blip blip134 = new A.Blip() { Embed = "rId1" };
            blip134.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle134 = new A.SourceRectangle();

            A.Stretch stretch134 = new A.Stretch();
            A.FillRectangle fillRectangle134 = new A.FillRectangle();

            stretch134.Append(fillRectangle134);

            blipFill134.Append(blip134);
            blipFill134.Append(sourceRectangle134);
            blipFill134.Append(stretch134);

            Xdr.ShapeProperties shapeProperties136 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D136 = new A.Transform2D();
            A.Offset offset136 = new A.Offset() { X = 1704975L, Y = 2676525L };
            A.Extents extents136 = new A.Extents() { Cx = 3905250L, Cy = 0L };

            transform2D136.Append(offset136);
            transform2D136.Append(extents136);

            A.PresetGeometry presetGeometry134 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList136 = new A.AdjustValueList();

            presetGeometry134.Append(adjustValueList136);
            A.NoFill noFill267 = new A.NoFill();

            A.Outline outline139 = new A.Outline() { Width = 9525 };
            A.NoFill noFill268 = new A.NoFill();
            A.Miter miter134 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd136 = new A.HeadEnd();
            A.TailEnd tailEnd136 = new A.TailEnd();

            outline139.Append(noFill268);
            outline139.Append(miter134);
            outline139.Append(headEnd136);
            outline139.Append(tailEnd136);

            shapeProperties136.Append(transform2D136);
            shapeProperties136.Append(presetGeometry134);
            shapeProperties136.Append(noFill267);
            shapeProperties136.Append(outline139);

            picture134.Append(nonVisualPictureProperties134);
            picture134.Append(blipFill134);
            picture134.Append(shapeProperties136);
            Xdr.ClientData clientData134 = new Xdr.ClientData();

            twoCellAnchor134.Append(fromMarker134);
            twoCellAnchor134.Append(toMarker134);
            twoCellAnchor134.Append(picture134);
            twoCellAnchor134.Append(clientData134);

            Xdr.TwoCellAnchor twoCellAnchor135 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker135 = new Xdr.FromMarker();
            Xdr.ColumnId columnId269 = new Xdr.ColumnId();
            columnId269.Text = "2";
            Xdr.ColumnOffset columnOffset269 = new Xdr.ColumnOffset();
            columnOffset269.Text = "19050";
            Xdr.RowId rowId269 = new Xdr.RowId();
            rowId269.Text = "13";
            Xdr.RowOffset rowOffset269 = new Xdr.RowOffset();
            rowOffset269.Text = "0";

            fromMarker135.Append(columnId269);
            fromMarker135.Append(columnOffset269);
            fromMarker135.Append(rowId269);
            fromMarker135.Append(rowOffset269);

            Xdr.ToMarker toMarker135 = new Xdr.ToMarker();
            Xdr.ColumnId columnId270 = new Xdr.ColumnId();
            columnId270.Text = "4";
            Xdr.ColumnOffset columnOffset270 = new Xdr.ColumnOffset();
            columnOffset270.Text = "0";
            Xdr.RowId rowId270 = new Xdr.RowId();
            rowId270.Text = "13";
            Xdr.RowOffset rowOffset270 = new Xdr.RowOffset();
            rowOffset270.Text = "0";

            toMarker135.Append(columnId270);
            toMarker135.Append(columnOffset270);
            toMarker135.Append(rowId270);
            toMarker135.Append(rowOffset270);

            Xdr.Picture picture135 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties135 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties135 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)3000U, Name = "Picture 383" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties135 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks135 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties135.Append(pictureLocks135);

            nonVisualPictureProperties135.Append(nonVisualDrawingProperties135);
            nonVisualPictureProperties135.Append(nonVisualPictureDrawingProperties135);

            Xdr.BlipFill blipFill135 = new Xdr.BlipFill();

            A.Blip blip135 = new A.Blip() { Embed = "rId1" };
            blip135.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle135 = new A.SourceRectangle();

            A.Stretch stretch135 = new A.Stretch();
            A.FillRectangle fillRectangle135 = new A.FillRectangle();

            stretch135.Append(fillRectangle135);

            blipFill135.Append(blip135);
            blipFill135.Append(sourceRectangle135);
            blipFill135.Append(stretch135);

            Xdr.ShapeProperties shapeProperties137 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D137 = new A.Transform2D();
            A.Offset offset137 = new A.Offset() { X = 1704975L, Y = 2676525L };
            A.Extents extents137 = new A.Extents() { Cx = 3905250L, Cy = 0L };

            transform2D137.Append(offset137);
            transform2D137.Append(extents137);

            A.PresetGeometry presetGeometry135 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList137 = new A.AdjustValueList();

            presetGeometry135.Append(adjustValueList137);
            A.NoFill noFill269 = new A.NoFill();

            A.Outline outline140 = new A.Outline() { Width = 9525 };
            A.NoFill noFill270 = new A.NoFill();
            A.Miter miter135 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd137 = new A.HeadEnd();
            A.TailEnd tailEnd137 = new A.TailEnd();

            outline140.Append(noFill270);
            outline140.Append(miter135);
            outline140.Append(headEnd137);
            outline140.Append(tailEnd137);

            shapeProperties137.Append(transform2D137);
            shapeProperties137.Append(presetGeometry135);
            shapeProperties137.Append(noFill269);
            shapeProperties137.Append(outline140);

            picture135.Append(nonVisualPictureProperties135);
            picture135.Append(blipFill135);
            picture135.Append(shapeProperties137);
            Xdr.ClientData clientData135 = new Xdr.ClientData();

            twoCellAnchor135.Append(fromMarker135);
            twoCellAnchor135.Append(toMarker135);
            twoCellAnchor135.Append(picture135);
            twoCellAnchor135.Append(clientData135);

            Xdr.TwoCellAnchor twoCellAnchor136 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker136 = new Xdr.FromMarker();
            Xdr.ColumnId columnId271 = new Xdr.ColumnId();
            columnId271.Text = "2";
            Xdr.ColumnOffset columnOffset271 = new Xdr.ColumnOffset();
            columnOffset271.Text = "19050";
            Xdr.RowId rowId271 = new Xdr.RowId();
            rowId271.Text = "13";
            Xdr.RowOffset rowOffset271 = new Xdr.RowOffset();
            rowOffset271.Text = "0";

            fromMarker136.Append(columnId271);
            fromMarker136.Append(columnOffset271);
            fromMarker136.Append(rowId271);
            fromMarker136.Append(rowOffset271);

            Xdr.ToMarker toMarker136 = new Xdr.ToMarker();
            Xdr.ColumnId columnId272 = new Xdr.ColumnId();
            columnId272.Text = "4";
            Xdr.ColumnOffset columnOffset272 = new Xdr.ColumnOffset();
            columnOffset272.Text = "0";
            Xdr.RowId rowId272 = new Xdr.RowId();
            rowId272.Text = "13";
            Xdr.RowOffset rowOffset272 = new Xdr.RowOffset();
            rowOffset272.Text = "0";

            toMarker136.Append(columnId272);
            toMarker136.Append(columnOffset272);
            toMarker136.Append(rowId272);
            toMarker136.Append(rowOffset272);

            Xdr.Picture picture136 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties136 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties136 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)3001U, Name = "Picture 384" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties136 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks136 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties136.Append(pictureLocks136);

            nonVisualPictureProperties136.Append(nonVisualDrawingProperties136);
            nonVisualPictureProperties136.Append(nonVisualPictureDrawingProperties136);

            Xdr.BlipFill blipFill136 = new Xdr.BlipFill();

            A.Blip blip136 = new A.Blip() { Embed = "rId1" };
            blip136.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle136 = new A.SourceRectangle();

            A.Stretch stretch136 = new A.Stretch();
            A.FillRectangle fillRectangle136 = new A.FillRectangle();

            stretch136.Append(fillRectangle136);

            blipFill136.Append(blip136);
            blipFill136.Append(sourceRectangle136);
            blipFill136.Append(stretch136);

            Xdr.ShapeProperties shapeProperties138 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D138 = new A.Transform2D();
            A.Offset offset138 = new A.Offset() { X = 1704975L, Y = 2676525L };
            A.Extents extents138 = new A.Extents() { Cx = 3905250L, Cy = 0L };

            transform2D138.Append(offset138);
            transform2D138.Append(extents138);

            A.PresetGeometry presetGeometry136 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList138 = new A.AdjustValueList();

            presetGeometry136.Append(adjustValueList138);
            A.NoFill noFill271 = new A.NoFill();

            A.Outline outline141 = new A.Outline() { Width = 9525 };
            A.NoFill noFill272 = new A.NoFill();
            A.Miter miter136 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd138 = new A.HeadEnd();
            A.TailEnd tailEnd138 = new A.TailEnd();

            outline141.Append(noFill272);
            outline141.Append(miter136);
            outline141.Append(headEnd138);
            outline141.Append(tailEnd138);

            shapeProperties138.Append(transform2D138);
            shapeProperties138.Append(presetGeometry136);
            shapeProperties138.Append(noFill271);
            shapeProperties138.Append(outline141);

            picture136.Append(nonVisualPictureProperties136);
            picture136.Append(blipFill136);
            picture136.Append(shapeProperties138);
            Xdr.ClientData clientData136 = new Xdr.ClientData();

            twoCellAnchor136.Append(fromMarker136);
            twoCellAnchor136.Append(toMarker136);
            twoCellAnchor136.Append(picture136);
            twoCellAnchor136.Append(clientData136);

            Xdr.TwoCellAnchor twoCellAnchor137 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker137 = new Xdr.FromMarker();
            Xdr.ColumnId columnId273 = new Xdr.ColumnId();
            columnId273.Text = "2";
            Xdr.ColumnOffset columnOffset273 = new Xdr.ColumnOffset();
            columnOffset273.Text = "19050";
            Xdr.RowId rowId273 = new Xdr.RowId();
            rowId273.Text = "13";
            Xdr.RowOffset rowOffset273 = new Xdr.RowOffset();
            rowOffset273.Text = "0";

            fromMarker137.Append(columnId273);
            fromMarker137.Append(columnOffset273);
            fromMarker137.Append(rowId273);
            fromMarker137.Append(rowOffset273);

            Xdr.ToMarker toMarker137 = new Xdr.ToMarker();
            Xdr.ColumnId columnId274 = new Xdr.ColumnId();
            columnId274.Text = "4";
            Xdr.ColumnOffset columnOffset274 = new Xdr.ColumnOffset();
            columnOffset274.Text = "0";
            Xdr.RowId rowId274 = new Xdr.RowId();
            rowId274.Text = "13";
            Xdr.RowOffset rowOffset274 = new Xdr.RowOffset();
            rowOffset274.Text = "0";

            toMarker137.Append(columnId274);
            toMarker137.Append(columnOffset274);
            toMarker137.Append(rowId274);
            toMarker137.Append(rowOffset274);

            Xdr.Picture picture137 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties137 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties137 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)3002U, Name = "Picture 385" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties137 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks137 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties137.Append(pictureLocks137);

            nonVisualPictureProperties137.Append(nonVisualDrawingProperties137);
            nonVisualPictureProperties137.Append(nonVisualPictureDrawingProperties137);

            Xdr.BlipFill blipFill137 = new Xdr.BlipFill();

            A.Blip blip137 = new A.Blip() { Embed = "rId1" };
            blip137.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle137 = new A.SourceRectangle();

            A.Stretch stretch137 = new A.Stretch();
            A.FillRectangle fillRectangle137 = new A.FillRectangle();

            stretch137.Append(fillRectangle137);

            blipFill137.Append(blip137);
            blipFill137.Append(sourceRectangle137);
            blipFill137.Append(stretch137);

            Xdr.ShapeProperties shapeProperties139 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D139 = new A.Transform2D();
            A.Offset offset139 = new A.Offset() { X = 1704975L, Y = 2676525L };
            A.Extents extents139 = new A.Extents() { Cx = 3905250L, Cy = 0L };

            transform2D139.Append(offset139);
            transform2D139.Append(extents139);

            A.PresetGeometry presetGeometry137 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList139 = new A.AdjustValueList();

            presetGeometry137.Append(adjustValueList139);
            A.NoFill noFill273 = new A.NoFill();

            A.Outline outline142 = new A.Outline() { Width = 9525 };
            A.NoFill noFill274 = new A.NoFill();
            A.Miter miter137 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd139 = new A.HeadEnd();
            A.TailEnd tailEnd139 = new A.TailEnd();

            outline142.Append(noFill274);
            outline142.Append(miter137);
            outline142.Append(headEnd139);
            outline142.Append(tailEnd139);

            shapeProperties139.Append(transform2D139);
            shapeProperties139.Append(presetGeometry137);
            shapeProperties139.Append(noFill273);
            shapeProperties139.Append(outline142);

            picture137.Append(nonVisualPictureProperties137);
            picture137.Append(blipFill137);
            picture137.Append(shapeProperties139);
            Xdr.ClientData clientData137 = new Xdr.ClientData();

            twoCellAnchor137.Append(fromMarker137);
            twoCellAnchor137.Append(toMarker137);
            twoCellAnchor137.Append(picture137);
            twoCellAnchor137.Append(clientData137);

            Xdr.TwoCellAnchor twoCellAnchor138 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker138 = new Xdr.FromMarker();
            Xdr.ColumnId columnId275 = new Xdr.ColumnId();
            columnId275.Text = "2";
            Xdr.ColumnOffset columnOffset275 = new Xdr.ColumnOffset();
            columnOffset275.Text = "19050";
            Xdr.RowId rowId275 = new Xdr.RowId();
            rowId275.Text = "13";
            Xdr.RowOffset rowOffset275 = new Xdr.RowOffset();
            rowOffset275.Text = "0";

            fromMarker138.Append(columnId275);
            fromMarker138.Append(columnOffset275);
            fromMarker138.Append(rowId275);
            fromMarker138.Append(rowOffset275);

            Xdr.ToMarker toMarker138 = new Xdr.ToMarker();
            Xdr.ColumnId columnId276 = new Xdr.ColumnId();
            columnId276.Text = "4";
            Xdr.ColumnOffset columnOffset276 = new Xdr.ColumnOffset();
            columnOffset276.Text = "0";
            Xdr.RowId rowId276 = new Xdr.RowId();
            rowId276.Text = "13";
            Xdr.RowOffset rowOffset276 = new Xdr.RowOffset();
            rowOffset276.Text = "0";

            toMarker138.Append(columnId276);
            toMarker138.Append(columnOffset276);
            toMarker138.Append(rowId276);
            toMarker138.Append(rowOffset276);

            Xdr.Picture picture138 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties138 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties138 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)3003U, Name = "Picture 386" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties138 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks138 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties138.Append(pictureLocks138);

            nonVisualPictureProperties138.Append(nonVisualDrawingProperties138);
            nonVisualPictureProperties138.Append(nonVisualPictureDrawingProperties138);

            Xdr.BlipFill blipFill138 = new Xdr.BlipFill();

            A.Blip blip138 = new A.Blip() { Embed = "rId1" };
            blip138.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle138 = new A.SourceRectangle();

            A.Stretch stretch138 = new A.Stretch();
            A.FillRectangle fillRectangle138 = new A.FillRectangle();

            stretch138.Append(fillRectangle138);

            blipFill138.Append(blip138);
            blipFill138.Append(sourceRectangle138);
            blipFill138.Append(stretch138);

            Xdr.ShapeProperties shapeProperties140 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D140 = new A.Transform2D();
            A.Offset offset140 = new A.Offset() { X = 1704975L, Y = 2676525L };
            A.Extents extents140 = new A.Extents() { Cx = 3905250L, Cy = 0L };

            transform2D140.Append(offset140);
            transform2D140.Append(extents140);

            A.PresetGeometry presetGeometry138 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList140 = new A.AdjustValueList();

            presetGeometry138.Append(adjustValueList140);
            A.NoFill noFill275 = new A.NoFill();

            A.Outline outline143 = new A.Outline() { Width = 9525 };
            A.NoFill noFill276 = new A.NoFill();
            A.Miter miter138 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd140 = new A.HeadEnd();
            A.TailEnd tailEnd140 = new A.TailEnd();

            outline143.Append(noFill276);
            outline143.Append(miter138);
            outline143.Append(headEnd140);
            outline143.Append(tailEnd140);

            shapeProperties140.Append(transform2D140);
            shapeProperties140.Append(presetGeometry138);
            shapeProperties140.Append(noFill275);
            shapeProperties140.Append(outline143);

            picture138.Append(nonVisualPictureProperties138);
            picture138.Append(blipFill138);
            picture138.Append(shapeProperties140);
            Xdr.ClientData clientData138 = new Xdr.ClientData();

            twoCellAnchor138.Append(fromMarker138);
            twoCellAnchor138.Append(toMarker138);
            twoCellAnchor138.Append(picture138);
            twoCellAnchor138.Append(clientData138);

            Xdr.TwoCellAnchor twoCellAnchor139 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker139 = new Xdr.FromMarker();
            Xdr.ColumnId columnId277 = new Xdr.ColumnId();
            columnId277.Text = "2";
            Xdr.ColumnOffset columnOffset277 = new Xdr.ColumnOffset();
            columnOffset277.Text = "19050";
            Xdr.RowId rowId277 = new Xdr.RowId();
            rowId277.Text = "13";
            Xdr.RowOffset rowOffset277 = new Xdr.RowOffset();
            rowOffset277.Text = "0";

            fromMarker139.Append(columnId277);
            fromMarker139.Append(columnOffset277);
            fromMarker139.Append(rowId277);
            fromMarker139.Append(rowOffset277);

            Xdr.ToMarker toMarker139 = new Xdr.ToMarker();
            Xdr.ColumnId columnId278 = new Xdr.ColumnId();
            columnId278.Text = "4";
            Xdr.ColumnOffset columnOffset278 = new Xdr.ColumnOffset();
            columnOffset278.Text = "0";
            Xdr.RowId rowId278 = new Xdr.RowId();
            rowId278.Text = "13";
            Xdr.RowOffset rowOffset278 = new Xdr.RowOffset();
            rowOffset278.Text = "0";

            toMarker139.Append(columnId278);
            toMarker139.Append(columnOffset278);
            toMarker139.Append(rowId278);
            toMarker139.Append(rowOffset278);

            Xdr.Picture picture139 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties139 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties139 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)3004U, Name = "Picture 387" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties139 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks139 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties139.Append(pictureLocks139);

            nonVisualPictureProperties139.Append(nonVisualDrawingProperties139);
            nonVisualPictureProperties139.Append(nonVisualPictureDrawingProperties139);

            Xdr.BlipFill blipFill139 = new Xdr.BlipFill();

            A.Blip blip139 = new A.Blip() { Embed = "rId1" };
            blip139.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle139 = new A.SourceRectangle();

            A.Stretch stretch139 = new A.Stretch();
            A.FillRectangle fillRectangle139 = new A.FillRectangle();

            stretch139.Append(fillRectangle139);

            blipFill139.Append(blip139);
            blipFill139.Append(sourceRectangle139);
            blipFill139.Append(stretch139);

            Xdr.ShapeProperties shapeProperties141 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D141 = new A.Transform2D();
            A.Offset offset141 = new A.Offset() { X = 1704975L, Y = 2676525L };
            A.Extents extents141 = new A.Extents() { Cx = 3905250L, Cy = 0L };

            transform2D141.Append(offset141);
            transform2D141.Append(extents141);

            A.PresetGeometry presetGeometry139 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList141 = new A.AdjustValueList();

            presetGeometry139.Append(adjustValueList141);
            A.NoFill noFill277 = new A.NoFill();

            A.Outline outline144 = new A.Outline() { Width = 9525 };
            A.NoFill noFill278 = new A.NoFill();
            A.Miter miter139 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd141 = new A.HeadEnd();
            A.TailEnd tailEnd141 = new A.TailEnd();

            outline144.Append(noFill278);
            outline144.Append(miter139);
            outline144.Append(headEnd141);
            outline144.Append(tailEnd141);

            shapeProperties141.Append(transform2D141);
            shapeProperties141.Append(presetGeometry139);
            shapeProperties141.Append(noFill277);
            shapeProperties141.Append(outline144);

            picture139.Append(nonVisualPictureProperties139);
            picture139.Append(blipFill139);
            picture139.Append(shapeProperties141);
            Xdr.ClientData clientData139 = new Xdr.ClientData();

            twoCellAnchor139.Append(fromMarker139);
            twoCellAnchor139.Append(toMarker139);
            twoCellAnchor139.Append(picture139);
            twoCellAnchor139.Append(clientData139);

            Xdr.TwoCellAnchor twoCellAnchor140 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker140 = new Xdr.FromMarker();
            Xdr.ColumnId columnId279 = new Xdr.ColumnId();
            columnId279.Text = "2";
            Xdr.ColumnOffset columnOffset279 = new Xdr.ColumnOffset();
            columnOffset279.Text = "0";
            Xdr.RowId rowId279 = new Xdr.RowId();
            rowId279.Text = "13";
            Xdr.RowOffset rowOffset279 = new Xdr.RowOffset();
            rowOffset279.Text = "0";

            fromMarker140.Append(columnId279);
            fromMarker140.Append(columnOffset279);
            fromMarker140.Append(rowId279);
            fromMarker140.Append(rowOffset279);

            Xdr.ToMarker toMarker140 = new Xdr.ToMarker();
            Xdr.ColumnId columnId280 = new Xdr.ColumnId();
            columnId280.Text = "4";
            Xdr.ColumnOffset columnOffset280 = new Xdr.ColumnOffset();
            columnOffset280.Text = "0";
            Xdr.RowId rowId280 = new Xdr.RowId();
            rowId280.Text = "13";
            Xdr.RowOffset rowOffset280 = new Xdr.RowOffset();
            rowOffset280.Text = "0";

            toMarker140.Append(columnId280);
            toMarker140.Append(columnOffset280);
            toMarker140.Append(rowId280);
            toMarker140.Append(rowOffset280);

            Xdr.Picture picture140 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties140 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties140 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)3005U, Name = "Picture 388" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties140 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks140 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties140.Append(pictureLocks140);

            nonVisualPictureProperties140.Append(nonVisualDrawingProperties140);
            nonVisualPictureProperties140.Append(nonVisualPictureDrawingProperties140);

            Xdr.BlipFill blipFill140 = new Xdr.BlipFill();

            A.Blip blip140 = new A.Blip() { Embed = "rId1" };
            blip140.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle140 = new A.SourceRectangle();

            A.Stretch stretch140 = new A.Stretch();
            A.FillRectangle fillRectangle140 = new A.FillRectangle();

            stretch140.Append(fillRectangle140);

            blipFill140.Append(blip140);
            blipFill140.Append(sourceRectangle140);
            blipFill140.Append(stretch140);

            Xdr.ShapeProperties shapeProperties142 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D142 = new A.Transform2D();
            A.Offset offset142 = new A.Offset() { X = 1685925L, Y = 2676525L };
            A.Extents extents142 = new A.Extents() { Cx = 3924300L, Cy = 0L };

            transform2D142.Append(offset142);
            transform2D142.Append(extents142);

            A.PresetGeometry presetGeometry140 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList142 = new A.AdjustValueList();

            presetGeometry140.Append(adjustValueList142);
            A.NoFill noFill279 = new A.NoFill();

            A.Outline outline145 = new A.Outline() { Width = 9525 };
            A.NoFill noFill280 = new A.NoFill();
            A.Miter miter140 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd142 = new A.HeadEnd();
            A.TailEnd tailEnd142 = new A.TailEnd();

            outline145.Append(noFill280);
            outline145.Append(miter140);
            outline145.Append(headEnd142);
            outline145.Append(tailEnd142);

            shapeProperties142.Append(transform2D142);
            shapeProperties142.Append(presetGeometry140);
            shapeProperties142.Append(noFill279);
            shapeProperties142.Append(outline145);

            picture140.Append(nonVisualPictureProperties140);
            picture140.Append(blipFill140);
            picture140.Append(shapeProperties142);
            Xdr.ClientData clientData140 = new Xdr.ClientData();

            twoCellAnchor140.Append(fromMarker140);
            twoCellAnchor140.Append(toMarker140);
            twoCellAnchor140.Append(picture140);
            twoCellAnchor140.Append(clientData140);

            worksheetDrawing1.Append(twoCellAnchor1);
            worksheetDrawing1.Append(twoCellAnchor2);
            worksheetDrawing1.Append(twoCellAnchor3);
            worksheetDrawing1.Append(twoCellAnchor4);
            worksheetDrawing1.Append(twoCellAnchor5);
            worksheetDrawing1.Append(twoCellAnchor6);
            worksheetDrawing1.Append(twoCellAnchor7);
            worksheetDrawing1.Append(twoCellAnchor8);
            worksheetDrawing1.Append(twoCellAnchor9);
            worksheetDrawing1.Append(twoCellAnchor10);
            worksheetDrawing1.Append(twoCellAnchor11);
            worksheetDrawing1.Append(twoCellAnchor12);
            worksheetDrawing1.Append(twoCellAnchor13);
            worksheetDrawing1.Append(twoCellAnchor14);
            worksheetDrawing1.Append(twoCellAnchor15);
            worksheetDrawing1.Append(twoCellAnchor16);
            worksheetDrawing1.Append(twoCellAnchor17);
            worksheetDrawing1.Append(twoCellAnchor18);
            worksheetDrawing1.Append(twoCellAnchor19);
            worksheetDrawing1.Append(twoCellAnchor20);
            worksheetDrawing1.Append(twoCellAnchor21);
            worksheetDrawing1.Append(twoCellAnchor22);
            worksheetDrawing1.Append(twoCellAnchor23);
            worksheetDrawing1.Append(twoCellAnchor24);
            worksheetDrawing1.Append(twoCellAnchor25);
            worksheetDrawing1.Append(twoCellAnchor26);
            worksheetDrawing1.Append(twoCellAnchor27);
            worksheetDrawing1.Append(twoCellAnchor28);
            worksheetDrawing1.Append(twoCellAnchor29);
            worksheetDrawing1.Append(twoCellAnchor30);
            worksheetDrawing1.Append(twoCellAnchor31);
            worksheetDrawing1.Append(twoCellAnchor32);
            worksheetDrawing1.Append(twoCellAnchor33);
            worksheetDrawing1.Append(twoCellAnchor34);
            worksheetDrawing1.Append(twoCellAnchor35);
            worksheetDrawing1.Append(twoCellAnchor36);
            worksheetDrawing1.Append(twoCellAnchor37);
            worksheetDrawing1.Append(twoCellAnchor38);
            worksheetDrawing1.Append(twoCellAnchor39);
            worksheetDrawing1.Append(twoCellAnchor40);
            worksheetDrawing1.Append(twoCellAnchor41);
            worksheetDrawing1.Append(twoCellAnchor42);
            worksheetDrawing1.Append(twoCellAnchor43);
            worksheetDrawing1.Append(twoCellAnchor44);
            worksheetDrawing1.Append(twoCellAnchor45);
            worksheetDrawing1.Append(twoCellAnchor46);
            worksheetDrawing1.Append(twoCellAnchor47);
            worksheetDrawing1.Append(twoCellAnchor48);
            worksheetDrawing1.Append(twoCellAnchor49);
            worksheetDrawing1.Append(twoCellAnchor50);
            worksheetDrawing1.Append(twoCellAnchor51);
            worksheetDrawing1.Append(twoCellAnchor52);
            worksheetDrawing1.Append(twoCellAnchor53);
            worksheetDrawing1.Append(twoCellAnchor54);
            worksheetDrawing1.Append(twoCellAnchor55);
            worksheetDrawing1.Append(twoCellAnchor56);
            worksheetDrawing1.Append(twoCellAnchor57);
            worksheetDrawing1.Append(twoCellAnchor58);
            worksheetDrawing1.Append(twoCellAnchor59);
            worksheetDrawing1.Append(twoCellAnchor60);
            worksheetDrawing1.Append(twoCellAnchor61);
            worksheetDrawing1.Append(twoCellAnchor62);
            worksheetDrawing1.Append(twoCellAnchor63);
            worksheetDrawing1.Append(twoCellAnchor64);
            worksheetDrawing1.Append(twoCellAnchor65);
            worksheetDrawing1.Append(twoCellAnchor66);
            worksheetDrawing1.Append(twoCellAnchor67);
            worksheetDrawing1.Append(twoCellAnchor68);
            worksheetDrawing1.Append(twoCellAnchor69);
            worksheetDrawing1.Append(twoCellAnchor70);
            worksheetDrawing1.Append(twoCellAnchor71);
            worksheetDrawing1.Append(twoCellAnchor72);
            worksheetDrawing1.Append(twoCellAnchor73);
            worksheetDrawing1.Append(twoCellAnchor74);
            worksheetDrawing1.Append(twoCellAnchor75);
            worksheetDrawing1.Append(twoCellAnchor76);
            worksheetDrawing1.Append(twoCellAnchor77);
            worksheetDrawing1.Append(twoCellAnchor78);
            worksheetDrawing1.Append(twoCellAnchor79);
            worksheetDrawing1.Append(twoCellAnchor80);
            worksheetDrawing1.Append(twoCellAnchor81);
            worksheetDrawing1.Append(twoCellAnchor82);
            worksheetDrawing1.Append(twoCellAnchor83);
            worksheetDrawing1.Append(twoCellAnchor84);
            worksheetDrawing1.Append(twoCellAnchor85);
            worksheetDrawing1.Append(twoCellAnchor86);
            worksheetDrawing1.Append(twoCellAnchor87);
            worksheetDrawing1.Append(twoCellAnchor88);
            worksheetDrawing1.Append(twoCellAnchor89);
            worksheetDrawing1.Append(twoCellAnchor90);
            worksheetDrawing1.Append(twoCellAnchor91);
            worksheetDrawing1.Append(twoCellAnchor92);
            worksheetDrawing1.Append(twoCellAnchor93);
            worksheetDrawing1.Append(twoCellAnchor94);
            worksheetDrawing1.Append(twoCellAnchor95);
            worksheetDrawing1.Append(twoCellAnchor96);
            worksheetDrawing1.Append(twoCellAnchor97);
            worksheetDrawing1.Append(twoCellAnchor98);
            worksheetDrawing1.Append(twoCellAnchor99);
            worksheetDrawing1.Append(twoCellAnchor100);
            worksheetDrawing1.Append(twoCellAnchor101);
            worksheetDrawing1.Append(twoCellAnchor102);
            worksheetDrawing1.Append(twoCellAnchor103);
            worksheetDrawing1.Append(twoCellAnchor104);
            worksheetDrawing1.Append(twoCellAnchor105);
            worksheetDrawing1.Append(twoCellAnchor106);
            worksheetDrawing1.Append(twoCellAnchor107);
            worksheetDrawing1.Append(twoCellAnchor108);
            worksheetDrawing1.Append(twoCellAnchor109);
            worksheetDrawing1.Append(twoCellAnchor110);
            worksheetDrawing1.Append(twoCellAnchor111);
            worksheetDrawing1.Append(twoCellAnchor112);
            worksheetDrawing1.Append(twoCellAnchor113);
            worksheetDrawing1.Append(twoCellAnchor114);
            worksheetDrawing1.Append(twoCellAnchor115);
            worksheetDrawing1.Append(twoCellAnchor116);
            worksheetDrawing1.Append(twoCellAnchor117);
            worksheetDrawing1.Append(twoCellAnchor118);
            worksheetDrawing1.Append(twoCellAnchor119);
            worksheetDrawing1.Append(twoCellAnchor120);
            worksheetDrawing1.Append(twoCellAnchor121);
            worksheetDrawing1.Append(twoCellAnchor122);
            worksheetDrawing1.Append(twoCellAnchor123);
            worksheetDrawing1.Append(twoCellAnchor124);
            worksheetDrawing1.Append(twoCellAnchor125);
            worksheetDrawing1.Append(twoCellAnchor126);
            worksheetDrawing1.Append(twoCellAnchor127);
            worksheetDrawing1.Append(twoCellAnchor128);
            worksheetDrawing1.Append(twoCellAnchor129);
            worksheetDrawing1.Append(twoCellAnchor130);
            worksheetDrawing1.Append(twoCellAnchor131);
            worksheetDrawing1.Append(twoCellAnchor132);
            worksheetDrawing1.Append(twoCellAnchor133);
            worksheetDrawing1.Append(twoCellAnchor134);
            worksheetDrawing1.Append(twoCellAnchor135);
            worksheetDrawing1.Append(twoCellAnchor136);
            worksheetDrawing1.Append(twoCellAnchor137);
            worksheetDrawing1.Append(twoCellAnchor138);
            worksheetDrawing1.Append(twoCellAnchor139);
            worksheetDrawing1.Append(twoCellAnchor140);

            drawingsPart1.WorksheetDrawing = worksheetDrawing1;
        }
Example #18
0
        // Generates content of drawingsPart2.
        private void GenerateDrawingsPart2Content(DrawingsPart drawingsPart2)
        {
            Xdr.WorksheetDrawing worksheetDrawing2 = new Xdr.WorksheetDrawing();
            worksheetDrawing2.AddNamespaceDeclaration("xdr", "http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing");
            worksheetDrawing2.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");

            Xdr.TwoCellAnchor twoCellAnchor3 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker3 = new Xdr.FromMarker();
            Xdr.ColumnId columnId5 = new Xdr.ColumnId();
            columnId5.Text = "1";
            Xdr.ColumnOffset columnOffset5 = new Xdr.ColumnOffset();
            columnOffset5.Text = "33337";
            Xdr.RowId rowId5 = new Xdr.RowId();
            rowId5.Text = "2";
            Xdr.RowOffset rowOffset5 = new Xdr.RowOffset();
            rowOffset5.Text = "61912";

            fromMarker3.Append(columnId5);
            fromMarker3.Append(columnOffset5);
            fromMarker3.Append(rowId5);
            fromMarker3.Append(rowOffset5);

            Xdr.ToMarker toMarker3 = new Xdr.ToMarker();
            Xdr.ColumnId columnId6 = new Xdr.ColumnId();
            columnId6.Text = "7";
            Xdr.ColumnOffset columnOffset6 = new Xdr.ColumnOffset();
            columnOffset6.Text = "185737";
            Xdr.RowId rowId6 = new Xdr.RowId();
            rowId6.Text = "22";
            Xdr.RowOffset rowOffset6 = new Xdr.RowOffset();
            rowOffset6.Text = "61912";

            toMarker3.Append(columnId6);
            toMarker3.Append(columnOffset6);
            toMarker3.Append(rowId6);
            toMarker3.Append(rowOffset6);

            AlternateContent alternateContent4 = new AlternateContent();
            alternateContent4.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");

            AlternateContentChoice alternateContentChoice4 = new AlternateContentChoice(){ Requires = "we" };
            alternateContentChoice4.AddNamespaceDeclaration("we", "http://schemas.microsoft.com/office/webextensions/webextension/2010/11");

            Xdr.GraphicFrame graphicFrame3 = new Xdr.GraphicFrame(){ Macro = "" };

            Xdr.NonVisualGraphicFrameProperties nonVisualGraphicFrameProperties3 = new Xdr.NonVisualGraphicFrameProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties5 = new Xdr.NonVisualDrawingProperties(){ Id = (UInt32Value)2U, Name = "Agave 1" };

            Xdr.NonVisualGraphicFrameDrawingProperties nonVisualGraphicFrameDrawingProperties3 = new Xdr.NonVisualGraphicFrameDrawingProperties();
            A.GraphicFrameLocks graphicFrameLocks3 = new A.GraphicFrameLocks(){ NoGrouping = true };

            nonVisualGraphicFrameDrawingProperties3.Append(graphicFrameLocks3);

            nonVisualGraphicFrameProperties3.Append(nonVisualDrawingProperties5);
            nonVisualGraphicFrameProperties3.Append(nonVisualGraphicFrameDrawingProperties3);

            Xdr.Transform transform3 = new Xdr.Transform();
            A.Offset offset3 = new A.Offset(){ X = 0L, Y = 0L };
            A.Extents extents3 = new A.Extents(){ Cx = 0L, Cy = 0L };

            transform3.Append(offset3);
            transform3.Append(extents3);

            A.Graphic graphic3 = new A.Graphic();

            A.GraphicData graphicData3 = new A.GraphicData(){ Uri = "http://schemas.microsoft.com/office/webextensions/webextension/2010/11" };

            We.WebExtensionReference webExtensionReference3 = new We.WebExtensionReference(){ Id = "rId1" };
            webExtensionReference3.AddNamespaceDeclaration("we", "http://schemas.microsoft.com/office/webextensions/webextension/2010/11");
            webExtensionReference3.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");

            graphicData3.Append(webExtensionReference3);

            graphic3.Append(graphicData3);

            graphicFrame3.Append(nonVisualGraphicFrameProperties3);
            graphicFrame3.Append(transform3);
            graphicFrame3.Append(graphic3);

            alternateContentChoice4.Append(graphicFrame3);

            AlternateContentFallback alternateContentFallback3 = new AlternateContentFallback();

            Xdr.Picture picture3 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties3 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties6 = new Xdr.NonVisualDrawingProperties(){ Id = (UInt32Value)2U, Name = "Agave 1" };
            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties3 = new Xdr.NonVisualPictureDrawingProperties();

            nonVisualPictureProperties3.Append(nonVisualDrawingProperties6);
            nonVisualPictureProperties3.Append(nonVisualPictureDrawingProperties3);

            Xdr.BlipFill blipFill3 = new Xdr.BlipFill();

            A.Blip blip3 = new A.Blip(){ Embed = "rId2" };
            blip3.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");

            A.Stretch stretch3 = new A.Stretch();
            A.FillRectangle fillRectangle3 = new A.FillRectangle();

            stretch3.Append(fillRectangle3);

            blipFill3.Append(blip3);
            blipFill3.Append(stretch3);

            Xdr.ShapeProperties shapeProperties3 = new Xdr.ShapeProperties();

            A.PresetGeometry presetGeometry3 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList3 = new A.AdjustValueList();

            presetGeometry3.Append(adjustValueList3);

            shapeProperties3.Append(presetGeometry3);

            picture3.Append(nonVisualPictureProperties3);
            picture3.Append(blipFill3);
            picture3.Append(shapeProperties3);

            alternateContentFallback3.Append(picture3);

            alternateContent4.Append(alternateContentChoice4);
            alternateContent4.Append(alternateContentFallback3);
            Xdr.ClientData clientData3 = new Xdr.ClientData();

            twoCellAnchor3.Append(fromMarker3);
            twoCellAnchor3.Append(toMarker3);
            twoCellAnchor3.Append(alternateContent4);
            twoCellAnchor3.Append(clientData3);

            worksheetDrawing2.Append(twoCellAnchor3);

            drawingsPart2.WorksheetDrawing = worksheetDrawing2;
        }
        // Generates content of drawingsPart1.
        private void GenerateDrawingsPart1Content(DrawingsPart drawingsPart1)
        {
            Xdr.WorksheetDrawing worksheetDrawing1 = new Xdr.WorksheetDrawing();
            worksheetDrawing1.AddNamespaceDeclaration("xdr", "http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing");
            worksheetDrawing1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");

            Xdr.TwoCellAnchor twoCellAnchor1 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker1 = new Xdr.FromMarker();
            Xdr.ColumnId columnId1 = new Xdr.ColumnId();
            columnId1.Text = "11";
            Xdr.ColumnOffset columnOffset1 = new Xdr.ColumnOffset();
            columnOffset1.Text = "47625";
            Xdr.RowId rowId1 = new Xdr.RowId();
            rowId1.Text = "12";
            Xdr.RowOffset rowOffset1 = new Xdr.RowOffset();
            rowOffset1.Text = "157162";

            fromMarker1.Append(columnId1);
            fromMarker1.Append(columnOffset1);
            fromMarker1.Append(rowId1);
            fromMarker1.Append(rowOffset1);

            Xdr.ToMarker toMarker1 = new Xdr.ToMarker();
            Xdr.ColumnId columnId2 = new Xdr.ColumnId();
            columnId2.Text = "18";
            Xdr.ColumnOffset columnOffset2 = new Xdr.ColumnOffset();
            columnOffset2.Text = "352425";
            Xdr.RowId rowId2 = new Xdr.RowId();
            rowId2.Text = "27";
            Xdr.RowOffset rowOffset2 = new Xdr.RowOffset();
            rowOffset2.Text = "42862";

            toMarker1.Append(columnId2);
            toMarker1.Append(columnOffset2);
            toMarker1.Append(rowId2);
            toMarker1.Append(rowOffset2);

            Xdr.GraphicFrame graphicFrame1 = new Xdr.GraphicFrame() { Macro = "" };

            Xdr.NonVisualGraphicFrameProperties nonVisualGraphicFrameProperties1 = new Xdr.NonVisualGraphicFrameProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties1 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2U, Name = "Diagram 1" };
            Xdr.NonVisualGraphicFrameDrawingProperties nonVisualGraphicFrameDrawingProperties1 = new Xdr.NonVisualGraphicFrameDrawingProperties();

            nonVisualGraphicFrameProperties1.Append(nonVisualDrawingProperties1);
            nonVisualGraphicFrameProperties1.Append(nonVisualGraphicFrameDrawingProperties1);

            Xdr.Transform transform1 = new Xdr.Transform();
            A.Offset offset1 = new A.Offset() { X = 0L, Y = 0L };
            A.Extents extents1 = new A.Extents() { Cx = 0L, Cy = 0L };

            transform1.Append(offset1);
            transform1.Append(extents1);

            A.Graphic graphic1 = new A.Graphic();

            A.GraphicData graphicData1 = new A.GraphicData() { Uri = "http://schemas.openxmlformats.org/drawingml/2006/diagram" };

            Dgm.RelationshipIds relationshipIds1 = new Dgm.RelationshipIds() { DataPart = "rId1", LayoutPart = "rId2", StylePart = "rId3", ColorPart = "rId4" };
            relationshipIds1.AddNamespaceDeclaration("dgm", "http://schemas.openxmlformats.org/drawingml/2006/diagram");
            relationshipIds1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");

            graphicData1.Append(relationshipIds1);

            graphic1.Append(graphicData1);

            graphicFrame1.Append(nonVisualGraphicFrameProperties1);
            graphicFrame1.Append(transform1);
            graphicFrame1.Append(graphic1);
            Xdr.ClientData clientData1 = new Xdr.ClientData();

            twoCellAnchor1.Append(fromMarker1);
            twoCellAnchor1.Append(toMarker1);
            twoCellAnchor1.Append(graphicFrame1);
            twoCellAnchor1.Append(clientData1);

            Xdr.TwoCellAnchor twoCellAnchor2 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker2 = new Xdr.FromMarker();
            Xdr.ColumnId columnId3 = new Xdr.ColumnId();
            columnId3.Text = "3";
            Xdr.ColumnOffset columnOffset3 = new Xdr.ColumnOffset();
            columnOffset3.Text = "523875";
            Xdr.RowId rowId3 = new Xdr.RowId();
            rowId3.Text = "5";
            Xdr.RowOffset rowOffset3 = new Xdr.RowOffset();
            rowOffset3.Text = "171450";

            fromMarker2.Append(columnId3);
            fromMarker2.Append(columnOffset3);
            fromMarker2.Append(rowId3);
            fromMarker2.Append(rowOffset3);

            Xdr.ToMarker toMarker2 = new Xdr.ToMarker();
            Xdr.ColumnId columnId4 = new Xdr.ColumnId();
            columnId4.Text = "6";
            Xdr.ColumnOffset columnOffset4 = new Xdr.ColumnOffset();
            columnOffset4.Text = "57150";
            Xdr.RowId rowId4 = new Xdr.RowId();
            rowId4.Text = "11";
            Xdr.RowOffset rowOffset4 = new Xdr.RowOffset();
            rowOffset4.Text = "142875";

            toMarker2.Append(columnId4);
            toMarker2.Append(columnOffset4);
            toMarker2.Append(rowId4);
            toMarker2.Append(rowOffset4);

            Xdr.Shape shape1 = new Xdr.Shape() { Macro = "", TextLink = "" };

            Xdr.NonVisualShapeProperties nonVisualShapeProperties1 = new Xdr.NonVisualShapeProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties2 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)3U, Name = "Rectangle 2" };
            Xdr.NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties1 = new Xdr.NonVisualShapeDrawingProperties();

            nonVisualShapeProperties1.Append(nonVisualDrawingProperties2);
            nonVisualShapeProperties1.Append(nonVisualShapeDrawingProperties1);

            Xdr.ShapeProperties shapeProperties1 = new Xdr.ShapeProperties();

            A.Transform2D transform2D1 = new A.Transform2D();
            A.Offset offset2 = new A.Offset() { X = 2352675L, Y = 1123950L };
            A.Extents extents2 = new A.Extents() { Cx = 1362075L, Cy = 1114425L };

            transform2D1.Append(offset2);
            transform2D1.Append(extents2);

            A.PresetGeometry presetGeometry1 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList1 = new A.AdjustValueList();

            presetGeometry1.Append(adjustValueList1);

            shapeProperties1.Append(transform2D1);
            shapeProperties1.Append(presetGeometry1);

            Xdr.ShapeStyle shapeStyle1 = new Xdr.ShapeStyle();

            A.LineReference lineReference1 = new A.LineReference() { Index = (UInt32Value)2U };

            A.SchemeColor schemeColor17 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };
            A.Shade shade8 = new A.Shade() { Val = 50000 };

            schemeColor17.Append(shade8);

            lineReference1.Append(schemeColor17);

            A.FillReference fillReference1 = new A.FillReference() { Index = (UInt32Value)1U };
            A.SchemeColor schemeColor18 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            fillReference1.Append(schemeColor18);

            A.EffectReference effectReference1 = new A.EffectReference() { Index = (UInt32Value)0U };
            A.SchemeColor schemeColor19 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent1 };

            effectReference1.Append(schemeColor19);

            A.FontReference fontReference1 = new A.FontReference() { Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor20 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            fontReference1.Append(schemeColor20);

            shapeStyle1.Append(lineReference1);
            shapeStyle1.Append(fillReference1);
            shapeStyle1.Append(effectReference1);
            shapeStyle1.Append(fontReference1);

            Xdr.TextBody textBody1 = new Xdr.TextBody();
            A.BodyProperties bodyProperties1 = new A.BodyProperties() { VerticalOverflow = A.TextVerticalOverflowValues.Clip, HorizontalOverflow = A.TextHorizontalOverflowValues.Clip, RightToLeftColumns = false, Anchor = A.TextAnchoringTypeValues.Top };
            A.ListStyle listStyle1 = new A.ListStyle();

            A.Paragraph paragraph1 = new A.Paragraph();
            A.ParagraphProperties paragraphProperties1 = new A.ParagraphProperties() { Alignment = A.TextAlignmentTypeValues.Left };
            A.EndParagraphRunProperties endParagraphRunProperties1 = new A.EndParagraphRunProperties() { Language = "en-US", FontSize = 1100 };

            paragraph1.Append(paragraphProperties1);
            paragraph1.Append(endParagraphRunProperties1);

            textBody1.Append(bodyProperties1);
            textBody1.Append(listStyle1);
            textBody1.Append(paragraph1);

            shape1.Append(nonVisualShapeProperties1);
            shape1.Append(shapeProperties1);
            shape1.Append(shapeStyle1);
            shape1.Append(textBody1);
            Xdr.ClientData clientData2 = new Xdr.ClientData();

            twoCellAnchor2.Append(fromMarker2);
            twoCellAnchor2.Append(toMarker2);
            twoCellAnchor2.Append(shape1);
            twoCellAnchor2.Append(clientData2);

            Xdr.TwoCellAnchor twoCellAnchor3 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker3 = new Xdr.FromMarker();
            Xdr.ColumnId columnId5 = new Xdr.ColumnId();
            columnId5.Text = "7";
            Xdr.ColumnOffset columnOffset5 = new Xdr.ColumnOffset();
            columnOffset5.Text = "285750";
            Xdr.RowId rowId5 = new Xdr.RowId();
            rowId5.Text = "2";
            Xdr.RowOffset rowOffset5 = new Xdr.RowOffset();
            rowOffset5.Text = "9525";

            fromMarker3.Append(columnId5);
            fromMarker3.Append(columnOffset5);
            fromMarker3.Append(rowId5);
            fromMarker3.Append(rowOffset5);

            Xdr.ToMarker toMarker3 = new Xdr.ToMarker();
            Xdr.ColumnId columnId6 = new Xdr.ColumnId();
            columnId6.Text = "12";
            Xdr.ColumnOffset columnOffset6 = new Xdr.ColumnOffset();
            columnOffset6.Text = "161925";
            Xdr.RowId rowId6 = new Xdr.RowId();
            rowId6.Text = "10";
            Xdr.RowOffset rowOffset6 = new Xdr.RowOffset();
            rowOffset6.Text = "152400";

            toMarker3.Append(columnId6);
            toMarker3.Append(columnOffset6);
            toMarker3.Append(rowId6);
            toMarker3.Append(rowOffset6);

            Xdr.Shape shape2 = new Xdr.Shape() { Macro = "", TextLink = "" };

            Xdr.NonVisualShapeProperties nonVisualShapeProperties2 = new Xdr.NonVisualShapeProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties3 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)4U, Name = "TextBox 3" };
            Xdr.NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties2 = new Xdr.NonVisualShapeDrawingProperties() { TextBox = true };

            nonVisualShapeProperties2.Append(nonVisualDrawingProperties3);
            nonVisualShapeProperties2.Append(nonVisualShapeDrawingProperties2);

            Xdr.ShapeProperties shapeProperties2 = new Xdr.ShapeProperties();

            A.Transform2D transform2D2 = new A.Transform2D();
            A.Offset offset3 = new A.Offset() { X = 4552950L, Y = 390525L };
            A.Extents extents3 = new A.Extents() { Cx = 2924175L, Cy = 1666875L };

            transform2D2.Append(offset3);
            transform2D2.Append(extents3);

            A.PresetGeometry presetGeometry2 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList2 = new A.AdjustValueList();

            presetGeometry2.Append(adjustValueList2);

            A.SolidFill solidFill6 = new A.SolidFill();
            A.SchemeColor schemeColor21 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };

            solidFill6.Append(schemeColor21);

            A.Outline outline4 = new A.Outline() { Width = 9525, CompoundLineType = A.CompoundLineValues.Single };

            A.SolidFill solidFill7 = new A.SolidFill();

            A.SchemeColor schemeColor22 = new A.SchemeColor() { Val = A.SchemeColorValues.Light1 };
            A.Shade shade9 = new A.Shade() { Val = 50000 };

            schemeColor22.Append(shade9);

            solidFill7.Append(schemeColor22);

            outline4.Append(solidFill7);

            shapeProperties2.Append(transform2D2);
            shapeProperties2.Append(presetGeometry2);
            shapeProperties2.Append(solidFill6);
            shapeProperties2.Append(outline4);

            Xdr.ShapeStyle shapeStyle2 = new Xdr.ShapeStyle();

            A.LineReference lineReference2 = new A.LineReference() { Index = (UInt32Value)0U };
            A.RgbColorModelPercentage rgbColorModelPercentage1 = new A.RgbColorModelPercentage() { RedPortion = 0, GreenPortion = 0, BluePortion = 0 };

            lineReference2.Append(rgbColorModelPercentage1);

            A.FillReference fillReference2 = new A.FillReference() { Index = (UInt32Value)0U };
            A.RgbColorModelPercentage rgbColorModelPercentage2 = new A.RgbColorModelPercentage() { RedPortion = 0, GreenPortion = 0, BluePortion = 0 };

            fillReference2.Append(rgbColorModelPercentage2);

            A.EffectReference effectReference2 = new A.EffectReference() { Index = (UInt32Value)0U };
            A.RgbColorModelPercentage rgbColorModelPercentage3 = new A.RgbColorModelPercentage() { RedPortion = 0, GreenPortion = 0, BluePortion = 0 };

            effectReference2.Append(rgbColorModelPercentage3);

            A.FontReference fontReference2 = new A.FontReference() { Index = A.FontCollectionIndexValues.Minor };
            A.SchemeColor schemeColor23 = new A.SchemeColor() { Val = A.SchemeColorValues.Dark1 };

            fontReference2.Append(schemeColor23);

            shapeStyle2.Append(lineReference2);
            shapeStyle2.Append(fillReference2);
            shapeStyle2.Append(effectReference2);
            shapeStyle2.Append(fontReference2);

            Xdr.TextBody textBody2 = new Xdr.TextBody();
            A.BodyProperties bodyProperties2 = new A.BodyProperties() { VerticalOverflow = A.TextVerticalOverflowValues.Clip, HorizontalOverflow = A.TextHorizontalOverflowValues.Clip, Wrap = A.TextWrappingValues.Square, RightToLeftColumns = false, Anchor = A.TextAnchoringTypeValues.Top };
            A.ListStyle listStyle2 = new A.ListStyle();

            A.Paragraph paragraph2 = new A.Paragraph();

            A.Run run1 = new A.Run();
            A.RunProperties runProperties1 = new A.RunProperties() { Language = "en-US", FontSize = 1100 };
            A.Text text1 = new A.Text();
            text1.Text = "Text box";

            run1.Append(runProperties1);
            run1.Append(text1);

            paragraph2.Append(run1);

            textBody2.Append(bodyProperties2);
            textBody2.Append(listStyle2);
            textBody2.Append(paragraph2);

            shape2.Append(nonVisualShapeProperties2);
            shape2.Append(shapeProperties2);
            shape2.Append(shapeStyle2);
            shape2.Append(textBody2);
            Xdr.ClientData clientData3 = new Xdr.ClientData();

            twoCellAnchor3.Append(fromMarker3);
            twoCellAnchor3.Append(toMarker3);
            twoCellAnchor3.Append(shape2);
            twoCellAnchor3.Append(clientData3);

            Xdr.TwoCellAnchor twoCellAnchor4 = new Xdr.TwoCellAnchor() { EditAs = Xdr.EditAsValues.OneCell };

            Xdr.FromMarker fromMarker4 = new Xdr.FromMarker();
            Xdr.ColumnId columnId7 = new Xdr.ColumnId();
            columnId7.Text = "19";
            Xdr.ColumnOffset columnOffset7 = new Xdr.ColumnOffset();
            columnOffset7.Text = "561975";
            Xdr.RowId rowId7 = new Xdr.RowId();
            rowId7.Text = "3";
            Xdr.RowOffset rowOffset7 = new Xdr.RowOffset();
            rowOffset7.Text = "95250";

            fromMarker4.Append(columnId7);
            fromMarker4.Append(columnOffset7);
            fromMarker4.Append(rowId7);
            fromMarker4.Append(rowOffset7);

            Xdr.ToMarker toMarker4 = new Xdr.ToMarker();
            Xdr.ColumnId columnId8 = new Xdr.ColumnId();
            columnId8.Text = "24";
            Xdr.ColumnOffset columnOffset8 = new Xdr.ColumnOffset();
            columnOffset8.Text = "19400";
            Xdr.RowId rowId8 = new Xdr.RowId();
            rowId8.Text = "30";
            Xdr.RowOffset rowOffset8 = new Xdr.RowOffset();
            rowOffset8.Text = "86442";

            toMarker4.Append(columnId8);
            toMarker4.Append(columnOffset8);
            toMarker4.Append(rowId8);
            toMarker4.Append(rowOffset8);

            Xdr.Picture picture1 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties1 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties4 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)7U, Name = "Picture 6", Description = "Screen Clipping" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties1 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks1 = new A.PictureLocks() { NoChangeAspect = true };

            nonVisualPictureDrawingProperties1.Append(pictureLocks1);

            nonVisualPictureProperties1.Append(nonVisualDrawingProperties4);
            nonVisualPictureProperties1.Append(nonVisualPictureDrawingProperties1);

            Xdr.BlipFill blipFill1 = new Xdr.BlipFill();

            A.Blip blip1 = new A.Blip() { Embed = "rId6" };
            blip1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");

            A.Duotone duotone1 = new A.Duotone();
            A.PresetColor presetColor1 = new A.PresetColor() { Val = A.PresetColorValues.Black };

            A.SchemeColor schemeColor24 = new A.SchemeColor() { Val = A.SchemeColorValues.Accent2 };
            A.Tint tint7 = new A.Tint() { Val = 45000 };
            A.SaturationModulation saturationModulation13 = new A.SaturationModulation() { Val = 400000 };

            schemeColor24.Append(tint7);
            schemeColor24.Append(saturationModulation13);

            duotone1.Append(presetColor1);
            duotone1.Append(schemeColor24);

            A.BlipExtensionList blipExtensionList1 = new A.BlipExtensionList();

            A.BlipExtension blipExtension1 = new A.BlipExtension() { Uri = "{BEBA8EAE-BF5A-486C-A8C5-ECC9F3942E4B}" };

            A14.ImageProperties imageProperties1 = new A14.ImageProperties();
            imageProperties1.AddNamespaceDeclaration("a14", "http://schemas.microsoft.com/office/drawing/2010/main");

            A14.ImageLayer imageLayer1 = new A14.ImageLayer() { Embed = "rId7" };

            A14.ImageEffect imageEffect1 = new A14.ImageEffect();
            A14.BackgroundRemoval backgroundRemoval1 = new A14.BackgroundRemoval() { MarqueeTop = 10000, MarqueeBottom = 90000, MarqueeLeft = 10000, MarqueeRight = 90000 };

            imageEffect1.Append(backgroundRemoval1);

            A14.ImageEffect imageEffect2 = new A14.ImageEffect();
            A14.ArtisticFilmGrain artisticFilmGrain1 = new A14.ArtisticFilmGrain();

            imageEffect2.Append(artisticFilmGrain1);

            imageLayer1.Append(imageEffect1);
            imageLayer1.Append(imageEffect2);

            imageProperties1.Append(imageLayer1);

            blipExtension1.Append(imageProperties1);

            A.BlipExtension blipExtension2 = new A.BlipExtension() { Uri = "{28A0092B-C50C-407E-A947-70E740481C1C}" };

            A14.UseLocalDpi useLocalDpi1 = new A14.UseLocalDpi() { Val = false };
            useLocalDpi1.AddNamespaceDeclaration("a14", "http://schemas.microsoft.com/office/drawing/2010/main");

            blipExtension2.Append(useLocalDpi1);

            blipExtensionList1.Append(blipExtension1);
            blipExtensionList1.Append(blipExtension2);

            blip1.Append(duotone1);
            blip1.Append(blipExtensionList1);

            A.Stretch stretch1 = new A.Stretch();
            A.FillRectangle fillRectangle1 = new A.FillRectangle();

            stretch1.Append(fillRectangle1);

            blipFill1.Append(blip1);
            blipFill1.Append(stretch1);

            Xdr.ShapeProperties shapeProperties3 = new Xdr.ShapeProperties();

            A.Transform2D transform2D3 = new A.Transform2D();
            A.Offset offset4 = new A.Offset() { X = 12144375L, Y = 666750L };
            A.Extents extents4 = new A.Extents() { Cx = 2505425L, Cy = 5134692L };

            transform2D3.Append(offset4);
            transform2D3.Append(extents4);

            A.PresetGeometry presetGeometry3 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList3 = new A.AdjustValueList();

            presetGeometry3.Append(adjustValueList3);

            shapeProperties3.Append(transform2D3);
            shapeProperties3.Append(presetGeometry3);

            picture1.Append(nonVisualPictureProperties1);
            picture1.Append(blipFill1);
            picture1.Append(shapeProperties3);
            Xdr.ClientData clientData4 = new Xdr.ClientData();

            twoCellAnchor4.Append(fromMarker4);
            twoCellAnchor4.Append(toMarker4);
            twoCellAnchor4.Append(picture1);
            twoCellAnchor4.Append(clientData4);

            worksheetDrawing1.Append(twoCellAnchor1);
            worksheetDrawing1.Append(twoCellAnchor2);
            worksheetDrawing1.Append(twoCellAnchor3);
            worksheetDrawing1.Append(twoCellAnchor4);

            drawingsPart1.WorksheetDrawing = worksheetDrawing1;
        }
Example #20
0
        private void WriteSelectedWorksheet()
        {
            // split into writing for existing worksheet and for new worksheet

            this.CleanUpReallyEmptyCells();

            int i = 0;
            bool bFound = false;
            OpenXmlElement oxe;

            SLColumnProperties cp;
            SLRowProperties rp;
            byte byMaxOutline;
            List<int> listintkeys;

            // remove empty rows/columns plus getting the maximum outline levels at the same time.

            byMaxOutline = 0;
            listintkeys = slws.RowProperties.Keys.ToList<int>();
            foreach (int key in listintkeys)
            {
                rp = slws.RowProperties[key];
                if (rp.IsEmpty) slws.RowProperties.Remove(key);
                else if (rp.OutlineLevel > byMaxOutline) byMaxOutline = rp.OutlineLevel;
            }
            if (byMaxOutline > 0) slws.SheetFormatProperties.OutlineLevelRow = byMaxOutline;

            byMaxOutline = 0;
            listintkeys = slws.ColumnProperties.Keys.ToList<int>();
            foreach (int key in listintkeys)
            {
                cp = slws.ColumnProperties[key];
                if (cp.IsEmpty) slws.ColumnProperties.Remove(key);
                else if (cp.OutlineLevel > byMaxOutline) byMaxOutline = cp.OutlineLevel;
            }
            if (byMaxOutline > 0) slws.SheetFormatProperties.OutlineLevelColumn = byMaxOutline;

            List<SLCellPoint> listCellRefKeys = slws.Cells.Keys.ToList<SLCellPoint>();
            listCellRefKeys.Sort(new SLCellReferencePointComparer());

            HashSet<int> hsRows = new HashSet<int>(listCellRefKeys.GroupBy(g => g.RowIndex).Select(s => s.Key).ToList<int>());
            hsRows.UnionWith(slws.RowProperties.Keys.ToList<int>());

            // this now contains every row index that's either in the list of row properties
            // or in the list of cells.
            List<int> listRowIndex = hsRows.ToList<int>();
            listRowIndex.Sort();

            List<int> listColumnIndex = slws.ColumnProperties.Keys.ToList<int>();
            listColumnIndex.Sort();

            int iDimensionStartRowIndex = SLConstants.RowLimit + 1;
            int iDimensionStartColumnIndex = SLConstants.ColumnLimit + 1;
            int iDimensionEndRowIndex = -1;
            int iDimensionEndColumnIndex = -1;

            if (listCellRefKeys.Count > 0 || listRowIndex.Count > 0 || listColumnIndex.Count > 0 || slws.MergeCells.Count > 0)
            {
                foreach (SLCellPoint refpt in slws.Cells.Keys)
                {
                    // just check for columns because row checking is already done with RowProperties
                    // this cuts down on checking, and speed things up.
                    if (refpt.ColumnIndex < iDimensionStartColumnIndex) iDimensionStartColumnIndex = refpt.ColumnIndex;
                    if (refpt.ColumnIndex > iDimensionEndColumnIndex) iDimensionEndColumnIndex = refpt.ColumnIndex;
                }

                if (listRowIndex.Count > 0)
                {
                    if (listRowIndex[0] < iDimensionStartRowIndex) iDimensionStartRowIndex = listRowIndex[0];
                    if (listRowIndex[listRowIndex.Count - 1] > iDimensionEndRowIndex) iDimensionEndRowIndex = listRowIndex[listRowIndex.Count - 1];
                }

                if (listColumnIndex.Count > 0)
                {
                    if (listColumnIndex[0] < iDimensionStartColumnIndex) iDimensionStartColumnIndex = listColumnIndex[0];
                    if (listColumnIndex[listColumnIndex.Count - 1] > iDimensionEndColumnIndex) iDimensionEndColumnIndex = listColumnIndex[listColumnIndex.Count - 1];
                }

                foreach (SLMergeCell mc in slws.MergeCells)
                {
                    if (mc.StartRowIndex < iDimensionStartRowIndex) iDimensionStartRowIndex = mc.StartRowIndex;
                    if (mc.StartColumnIndex < iDimensionStartColumnIndex) iDimensionStartColumnIndex = mc.StartColumnIndex;
                    if (mc.EndRowIndex > iDimensionEndRowIndex) iDimensionEndRowIndex = mc.EndRowIndex;
                    if (mc.EndColumnIndex > iDimensionEndColumnIndex) iDimensionEndColumnIndex = mc.EndColumnIndex;
                }

                // need to do for hyperlinks?
                //foreach (SLHyperlink hl in slws.Hyperlinks)
                //{
                //    if (hl.Reference.StartRowIndex < iDimensionStartRowIndex) iDimensionStartRowIndex = hl.Reference.StartRowIndex;
                //    if (hl.Reference.StartColumnIndex < iDimensionStartColumnIndex) iDimensionStartColumnIndex = hl.Reference.StartColumnIndex;
                //    if (hl.Reference.EndRowIndex > iDimensionEndRowIndex) iDimensionEndRowIndex = hl.Reference.EndRowIndex;
                //    if (hl.Reference.EndColumnIndex > iDimensionEndColumnIndex) iDimensionEndColumnIndex = hl.Reference.EndColumnIndex;
                //}
            }

            string sDimensionCellRange = string.Empty;
            if (iDimensionStartRowIndex > SLConstants.RowLimit) iDimensionStartRowIndex = 1;
            if (iDimensionStartColumnIndex > SLConstants.ColumnLimit) iDimensionStartColumnIndex = 1;
            if (iDimensionEndRowIndex < 1) iDimensionEndRowIndex = 1;
            if (iDimensionEndColumnIndex < 1) iDimensionEndColumnIndex = 1;
            if (iDimensionStartRowIndex == iDimensionEndRowIndex && iDimensionStartColumnIndex == iDimensionEndColumnIndex)
            {
                sDimensionCellRange = SLTool.ToCellReference(iDimensionStartRowIndex, iDimensionStartColumnIndex);
            }
            else
            {
                sDimensionCellRange = string.Format("{0}:{1}", SLTool.ToCellReference(iDimensionStartRowIndex, iDimensionStartColumnIndex), SLTool.ToCellReference(iDimensionEndRowIndex, iDimensionEndColumnIndex));
            }

            Row r;
            SLCell c;
            int iRowIndex = 0;
            int iCellDataKey = 0;
            int iRowKey = 0;
            SLCellPoint pt;

            if (!IsNewWorksheet)
            {
                // Need to check?
                //if (string.IsNullOrEmpty(gsSelectedWorksheetRelationshipID)) return;

                WorksheetPart wsp = (WorksheetPart)wbp.GetPartById(gsSelectedWorksheetRelationshipID);

                if (slws.ForceCustomRowColumnDimensionsSplitting)
                {
                    slws.ToggleCustomRowColumnDimension(true);
                }

                if (slws.PageSettings.HasSheetProperties)
                {
                    wsp.Worksheet.SheetProperties = slws.PageSettings.SheetProperties.ToSheetProperties();
                }
                else
                {
                    wsp.Worksheet.SheetProperties = null;
                }

                wsp.Worksheet.SheetDimension = new SheetDimension() { Reference = sDimensionCellRange };

                if (slws.SheetViews.Count > 0)
                {
                    wsp.Worksheet.SheetViews = new SheetViews();
                    foreach (SLSheetView sv in slws.SheetViews)
                    {
                        wsp.Worksheet.SheetViews.Append(sv.ToSheetView());
                    }
                }
                else
                {
                    wsp.Worksheet.SheetViews = null;
                }

                wsp.Worksheet.SheetFormatProperties = slws.SheetFormatProperties.ToSheetFormatProperties();

                #region Filling Columns
                if (wsp.Worksheet.Elements<Columns>().Count() > 0)
                {
                    wsp.Worksheet.RemoveAllChildren<Columns>();
                }

                if (slws.ColumnProperties.Count > 0)
                {
                    Columns cols = new Columns();
                    Column col;

                    int iPreviousColumnIndex = listColumnIndex[0];
                    int iCurrentColumnIndex = iPreviousColumnIndex;
                    string sCollectiveColumnData = string.Empty;
                    string sCurrentColumnData = string.Empty;
                    int colmin, colmax;
                    colmin = colmax = iCurrentColumnIndex;
                    cp = slws.ColumnProperties[iCurrentColumnIndex];
                    sCollectiveColumnData = cp.ToHash();

                    col = new Column();
                    col.Min = (uint)colmin;
                    col.Max = (uint)colmax;
                    if (cp.HasWidth)
                    {
                        col.Width = cp.Width;
                        col.CustomWidth = true;
                    }
                    else
                    {
                        col.Width = slws.SheetFormatProperties.DefaultColumnWidth;
                    }
                    if (cp.StyleIndex > 0) col.Style = cp.StyleIndex;
                    if (cp.Hidden) col.Hidden = cp.Hidden;
                    if (cp.BestFit) col.BestFit = cp.BestFit;
                    if (cp.Phonetic) col.Phonetic = cp.Phonetic;
                    if (cp.OutlineLevel > 0) col.OutlineLevel = cp.OutlineLevel;
                    if (cp.Collapsed) col.Collapsed = cp.Collapsed;

                    for (i = 1; i < listColumnIndex.Count; ++i)
                    {
                        iPreviousColumnIndex = iCurrentColumnIndex;
                        iCurrentColumnIndex = listColumnIndex[i];
                        cp = slws.ColumnProperties[iCurrentColumnIndex];
                        sCurrentColumnData = cp.ToHash();

                        if ((iCurrentColumnIndex != (iPreviousColumnIndex + 1)) || (sCollectiveColumnData != sCurrentColumnData))
                        {
                            col.Max = (uint)colmax;
                            cols.Append(col);

                            colmin = iCurrentColumnIndex;
                            colmax = iCurrentColumnIndex;
                            sCollectiveColumnData = sCurrentColumnData;

                            col = new Column();
                            col.Min = (uint)colmin;
                            col.Max = (uint)colmax;
                            if (cp.HasWidth)
                            {
                                col.Width = cp.Width;
                                col.CustomWidth = true;
                            }
                            else
                            {
                                col.Width = slws.SheetFormatProperties.DefaultColumnWidth;
                            }
                            if (cp.StyleIndex > 0) col.Style = cp.StyleIndex;
                            if (cp.Hidden) col.Hidden = cp.Hidden;
                            if (cp.BestFit) col.BestFit = cp.BestFit;
                            if (cp.Phonetic) col.Phonetic = cp.Phonetic;
                            if (cp.OutlineLevel > 0) col.OutlineLevel = cp.OutlineLevel;
                            if (cp.Collapsed) col.Collapsed = cp.Collapsed;
                        }
                        else
                        {
                            colmax = iCurrentColumnIndex;
                        }
                    }

                    // there's always a "leftover" column
                    col.Max = (uint)colmax;
                    cols.Append(col);

                    bFound = false;
                    oxe = wsp.Worksheet.FirstChild;
                    foreach (var child in wsp.Worksheet.ChildElements)
                    {
                        if (child is SheetProperties || child is SheetDimension || child is SheetViews || child is SheetFormatProperties)
                        {
                            oxe = child;
                            bFound = true;
                        }
                    }

                    if (bFound)
                    {
                        wsp.Worksheet.InsertAfter(cols, oxe);
                    }
                    else
                    {
                        wsp.Worksheet.PrependChild(cols);
                    }
                }
                #endregion

                SheetData sd = new SheetData();

                iCellDataKey = 0;
                for (iRowKey = 0; iRowKey < listRowIndex.Count; ++iRowKey)
                {
                    iRowIndex = listRowIndex[iRowKey];
                    if (slws.RowProperties.ContainsKey(iRowIndex))
                    {
                        r = slws.RowProperties[iRowIndex].ToRow();
                        r.RowIndex = (uint)iRowIndex;
                    }
                    else
                    {
                        r = new Row();
                        r.RowIndex = (uint)iRowIndex;
                    }

                    while (iCellDataKey < listCellRefKeys.Count)
                    {
                        pt = listCellRefKeys[iCellDataKey];
                        if (pt.RowIndex == iRowIndex)
                        {
                            c = slws.Cells[pt];
                            r.Append(c.ToCell(SLTool.ToCellReference(pt.RowIndex, pt.ColumnIndex)));
                            ++iCellDataKey;
                        }
                        else
                        {
                            break;
                        }
                    }
                    sd.Append(r);
                }

                wsp.Worksheet.RemoveAllChildren<SheetData>();

                bFound = false;
                oxe = wsp.Worksheet.FirstChild;
                foreach (var child in wsp.Worksheet.ChildElements)
                {
                    if (child is SheetProperties || child is SheetDimension || child is SheetViews || child is SheetFormatProperties || child is Columns)
                    {
                        oxe = child;
                        bFound = true;
                    }
                }

                if (bFound)
                {
                    wsp.Worksheet.InsertAfter(sd, oxe);
                }
                else
                {
                    wsp.Worksheet.PrependChild(sd);
                }

                #region Sheet protection
                if (wsp.Worksheet.Elements<SheetProtection>().Count() > 0)
                {
                    wsp.Worksheet.RemoveAllChildren<SheetProtection>();
                }

                if (slws.HasSheetProtection)
                {
                    bFound = false;
                    oxe = wsp.Worksheet.FirstChild;
                    foreach (var child in wsp.Worksheet.ChildElements)
                    {
                        // start with SheetData because it's a required child element
                        if (child is SheetData || child is SheetCalculationProperties)
                        {
                            oxe = child;
                            bFound = true;
                        }
                    }

                    if (bFound)
                    {
                        wsp.Worksheet.InsertAfter(slws.SheetProtection.ToSheetProtection(), oxe);
                    }
                    else
                    {
                        wsp.Worksheet.PrependChild(slws.SheetProtection.ToSheetProtection());
                    }
                }
                #endregion

                #region AutoFilter
                if (wsp.Worksheet.Elements<AutoFilter>().Count() > 0)
                {
                    wsp.Worksheet.RemoveAllChildren<AutoFilter>();
                }

                if (slws.HasAutoFilter)
                {
                    bFound = false;
                    oxe = wsp.Worksheet.FirstChild;
                    foreach (var child in wsp.Worksheet.ChildElements)
                    {
                        // start with SheetData because it's a required child element
                        if (child is SheetData || child is SheetCalculationProperties || child is SheetProtection
                            || child is ProtectedRanges || child is Scenarios)
                        {
                            oxe = child;
                            bFound = true;
                        }
                    }

                    if (bFound)
                    {
                        wsp.Worksheet.InsertAfter(slws.AutoFilter.ToAutoFilter(), oxe);
                    }
                    else
                    {
                        wsp.Worksheet.PrependChild(slws.AutoFilter.ToAutoFilter());
                    }
                }
                #endregion

                #region Filling merge cells
                if (wsp.Worksheet.Elements<MergeCells>().Count() > 0)
                {
                    wsp.Worksheet.RemoveAllChildren<MergeCells>();
                }

                if (slws.MergeCells.Count > 0)
                {
                    MergeCells mcs = new MergeCells() { Count = (uint)slws.MergeCells.Count };
                    for (i = 0; i < slws.MergeCells.Count; ++i)
                    {
                        mcs.Append(slws.MergeCells[i].ToMergeCell());
                    }

                    bFound = false;
                    oxe = wsp.Worksheet.FirstChild;
                    foreach (var child in wsp.Worksheet.ChildElements)
                    {
                        // start with SheetData because it's a required child element
                        if (child is SheetData || child is SheetCalculationProperties || child is SheetProtection
                            || child is ProtectedRanges || child is Scenarios || child is AutoFilter
                            || child is SortState || child is DataConsolidate || child is CustomSheetViews)
                        {
                            oxe = child;
                            bFound = true;
                        }
                    }

                    if (bFound)
                    {
                        wsp.Worksheet.InsertAfter(mcs, oxe);
                    }
                    else
                    {
                        wsp.Worksheet.PrependChild(mcs);
                    }
                }
                #endregion

                #region Conditional Formatting
                if (wsp.Worksheet.Elements<ConditionalFormatting>().Count() > 0)
                {
                    wsp.Worksheet.RemoveAllChildren<ConditionalFormatting>();
                }

                if (slws.ConditionalFormattings.Count > 0)
                {
                    bFound = false;
                    oxe = wsp.Worksheet.FirstChild;
                    foreach (var child in wsp.Worksheet.ChildElements)
                    {
                        // start with SheetData because it's a required child element
                        if (child is SheetData || child is SheetCalculationProperties || child is SheetProtection
                            || child is ProtectedRanges || child is Scenarios || child is AutoFilter
                            || child is SortState || child is DataConsolidate || child is CustomSheetViews
                            || child is MergeCells || child is PhoneticProperties)
                        {
                            oxe = child;
                            bFound = true;
                        }
                    }

                    if (bFound)
                    {
                        for (i = slws.ConditionalFormattings.Count - 1; i >= 0; --i)
                        {
                            wsp.Worksheet.InsertAfter(slws.ConditionalFormattings[i].ToConditionalFormatting(), oxe);
                        }
                    }
                    else
                    {
                        for (i = slws.ConditionalFormattings.Count - 1; i >= 0; --i)
                        {
                            wsp.Worksheet.PrependChild(slws.ConditionalFormattings[i].ToConditionalFormatting());
                        }
                    }
                }
                #endregion

                #region DataValidations
                if (wsp.Worksheet.Elements<DataValidations>().Count() > 0)
                {
                    wsp.Worksheet.RemoveAllChildren<DataValidations>();
                }

                if (slws.DataValidations.Count > 0)
                {
                    DataValidations dvs = new DataValidations();
                    if (slws.DataValidationDisablePrompts) dvs.DisablePrompts = slws.DataValidationDisablePrompts;
                    if (slws.DataValidationXWindow != null) dvs.XWindow = slws.DataValidationXWindow.Value;
                    if (slws.DataValidationYWindow != null) dvs.YWindow = slws.DataValidationYWindow.Value;
                    dvs.Count = (uint)slws.DataValidations.Count;

                    foreach (SLDataValidation dv in slws.DataValidations)
                    {
                        dvs.Append(dv.ToDataValidation());
                    }

                    bFound = false;
                    oxe = wsp.Worksheet.FirstChild;
                    foreach (var child in wsp.Worksheet.ChildElements)
                    {
                        // start with SheetData because it's a required child element
                        if (child is SheetData || child is SheetCalculationProperties || child is SheetProtection
                            || child is ProtectedRanges || child is Scenarios || child is AutoFilter
                            || child is SortState || child is DataConsolidate || child is CustomSheetViews
                            || child is MergeCells || child is PhoneticProperties || child is ConditionalFormatting)
                        {
                            oxe = child;
                            bFound = true;
                        }
                    }

                    if (bFound)
                    {
                        wsp.Worksheet.InsertAfter(dvs, oxe);
                    }
                    else
                    {
                        wsp.Worksheet.PrependChild(dvs);
                    }
                }
                #endregion

                #region Hyperlinks
                if (wsp.Worksheet.Elements<Hyperlinks>().Count() > 0)
                {
                    wsp.Worksheet.RemoveAllChildren<Hyperlinks>();
                }

                if (slws.Hyperlinks.Count > 0)
                {
                    bFound = false;
                    oxe = wsp.Worksheet.FirstChild;
                    foreach (var child in wsp.Worksheet.ChildElements)
                    {
                        // start with SheetData because it's a required child element
                        if (child is SheetData || child is SheetCalculationProperties || child is SheetProtection
                            || child is ProtectedRanges || child is Scenarios || child is AutoFilter
                            || child is SortState || child is DataConsolidate || child is CustomSheetViews
                            || child is MergeCells || child is PhoneticProperties || child is ConditionalFormatting
                            || child is DataValidations)
                        {
                            oxe = child;
                            bFound = true;
                        }
                    }

                    Hyperlinks hls = new Hyperlinks();
                    HyperlinkRelationship hlrel;
                    foreach (SLHyperlink hl in slws.Hyperlinks)
                    {
                        if (hl.IsExternal && hl.IsNew)
                        {
                            hlrel = wsp.AddHyperlinkRelationship(new Uri(hl.HyperlinkUri, hl.HyperlinkUriKind), true);
                            hl.Id = hlrel.Id;
                        }
                        hls.Append(hl.ToHyperlink());
                    }

                    if (bFound)
                    {
                        wsp.Worksheet.InsertAfter(hls, oxe);
                    }
                    else
                    {
                        wsp.Worksheet.PrependChild(hls);
                    }
                }
                #endregion

                #region PrintOptions
                if (wsp.Worksheet.Elements<PrintOptions>().Count() > 0)
                {
                    wsp.Worksheet.RemoveAllChildren<PrintOptions>();
                }

                if (slws.PageSettings.HasPrintOptions)
                {
                    bFound = false;
                    oxe = wsp.Worksheet.FirstChild;
                    foreach (var child in wsp.Worksheet.ChildElements)
                    {
                        // start with SheetData because it's a required child element
                        if (child is SheetData || child is SheetCalculationProperties || child is SheetProtection
                            || child is ProtectedRanges || child is Scenarios || child is AutoFilter
                            || child is SortState || child is DataConsolidate || child is CustomSheetViews
                            || child is MergeCells || child is PhoneticProperties || child is ConditionalFormatting
                            || child is DataValidations || child is Hyperlinks)
                        {
                            oxe = child;
                            bFound = true;
                        }
                    }

                    if (bFound)
                    {
                        wsp.Worksheet.InsertAfter(slws.PageSettings.ExportPrintOptions(), oxe);
                    }
                    else
                    {
                        wsp.Worksheet.PrependChild(slws.PageSettings.ExportPrintOptions());
                    }
                }
                #endregion

                #region PageMargins
                if (wsp.Worksheet.Elements<PageMargins>().Count() > 0)
                {
                    wsp.Worksheet.RemoveAllChildren<PageMargins>();
                }

                if (slws.PageSettings.HasPageMargins)
                {
                    bFound = false;
                    oxe = wsp.Worksheet.FirstChild;
                    foreach (var child in wsp.Worksheet.ChildElements)
                    {
                        // start with SheetData because it's a required child element
                        if (child is SheetData || child is SheetCalculationProperties || child is SheetProtection
                            || child is ProtectedRanges || child is Scenarios || child is AutoFilter
                            || child is SortState || child is DataConsolidate || child is CustomSheetViews
                            || child is MergeCells || child is PhoneticProperties || child is ConditionalFormatting
                            || child is DataValidations || child is Hyperlinks || child is PrintOptions)
                        {
                            oxe = child;
                            bFound = true;
                        }
                    }

                    if (bFound)
                    {
                        wsp.Worksheet.InsertAfter(slws.PageSettings.ExportPageMargins(), oxe);
                    }
                    else
                    {
                        wsp.Worksheet.PrependChild(slws.PageSettings.ExportPageMargins());
                    }
                }
                #endregion

                #region PageSetup
                if (wsp.Worksheet.Elements<PageSetup>().Count() > 0)
                {
                    wsp.Worksheet.RemoveAllChildren<PageSetup>();
                }

                if (slws.PageSettings.HasPageSetup)
                {
                    bFound = false;
                    oxe = wsp.Worksheet.FirstChild;
                    foreach (var child in wsp.Worksheet.ChildElements)
                    {
                        // start with SheetData because it's a required child element
                        if (child is SheetData || child is SheetCalculationProperties || child is SheetProtection
                            || child is ProtectedRanges || child is Scenarios || child is AutoFilter
                            || child is SortState || child is DataConsolidate || child is CustomSheetViews
                            || child is MergeCells || child is PhoneticProperties || child is ConditionalFormatting
                            || child is DataValidations || child is Hyperlinks || child is PrintOptions
                            || child is PageMargins)
                        {
                            oxe = child;
                            bFound = true;
                        }
                    }

                    if (bFound)
                    {
                        wsp.Worksheet.InsertAfter(slws.PageSettings.ExportPageSetup(), oxe);
                    }
                    else
                    {
                        wsp.Worksheet.PrependChild(slws.PageSettings.ExportPageSetup());
                    }
                }
                #endregion

                #region HeaderFooter
                if (wsp.Worksheet.Elements<HeaderFooter>().Count() > 0)
                {
                    wsp.Worksheet.RemoveAllChildren<HeaderFooter>();
                }

                if (slws.PageSettings.HasHeaderFooter)
                {
                    bFound = false;
                    oxe = wsp.Worksheet.FirstChild;
                    foreach (var child in wsp.Worksheet.ChildElements)
                    {
                        // start with SheetData because it's a required child element
                        if (child is SheetData || child is SheetCalculationProperties || child is SheetProtection
                            || child is ProtectedRanges || child is Scenarios || child is AutoFilter
                            || child is SortState || child is DataConsolidate || child is CustomSheetViews
                            || child is MergeCells || child is PhoneticProperties || child is ConditionalFormatting
                            || child is DataValidations || child is Hyperlinks || child is PrintOptions
                            || child is PageMargins || child is PageSetup)
                        {
                            oxe = child;
                            bFound = true;
                        }
                    }

                    if (bFound)
                    {
                        wsp.Worksheet.InsertAfter(slws.PageSettings.ExportHeaderFooter(), oxe);
                    }
                    else
                    {
                        wsp.Worksheet.PrependChild(slws.PageSettings.ExportHeaderFooter());
                    }
                }
                #endregion

                #region RowBreaks
                if (wsp.Worksheet.Elements<RowBreaks>().Count() > 0)
                {
                    wsp.Worksheet.RemoveAllChildren<RowBreaks>();
                }

                if (slws.RowBreaks.Count > 0)
                {
                    List<int> bkkeys = slws.RowBreaks.Keys.ToList<int>();
                    bkkeys.Sort();

                    RowBreaks rowbk = new RowBreaks();
                    int bkmancount = 0;
                    foreach (int bkindex in bkkeys)
                    {
                        if (slws.RowBreaks[bkindex].ManualPageBreak) ++bkmancount;
                        rowbk.Append(slws.RowBreaks[bkindex].ToBreak());
                    }
                    rowbk.Count = (uint)slws.RowBreaks.Count;
                    rowbk.ManualBreakCount = (uint)bkmancount;

                    bFound = false;
                    oxe = wsp.Worksheet.FirstChild;
                    foreach (var child in wsp.Worksheet.ChildElements)
                    {
                        // start with SheetData because it's a required child element
                        if (child is SheetData || child is SheetCalculationProperties || child is SheetProtection
                            || child is ProtectedRanges || child is Scenarios || child is AutoFilter
                            || child is SortState || child is DataConsolidate || child is CustomSheetViews
                            || child is MergeCells || child is PhoneticProperties || child is ConditionalFormatting
                            || child is DataValidations || child is Hyperlinks || child is PrintOptions
                            || child is PageMargins || child is PageSetup || child is HeaderFooter)
                        {
                            oxe = child;
                            bFound = true;
                        }
                    }

                    if (bFound)
                    {
                        wsp.Worksheet.InsertAfter(rowbk, oxe);
                    }
                    else
                    {
                        wsp.Worksheet.PrependChild(rowbk);
                    }
                }
                #endregion

                #region ColumnBreaks
                if (wsp.Worksheet.Elements<ColumnBreaks>().Count() > 0)
                {
                    wsp.Worksheet.RemoveAllChildren<ColumnBreaks>();
                }

                if (slws.ColumnBreaks.Count > 0)
                {
                    List<int> bkkeys = slws.ColumnBreaks.Keys.ToList<int>();
                    bkkeys.Sort();

                    ColumnBreaks colbk = new ColumnBreaks();
                    int bkmancount = 0;
                    foreach (int bkindex in bkkeys)
                    {
                        if (slws.ColumnBreaks[bkindex].ManualPageBreak) ++bkmancount;
                        colbk.Append(slws.ColumnBreaks[bkindex].ToBreak());
                    }
                    colbk.Count = (uint)slws.ColumnBreaks.Count;
                    colbk.ManualBreakCount = (uint)bkmancount;

                    bFound = false;
                    oxe = wsp.Worksheet.FirstChild;
                    foreach (var child in wsp.Worksheet.ChildElements)
                    {
                        // start with SheetData because it's a required child element
                        if (child is SheetData || child is SheetCalculationProperties || child is SheetProtection
                            || child is ProtectedRanges || child is Scenarios || child is AutoFilter
                            || child is SortState || child is DataConsolidate || child is CustomSheetViews
                            || child is MergeCells || child is PhoneticProperties || child is ConditionalFormatting
                            || child is DataValidations || child is Hyperlinks || child is PrintOptions
                            || child is PageMargins || child is PageSetup || child is HeaderFooter
                            || child is RowBreaks)
                        {
                            oxe = child;
                            bFound = true;
                        }
                    }

                    if (bFound)
                    {
                        wsp.Worksheet.InsertAfter(colbk, oxe);
                    }
                    else
                    {
                        wsp.Worksheet.PrependChild(colbk);
                    }
                }
                #endregion

                #region Drawing
                // these are "new" charts and pictures added
                if (slws.Charts.Count > 0 || slws.Pictures.Count > 0)
                {
                    // if the length > 0, then we assume there's already an existing DrawingsPart
                    if (slws.DrawingId.Length > 0)
                    {
                        WriteImageParts(wsp.DrawingsPart);
                    }
                    else
                    {
                        DrawingsPart dp = wsp.AddNewPart<DrawingsPart>();
                        dp.WorksheetDrawing = new Xdr.WorksheetDrawing();
                        dp.WorksheetDrawing.AddNamespaceDeclaration("xdr", SLConstants.NamespaceXdr);
                        dp.WorksheetDrawing.AddNamespaceDeclaration("a", SLConstants.NamespaceA);

                        DocumentFormat.OpenXml.Spreadsheet.Drawing drawing = new DocumentFormat.OpenXml.Spreadsheet.Drawing();
                        drawing.Id = wsp.GetIdOfPart(dp);

                        WriteImageParts(dp);

                        // NOTE: SmartTags is deprecated in Open XML SDK 2.5, so have to remove
                        // from check below?

                        bFound = false;
                        oxe = wsp.Worksheet.FirstChild;
                        foreach (var child in wsp.Worksheet.ChildElements)
                        {
                            // start with SheetData because it's a required child element
                            if (child is SheetData || child is SheetCalculationProperties || child is SheetProtection
                                || child is ProtectedRanges || child is Scenarios || child is AutoFilter
                                || child is SortState || child is DataConsolidate || child is CustomSheetViews
                                || child is MergeCells || child is PhoneticProperties || child is ConditionalFormatting
                                || child is DataValidations || child is Hyperlinks || child is PrintOptions
                                || child is PageMargins || child is PageSetup || child is HeaderFooter
                                || child is RowBreaks || child is ColumnBreaks || child is CustomProperties
                                || child is CellWatches || child is IgnoredErrors /*|| child is SmartTags*/)
                            {
                                oxe = child;
                                bFound = true;
                            }
                        }

                        if (bFound)
                        {
                            wsp.Worksheet.InsertAfter(drawing, oxe);
                        }
                        else
                        {
                            wsp.Worksheet.PrependChild(drawing);
                        }
                    }
                }
                #endregion

                #region LegacyDrawing
                if (slws.Comments.Count > 0)
                {
                    // we're going to do this only if there are no comments and VML already
                    if (wsp.WorksheetCommentsPart == null
                        && wsp.Worksheet.Elements<LegacyDrawing>().Count() == 0)
                    {
                        WorksheetCommentsPart wcp = wsp.AddNewPart<WorksheetCommentsPart>();
                        VmlDrawingPart vdp = wsp.AddNewPart<VmlDrawingPart>();
                        WriteCommentPart(wcp, vdp);

                        LegacyDrawing ldrawing = new LegacyDrawing();
                        ldrawing.Id = wsp.GetIdOfPart(vdp);

                        // NOTE: SmartTags is deprecated in Open XML SDK 2.5, so have to remove
                        // from check below?

                        bFound = false;
                        oxe = wsp.Worksheet.FirstChild;
                        foreach (var child in wsp.Worksheet.ChildElements)
                        {
                            // start with SheetData because it's a required child element
                            if (child is SheetData || child is SheetCalculationProperties || child is SheetProtection
                                || child is ProtectedRanges || child is Scenarios || child is AutoFilter
                                || child is SortState || child is DataConsolidate || child is CustomSheetViews
                                || child is MergeCells || child is PhoneticProperties || child is ConditionalFormatting
                                || child is DataValidations || child is Hyperlinks || child is PrintOptions
                                || child is PageMargins || child is PageSetup || child is HeaderFooter
                                || child is RowBreaks || child is ColumnBreaks || child is CustomProperties
                                || child is CellWatches || child is IgnoredErrors /*|| child is SmartTags*/
                                || child is DocumentFormat.OpenXml.Spreadsheet.Drawing)
                            {
                                oxe = child;
                                bFound = true;
                            }
                        }

                        if (bFound)
                        {
                            wsp.Worksheet.InsertAfter(ldrawing, oxe);
                        }
                        else
                        {
                            wsp.Worksheet.PrependChild(ldrawing);
                        }
                    }
                }
                #endregion

                #region Picture
                if (wsp.Worksheet.Elements<Picture>().Count() > 0)
                {
                    wsp.Worksheet.RemoveAllChildren<Picture>();
                }

                if (slws.BackgroundPictureId.Length > 0 || slws.BackgroundPictureDataIsInFile != null)
                {
                    Picture pic = new Picture();
                    if (slws.BackgroundPictureId.Length > 0)
                    {
                        pic.Id = slws.BackgroundPictureId;
                    }
                    else if (slws.BackgroundPictureDataIsInFile != null)
                    {
                        ImagePart imgp = wsp.AddImagePart(slws.BackgroundPictureImagePartType);
                        if (slws.BackgroundPictureDataIsInFile.Value)
                        {
                            using (FileStream fs = new FileStream(slws.BackgroundPictureFileName, FileMode.Open))
                            {
                                imgp.FeedData(fs);
                            }
                        }
                        else
                        {
                            using (MemoryStream ms = new MemoryStream(slws.BackgroundPictureByteData))
                            {
                                imgp.FeedData(ms);
                            }
                        }
                        pic.Id = wsp.GetIdOfPart(imgp);
                    }

                    // NOTE: SmartTags is deprecated in Open XML SDK 2.5, so have to remove
                    // from check below?

                    bFound = false;
                    oxe = wsp.Worksheet.FirstChild;
                    foreach (var child in wsp.Worksheet.ChildElements)
                    {
                        // start with SheetData because it's a required child element
                        if (child is SheetData || child is SheetCalculationProperties || child is SheetProtection
                            || child is ProtectedRanges || child is Scenarios || child is AutoFilter
                            || child is SortState || child is DataConsolidate || child is CustomSheetViews
                            || child is MergeCells || child is PhoneticProperties || child is ConditionalFormatting
                            || child is DataValidations || child is Hyperlinks || child is PrintOptions
                            || child is PageMargins || child is PageSetup || child is HeaderFooter
                            || child is RowBreaks || child is ColumnBreaks || child is CustomProperties
                            || child is CellWatches || child is IgnoredErrors /*|| child is SmartTags*/
                            || child is DocumentFormat.OpenXml.Spreadsheet.Drawing
                            || child is LegacyDrawing || child is LegacyDrawingHeaderFooter)
                        {
                            oxe = child;
                            bFound = true;
                        }
                    }

                    if (bFound)
                    {
                        wsp.Worksheet.InsertAfter(pic, oxe);
                    }
                    else
                    {
                        wsp.Worksheet.PrependChild(pic);
                    }
                }
                #endregion

                #region Tables
                if (wsp.Worksheet.Elements<TableParts>().Count() > 0)
                {
                    wsp.Worksheet.RemoveAllChildren<TableParts>();
                }

                if (slws.Tables.Count > 0)
                {
                    TableParts tps = new TableParts() { Count = (uint)slws.Tables.Count };
                    TableDefinitionPart tdp;
                    string sRelID = string.Empty;
                    foreach (SLTable t in slws.Tables)
                    {
                        if (t.IsNewTable)
                        {
                            if (t.RelationshipID.Length > 0)
                            {
                                // is a modified existing table
                                tdp = (TableDefinitionPart)wsp.GetPartById(t.RelationshipID);
                                tdp.Table = t.ToTable();
                                sRelID = t.RelationshipID;
                            }
                            else
                            {
                                // is a completely new table
                                tdp = wsp.AddNewPart<TableDefinitionPart>();
                                tdp.Table = t.ToTable();
                                sRelID = wsp.GetIdOfPart(tdp);
                            }

                        }
                        else
                        {
                            // if it's an existing table with no modifications,
                            // don't need to do anything to the XML content.
                            tdp = (TableDefinitionPart)wsp.GetPartById(t.RelationshipID);
                            sRelID = t.RelationshipID;
                        }

                        tps.Append(new TablePart() { Id = sRelID });
                    }

                    // NOTE: SmartTags is deprecated in Open XML SDK 2.5, so have to remove
                    // from check below?

                    bFound = false;
                    oxe = wsp.Worksheet.FirstChild;
                    foreach (var child in wsp.Worksheet.ChildElements)
                    {
                        // start with SheetData because it's a required child element
                        if (child is SheetData || child is SheetCalculationProperties || child is SheetProtection
                            || child is ProtectedRanges || child is Scenarios || child is AutoFilter
                            || child is SortState || child is DataConsolidate || child is CustomSheetViews
                            || child is MergeCells || child is PhoneticProperties || child is ConditionalFormatting
                            || child is DataValidations || child is Hyperlinks || child is PrintOptions
                            || child is PageMargins || child is PageSetup || child is HeaderFooter
                            || child is RowBreaks || child is ColumnBreaks || child is CustomProperties
                            || child is CellWatches || child is IgnoredErrors /*|| child is SmartTags*/
                            || child is DocumentFormat.OpenXml.Spreadsheet.Drawing
                            || child is LegacyDrawing || child is LegacyDrawingHeaderFooter
                            || child is Picture || child is OleObjects || child is Controls
                            || child is WebPublishItems)
                        {
                            oxe = child;
                            bFound = true;
                        }
                    }

                    if (bFound)
                    {
                        wsp.Worksheet.InsertAfter(tps, oxe);
                    }
                    else
                    {
                        wsp.Worksheet.PrependChild(tps);
                    }
                }
                #endregion

                #region 2010 Conditional formatting, Sparklines and possibly other extensions
                WorksheetExtensionList wsextlist;
                WorksheetExtension wsext;
                List<WorksheetExtension> listExtensions = new List<WorksheetExtension>();
                slws.RefreshSparklineGroups();

                if (wsp.Worksheet.Elements<WorksheetExtensionList>().Count() > 0)
                {
                    wsextlist = wsp.Worksheet.Elements<WorksheetExtensionList>().First();
                    foreach (var wsextchild in wsextlist.ChildElements)
                    {
                        if (wsextchild is WorksheetExtension)
                        {
                            wsext = (WorksheetExtension)wsextchild;
                            wsext.RemoveAllChildren<X14.ConditionalFormattings>();
                            wsext.RemoveAllChildren<X14.SparklineGroups>();
                            // there might be other extension types, like slicers (erhmahgerd...).
                            if (wsext.ChildElements.Count > 0)
                            {
                                listExtensions.Add((WorksheetExtension)wsext.CloneNode(true));
                            }
                        }
                    }
                    wsp.Worksheet.RemoveAllChildren<WorksheetExtensionList>();
                }

                if (slws.ConditionalFormattings2010.Count > 0
                    || slws.SparklineGroups.Count > 0
                    || listExtensions.Count > 0)
                {
                    wsextlist = new WorksheetExtensionList();
                    foreach (WorksheetExtension ext in listExtensions)
                    {
                        // be extra safe by cloning again to avoid pass-by-reference. Deeply.
                        wsextlist.Append((WorksheetExtension)ext.CloneNode(true));
                    }

                    if (slws.ConditionalFormattings2010.Count > 0)
                    {
                        // this is important! Apparently extensions are tied to a URI that Microsoft uses.
                        wsext = new WorksheetExtension() { Uri = SLConstants.ConditionalFormattingExtensionUri };
                        wsext.AddNamespaceDeclaration("x14", SLConstants.NamespaceX14);
                        X14.ConditionalFormattings cfs = new X14.ConditionalFormattings();
                        foreach (SLConditionalFormatting2010 cfr2010 in slws.ConditionalFormattings2010)
                        {
                            cfs.Append(cfr2010.ToConditionalFormatting());
                        }
                        wsext.Append(cfs);
                        wsextlist.Append(wsext);
                    }

                    if (slws.SparklineGroups.Count > 0)
                    {
                        // this is important! Apparently extensions are tied to a URI that Microsoft uses.
                        wsext = new WorksheetExtension() { Uri = SLConstants.SparklineExtensionUri };
                        wsext.AddNamespaceDeclaration("x14", SLConstants.NamespaceX14);
                        X14.SparklineGroups spkgrps = new X14.SparklineGroups();
                        spkgrps.AddNamespaceDeclaration("xm", SLConstants.NamespaceXm);
                        foreach (SLSparklineGroup spkgrp in slws.SparklineGroups)
                        {
                            spkgrps.Append(spkgrp.ToSparklineGroup());
                        }
                        wsext.Append(spkgrps);
                        wsextlist.Append(wsext);
                    }

                    // WorksheetExtensionList is the very last element possible.
                    // So we can just append it because everything else is in front.
                    wsp.Worksheet.Append(wsextlist);
                }
                #endregion

                wsp.Worksheet.Save();
                // end of writing for existing worksheet
            }
            else
            {
                // start of writing for new worksheet
                WorksheetPart wsp = wbp.AddNewPart<WorksheetPart>();
                gsSelectedWorksheetRelationshipID = wbp.GetIdOfPart(wsp);
                foreach (SLSheet s in slwb.Sheets)
                {
                    if (s.Name.Equals(gsSelectedWorksheetName, StringComparison.OrdinalIgnoreCase))
                    {
                        s.Id = gsSelectedWorksheetRelationshipID;
                        break;
                    }
                }

                if (slws.ForceCustomRowColumnDimensionsSplitting)
                {
                    slws.ToggleCustomRowColumnDimension(true);
                }

                List<OpenXmlAttribute> oxa;
                OpenXmlWriter oxw = OpenXmlWriter.Create(wsp);

                oxa = new List<OpenXmlAttribute>();
                oxa.Add(new OpenXmlAttribute("xmlns:r", null, SLConstants.NamespaceRelationships));

                if (slws.ConditionalFormattings2010.Count > 0
                    || slws.SparklineGroups.Count > 0)
                {
                    oxa.Add(new OpenXmlAttribute("xmlns:x14", null, SLConstants.NamespaceX14));
                    oxa.Add(new OpenXmlAttribute("xmlns:xm", null, SLConstants.NamespaceXm));
                    oxa.Add(new OpenXmlAttribute("xmlns:mc", null, SLConstants.NamespaceMc));
                    oxa.Add(new OpenXmlAttribute("xmlns:x14ac", null, SLConstants.NamespaceX14ac));
                    oxa.Add(new OpenXmlAttribute("mc", "Ignorable", SLConstants.NamespaceMc, "x14ac"));
                    oxw.WriteStartElement(new Worksheet(), oxa);
                }
                else
                {
                    oxw.WriteStartElement(new Worksheet(), oxa);
                }

                if (slws.PageSettings.HasSheetProperties)
                {
                    oxw.WriteElement(slws.PageSettings.SheetProperties.ToSheetProperties());
                }

                oxw.WriteElement(new SheetDimension() { Reference = sDimensionCellRange });

                if (slws.SheetViews.Count > 0)
                {
                    oxw.WriteStartElement(new SheetViews());

                    foreach (SLSheetView sv in slws.SheetViews)
                    {
                        oxw.WriteElement(sv.ToSheetView());
                    }

                    oxw.WriteEndElement();
                }

                oxa = new List<OpenXmlAttribute>();
                if (slws.SheetFormatProperties.BaseColumnWidth != null && slws.SheetFormatProperties.BaseColumnWidth.Value != 8)
                {
                    oxa.Add(new OpenXmlAttribute("baseColWidth", null, slws.SheetFormatProperties.BaseColumnWidth.Value.ToString(CultureInfo.InvariantCulture)));
                }
                if (slws.SheetFormatProperties.HasDefaultColumnWidth)
                {
                    oxa.Add(new OpenXmlAttribute("defaultColWidth", null, slws.SheetFormatProperties.DefaultColumnWidth.ToString(CultureInfo.InvariantCulture)));
                }
                oxa.Add(new OpenXmlAttribute("defaultRowHeight", null, slws.SheetFormatProperties.DefaultRowHeight.ToString("0.####", CultureInfo.InvariantCulture)));
                if (slws.SheetFormatProperties.CustomHeight != null && slws.SheetFormatProperties.CustomHeight.Value)
                {
                    oxa.Add(new OpenXmlAttribute("customHeight", null, "1"));
                }
                if (slws.SheetFormatProperties.ZeroHeight != null && slws.SheetFormatProperties.ZeroHeight.Value)
                {
                    oxa.Add(new OpenXmlAttribute("zeroHeight", null, "1"));
                }
                if (slws.SheetFormatProperties.ThickTop != null && slws.SheetFormatProperties.ThickTop.Value)
                {
                    oxa.Add(new OpenXmlAttribute("thickTop", null, "1"));
                }
                if (slws.SheetFormatProperties.ThickBottom != null && slws.SheetFormatProperties.ThickBottom.Value)
                {
                    oxa.Add(new OpenXmlAttribute("thickBottom", null, "1"));
                }
                if (slws.SheetFormatProperties.OutlineLevelRow != null && slws.SheetFormatProperties.OutlineLevelRow.Value > 0)
                {
                    oxa.Add(new OpenXmlAttribute("outlineLevelRow", null, slws.SheetFormatProperties.OutlineLevelRow.Value.ToString(CultureInfo.InvariantCulture)));
                }
                if (slws.SheetFormatProperties.OutlineLevelColumn != null && slws.SheetFormatProperties.OutlineLevelColumn.Value > 0)
                {
                    oxa.Add(new OpenXmlAttribute("outlineLevelCol", null, slws.SheetFormatProperties.OutlineLevelColumn.Value.ToString(CultureInfo.InvariantCulture)));
                }
                oxw.WriteStartElement(new SheetFormatProperties(), oxa);
                oxw.WriteEndElement();

                #region Filling Columns
                if (slws.ColumnProperties.Count > 0)
                {
                    oxw.WriteStartElement(new Columns());

                    int iPreviousColumnIndex = listColumnIndex[0];
                    int iCurrentColumnIndex = iPreviousColumnIndex;
                    string sCollectiveColumnData = string.Empty;
                    string sCurrentColumnData = string.Empty;
                    int colmin, colmax;
                    colmin = colmax = iCurrentColumnIndex;
                    cp = slws.ColumnProperties[iCurrentColumnIndex];
                    sCollectiveColumnData = cp.ToHash();

                    oxa = new List<OpenXmlAttribute>();
                    oxa.Add(new OpenXmlAttribute("min", null, colmin.ToString(CultureInfo.InvariantCulture)));
                    // max is left to the end because we're calculating it
                    //oxa.Add(new OpenXmlAttribute("max", null, colmax.ToString(CultureInfo.InvariantCulture)));
                    if (cp.HasWidth)
                    {
                        oxa.Add(new OpenXmlAttribute("width", null, cp.Width.ToString(CultureInfo.InvariantCulture)));
                        oxa.Add(new OpenXmlAttribute("customWidth", null, "1"));
                    }
                    else
                    {
                        oxa.Add(new OpenXmlAttribute("width", null, slws.SheetFormatProperties.DefaultColumnWidth.ToString(CultureInfo.InvariantCulture)));
                    }
                    if (cp.StyleIndex > 0) oxa.Add(new OpenXmlAttribute("style", null, cp.StyleIndex.ToString(CultureInfo.InvariantCulture)));
                    if (cp.Hidden != false) oxa.Add(new OpenXmlAttribute("hidden", null, "1"));
                    if (cp.BestFit != false) oxa.Add(new OpenXmlAttribute("bestFit", null, "1"));
                    if (cp.Phonetic != false) oxa.Add(new OpenXmlAttribute("phonetic", null, "1"));
                    if (cp.OutlineLevel > 0) oxa.Add(new OpenXmlAttribute("outlineLevel", null, cp.OutlineLevel.ToString(CultureInfo.InvariantCulture)));
                    if (cp.Collapsed != false) oxa.Add(new OpenXmlAttribute("collapsed", null, "1"));

                    for (i = 1; i < listColumnIndex.Count; ++i)
                    {
                        iPreviousColumnIndex = iCurrentColumnIndex;
                        iCurrentColumnIndex = listColumnIndex[i];
                        cp = slws.ColumnProperties[iCurrentColumnIndex];
                        sCurrentColumnData = cp.ToHash();

                        if ((iCurrentColumnIndex != (iPreviousColumnIndex + 1)) || (sCollectiveColumnData != sCurrentColumnData))
                        {
                            oxa.Add(new OpenXmlAttribute("max", null, colmax.ToString(CultureInfo.InvariantCulture)));
                            oxw.WriteStartElement(new Column(), oxa);
                            oxw.WriteEndElement();

                            colmin = iCurrentColumnIndex;
                            colmax = iCurrentColumnIndex;
                            sCollectiveColumnData = sCurrentColumnData;

                            oxa = new List<OpenXmlAttribute>();
                            oxa.Add(new OpenXmlAttribute("min", null, colmin.ToString(CultureInfo.InvariantCulture)));
                            if (cp.HasWidth)
                            {
                                oxa.Add(new OpenXmlAttribute("width", null, cp.Width.ToString(CultureInfo.InvariantCulture)));
                                oxa.Add(new OpenXmlAttribute("customWidth", null, "1"));
                            }
                            else
                            {
                                oxa.Add(new OpenXmlAttribute("width", null, slws.SheetFormatProperties.DefaultColumnWidth.ToString(CultureInfo.InvariantCulture)));
                            }
                            if (cp.StyleIndex > 0) oxa.Add(new OpenXmlAttribute("style", null, cp.StyleIndex.ToString(CultureInfo.InvariantCulture)));
                            if (cp.Hidden != false) oxa.Add(new OpenXmlAttribute("hidden", null, "1"));
                            if (cp.BestFit != false) oxa.Add(new OpenXmlAttribute("bestFit", null, "1"));
                            if (cp.Phonetic != false) oxa.Add(new OpenXmlAttribute("phonetic", null, "1"));
                            if (cp.OutlineLevel > 0) oxa.Add(new OpenXmlAttribute("outlineLevel", null, cp.OutlineLevel.ToString(CultureInfo.InvariantCulture)));
                            if (cp.Collapsed != false) oxa.Add(new OpenXmlAttribute("collapsed", null, "1"));
                        }
                        else
                        {
                            colmax = iCurrentColumnIndex;
                        }
                    }

                    // there's always a "leftover" column
                    oxa.Add(new OpenXmlAttribute("max", null, colmax.ToString(CultureInfo.InvariantCulture)));
                    oxw.WriteStartElement(new Column(), oxa);
                    oxw.WriteEndElement();

                    oxw.WriteEndElement();
                }
                #endregion

                oxw.WriteStartElement(new SheetData());

                iCellDataKey = 0;
                for (iRowKey = 0; iRowKey < listRowIndex.Count; ++iRowKey)
                {
                    iRowIndex = listRowIndex[iRowKey];
                    oxa = new List<OpenXmlAttribute>();
                    oxa.Add(new OpenXmlAttribute("r", null, iRowIndex.ToString(CultureInfo.InvariantCulture)));
                    if (slws.RowProperties.ContainsKey(iRowIndex))
                    {
                        rp = slws.RowProperties[iRowIndex];
                        if (rp.StyleIndex > 0)
                        {
                            oxa.Add(new OpenXmlAttribute("s", null, rp.StyleIndex.ToString(CultureInfo.InvariantCulture)));
                            oxa.Add(new OpenXmlAttribute("customFormat", null, "1"));
                        }
                        if (rp.HasHeight)
                        {
                            oxa.Add(new OpenXmlAttribute("ht", null, rp.Height.ToString(CultureInfo.InvariantCulture)));
                        }
                        if (rp.Hidden != false)
                        {
                            oxa.Add(new OpenXmlAttribute("hidden", null, "1"));
                        }
                        if (rp.CustomHeight)
                        {
                            oxa.Add(new OpenXmlAttribute("customHeight", null, "1"));
                        }
                        if (rp.OutlineLevel > 0)
                        {
                            oxa.Add(new OpenXmlAttribute("outlineLevel", null, rp.OutlineLevel.ToString(CultureInfo.InvariantCulture)));
                        }
                        if (rp.Collapsed != false)
                        {
                            oxa.Add(new OpenXmlAttribute("collapsed", null, "1"));
                        }
                        if (rp.ThickTop != false)
                        {
                            oxa.Add(new OpenXmlAttribute("thickTop", null, "1"));
                        }
                        if (rp.ThickBottom != false)
                        {
                            oxa.Add(new OpenXmlAttribute("thickBot", null, "1"));
                        }
                        if (rp.ShowPhonetic != false)
                        {
                            oxa.Add(new OpenXmlAttribute("ph", null, "1"));
                        }
                    }
                    oxw.WriteStartElement(new Row(), oxa);

                    while (iCellDataKey < listCellRefKeys.Count)
                    {
                        pt = listCellRefKeys[iCellDataKey];
                        if (pt.RowIndex == iRowIndex)
                        {
                            c = slws.Cells[pt];

                            oxa = new List<OpenXmlAttribute>();
                            oxa.Add(new OpenXmlAttribute("r", null, SLTool.ToCellReference(pt.RowIndex, pt.ColumnIndex)));
                            if (c.StyleIndex > 0)
                            {
                                oxa.Add(new OpenXmlAttribute("s", null, c.StyleIndex.ToString(CultureInfo.InvariantCulture)));
                            }

                            // number type is default
                            switch (c.DataType)
                            {
                                case CellValues.Boolean:
                                    oxa.Add(new OpenXmlAttribute("t", null, "b"));
                                    break;
                                case CellValues.Date:
                                    oxa.Add(new OpenXmlAttribute("t", null, "d"));
                                    break;
                                case CellValues.Error:
                                    oxa.Add(new OpenXmlAttribute("t", null, "e"));
                                    break;
                                case CellValues.InlineString:
                                    oxa.Add(new OpenXmlAttribute("t", null, "inlineStr"));
                                    break;
                                case CellValues.SharedString:
                                    oxa.Add(new OpenXmlAttribute("t", null, "s"));
                                    break;
                                case CellValues.String:
                                    oxa.Add(new OpenXmlAttribute("t", null, "str"));
                                    break;
                            }

                            if (c.CellMetaIndex > 0)
                            {
                                oxa.Add(new OpenXmlAttribute("cm", null, c.CellMetaIndex.ToString(CultureInfo.InvariantCulture)));
                            }
                            if (c.ValueMetaIndex > 0)
                            {
                                oxa.Add(new OpenXmlAttribute("vm", null, c.ValueMetaIndex.ToString(CultureInfo.InvariantCulture)));
                            }
                            if (c.ShowPhonetic != false)
                            {
                                oxa.Add(new OpenXmlAttribute("ph", null, "1"));
                            }
                            oxw.WriteStartElement(new Cell(), oxa);
                            if (c.CellFormula != null)
                            {
                                oxw.WriteElement(c.CellFormula.ToCellFormula());
                            }

                            if (c.CellText != null)
                            {
                                if (c.CellText.Length > 0)
                                {
                                    if (c.ToPreserveSpace)
                                    {
                                        oxw.WriteElement(new CellValue(c.CellText)
                                        {
                                            Space = SpaceProcessingModeValues.Preserve
                                        });
                                    }
                                    else
                                    {
                                        oxw.WriteElement(new CellValue(c.CellText));
                                    }
                                }
                            }
                            else
                            {
                                if (c.DataType == CellValues.Number)
                                {
                                    oxw.WriteElement(new CellValue(c.NumericValue.ToString(CultureInfo.InvariantCulture)));
                                }
                                else if (c.DataType == CellValues.SharedString)
                                {
                                    oxw.WriteElement(new CellValue(c.NumericValue.ToString("f0", CultureInfo.InvariantCulture)));
                                }
                                else if (c.DataType == CellValues.Boolean)
                                {
                                    if (c.NumericValue > 0.5) oxw.WriteElement(new CellValue("1"));
                                    else oxw.WriteElement(new CellValue("0"));
                                }
                            }
                            oxw.WriteEndElement();

                            ++iCellDataKey;
                        }
                        else
                        {
                            break;
                        }
                    }
                    oxw.WriteEndElement();
                }

                oxw.WriteEndElement();

                #region Sheet protection
                if (slws.HasSheetProtection)
                {
                    oxw.WriteElement(slws.SheetProtection.ToSheetProtection());
                }
                #endregion

                #region AutoFilter
                if (slws.HasAutoFilter)
                {
                    oxw.WriteElement(slws.AutoFilter.ToAutoFilter());
                }
                #endregion

                #region Filling merge cells
                if (slws.MergeCells.Count > 0)
                {
                    oxw.WriteStartElement(new MergeCells() { Count = (uint)slws.MergeCells.Count });
                    for (i = 0; i < slws.MergeCells.Count; ++i)
                    {
                        oxw.WriteElement(slws.MergeCells[i].ToMergeCell());
                    }
                    oxw.WriteEndElement();
                }
                #endregion

                #region Conditional Formatting
                if (slws.ConditionalFormattings.Count > 0)
                {
                    for (i = 0; i < slws.ConditionalFormattings.Count; ++i)
                    {
                        oxw.WriteElement(slws.ConditionalFormattings[i].ToConditionalFormatting());
                    }
                }
                #endregion

                #region DataValidations
                if (slws.DataValidations.Count > 0)
                {
                    DataValidations dvs = new DataValidations();
                    if (slws.DataValidationDisablePrompts) dvs.DisablePrompts = slws.DataValidationDisablePrompts;
                    if (slws.DataValidationXWindow != null) dvs.XWindow = slws.DataValidationXWindow.Value;
                    if (slws.DataValidationYWindow != null) dvs.YWindow = slws.DataValidationYWindow.Value;
                    dvs.Count = (uint)slws.DataValidations.Count;

                    foreach (SLDataValidation dv in slws.DataValidations)
                    {
                        dvs.Append(dv.ToDataValidation());
                    }

                    oxw.WriteElement(dvs);
                }
                #endregion

                #region Hyperlinks
                if (slws.Hyperlinks.Count > 0)
                {
                    Hyperlinks hls = new Hyperlinks();
                    HyperlinkRelationship hlrel;
                    foreach (SLHyperlink hl in slws.Hyperlinks)
                    {
                        if (hl.IsExternal && hl.IsNew)
                        {
                            hlrel = wsp.AddHyperlinkRelationship(new Uri(hl.HyperlinkUri, hl.HyperlinkUriKind), true);
                            hl.Id = hlrel.Id;
                        }
                        hls.Append(hl.ToHyperlink());
                    }

                    oxw.WriteElement(hls);
                }
                #endregion

                #region PrintOptions
                if (slws.PageSettings.HasPrintOptions)
                {
                    oxw.WriteElement(slws.PageSettings.ExportPrintOptions());
                }
                #endregion

                #region PageMargins
                if (slws.PageSettings.HasPageMargins)
                {
                    oxw.WriteElement(slws.PageSettings.ExportPageMargins());
                }
                #endregion

                #region PageSetup
                if (slws.PageSettings.HasPageSetup)
                {
                    oxw.WriteElement(slws.PageSettings.ExportPageSetup());
                }
                #endregion

                #region HeaderFooter
                if (slws.PageSettings.HasHeaderFooter)
                {
                    oxw.WriteElement(slws.PageSettings.ExportHeaderFooter());
                }
                #endregion

                #region RowBreaks
                if (slws.RowBreaks.Count > 0)
                {
                    List<int> bkkeys = slws.RowBreaks.Keys.ToList<int>();
                    bkkeys.Sort();

                    // if it's a new worksheet, then all breaks are considered manual
                    oxw.WriteStartElement(new RowBreaks()
                    {
                        Count = (uint)slws.RowBreaks.Count,
                        ManualBreakCount = (uint)slws.RowBreaks.Count
                    });
                    foreach (int bkindex in bkkeys)
                    {
                        oxw.WriteElement(slws.RowBreaks[bkindex].ToBreak());
                    }
                    oxw.WriteEndElement();
                }
                #endregion

                #region ColumnBreaks
                if (slws.ColumnBreaks.Count > 0)
                {
                    List<int> bkkeys = slws.ColumnBreaks.Keys.ToList<int>();
                    bkkeys.Sort();

                    // if it's a new worksheet, then all breaks are considered manual
                    oxw.WriteStartElement(new ColumnBreaks()
                    {
                        Count = (uint)slws.ColumnBreaks.Count,
                        ManualBreakCount = (uint)slws.ColumnBreaks.Count
                    });
                    foreach (int bkindex in bkkeys)
                    {
                        oxw.WriteElement(slws.ColumnBreaks[bkindex].ToBreak());
                    }
                    oxw.WriteEndElement();
                }
                #endregion

                #region Drawing
                // these are "new" charts and pictures added
                if (slws.Charts.Count > 0 || slws.Pictures.Count > 0)
                {
                    DrawingsPart dp = wsp.AddNewPart<DrawingsPart>();
                    dp.WorksheetDrawing = new Xdr.WorksheetDrawing();
                    dp.WorksheetDrawing.AddNamespaceDeclaration("xdr", SLConstants.NamespaceXdr);
                    dp.WorksheetDrawing.AddNamespaceDeclaration("a", SLConstants.NamespaceA);

                    oxw.WriteElement(new DocumentFormat.OpenXml.Spreadsheet.Drawing() { Id = wsp.GetIdOfPart(dp) });

                    WriteImageParts(dp);
                }
                #endregion

                #region LegacyDrawing
                // these are "new" comments added
                if (slws.Comments.Count > 0)
                {
                    WorksheetCommentsPart wcp = wsp.AddNewPart<WorksheetCommentsPart>();
                    VmlDrawingPart vdp = wsp.AddNewPart<VmlDrawingPart>();
                    WriteCommentPart(wcp, vdp);

                    oxw.WriteElement(new LegacyDrawing() { Id = wsp.GetIdOfPart(vdp) });
                }
                #endregion

                #region Picture
                if (slws.BackgroundPictureDataIsInFile != null)
                {
                    ImagePart imgp = wsp.AddImagePart(slws.BackgroundPictureImagePartType);
                    if (slws.BackgroundPictureDataIsInFile.Value)
                    {
                        using (FileStream fs = new FileStream(slws.BackgroundPictureFileName, FileMode.Open))
                        {
                            imgp.FeedData(fs);
                        }
                    }
                    else
                    {
                        using (MemoryStream ms = new MemoryStream(slws.BackgroundPictureByteData))
                        {
                            imgp.FeedData(ms);
                        }
                    }

                    oxw.WriteElement(new Picture() { Id = wsp.GetIdOfPart(imgp) });
                }
                #endregion

                if (slws.Tables.Count > 0)
                {
                    // If it's a new worksheet, ALL tables are new tables...
                    oxw.WriteStartElement(new TableParts() { Count = (uint)slws.Tables.Count });
                    TableDefinitionPart tdp;
                    foreach (SLTable t in slws.Tables)
                    {
                        tdp = wsp.AddNewPart<TableDefinitionPart>();
                        tdp.Table = t.ToTable();
                        oxw.WriteElement(new TablePart() { Id = wsp.GetIdOfPart(tdp) });
                    }
                    oxw.WriteEndElement();
                }

                #region 2010 Conditional formatting, Sparklines and possibly other extensions
                slws.RefreshSparklineGroups();

                if (slws.ConditionalFormattings2010.Count > 0
                    || slws.SparklineGroups.Count > 0)
                {
                    oxw.WriteStartElement(new WorksheetExtensionList());

                    if (slws.ConditionalFormattings2010.Count > 0)
                    {
                        oxa = new List<OpenXmlAttribute>();
                        oxa.Add(new OpenXmlAttribute("xmlns:x14", null, SLConstants.NamespaceX14));
                        // this is important! Apparently extensions are tied to a URI that Microsoft uses.
                        oxa.Add(new OpenXmlAttribute("uri", null, SLConstants.ConditionalFormattingExtensionUri));
                        oxw.WriteStartElement(new WorksheetExtension(), oxa);

                        oxw.WriteStartElement(new X14.ConditionalFormattings());
                        foreach (SLConditionalFormatting2010 cf2010 in slws.ConditionalFormattings2010)
                        {
                            oxw.WriteElement(cf2010.ToConditionalFormatting());
                        }
                        oxw.WriteEndElement();

                        oxw.WriteEndElement();
                    }

                    if (slws.SparklineGroups.Count > 0)
                    {
                        oxa = new List<OpenXmlAttribute>();
                        oxa.Add(new OpenXmlAttribute("xmlns:x14", null, SLConstants.NamespaceX14));
                        // this is important! Apparently extensions are tied to a URI that Microsoft uses.
                        oxa.Add(new OpenXmlAttribute("uri", null, SLConstants.SparklineExtensionUri));
                        oxw.WriteStartElement(new WorksheetExtension(), oxa);

                        oxa = new List<OpenXmlAttribute>();
                        oxa.Add(new OpenXmlAttribute("xmlns:xm", null, SLConstants.NamespaceXm));
                        oxw.WriteStartElement(new X14.SparklineGroups(), oxa);
                        foreach (SLSparklineGroup spkgrp in slws.SparklineGroups)
                        {
                            oxw.WriteElement(spkgrp.ToSparklineGroup());
                        }
                        oxw.WriteEndElement();

                        oxw.WriteEndElement();
                    }

                    oxw.WriteEndElement();
                }
                #endregion

                oxw.WriteEndElement();
                oxw.Dispose();
                // end of writing for new worksheet
            }
        }
Example #21
0
        public void InsertImage(long x, long y, long?width, long?height, string sImagePath)
        {
            try
            {
                WorksheetPart    wsp = CurrentWorksheetPart;
                DrawingsPart     dp;
                ImagePart        imgp;
                WorksheetDrawing wsd;

                ImagePartType ipt;
                switch (sImagePath.Substring(sImagePath.LastIndexOf('.') + 1).ToLower())
                {
                case "png":
                    ipt = ImagePartType.Png;
                    break;

                case "jpg":
                case "jpeg":
                    ipt = ImagePartType.Jpeg;
                    break;

                case "gif":
                    ipt = ImagePartType.Gif;
                    break;

                default:
                    return;
                }

                if (wsp.DrawingsPart == null)
                {
                    //----- no drawing part exists, add a new one

                    dp   = wsp.AddNewPart <DrawingsPart>();
                    imgp = dp.AddImagePart(ipt, wsp.GetIdOfPart(dp));
                    wsd  = new WorksheetDrawing();
                }
                else
                {
                    //----- use existing drawing part

                    dp   = wsp.DrawingsPart;
                    imgp = dp.AddImagePart(ipt);
                    dp.CreateRelationshipToPart(imgp);
                    wsd = dp.WorksheetDrawing;
                }

                using (FileStream fs = new FileStream(sImagePath, FileMode.Open))
                {
                    imgp.FeedData(fs);
                }

                int imageNumber = dp.ImageParts.Count <ImagePart>();
                if (imageNumber == 1)
                {
                    Drawing drawing = new Drawing();
                    drawing.Id = dp.GetIdOfPart(imgp);
                    CurrentWorksheetPart.Worksheet.Append(drawing);
                }

                NonVisualDrawingProperties nvdp = new NonVisualDrawingProperties();
                nvdp.Id          = new UInt32Value((uint)(1024 + imageNumber));
                nvdp.Name        = "Picture " + imageNumber.ToString();
                nvdp.Description = "";
                DocumentFormat.OpenXml.Drawing.PictureLocks picLocks = new DocumentFormat.OpenXml.Drawing.PictureLocks();
                picLocks.NoChangeAspect     = true;
                picLocks.NoChangeArrowheads = true;
                NonVisualPictureDrawingProperties nvpdp = new NonVisualPictureDrawingProperties();
                nvpdp.PictureLocks = picLocks;
                NonVisualPictureProperties nvpp = new NonVisualPictureProperties();
                nvpp.NonVisualDrawingProperties        = nvdp;
                nvpp.NonVisualPictureDrawingProperties = nvpdp;

                DocumentFormat.OpenXml.Drawing.Stretch stretch = new DocumentFormat.OpenXml.Drawing.Stretch();
                stretch.FillRectangle = new DocumentFormat.OpenXml.Drawing.FillRectangle();

                BlipFill blipFill = new BlipFill();
                DocumentFormat.OpenXml.Drawing.Blip blip = new DocumentFormat.OpenXml.Drawing.Blip();
                blip.Embed               = dp.GetIdOfPart(imgp);
                blip.CompressionState    = DocumentFormat.OpenXml.Drawing.BlipCompressionValues.Print;
                blipFill.Blip            = blip;
                blipFill.SourceRectangle = new DocumentFormat.OpenXml.Drawing.SourceRectangle();
                blipFill.Append(stretch);

                DocumentFormat.OpenXml.Drawing.Transform2D t2d    = new DocumentFormat.OpenXml.Drawing.Transform2D();
                DocumentFormat.OpenXml.Drawing.Offset      offset = new DocumentFormat.OpenXml.Drawing.Offset();
                offset.X   = 0;
                offset.Y   = 0;
                t2d.Offset = offset;
                Bitmap bm = new Bitmap(sImagePath);

                DocumentFormat.OpenXml.Drawing.Extents extents = new DocumentFormat.OpenXml.Drawing.Extents();

                if (width == null)
                {
                    extents.Cx = (long)bm.Width * (long)((float)914400 / bm.HorizontalResolution);
                }
                else
                {
                    extents.Cx = width * (long)((float)914400 / bm.HorizontalResolution);
                }

                if (height == null)
                {
                    extents.Cy = (long)bm.Height * (long)((float)914400 / bm.VerticalResolution);
                }
                else
                {
                    extents.Cy = height * (long)((float)914400 / bm.VerticalResolution);
                }

                bm.Dispose();
                t2d.Extents = extents;
                ShapeProperties sp = new ShapeProperties();
                sp.BlackWhiteMode = DocumentFormat.OpenXml.Drawing.BlackWhiteModeValues.Auto;
                sp.Transform2D    = t2d;
                DocumentFormat.OpenXml.Drawing.PresetGeometry prstGeom = new DocumentFormat.OpenXml.Drawing.PresetGeometry();
                prstGeom.Preset          = DocumentFormat.OpenXml.Drawing.ShapeTypeValues.Rectangle;
                prstGeom.AdjustValueList = new DocumentFormat.OpenXml.Drawing.AdjustValueList();
                sp.Append(prstGeom);
                sp.Append(new DocumentFormat.OpenXml.Drawing.NoFill());

                DocumentFormat.OpenXml.Drawing.Spreadsheet.Picture picture = new DocumentFormat.OpenXml.Drawing.Spreadsheet.Picture();
                picture.NonVisualPictureProperties = nvpp;
                picture.BlipFill        = blipFill;
                picture.ShapeProperties = sp;

                Position pos = new Position();
                pos.X = x * 914400 / 72;
                pos.Y = y * 914400 / 72;
                Extent ext = new Extent();
                ext.Cx = extents.Cx;
                ext.Cy = extents.Cy;
                AbsoluteAnchor anchor = new AbsoluteAnchor();
                anchor.Position = pos;
                anchor.Extent   = ext;
                anchor.Append(picture);
                anchor.Append(new ClientData());
                wsd.Append(anchor);
                wsd.Save(dp);
            }
            catch (Exception ex)
            {
                throw ex; // or do something more interesting if you want
            }
        }
Example #22
0
        // Generates content of drawingsPart1.
        private static void GenerateDrawingsPart1Content(DrawingsPart drawingsPart1, int startRowIndex, int startColumnIndex, int endRowIndex, int endColumnIndex)
        {
            Xdr.WorksheetDrawing worksheetDrawing1 = new Xdr.WorksheetDrawing();
            worksheetDrawing1.AddNamespaceDeclaration("xdr", "http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing");
            worksheetDrawing1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");

            Xdr.TwoCellAnchor twoCellAnchor1 = new Xdr.TwoCellAnchor()
            {
                EditAs = Xdr.EditAsValues.OneCell
            };

            Xdr.FromMarker fromMarker1 = new Xdr.FromMarker();
            Xdr.ColumnId   columnId1   = new Xdr.ColumnId();
            columnId1.Text = startColumnIndex.ToString();
            Xdr.ColumnOffset columnOffset1 = new Xdr.ColumnOffset();
            columnOffset1.Text = "38100";
            Xdr.RowId rowId1 = new Xdr.RowId();
            rowId1.Text = startRowIndex.ToString();
            Xdr.RowOffset rowOffset1 = new Xdr.RowOffset();
            rowOffset1.Text = "0";

            fromMarker1.Append(columnId1);
            fromMarker1.Append(columnOffset1);
            fromMarker1.Append(rowId1);
            fromMarker1.Append(rowOffset1);

            Xdr.ToMarker toMarker1 = new Xdr.ToMarker();
            Xdr.ColumnId columnId2 = new Xdr.ColumnId();
            columnId2.Text = endColumnIndex.ToString();
            Xdr.ColumnOffset columnOffset2 = new Xdr.ColumnOffset();
            columnOffset2.Text = "542925";
            Xdr.RowId rowId2 = new Xdr.RowId();
            rowId2.Text = endRowIndex.ToString();
            Xdr.RowOffset rowOffset2 = new Xdr.RowOffset();
            rowOffset2.Text = "161925";

            toMarker1.Append(columnId2);
            toMarker1.Append(columnOffset2);
            toMarker1.Append(rowId2);
            toMarker1.Append(rowOffset2);

            Xdr.Picture picture1 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties1 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties1 = new Xdr.NonVisualDrawingProperties()
            {
                Id = (UInt32Value)2U, Name = "Picture 1"
            };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties1 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks1 = new A.PictureLocks()
            {
                NoChangeAspect = true
            };

            nonVisualPictureDrawingProperties1.Append(pictureLocks1);

            nonVisualPictureProperties1.Append(nonVisualDrawingProperties1);
            nonVisualPictureProperties1.Append(nonVisualPictureDrawingProperties1);

            Xdr.BlipFill blipFill1 = new Xdr.BlipFill();

            A.Blip blip1 = new A.Blip()
            {
                Embed = "rId1", CompressionState = A.BlipCompressionValues.Print
            };
            blip1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");

            A.BlipExtensionList blipExtensionList1 = new A.BlipExtensionList();

            A.BlipExtension blipExtension1 = new A.BlipExtension()
            {
                Uri = "{28A0092B-C50C-407E-A947-70E740481C1C}"
            };

            A14.UseLocalDpi useLocalDpi1 = new A14.UseLocalDpi()
            {
                Val = false
            };
            useLocalDpi1.AddNamespaceDeclaration("a14", "http://schemas.microsoft.com/office/drawing/2010/main");

            blipExtension1.Append(useLocalDpi1);

            blipExtensionList1.Append(blipExtension1);

            blip1.Append(blipExtensionList1);

            A.Stretch       stretch1       = new A.Stretch();
            A.FillRectangle fillRectangle1 = new A.FillRectangle();

            stretch1.Append(fillRectangle1);

            blipFill1.Append(blip1);
            blipFill1.Append(stretch1);

            Xdr.ShapeProperties shapeProperties1 = new Xdr.ShapeProperties();

            A.Transform2D transform2D1 = new A.Transform2D();
            A.Offset      offset1      = new A.Offset()
            {
                X = 1257300L, Y = 762000L
            };
            A.Extents extents1 = new A.Extents()
            {
                Cx = 2943225L, Cy = 2257425L
            };

            transform2D1.Append(offset1);
            transform2D1.Append(extents1);

            A.PresetGeometry presetGeometry1 = new A.PresetGeometry()
            {
                Preset = A.ShapeTypeValues.Rectangle
            };
            A.AdjustValueList adjustValueList1 = new A.AdjustValueList();

            presetGeometry1.Append(adjustValueList1);

            shapeProperties1.Append(transform2D1);
            shapeProperties1.Append(presetGeometry1);

            picture1.Append(nonVisualPictureProperties1);
            picture1.Append(blipFill1);
            picture1.Append(shapeProperties1);
            Xdr.ClientData clientData1 = new Xdr.ClientData();

            twoCellAnchor1.Append(fromMarker1);
            twoCellAnchor1.Append(toMarker1);
            twoCellAnchor1.Append(picture1);
            twoCellAnchor1.Append(clientData1);

            worksheetDrawing1.Append(twoCellAnchor1);

            drawingsPart1.WorksheetDrawing = worksheetDrawing1;
        }
Example #23
0
        // Write
        internal static void AddPictureElementToAnchorElement(OpenXml.OpenXmlElement anchorElement, Picture picture)
        {
            OpenXmlDrawingSpreadsheet.Picture pic = new OpenXmlDrawingSpreadsheet.Picture();

            AddNonVisualPicturePropertiesToPictureElement(pic, picture);
            AddBlipFillToPictureElement(pic, picture);
            AddShapePropertiesToPictureElement(pic, picture);
            AddTransformToPictureElement(pic, picture);
            AddPresetGeometryToPictureElement(pic, picture);

            anchorElement.Append(pic);
        }
Example #24
0
        private void PlaceImageOnCell(Worksheet worksheet, Bitmap image, int Col, int Row, double colWid, double rowHeight, string type, string imgName = "", string imgDesc = "")//, float? W, float? H)
        {
            Dictionary <string, ImagePartType> mimeToImagePartType = new Dictionary <string, ImagePartType>()
            {
                { "image/bmp", ImagePartType.Bmp },
                { "image/gif", ImagePartType.Gif },
                { "image/jpg", ImagePartType.Jpeg },
                { "image/jpeg", ImagePartType.Jpeg },
                { "image/png", ImagePartType.Png },
                { "image/tiff", ImagePartType.Tiff }
            };

            try
            {
                ImagePart     imagePart;
                ImagePartType ip;
                if (!mimeToImagePartType.TryGetValue(type, out ip))
                {
                    ip = ImagePartType.Jpeg;
                }
                WorksheetDrawing wsd;
                DrawingsPart     dp;
                WorksheetPart    worksheetPart = worksheet.WorksheetPart;

                double imgMargin = 5;

                //string sImagePath = "D:/Documents/Source/Repos/DarrylSite/DarrylSite/Images/DC.png";
                if (worksheetPart.DrawingsPart == null)
                {
                    dp        = worksheetPart.AddNewPart <DrawingsPart>();
                    imagePart = dp.AddImagePart(ip, worksheetPart.GetIdOfPart(dp));
                    wsd       = new WorksheetDrawing();
                }
                else
                {
                    dp        = worksheetPart.DrawingsPart;
                    imagePart = dp.AddImagePart(ip);
                    dp.CreateRelationshipToPart(imagePart);
                    wsd = dp.WorksheetDrawing;
                }

                NonVisualDrawingProperties nvdp = new NonVisualDrawingProperties();
                nvdp.Id          = GetNextImageId();
                nvdp.Name        = imgName;
                nvdp.Description = imgDesc;
                DocumentFormat.OpenXml.Drawing.PictureLocks picLocks = new DocumentFormat.OpenXml.Drawing.PictureLocks();
                picLocks.NoChangeAspect     = true;
                picLocks.NoChangeArrowheads = true;
                NonVisualPictureDrawingProperties nvpdp = new NonVisualPictureDrawingProperties();
                nvpdp.PictureLocks = picLocks;
                NonVisualPictureProperties nvpp = new NonVisualPictureProperties();
                nvpp.NonVisualDrawingProperties        = nvdp;
                nvpp.NonVisualPictureDrawingProperties = nvpdp;

                DocumentFormat.OpenXml.Drawing.Stretch stretch = new DocumentFormat.OpenXml.Drawing.Stretch();
                stretch.FillRectangle = new DocumentFormat.OpenXml.Drawing.FillRectangle();

                BlipFill blipFill = new BlipFill();
                DocumentFormat.OpenXml.Drawing.Blip blip = new DocumentFormat.OpenXml.Drawing.Blip();
                blip.Embed            = dp.GetIdOfPart(imagePart);
                blip.CompressionState = DocumentFormat.OpenXml.Drawing.BlipCompressionValues.Email;

                /*
                 *  string outerXml =
                 *      "<a:ext uri=\"{28A0092B-C50C-407E-A947-70E740481C1C}\">" +
                 *      "<a14:useLocalDpi xmlns:a14 = \"http://schemas.microsoft.com/office/drawing/2010/main\"/>" +
                 *      "</a:ext> ";
                 *
                 *  string outerXml = "uri=\"{28A0092B-C50C-407E-A947-70E740481C1C}\">";
                 */
                A14.UseLocalDpi localDpi = new A14.UseLocalDpi();

                /*
                 * ExtensionList extLst = new ExtensionList();
                 * Extension extsn = new Extension(localDpi);
                 * extsn.Uri = "{28A0092B-C50C-407E-A947-70E740481C1C}";
                 * extLst.Append(extsn);
                 * blip.Append(extLst);
                 */
                A.BlipExtensionList blipExtLst = new A.BlipExtensionList();
                A.BlipExtension     blipExt    = new A.BlipExtension()
                {
                    Uri = "{28A0092B-C50C-407E-A947-70E740481C1C}"
                };
                localDpi.AddNamespaceDeclaration("a14", "http://schemas.microsoft.com/office/drawing/2010/main");
                blipExt.Append(localDpi);
                blipExtLst.Append(blipExt);
                blip.Append(blipExtLst);

                blip.Append();
                blipFill.Blip            = blip;
                blipFill.SourceRectangle = new DocumentFormat.OpenXml.Drawing.SourceRectangle();
                blipFill.Append(stretch);

                DocumentFormat.OpenXml.Drawing.Transform2D t2d    = new DocumentFormat.OpenXml.Drawing.Transform2D();
                DocumentFormat.OpenXml.Drawing.Offset      offset = new DocumentFormat.OpenXml.Drawing.Offset();
                offset.X   = 0;
                offset.Y   = 0;
                t2d.Offset = offset;
                //Bitmap bm = new Bitmap(sImagePath);
                //http://en.wikipedia.org/wiki/English_Metric_Unit#DrawingML
                //http://stackoverflow.com/questions/1341930/pixel-to-centimeter
                //http://stackoverflow.com/questions/139655/how-to-convert-pixels-to-points-px-to-pt-in-net-c
                DocumentFormat.OpenXml.Drawing.Extents extents = new DocumentFormat.OpenXml.Drawing.Extents();
                //extents.Cy = (long)image.Height * (long)((float)914400 / image.VerticalResolution);
                //extents.Cy = (int)(rowHeight * 72 / 96 * (100 - (2 * imgMargin)) / 100) * 12700;
                extents.Cy = (int)((rowHeight * 72 / 96 * 12700) * (((100 - (2 * imgMargin)) / 100)));
                //extents.Cx = (int)(((((colWid - 1) * 7) + 12) * 12700) * (.5 * image.Height / image.Width));
                //extents.Cx = (int)(((((colWid - 1) * 7) + 12) * 12700) * (.5 * extents.Cy / image.Width));
                extents.Cx = image.Width * extents.Cy / image.Height;
                ;
                t2d.Extents = extents;
                ShapeProperties sp = new ShapeProperties();
                sp.BlackWhiteMode = DocumentFormat.OpenXml.Drawing.BlackWhiteModeValues.Auto;
                sp.Transform2D    = t2d;
                DocumentFormat.OpenXml.Drawing.PresetGeometry prstGeom = new DocumentFormat.OpenXml.Drawing.PresetGeometry();
                prstGeom.Preset          = DocumentFormat.OpenXml.Drawing.ShapeTypeValues.Rectangle;
                prstGeom.AdjustValueList = new DocumentFormat.OpenXml.Drawing.AdjustValueList();
                sp.Append(prstGeom);
                sp.Append(new DocumentFormat.OpenXml.Drawing.NoFill());

                DocumentFormat.OpenXml.Drawing.Spreadsheet.Picture picture = new DocumentFormat.OpenXml.Drawing.Spreadsheet.Picture();
                picture.NonVisualPictureProperties = nvpp;
                picture.BlipFill        = blipFill;
                picture.ShapeProperties = sp;

                Xdr.FromMarker fromMarker = new Xdr.FromMarker();
                Xdr.ToMarker   toMarker   = new Xdr.ToMarker();

                // From
                ColumnId columnId1 = new ColumnId();
                columnId1.Text = Col.ToString();
                ColumnOffset columnOffset1 = new ColumnOffset();
                //columnOffset1.Text = "228600";
                double colloff = ((((colWid - 1) * 7) + 12) * 12700) * 72 / 96;
                colloff           -= extents.Cx;
                colloff           /= 2;
                colloff            = (int)colloff;
                columnOffset1.Text = colloff.ToString();

                RowId rowId1 = new RowId();
                rowId1.Text = Row.ToString();
                RowOffset rowOffset1 = new RowOffset();

                double rowoff = (int)((rowHeight * 72 / 96 * 12700) * (imgMargin / 100));

                rowOffset1.Text = (rowoff).ToString();

                fromMarker.Append(columnId1);
                fromMarker.Append(columnOffset1);
                fromMarker.Append(rowId1);
                fromMarker.Append(rowOffset1);

                // To
                ColumnId     columnId2     = new ColumnId();
                ColumnOffset columnOffset2 = new ColumnOffset();
                RowId        rowId2        = new RowId();
                RowOffset    rowOffset2    = new RowOffset();

                columnId2.Text     = (Col).ToString();
                columnOffset2.Text = "0";// "152381";
                // Margin is accounted for, so take it off the width
                columnOffset2.Text = (extents.Cx + colloff).ToString();

                rowId2.Text     = (Row).ToString();
                rowOffset2.Text = "4572000";                        // 4572000 = 12700 (#EMUs/pixel) * 45 (Olivia's cell height in Excel Cell units (aka 60 pixels)) * 8 (???)
                rowOffset2.Text = (extents.Cy + rowoff).ToString(); //

                toMarker.Append(columnId2);
                toMarker.Append(columnOffset2);
                toMarker.Append(rowId2);
                toMarker.Append(rowOffset2);

                //Position pos = new Position(); pos.X = Row; pos.Y = Col;
                Extent ext = new Extent(); ext.Cx = extents.Cx; ext.Cy = extents.Cy;

                TwoCellAnchor anchor = new TwoCellAnchor();
                //OneCellAnchor anchor = new OneCellAnchor();
                anchor.Append(fromMarker);
                anchor.Append(toMarker);
                //anchor.Extent = ext;
                //anchor.Append(toMarker);
                anchor.Append(picture);
                anchor.Append(new ClientData());
                wsd.Append(anchor);
                {
                    MemoryStream     imgStream = new MemoryStream();
                    ImageCodecInfo[] codecs    = ImageCodecInfo.GetImageEncoders();
                    ImageCodecInfo   codec     = codecs.First(c => c.MimeType == type);
                    Guid             imgGuid   = codec.FormatID;
                    ImageFormat      imf       = new ImageFormat(imgGuid);
                    float            h         = image.HorizontalResolution;
                    float            v         = image.VerticalResolution;

                    Bitmap    compressedImage = new Bitmap(64, 64);//, gr);
                    Rectangle rect            = new Rectangle(0, 0, 64, 64);
                    Graphics  gr = Graphics.FromImage(compressedImage);
                    gr.DrawImage(image, rect);
                    compressedImage.SetResolution(48, 48);

                    compressedImage.Save(imgStream, imf);
                    gr.Dispose();
                    compressedImage.Dispose();
                    imgStream.Position = 0;
                    imagePart.FeedData(imgStream);
                    imgStream.Dispose();
                }
                if (drawing == null)
                {
                    drawing    = new Drawing();
                    drawing.Id = dp.GetIdOfPart(imagePart);
                    worksheet.Append(drawing);
                }
                wsd.Save(dp);
                worksheetPart.Worksheet.Save();
                /* Sheets sheets = new Sheets();Sheet sheet = new Sheet();sheet.Name = "Sheet1";sheet.SheetId = 1;sheet.Id = wbp.GetIdOfPart(wsp);sheets.Append(sheet);wb.Append(sheets); */
            }
            catch (Exception e)
            {
                ModelState.AddModelError("Caught fatal exception placing image", e);
                Trace.TraceError($"OJException: Could not place image {e.Message}");
            }
        }
        protected void ExcelDl_Click(object sender, EventArgs e)
        {
            Response.Clear();
            Response.Buffer = true;
            Response.AddHeader("content-disposition", "attachment;filename=ViewHistoryChart.xlsx");
            Response.ContentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
            Response.Charset = "";
            StringWriter sw = new StringWriter();
            HtmlTextWriter hw = new HtmlTextWriter(sw);
            Chart1.RenderControl(hw);

            using (MemoryStream stream = new MemoryStream())
            {
                using (SpreadsheetDocument spreadsheetDocument = SpreadsheetDocument.Create(stream, SpreadsheetDocumentType.Workbook))
                {
                    var fileName = HttpContext.Current.Request.PhysicalApplicationPath + @"\Charts\ChartImage.png";

                    WorkbookPart wbp = spreadsheetDocument.AddWorkbookPart();
                    WorksheetPart wsp = wbp.AddNewPart<WorksheetPart>();
                    Workbook wb = new Workbook();
                    FileVersion fv = new FileVersion();
                    fv.ApplicationName = "Microsoft Office Excel";
                    Worksheet ws = new Worksheet();
                    SheetData sd = new SheetData();

                    // add contents
                    List<string> values = new List<string>();

                    //values.Add(lblSectionFunctionSelected.Text);

                    uint i = 1;
                    foreach (var value in values)
                    {
                        UInt32Value rowIndex = UInt32Value.FromUInt32(i);
                        var row = new Row { RowIndex = rowIndex }; // add a row at the top of spreadsheet
                        sd.Append(row);

                        var cell = new Cell
                        {
                            CellValue = new CellValue(value),
                            DataType = new EnumValue<CellValues>(CellValues.String)
                        };
                        row.InsertAt(cell, 0);
                        i++;
                    }
                    // add image
                    DrawingsPart dp = wsp.AddNewPart<DrawingsPart>();
                    ImagePart imgp = dp.AddImagePart(ImagePartType.Png, wsp.GetIdOfPart(dp));
                    using (FileStream fs = new FileStream(fileName, FileMode.Open))
                    {
                        imgp.FeedData(fs);
                    }
                    DocumentFormat.OpenXml.Drawing.Spreadsheet.NonVisualDrawingProperties nvdp = new DocumentFormat.OpenXml.Drawing.Spreadsheet.NonVisualDrawingProperties();
                    nvdp.Id = 1025;
                    nvdp.Name = "Picture 1";
                    nvdp.Description = "Chart";
                    DocumentFormat.OpenXml.Drawing.PictureLocks picLocks = new DocumentFormat.OpenXml.Drawing.PictureLocks();
                    picLocks.NoChangeAspect = true;
                    picLocks.NoChangeArrowheads = true;
                    DocumentFormat.OpenXml.Drawing.Spreadsheet.NonVisualPictureDrawingProperties nvpdp = new DocumentFormat.OpenXml.Drawing.Spreadsheet.NonVisualPictureDrawingProperties();
                    nvpdp.PictureLocks = picLocks;
                    DocumentFormat.OpenXml.Drawing.Spreadsheet.NonVisualPictureProperties nvpp = new DocumentFormat.OpenXml.Drawing.Spreadsheet.NonVisualPictureProperties();
                    nvpp.NonVisualDrawingProperties = nvdp;
                    nvpp.NonVisualPictureDrawingProperties = nvpdp;

                    DocumentFormat.OpenXml.Drawing.Stretch stretch = new DocumentFormat.OpenXml.Drawing.Stretch();
                    stretch.FillRectangle = new DocumentFormat.OpenXml.Drawing.FillRectangle();

                    DocumentFormat.OpenXml.Drawing.Spreadsheet.BlipFill blipFill = new DocumentFormat.OpenXml.Drawing.Spreadsheet.BlipFill();
                    DocumentFormat.OpenXml.Drawing.Blip blip = new DocumentFormat.OpenXml.Drawing.Blip();
                    blip.Embed = dp.GetIdOfPart(imgp);
                    blip.CompressionState = DocumentFormat.OpenXml.Drawing.BlipCompressionValues.Print;
                    blipFill.Blip = blip;
                    blipFill.SourceRectangle = new DocumentFormat.OpenXml.Drawing.SourceRectangle();
                    blipFill.Append(stretch);

                    DocumentFormat.OpenXml.Drawing.Transform2D t2d = new DocumentFormat.OpenXml.Drawing.Transform2D();
                    DocumentFormat.OpenXml.Drawing.Offset offset = new DocumentFormat.OpenXml.Drawing.Offset();
                    offset.X = 0;
                    offset.Y = 0;
                    t2d.Offset = offset;
                    Bitmap bm = new Bitmap(fileName);
                    //http://en.wikipedia.org/wiki/English_Metric_Unit#DrawingML
                    //http://stackoverflow.com/questions/1341930/pixel-to-centimeter
                    //http://stackoverflow.com/questions/139655/how-to-convert-pixels-to-points-px-to-pt-in-net-c
                    DocumentFormat.OpenXml.Drawing.Extents extents = new DocumentFormat.OpenXml.Drawing.Extents();
                    extents.Cx = (long)bm.Width * (long)((float)914400 / bm.HorizontalResolution);
                    extents.Cy = (long)bm.Height * (long)((float)914400 / bm.VerticalResolution);
                    bm.Dispose();
                    t2d.Extents = extents;
                    DocumentFormat.OpenXml.Drawing.Spreadsheet.ShapeProperties sp = new DocumentFormat.OpenXml.Drawing.Spreadsheet.ShapeProperties();
                    sp.BlackWhiteMode = DocumentFormat.OpenXml.Drawing.BlackWhiteModeValues.Auto;
                    sp.Transform2D = t2d;
                    DocumentFormat.OpenXml.Drawing.PresetGeometry prstGeom = new DocumentFormat.OpenXml.Drawing.PresetGeometry();
                    prstGeom.Preset = DocumentFormat.OpenXml.Drawing.ShapeTypeValues.Rectangle;
                    prstGeom.AdjustValueList = new DocumentFormat.OpenXml.Drawing.AdjustValueList();
                    sp.Append(prstGeom);
                    sp.Append(new DocumentFormat.OpenXml.Drawing.NoFill());

                    DocumentFormat.OpenXml.Drawing.Spreadsheet.Picture picture = new DocumentFormat.OpenXml.Drawing.Spreadsheet.Picture();
                    picture.NonVisualPictureProperties = nvpp;
                    picture.BlipFill = blipFill;
                    picture.ShapeProperties = sp;

                    DocumentFormat.OpenXml.Drawing.Spreadsheet.Position pos = new DocumentFormat.OpenXml.Drawing.Spreadsheet.Position();
                    pos.X = 0;
                    pos.Y = 10;
                    Extent ext = new Extent();
                    ext.Cx = extents.Cx;
                    ext.Cy = extents.Cy;
                    AbsoluteAnchor anchor = new AbsoluteAnchor();
                    anchor.Position = pos;
                    anchor.Extent = ext;
                    anchor.Append(picture);
                    anchor.Append(new ClientData());
                    WorksheetDrawing wsd = new WorksheetDrawing();
                    wsd.Append(anchor);
                    Drawing drawing = new Drawing();
                    drawing.Id = dp.GetIdOfPart(imgp);

                    wsd.Save(dp);

                    ws.Append(sd);
                    ws.Append(drawing);
                    wsp.Worksheet = ws;
                    wsp.Worksheet.Save();
                    Sheets sheets = new Sheets();
                    Sheet sheet = new Sheet();
                    sheet.Name = "history chart";
                    sheet.SheetId = 1;
                    sheet.Id = wbp.GetIdOfPart(wsp);
                    sheets.Append(sheet);
                    wb.Append(fv);
                    wb.Append(sheets);

                    spreadsheetDocument.WorkbookPart.Workbook = wb;
                    spreadsheetDocument.WorkbookPart.Workbook.Save();
                    spreadsheetDocument.Close();
                }
                File.WriteAllBytes(HttpContext.Current.Request.PhysicalApplicationPath + @"\Charts\temp.xlsx", stream.ToArray());
            }
            Response.WriteFile(HttpContext.Current.Request.PhysicalApplicationPath + @"\Charts\temp.xlsx");
            Response.Flush();
            Response.Close();
            Response.End();
        }
Example #26
0
        protected virtual void InitDrawingsPart(int logoToMarkerColOffset  = 824661,
                                                int titleFromMarkerColumn  = 7,
                                                int titleToMarkerColumn    = 9,
                                                int titleToMarkerColOffset = 285450)
        {
            Xdr.WorksheetDrawing worksheetDrawing = new Xdr.WorksheetDrawing();
            worksheetDrawing.AddNamespaceDeclaration("xdr", "http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing");
            worksheetDrawing.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");

            Xdr.TwoCellAnchor twoCellAnchor1 = new Xdr.TwoCellAnchor()
            {
                EditAs = Xdr.EditAsValues.OneCell
            };

            Xdr.FromMarker fromMarker1 = new Xdr.FromMarker();
            Xdr.ColumnId   columnId1   = new Xdr.ColumnId();
            columnId1.Text = "0";
            Xdr.ColumnOffset columnOffset1 = new Xdr.ColumnOffset();
            columnOffset1.Text = "0";
            Xdr.RowId rowId1 = new Xdr.RowId();
            rowId1.Text = "0";
            Xdr.RowOffset rowOffset1 = new Xdr.RowOffset();
            rowOffset1.Text = "82404";

            fromMarker1.Append(columnId1);
            fromMarker1.Append(columnOffset1);
            fromMarker1.Append(rowId1);
            fromMarker1.Append(rowOffset1);

            Xdr.ToMarker toMarker1 = new Xdr.ToMarker();
            Xdr.ColumnId columnId2 = new Xdr.ColumnId();
            columnId2.Text = "2";
            Xdr.ColumnOffset columnOffset2 = new Xdr.ColumnOffset();
            columnOffset2.Text = logoToMarkerColOffset.ToString();
            Xdr.RowId rowId2 = new Xdr.RowId();
            rowId2.Text = "2";
            Xdr.RowOffset rowOffset2 = new Xdr.RowOffset();
            rowOffset2.Text = "126030";

            toMarker1.Append(columnId2);
            toMarker1.Append(columnOffset2);
            toMarker1.Append(rowId2);
            toMarker1.Append(rowOffset2);

            Xdr.Picture picture1 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties1 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties1 = new Xdr.NonVisualDrawingProperties()
            {
                Id = (UInt32Value)4U, Name = "Picture 3"
            };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties1 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks1 = new A.PictureLocks()
            {
                NoChangeAspect = true
            };

            nonVisualPictureDrawingProperties1.Append(pictureLocks1);

            nonVisualPictureProperties1.Append(nonVisualDrawingProperties1);
            nonVisualPictureProperties1.Append(nonVisualPictureDrawingProperties1);

            Xdr.BlipFill blipFill1 = new Xdr.BlipFill()
            {
                RotateWithShape = true
            };

            A.Blip blip1 = new A.Blip()
            {
                Embed = "rId1"
            };
            blip1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle1 = new A.SourceRectangle()
            {
                Top = 32250, Bottom = 34913
            };
            A.Stretch stretch1 = new A.Stretch();

            blipFill1.Append(blip1);
            blipFill1.Append(sourceRectangle1);
            blipFill1.Append(stretch1);

            Xdr.ShapeProperties shapeProperties1 = new Xdr.ShapeProperties();

            A.Transform2D transform2D1 = new A.Transform2D();
            A.Offset      offset1      = new A.Offset()
            {
                X = 0L, Y = 82404L
            };
            A.Extents extents1 = new A.Extents()
            {
                Cx = 1827961L, Cy = 450026L
            };

            transform2D1.Append(offset1);
            transform2D1.Append(extents1);

            A.PresetGeometry presetGeometry1 = new A.PresetGeometry()
            {
                Preset = A.ShapeTypeValues.Rectangle
            };
            A.AdjustValueList adjustValueList1 = new A.AdjustValueList();

            presetGeometry1.Append(adjustValueList1);

            shapeProperties1.Append(transform2D1);
            shapeProperties1.Append(presetGeometry1);

            picture1.Append(nonVisualPictureProperties1);
            picture1.Append(blipFill1);
            picture1.Append(shapeProperties1);
            Xdr.ClientData clientData1 = new Xdr.ClientData();

            twoCellAnchor1.Append(fromMarker1);
            twoCellAnchor1.Append(toMarker1);
            twoCellAnchor1.Append(picture1);
            twoCellAnchor1.Append(clientData1);

            Xdr.TwoCellAnchor twoCellAnchor2 = new Xdr.TwoCellAnchor()
            {
                EditAs = Xdr.EditAsValues.OneCell
            };

            Xdr.FromMarker fromMarker2 = new Xdr.FromMarker();
            Xdr.ColumnId   columnId3   = new Xdr.ColumnId();
            columnId3.Text = titleFromMarkerColumn.ToString();
            Xdr.ColumnOffset columnOffset3 = new Xdr.ColumnOffset();
            columnOffset3.Text = "685800";
            Xdr.RowId rowId3 = new Xdr.RowId();
            rowId3.Text = "0";
            Xdr.RowOffset rowOffset3 = new Xdr.RowOffset();
            rowOffset3.Text = "114300";

            fromMarker2.Append(columnId3);
            fromMarker2.Append(columnOffset3);
            fromMarker2.Append(rowId3);
            fromMarker2.Append(rowOffset3);

            Xdr.ToMarker toMarker2 = new Xdr.ToMarker();
            Xdr.ColumnId columnId4 = new Xdr.ColumnId();
            columnId4.Text = titleToMarkerColumn.ToString();
            Xdr.ColumnOffset columnOffset4 = new Xdr.ColumnOffset();
            columnOffset4.Text = titleToMarkerColOffset.ToString();
            Xdr.RowId rowId4 = new Xdr.RowId();
            rowId4.Text = "2";
            Xdr.RowOffset rowOffset4 = new Xdr.RowOffset();
            rowOffset4.Text = "88900";

            toMarker2.Append(columnId4);
            toMarker2.Append(columnOffset4);
            toMarker2.Append(rowId4);
            toMarker2.Append(rowOffset4);

            Xdr.Shape shape1 = new Xdr.Shape()
            {
                Macro = "", TextLink = ""
            };

            Xdr.NonVisualShapeProperties   nonVisualShapeProperties1   = new Xdr.NonVisualShapeProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties2 = new Xdr.NonVisualDrawingProperties()
            {
                Id = (UInt32Value)8U, Name = "TextBox 7"
            };
            Xdr.NonVisualShapeDrawingProperties nonVisualShapeDrawingProperties1 = new Xdr.NonVisualShapeDrawingProperties()
            {
                TextBox = true
            };

            nonVisualShapeProperties1.Append(nonVisualDrawingProperties2);
            nonVisualShapeProperties1.Append(nonVisualShapeDrawingProperties1);

            Xdr.ShapeProperties shapeProperties2 = new Xdr.ShapeProperties();

            A.Transform2D transform2D2 = new A.Transform2D();
            A.Offset      offset2      = new A.Offset()
            {
                X = 6769100L, Y = 114300L
            };
            A.Extents extents2 = new A.Extents()
            {
                Cx = 1631650L, Cy = 381000L
            };

            transform2D2.Append(offset2);
            transform2D2.Append(extents2);

            A.PresetGeometry presetGeometry2 = new A.PresetGeometry()
            {
                Preset = A.ShapeTypeValues.Rectangle
            };
            A.AdjustValueList adjustValueList2 = new A.AdjustValueList();

            presetGeometry2.Append(adjustValueList2);

            A.SolidFill   solidFill1   = new A.SolidFill();
            A.SchemeColor schemeColor1 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Text1
            };

            solidFill1.Append(schemeColor1);

            A.Outline outline1 = new A.Outline()
            {
                Width = 9525, CompoundLineType = A.CompoundLineValues.Single
            };
            A.NoFill noFill1 = new A.NoFill();

            outline1.Append(noFill1);

            shapeProperties2.Append(transform2D2);
            shapeProperties2.Append(presetGeometry2);
            shapeProperties2.Append(solidFill1);
            shapeProperties2.Append(outline1);

            Xdr.ShapeStyle shapeStyle1 = new Xdr.ShapeStyle();

            A.LineReference lineReference1 = new A.LineReference()
            {
                Index = (UInt32Value)0U
            };
            A.RgbColorModelPercentage rgbColorModelPercentage1 = new A.RgbColorModelPercentage()
            {
                RedPortion = 0, GreenPortion = 0, BluePortion = 0
            };

            lineReference1.Append(rgbColorModelPercentage1);

            A.FillReference fillReference1 = new A.FillReference()
            {
                Index = (UInt32Value)0U
            };
            A.RgbColorModelPercentage rgbColorModelPercentage2 = new A.RgbColorModelPercentage()
            {
                RedPortion = 0, GreenPortion = 0, BluePortion = 0
            };

            fillReference1.Append(rgbColorModelPercentage2);

            A.EffectReference effectReference1 = new A.EffectReference()
            {
                Index = (UInt32Value)0U
            };
            A.RgbColorModelPercentage rgbColorModelPercentage3 = new A.RgbColorModelPercentage()
            {
                RedPortion = 0, GreenPortion = 0, BluePortion = 0
            };

            effectReference1.Append(rgbColorModelPercentage3);

            A.FontReference fontReference1 = new A.FontReference()
            {
                Index = A.FontCollectionIndexValues.Minor
            };
            A.SchemeColor schemeColor2 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Dark1
            };

            fontReference1.Append(schemeColor2);

            shapeStyle1.Append(lineReference1);
            shapeStyle1.Append(fillReference1);
            shapeStyle1.Append(effectReference1);
            shapeStyle1.Append(fontReference1);

            Xdr.TextBody     textBody1       = new Xdr.TextBody();
            A.BodyProperties bodyProperties1 = new A.BodyProperties()
            {
                VerticalOverflow = A.TextVerticalOverflowValues.Clip, HorizontalOverflow = A.TextHorizontalOverflowValues.Clip, Wrap = A.TextWrappingValues.Square, RightToLeftColumns = false, Anchor = A.TextAnchoringTypeValues.Center
            };
            A.ListStyle listStyle1 = new A.ListStyle();

            A.Paragraph           paragraph1           = new A.Paragraph();
            A.ParagraphProperties paragraphProperties1 = new A.ParagraphProperties()
            {
                Alignment = A.TextAlignmentTypeValues.Center
            };

            A.Run run1 = new A.Run();

            A.RunProperties runProperties1 = new A.RunProperties()
            {
                Language = "en-US", FontSize = 1600, Bold = true
            };

            A.SolidFill   solidFill2   = new A.SolidFill();
            A.SchemeColor schemeColor3 = new A.SchemeColor()
            {
                Val = A.SchemeColorValues.Background1
            };

            solidFill2.Append(schemeColor3);

            runProperties1.Append(solidFill2);
            A.Text text1 = new A.Text();
            text1.Text = "Deloitte Reveal";

            run1.Append(runProperties1);
            run1.Append(text1);

            paragraph1.Append(paragraphProperties1);
            paragraph1.Append(run1);

            textBody1.Append(bodyProperties1);
            textBody1.Append(listStyle1);
            textBody1.Append(paragraph1);

            shape1.Append(nonVisualShapeProperties1);
            shape1.Append(shapeProperties2);
            shape1.Append(shapeStyle1);
            shape1.Append(textBody1);
            Xdr.ClientData clientData2 = new Xdr.ClientData();

            twoCellAnchor2.Append(fromMarker2);
            twoCellAnchor2.Append(toMarker2);
            twoCellAnchor2.Append(shape1);
            twoCellAnchor2.Append(clientData2);

            worksheetDrawing.Append(twoCellAnchor1);
            worksheetDrawing.Append(twoCellAnchor2);

            DrawingsPart.WorksheetDrawing = worksheetDrawing;
        }
Example #27
0
        /// <summary>
        /// Add the logo of the system
        /// </summary>
        /// <param name="logoPath">Path of the logo</param>
        /// <param name="worksheetPart">Worksheet Part</param>
        /// <returns>Drawing</returns>
        private static Drawing AddLogo(string logoPath, WorksheetPart worksheetPart)
        {
            string sImagePath = logoPath;
            DrawingsPart dp = worksheetPart.AddNewPart<DrawingsPart>();
            ImagePart imgp = dp.AddImagePart(ImagePartType.Png, worksheetPart.GetIdOfPart(dp));
            using (FileStream fs = new FileStream(sImagePath, FileMode.Open, FileAccess.Read))
            {
                imgp.FeedData(fs);
            }

            DocumentFormat.OpenXml.Drawing.Spreadsheet.NonVisualDrawingProperties nvdp = new DocumentFormat.OpenXml.Drawing.Spreadsheet.NonVisualDrawingProperties();
            nvdp.Id = 1025;
            nvdp.Name = "Picture 1";
            nvdp.Description = "logo";
            DocumentFormat.OpenXml.Drawing.PictureLocks picLocks = new DocumentFormat.OpenXml.Drawing.PictureLocks();
            picLocks.NoChangeAspect = true;
            picLocks.NoChangeArrowheads = true;
            DocumentFormat.OpenXml.Drawing.Spreadsheet.NonVisualPictureDrawingProperties nvpdp = new DocumentFormat.OpenXml.Drawing.Spreadsheet.NonVisualPictureDrawingProperties();
            nvpdp.PictureLocks = picLocks;
            DocumentFormat.OpenXml.Drawing.Spreadsheet.NonVisualPictureProperties nvpp = new DocumentFormat.OpenXml.Drawing.Spreadsheet.NonVisualPictureProperties();
            nvpp.NonVisualDrawingProperties = nvdp;
            nvpp.NonVisualPictureDrawingProperties = nvpdp;

            DocumentFormat.OpenXml.Drawing.Stretch stretch = new DocumentFormat.OpenXml.Drawing.Stretch();
            stretch.FillRectangle = new DocumentFormat.OpenXml.Drawing.FillRectangle();

            DocumentFormat.OpenXml.Drawing.Spreadsheet.BlipFill blipFill = new DocumentFormat.OpenXml.Drawing.Spreadsheet.BlipFill();
            DocumentFormat.OpenXml.Drawing.Blip blip = new DocumentFormat.OpenXml.Drawing.Blip();
            blip.Embed = dp.GetIdOfPart(imgp);
            blip.CompressionState = DocumentFormat.OpenXml.Drawing.BlipCompressionValues.Print;
            blipFill.Blip = blip;
            blipFill.SourceRectangle = new DocumentFormat.OpenXml.Drawing.SourceRectangle();
            blipFill.Append(stretch);

            DocumentFormat.OpenXml.Drawing.Transform2D t2d = new DocumentFormat.OpenXml.Drawing.Transform2D();
            DocumentFormat.OpenXml.Drawing.Offset offset = new DocumentFormat.OpenXml.Drawing.Offset();
            offset.X = 0;
            offset.Y = 0;
            t2d.Offset = offset;
            Bitmap bm = new Bitmap(sImagePath);
            DocumentFormat.OpenXml.Drawing.Extents extents = new DocumentFormat.OpenXml.Drawing.Extents();
            extents.Cx = (long)bm.Width * (long)((float)914400 / bm.HorizontalResolution);
            extents.Cy = (long)bm.Height * (long)((float)914400 / bm.VerticalResolution);
            bm.Dispose();
            t2d.Extents = extents;
            DocumentFormat.OpenXml.Drawing.Spreadsheet.ShapeProperties sp = new DocumentFormat.OpenXml.Drawing.Spreadsheet.ShapeProperties();
            sp.BlackWhiteMode = DocumentFormat.OpenXml.Drawing.BlackWhiteModeValues.Auto;
            sp.Transform2D = t2d;
            DocumentFormat.OpenXml.Drawing.PresetGeometry prstGeom = new DocumentFormat.OpenXml.Drawing.PresetGeometry();
            prstGeom.Preset = DocumentFormat.OpenXml.Drawing.ShapeTypeValues.Rectangle;
            prstGeom.AdjustValueList = new DocumentFormat.OpenXml.Drawing.AdjustValueList();
            sp.Append(prstGeom);
            sp.Append(new DocumentFormat.OpenXml.Drawing.NoFill());

            DocumentFormat.OpenXml.Drawing.Spreadsheet.Picture picture = new DocumentFormat.OpenXml.Drawing.Spreadsheet.Picture();
            picture.NonVisualPictureProperties = nvpp;
            picture.BlipFill = blipFill;
            picture.ShapeProperties = sp;

            DocumentFormat.OpenXml.Drawing.Spreadsheet.Position pos = new DocumentFormat.OpenXml.Drawing.Spreadsheet.Position();
            pos.X = 18 * 914400  / 72;
            pos.Y = 28 * 914400 / 72;

            Extent ext = new Extent();
            ext.Cx = extents.Cx;
            ext.Cy = extents.Cy;
            AbsoluteAnchor anchor = new AbsoluteAnchor();
            anchor.Position = pos;
            anchor.Extent = ext;

            anchor.Append(picture);
            anchor.Append(new ClientData());
            WorksheetDrawing wsd = new WorksheetDrawing();
            wsd.Append(anchor);
            Drawing drawing = new Drawing();
            drawing.Id = dp.GetIdOfPart(imgp);

            wsd.Save(dp);
            return drawing;
        }
Example #28
0
        // Generates content of drawingsPart1.
        private void GenerateDrawingsPart1Content(DrawingsPart drawingsPart1)
        {
            Xdr.WorksheetDrawing worksheetDrawing1 = new Xdr.WorksheetDrawing();
            worksheetDrawing1.AddNamespaceDeclaration("xdr", "http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing");
            worksheetDrawing1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");

            Xdr.TwoCellAnchor twoCellAnchor1 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker1 = new Xdr.FromMarker();
            Xdr.ColumnId columnId1 = new Xdr.ColumnId();
            columnId1.Text = "7";
            Xdr.ColumnOffset columnOffset1 = new Xdr.ColumnOffset();
            columnOffset1.Text = "576262";
            Xdr.RowId rowId1 = new Xdr.RowId();
            rowId1.Text = "2";
            Xdr.RowOffset rowOffset1 = new Xdr.RowOffset();
            rowOffset1.Text = "109537";

            fromMarker1.Append(columnId1);
            fromMarker1.Append(columnOffset1);
            fromMarker1.Append(rowId1);
            fromMarker1.Append(rowOffset1);

            Xdr.ToMarker toMarker1 = new Xdr.ToMarker();
            Xdr.ColumnId columnId2 = new Xdr.ColumnId();
            columnId2.Text = "14";
            Xdr.ColumnOffset columnOffset2 = new Xdr.ColumnOffset();
            columnOffset2.Text = "119062";
            Xdr.RowId rowId2 = new Xdr.RowId();
            rowId2.Text = "22";
            Xdr.RowOffset rowOffset2 = new Xdr.RowOffset();
            rowOffset2.Text = "109537";

            toMarker1.Append(columnId2);
            toMarker1.Append(columnOffset2);
            toMarker1.Append(rowId2);
            toMarker1.Append(rowOffset2);

            AlternateContent alternateContent2 = new AlternateContent();
            alternateContent2.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");

            AlternateContentChoice alternateContentChoice2 = new AlternateContentChoice(){ Requires = "we" };
            alternateContentChoice2.AddNamespaceDeclaration("we", "http://schemas.microsoft.com/office/webextensions/webextension/2010/11");

            Xdr.GraphicFrame graphicFrame1 = new Xdr.GraphicFrame(){ Macro = "" };

            Xdr.NonVisualGraphicFrameProperties nonVisualGraphicFrameProperties1 = new Xdr.NonVisualGraphicFrameProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties1 = new Xdr.NonVisualDrawingProperties(){ Id = (UInt32Value)2U, Name = "Agave 1" };

            Xdr.NonVisualGraphicFrameDrawingProperties nonVisualGraphicFrameDrawingProperties1 = new Xdr.NonVisualGraphicFrameDrawingProperties();
            A.GraphicFrameLocks graphicFrameLocks1 = new A.GraphicFrameLocks(){ NoGrouping = true };

            nonVisualGraphicFrameDrawingProperties1.Append(graphicFrameLocks1);

            nonVisualGraphicFrameProperties1.Append(nonVisualDrawingProperties1);
            nonVisualGraphicFrameProperties1.Append(nonVisualGraphicFrameDrawingProperties1);

            Xdr.Transform transform1 = new Xdr.Transform();
            A.Offset offset1 = new A.Offset(){ X = 0L, Y = 0L };
            A.Extents extents1 = new A.Extents(){ Cx = 0L, Cy = 0L };

            transform1.Append(offset1);
            transform1.Append(extents1);

            A.Graphic graphic1 = new A.Graphic();

            A.GraphicData graphicData1 = new A.GraphicData(){ Uri = "http://schemas.microsoft.com/office/webextensions/webextension/2010/11" };

            We.WebExtensionReference webExtensionReference1 = new We.WebExtensionReference(){ Id = "rId1" };
            webExtensionReference1.AddNamespaceDeclaration("we", "http://schemas.microsoft.com/office/webextensions/webextension/2010/11");
            webExtensionReference1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");

            graphicData1.Append(webExtensionReference1);

            graphic1.Append(graphicData1);

            graphicFrame1.Append(nonVisualGraphicFrameProperties1);
            graphicFrame1.Append(transform1);
            graphicFrame1.Append(graphic1);

            alternateContentChoice2.Append(graphicFrame1);

            AlternateContentFallback alternateContentFallback1 = new AlternateContentFallback();

            Xdr.Picture picture1 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties1 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties2 = new Xdr.NonVisualDrawingProperties(){ Id = (UInt32Value)2U, Name = "Agave 1" };
            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties1 = new Xdr.NonVisualPictureDrawingProperties();

            nonVisualPictureProperties1.Append(nonVisualDrawingProperties2);
            nonVisualPictureProperties1.Append(nonVisualPictureDrawingProperties1);

            Xdr.BlipFill blipFill1 = new Xdr.BlipFill();

            A.Blip blip1 = new A.Blip(){ Embed = "rId2" };
            blip1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");

            A.Stretch stretch1 = new A.Stretch();
            A.FillRectangle fillRectangle1 = new A.FillRectangle();

            stretch1.Append(fillRectangle1);

            blipFill1.Append(blip1);
            blipFill1.Append(stretch1);

            Xdr.ShapeProperties shapeProperties1 = new Xdr.ShapeProperties();

            A.PresetGeometry presetGeometry1 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList1 = new A.AdjustValueList();

            presetGeometry1.Append(adjustValueList1);

            shapeProperties1.Append(presetGeometry1);

            picture1.Append(nonVisualPictureProperties1);
            picture1.Append(blipFill1);
            picture1.Append(shapeProperties1);

            alternateContentFallback1.Append(picture1);

            alternateContent2.Append(alternateContentChoice2);
            alternateContent2.Append(alternateContentFallback1);
            Xdr.ClientData clientData1 = new Xdr.ClientData();

            twoCellAnchor1.Append(fromMarker1);
            twoCellAnchor1.Append(toMarker1);
            twoCellAnchor1.Append(alternateContent2);
            twoCellAnchor1.Append(clientData1);

            Xdr.TwoCellAnchor twoCellAnchor2 = new Xdr.TwoCellAnchor();

            Xdr.FromMarker fromMarker2 = new Xdr.FromMarker();
            Xdr.ColumnId columnId3 = new Xdr.ColumnId();
            columnId3.Text = "0";
            Xdr.ColumnOffset columnOffset3 = new Xdr.ColumnOffset();
            columnOffset3.Text = "119062";
            Xdr.RowId rowId3 = new Xdr.RowId();
            rowId3.Text = "3";
            Xdr.RowOffset rowOffset3 = new Xdr.RowOffset();
            rowOffset3.Text = "42862";

            fromMarker2.Append(columnId3);
            fromMarker2.Append(columnOffset3);
            fromMarker2.Append(rowId3);
            fromMarker2.Append(rowOffset3);

            Xdr.ToMarker toMarker2 = new Xdr.ToMarker();
            Xdr.ColumnId columnId4 = new Xdr.ColumnId();
            columnId4.Text = "6";
            Xdr.ColumnOffset columnOffset4 = new Xdr.ColumnOffset();
            columnOffset4.Text = "271462";
            Xdr.RowId rowId4 = new Xdr.RowId();
            rowId4.Text = "23";
            Xdr.RowOffset rowOffset4 = new Xdr.RowOffset();
            rowOffset4.Text = "42862";

            toMarker2.Append(columnId4);
            toMarker2.Append(columnOffset4);
            toMarker2.Append(rowId4);
            toMarker2.Append(rowOffset4);

            AlternateContent alternateContent3 = new AlternateContent();
            alternateContent3.AddNamespaceDeclaration("mc", "http://schemas.openxmlformats.org/markup-compatibility/2006");

            AlternateContentChoice alternateContentChoice3 = new AlternateContentChoice(){ Requires = "we" };
            alternateContentChoice3.AddNamespaceDeclaration("we", "http://schemas.microsoft.com/office/webextensions/webextension/2010/11");

            Xdr.GraphicFrame graphicFrame2 = new Xdr.GraphicFrame(){ Macro = "" };

            Xdr.NonVisualGraphicFrameProperties nonVisualGraphicFrameProperties2 = new Xdr.NonVisualGraphicFrameProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties3 = new Xdr.NonVisualDrawingProperties(){ Id = (UInt32Value)3U, Name = "Agave 2" };

            Xdr.NonVisualGraphicFrameDrawingProperties nonVisualGraphicFrameDrawingProperties2 = new Xdr.NonVisualGraphicFrameDrawingProperties();
            A.GraphicFrameLocks graphicFrameLocks2 = new A.GraphicFrameLocks(){ NoGrouping = true };

            nonVisualGraphicFrameDrawingProperties2.Append(graphicFrameLocks2);

            nonVisualGraphicFrameProperties2.Append(nonVisualDrawingProperties3);
            nonVisualGraphicFrameProperties2.Append(nonVisualGraphicFrameDrawingProperties2);

            Xdr.Transform transform2 = new Xdr.Transform();
            A.Offset offset2 = new A.Offset(){ X = 0L, Y = 0L };
            A.Extents extents2 = new A.Extents(){ Cx = 0L, Cy = 0L };

            transform2.Append(offset2);
            transform2.Append(extents2);

            A.Graphic graphic2 = new A.Graphic();

            A.GraphicData graphicData2 = new A.GraphicData(){ Uri = "http://schemas.microsoft.com/office/webextensions/webextension/2010/11" };

            We.WebExtensionReference webExtensionReference2 = new We.WebExtensionReference(){ Id = "rId3" };
            webExtensionReference2.AddNamespaceDeclaration("we", "http://schemas.microsoft.com/office/webextensions/webextension/2010/11");
            webExtensionReference2.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");

            graphicData2.Append(webExtensionReference2);

            graphic2.Append(graphicData2);

            graphicFrame2.Append(nonVisualGraphicFrameProperties2);
            graphicFrame2.Append(transform2);
            graphicFrame2.Append(graphic2);

            alternateContentChoice3.Append(graphicFrame2);

            AlternateContentFallback alternateContentFallback2 = new AlternateContentFallback();

            Xdr.Picture picture2 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties2 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties4 = new Xdr.NonVisualDrawingProperties(){ Id = (UInt32Value)3U, Name = "Agave 2" };
            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties2 = new Xdr.NonVisualPictureDrawingProperties();

            nonVisualPictureProperties2.Append(nonVisualDrawingProperties4);
            nonVisualPictureProperties2.Append(nonVisualPictureDrawingProperties2);

            Xdr.BlipFill blipFill2 = new Xdr.BlipFill();

            A.Blip blip2 = new A.Blip(){ Embed = "rId4" };
            blip2.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");

            A.Stretch stretch2 = new A.Stretch();
            A.FillRectangle fillRectangle2 = new A.FillRectangle();

            stretch2.Append(fillRectangle2);

            blipFill2.Append(blip2);
            blipFill2.Append(stretch2);

            Xdr.ShapeProperties shapeProperties2 = new Xdr.ShapeProperties();

            A.PresetGeometry presetGeometry2 = new A.PresetGeometry(){ Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList2 = new A.AdjustValueList();

            presetGeometry2.Append(adjustValueList2);

            shapeProperties2.Append(presetGeometry2);

            picture2.Append(nonVisualPictureProperties2);
            picture2.Append(blipFill2);
            picture2.Append(shapeProperties2);

            alternateContentFallback2.Append(picture2);

            alternateContent3.Append(alternateContentChoice3);
            alternateContent3.Append(alternateContentFallback2);
            Xdr.ClientData clientData2 = new Xdr.ClientData();

            twoCellAnchor2.Append(fromMarker2);
            twoCellAnchor2.Append(toMarker2);
            twoCellAnchor2.Append(alternateContent3);
            twoCellAnchor2.Append(clientData2);

            worksheetDrawing1.Append(twoCellAnchor1);
            worksheetDrawing1.Append(twoCellAnchor2);

            drawingsPart1.WorksheetDrawing = worksheetDrawing1;
        }
Example #29
0
        private Xdr.OneCellAnchor createImageAnchor(ImageDetails details)
        {
            var image = _images[details.ImageIndex];

            long imgWidth  = convertPixelsToEMUs(image.Width, image.HorizontalResolution);
            long imgHeight = convertPixelsToEMUs(image.Height, image.VerticalResolution);

            // ReSharper disable once CompareOfFloatsByEqualityOperator
            if (details.ImageScaleFactor != 0)
            {
                imgWidth  = (long)(imgWidth * details.ImageScaleFactor);
                imgHeight = (long)(imgHeight * details.ImageScaleFactor);
            }

            // there is still work to be done here since the images can get fuzzy and there is no indent
            // but, since you cannot have thousands of cell images(which we need) without performance penalty in the Excel application itselft
            // we can easily and quickly generate such excel files, but Excel has trouble reading and rendering them
            // so for now this stay as is
            Xdr.OneCellAnchor oneCellAnchor = new Xdr.OneCellAnchor();

            Xdr.FromMarker fromMarker1 = new Xdr.FromMarker();
            Xdr.ColumnId   columnId1   = new Xdr.ColumnId();
            columnId1.Text = (details.Column - 1).ToString();
            Xdr.ColumnOffset columnOffset1 = new Xdr.ColumnOffset();
            columnOffset1.Text = "0";
            Xdr.RowId rowId1 = new Xdr.RowId();
            rowId1.Text = (details.Row - 1).ToString();
            Xdr.RowOffset rowOffset1 = new Xdr.RowOffset();
            rowOffset1.Text = "0";

            fromMarker1.Append(columnId1);
            fromMarker1.Append(columnOffset1);
            fromMarker1.Append(rowId1);
            fromMarker1.Append(rowOffset1);

            var anchorExtent = new Xdr.Extent()
            {
                Cx = imgWidth, Cy = imgWidth
            };

            //Xdr.ToMarker toMarker1 = new Xdr.ToMarker();
            //Xdr.ColumnId columnId2 = new Xdr.ColumnId();
            //columnId2.Text = (details.Column-1).ToString();
            //Xdr.ColumnOffset columnOffset2 = new Xdr.ColumnOffset();
            //columnOffset2.Text = "203175";
            //Xdr.RowId rowId2 = new Xdr.RowId();
            //rowId2.Text = (details.Row -1).ToString(); ;
            //Xdr.RowOffset rowOffset2 = new Xdr.RowOffset();
            //rowOffset2.Text = "12675";

            //toMarker1.Append(columnId2);
            //toMarker1.Append(columnOffset2);
            //toMarker1.Append(rowId2);
            //toMarker1.Append(rowOffset2);

            Xdr.Picture picture1 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties1 = new Xdr.NonVisualPictureProperties();
            UInt32Value id = (UInt32Value)_pictureCounter;

            _pictureCounter++;
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties1 = new Xdr.NonVisualDrawingProperties()
            {
                Id = id, Name = "Picture " + id
            };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties1 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks1 = new A.PictureLocks()
            {
                NoChangeAspect = true
            };

            nonVisualPictureDrawingProperties1.Append(pictureLocks1);

            nonVisualPictureProperties1.Append(nonVisualDrawingProperties1);
            nonVisualPictureProperties1.Append(nonVisualPictureDrawingProperties1);

            Xdr.BlipFill blipFill1 = new Xdr.BlipFill();

            A.Blip blip1 = new A.Blip()
            {
                Embed = "image" + details.ImageIndex
            };

            blip1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");

            A.BlipExtensionList blipExtensionList1 = new A.BlipExtensionList();

            A.BlipExtension blipExtension1 = new A.BlipExtension()
            {
                Uri = "{28A0092B-C50C-407E-A947-70E740481C1C}"
            };

            A14.UseLocalDpi useLocalDpi1 = new A14.UseLocalDpi()
            {
                Val = false
            };
            useLocalDpi1.AddNamespaceDeclaration("a14", "http://schemas.microsoft.com/office/drawing/2010/main");

            blipExtension1.Append(useLocalDpi1);

            blipExtensionList1.Append(blipExtension1);

            blip1.Append(blipExtensionList1);

            A.Stretch       stretch1       = new A.Stretch();
            A.FillRectangle fillRectangle1 = new A.FillRectangle();

            stretch1.Append(fillRectangle1);

            blipFill1.Append(blip1);
            blipFill1.Append(stretch1);

            Xdr.ShapeProperties shapeProperties1 = new Xdr.ShapeProperties();

            A.Transform2D transform2D1 = new A.Transform2D();
            A.Offset      offset1      = new A.Offset()
            {
                X = 0, Y = 0
            };
            A.Extents extents1 = new A.Extents()
            {
                Cx = imgWidth, Cy = imgHeight
            };

            transform2D1.Append(offset1);
            transform2D1.Append(extents1);

            A.PresetGeometry presetGeometry1 = new A.PresetGeometry()
            {
                Preset = A.ShapeTypeValues.Rectangle
            };
            A.AdjustValueList adjustValueList1 = new A.AdjustValueList();

            presetGeometry1.Append(adjustValueList1);

            shapeProperties1.Append(transform2D1);
            shapeProperties1.Append(presetGeometry1);

            picture1.Append(nonVisualPictureProperties1);
            picture1.Append(blipFill1);
            picture1.Append(shapeProperties1);
            Xdr.ClientData clientData1 = new Xdr.ClientData();

            oneCellAnchor.Append(fromMarker1);
            oneCellAnchor.Append(anchorExtent);
            //twoCellAnchor1.Append(toMarker1);
            oneCellAnchor.Append(picture1);
            oneCellAnchor.Append(clientData1);
            return(oneCellAnchor);
        }
        private static Drawing GetLogo(ExcelType excelType, WorksheetPart wsp, out uint startIndex)
        {
            var dp = wsp.AddNewPart<DrawingsPart>();
            Drawing drawing;
            var sImagePath = GetLogoPath(excelType);
            if (string.IsNullOrEmpty(sImagePath))
            {
                startIndex = 1;
                return null;
            }
            startIndex = 8;
            //sorry, I must do it in this way, MEmory stream oesn't work in FeedData. There are several discussions in the internet about it.
            ImagePart imgp = dp.AddImagePart(ImagePartType.Png, wsp.GetIdOfPart(dp));
            var bm = new Bitmap(Resource.CEEX_small);
            //var bm = new Bitmap(@"ExcelProvider\_img\CEEX_small.png");
            using (var ms = new MemoryStream())
            {
                bm.Save(ms,ImageFormat.Png);
                ms.Seek(0, 0);
                imgp.FeedData(ms);
            }

            var nvdp = new NonVisualDrawingProperties();
            nvdp.Id = 1025;
            nvdp.Name = "logo";
            nvdp.Description = "polymathlogo";
            var picLocks = new PictureLocks();
            picLocks.NoChangeAspect = true;
            picLocks.NoChangeArrowheads = true;
            var nvpdp = new NonVisualPictureDrawingProperties();
            nvpdp.PictureLocks = picLocks;
            var nvpp = new NonVisualPictureProperties();
            nvpp.NonVisualDrawingProperties = nvdp;
            nvpp.NonVisualPictureDrawingProperties = nvpdp;

            var stretch = new Stretch();
            stretch.FillRectangle = new FillRectangle();

            var blipFill = new BlipFill();
            var blip = new Blip();
            blip.Embed = dp.GetIdOfPart(imgp);
            blip.CompressionState = BlipCompressionValues.Print;
            blipFill.Blip = blip;
            blipFill.SourceRectangle = new SourceRectangle();
            blipFill.Append(stretch);

            var t2d = new Transform2D();
            var offset = new Offset();
            offset.X = 0;
            offset.Y = 0;
            t2d.Offset = offset;
            //http://en.wikipedia.org/wiki/English_Metric_Unit#DrawingML
            //http://stackoverflow.com/questions/1341930/pixel-to-centimeter
            //http://stackoverflow.com/questions/139655/how-to-convert-pixels-to-points-px-to-pt-in-net-c
            var extents = new Extents();
            extents.Cx = bm.Width * (long)(914400 / bm.HorizontalResolution);
            extents.Cy = bm.Height * (long)(914400 / bm.VerticalResolution);
            bm.Dispose();
            t2d.Extents = extents;
            var sp = new ShapeProperties();
            sp.BlackWhiteMode = BlackWhiteModeValues.Auto;
            sp.Transform2D = t2d;
            var prstGeom = new PresetGeometry();
            prstGeom.Preset = ShapeTypeValues.Rectangle;
            prstGeom.AdjustValueList = new AdjustValueList();
            sp.Append(prstGeom);
            sp.Append(new NoFill());

            var picture = new Picture();
            picture.NonVisualPictureProperties = nvpp;
            picture.BlipFill = blipFill;
            picture.ShapeProperties = sp;

            var pos = new Position();
            pos.X = 0;
            pos.Y = 0;
            var ext = new Extent();
            ext.Cx = extents.Cx;
            ext.Cy = extents.Cy;
            var anchor = new AbsoluteAnchor();
            anchor.Position = pos;
            anchor.Extent = ext;
            anchor.Append(picture);
            anchor.Append(new ClientData());
            var wsd = new WorksheetDrawing();
            wsd.Append(anchor);
            drawing = new Drawing();
            drawing.Id = dp.GetIdOfPart(imgp);
            wsd.Save(dp);
            return drawing;
        }
        // Generates content of drawingsPart1.
        private void GenerateDrawingsPart1Content(DrawingsPart drawingsPart1)
        {
            Xdr.WorksheetDrawing worksheetDrawing1 = new Xdr.WorksheetDrawing();
            worksheetDrawing1.AddNamespaceDeclaration("xdr", "http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing");
            worksheetDrawing1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");

            Xdr.TwoCellAnchor twoCellAnchor1 = new Xdr.TwoCellAnchor() { EditAs = Xdr.EditAsValues.OneCell };

            Xdr.FromMarker fromMarker1 = new Xdr.FromMarker();
            Xdr.ColumnId columnId1 = new Xdr.ColumnId();
            columnId1.Text = "1";
            Xdr.ColumnOffset columnOffset1 = new Xdr.ColumnOffset();
            columnOffset1.Text = "0";
            Xdr.RowId rowId1 = new Xdr.RowId();
            rowId1.Text = "0";
            Xdr.RowOffset rowOffset1 = new Xdr.RowOffset();
            rowOffset1.Text = "47625";

            fromMarker1.Append(columnId1);
            fromMarker1.Append(columnOffset1);
            fromMarker1.Append(rowId1);
            fromMarker1.Append(rowOffset1);

            Xdr.ToMarker toMarker1 = new Xdr.ToMarker();
            Xdr.ColumnId columnId2 = new Xdr.ColumnId();
            columnId2.Text = "1";
            Xdr.ColumnOffset columnOffset2 = new Xdr.ColumnOffset();
            columnOffset2.Text = "1932454";
            Xdr.RowId rowId2 = new Xdr.RowId();
            rowId2.Text = "3";
            Xdr.RowOffset rowOffset2 = new Xdr.RowOffset();
            rowOffset2.Text = "104775";

            toMarker1.Append(columnId2);
            toMarker1.Append(columnOffset2);
            toMarker1.Append(rowId2);
            toMarker1.Append(rowOffset2);

            Xdr.Picture picture1 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties1 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties1 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)1041U, Name = "Picture 1", Description = "logo-Sprayette" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties1 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks1 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties1.Append(pictureLocks1);

            nonVisualPictureProperties1.Append(nonVisualDrawingProperties1);
            nonVisualPictureProperties1.Append(nonVisualPictureDrawingProperties1);

            Xdr.BlipFill blipFill1 = new Xdr.BlipFill();

            A.Blip blip1 = new A.Blip() { Embed = "rId1" };
            blip1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");
            A.SourceRectangle sourceRectangle1 = new A.SourceRectangle();

            A.Stretch stretch1 = new A.Stretch();
            A.FillRectangle fillRectangle1 = new A.FillRectangle();

            stretch1.Append(fillRectangle1);

            blipFill1.Append(blip1);
            blipFill1.Append(sourceRectangle1);
            blipFill1.Append(stretch1);

            Xdr.ShapeProperties shapeProperties3 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D3 = new A.Transform2D();
            A.Offset offset3 = new A.Offset() { X = 762000L, Y = 47625L };
            A.Extents extents3 = new A.Extents() { Cx = 1924050L, Cy = 504825L };

            transform2D3.Append(offset3);
            transform2D3.Append(extents3);

            A.PresetGeometry presetGeometry1 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList3 = new A.AdjustValueList();

            presetGeometry1.Append(adjustValueList3);
            A.NoFill noFill1 = new A.NoFill();

            A.Outline outline6 = new A.Outline() { Width = 9525 };
            A.NoFill noFill2 = new A.NoFill();
            A.Miter miter1 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd3 = new A.HeadEnd();
            A.TailEnd tailEnd3 = new A.TailEnd();

            outline6.Append(noFill2);
            outline6.Append(miter1);
            outline6.Append(headEnd3);
            outline6.Append(tailEnd3);

            shapeProperties3.Append(transform2D3);
            shapeProperties3.Append(presetGeometry1);
            shapeProperties3.Append(noFill1);
            shapeProperties3.Append(outline6);

            picture1.Append(nonVisualPictureProperties1);
            picture1.Append(blipFill1);
            picture1.Append(shapeProperties3);
            Xdr.ClientData clientData1 = new Xdr.ClientData();

            twoCellAnchor1.Append(fromMarker1);
            twoCellAnchor1.Append(toMarker1);
            twoCellAnchor1.Append(picture1);
            twoCellAnchor1.Append(clientData1);

            worksheetDrawing1.Append(twoCellAnchor1);

            drawingsPart1.WorksheetDrawing = worksheetDrawing1;
        }
        // Generates content of drawingsPart1.
        private void GenerateDrawingsPart1Content(DrawingsPart drawingsPart1)
        {
            Xdr.WorksheetDrawing worksheetDrawing1 = new Xdr.WorksheetDrawing();
            worksheetDrawing1.AddNamespaceDeclaration("xdr", "http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing");
            worksheetDrawing1.AddNamespaceDeclaration("a", "http://schemas.openxmlformats.org/drawingml/2006/main");

            Xdr.TwoCellAnchor twoCellAnchor1 = new Xdr.TwoCellAnchor() { EditAs = Xdr.EditAsValues.OneCell };

            Xdr.FromMarker fromMarker1 = new Xdr.FromMarker();
            Xdr.ColumnId columnId1 = new Xdr.ColumnId();
            columnId1.Text = "0";
            Xdr.ColumnOffset columnOffset1 = new Xdr.ColumnOffset();
            columnOffset1.Text = "347384";
            Xdr.RowId rowId1 = new Xdr.RowId();
            rowId1.Text = "0";
            Xdr.RowOffset rowOffset1 = new Xdr.RowOffset();
            rowOffset1.Text = "123265";

            fromMarker1.Append(columnId1);
            fromMarker1.Append(columnOffset1);
            fromMarker1.Append(rowId1);
            fromMarker1.Append(rowOffset1);

            Xdr.ToMarker toMarker1 = new Xdr.ToMarker();
            Xdr.ColumnId columnId2 = new Xdr.ColumnId();
            columnId2.Text = "2";
            Xdr.ColumnOffset columnOffset2 = new Xdr.ColumnOffset();
            columnOffset2.Text = "223413";
            Xdr.RowId rowId2 = new Xdr.RowId();
            rowId2.Text = "3";
            Xdr.RowOffset rowOffset2 = new Xdr.RowOffset();
            rowOffset2.Text = "98965";

            toMarker1.Append(columnId2);
            toMarker1.Append(columnOffset2);
            toMarker1.Append(rowId2);
            toMarker1.Append(rowOffset2);

            Xdr.Picture picture1 = new Xdr.Picture();

            Xdr.NonVisualPictureProperties nonVisualPictureProperties1 = new Xdr.NonVisualPictureProperties();
            Xdr.NonVisualDrawingProperties nonVisualDrawingProperties1 = new Xdr.NonVisualDrawingProperties() { Id = (UInt32Value)2U, Name = "Picture 1", Description = "logo-Sprayette" };

            Xdr.NonVisualPictureDrawingProperties nonVisualPictureDrawingProperties1 = new Xdr.NonVisualPictureDrawingProperties();
            A.PictureLocks pictureLocks1 = new A.PictureLocks() { NoChangeAspect = true, NoChangeArrowheads = true };

            nonVisualPictureDrawingProperties1.Append(pictureLocks1);

            nonVisualPictureProperties1.Append(nonVisualDrawingProperties1);
            nonVisualPictureProperties1.Append(nonVisualPictureDrawingProperties1);

            Xdr.BlipFill blipFill1 = new Xdr.BlipFill();

            A.Blip blip1 = new A.Blip() { Embed = "rId1" };
            blip1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");

            A.BlipExtensionList blipExtensionList1 = new A.BlipExtensionList();

            A.BlipExtension blipExtension1 = new A.BlipExtension() { Uri = "{28A0092B-C50C-407E-A947-70E740481C1C}" };

            A14.UseLocalDpi useLocalDpi1 = new A14.UseLocalDpi() { Val = false };
            useLocalDpi1.AddNamespaceDeclaration("a14", "http://schemas.microsoft.com/office/drawing/2010/main");

            blipExtension1.Append(useLocalDpi1);

            blipExtensionList1.Append(blipExtension1);

            blip1.Append(blipExtensionList1);
            A.SourceRectangle sourceRectangle1 = new A.SourceRectangle();

            A.Stretch stretch1 = new A.Stretch();
            A.FillRectangle fillRectangle1 = new A.FillRectangle();

            stretch1.Append(fillRectangle1);

            blipFill1.Append(blip1);
            blipFill1.Append(sourceRectangle1);
            blipFill1.Append(stretch1);

            Xdr.ShapeProperties shapeProperties1 = new Xdr.ShapeProperties() { BlackWhiteMode = A.BlackWhiteModeValues.Auto };

            A.Transform2D transform2D1 = new A.Transform2D();
            A.Offset offset1 = new A.Offset() { X = 347384L, Y = 123265L };
            A.Extents extents1 = new A.Extents() { Cx = 2106000L, Cy = 547200L };

            transform2D1.Append(offset1);
            transform2D1.Append(extents1);

            A.PresetGeometry presetGeometry1 = new A.PresetGeometry() { Preset = A.ShapeTypeValues.Rectangle };
            A.AdjustValueList adjustValueList1 = new A.AdjustValueList();

            presetGeometry1.Append(adjustValueList1);
            A.NoFill noFill1 = new A.NoFill();

            A.Outline outline4 = new A.Outline();
            A.NoFill noFill2 = new A.NoFill();

            outline4.Append(noFill2);

            A.ShapePropertiesExtensionList shapePropertiesExtensionList1 = new A.ShapePropertiesExtensionList();

            A.ShapePropertiesExtension shapePropertiesExtension1 = new A.ShapePropertiesExtension() { Uri = "{909E8E84-426E-40DD-AFC4-6F175D3DCCD1}" };

            A14.HiddenFillProperties hiddenFillProperties1 = new A14.HiddenFillProperties();
            hiddenFillProperties1.AddNamespaceDeclaration("a14", "http://schemas.microsoft.com/office/drawing/2010/main");

            A.SolidFill solidFill6 = new A.SolidFill();
            A.RgbColorModelHex rgbColorModelHex14 = new A.RgbColorModelHex() { Val = "FFFFFF" };

            solidFill6.Append(rgbColorModelHex14);

            hiddenFillProperties1.Append(solidFill6);

            shapePropertiesExtension1.Append(hiddenFillProperties1);

            A.ShapePropertiesExtension shapePropertiesExtension2 = new A.ShapePropertiesExtension() { Uri = "{91240B29-F687-4F45-9708-019B960494DF}" };

            A14.HiddenLineProperties hiddenLineProperties1 = new A14.HiddenLineProperties() { Width = 9525 };
            hiddenLineProperties1.AddNamespaceDeclaration("a14", "http://schemas.microsoft.com/office/drawing/2010/main");

            A.SolidFill solidFill7 = new A.SolidFill();
            A.RgbColorModelHex rgbColorModelHex15 = new A.RgbColorModelHex() { Val = "000000" };

            solidFill7.Append(rgbColorModelHex15);
            A.Miter miter1 = new A.Miter() { Limit = 800000 };
            A.HeadEnd headEnd1 = new A.HeadEnd();
            A.TailEnd tailEnd1 = new A.TailEnd();

            hiddenLineProperties1.Append(solidFill7);
            hiddenLineProperties1.Append(miter1);
            hiddenLineProperties1.Append(headEnd1);
            hiddenLineProperties1.Append(tailEnd1);

            shapePropertiesExtension2.Append(hiddenLineProperties1);

            shapePropertiesExtensionList1.Append(shapePropertiesExtension1);
            shapePropertiesExtensionList1.Append(shapePropertiesExtension2);

            shapeProperties1.Append(transform2D1);
            shapeProperties1.Append(presetGeometry1);
            shapeProperties1.Append(noFill1);
            shapeProperties1.Append(outline4);
            shapeProperties1.Append(shapePropertiesExtensionList1);

            picture1.Append(nonVisualPictureProperties1);
            picture1.Append(blipFill1);
            picture1.Append(shapeProperties1);
            Xdr.ClientData clientData1 = new Xdr.ClientData();

            twoCellAnchor1.Append(fromMarker1);
            twoCellAnchor1.Append(toMarker1);
            twoCellAnchor1.Append(picture1);
            twoCellAnchor1.Append(clientData1);

            worksheetDrawing1.Append(twoCellAnchor1);

            drawingsPart1.WorksheetDrawing = worksheetDrawing1;
        }
Example #33
0
        private void LoadImage(Worksheet ws, WorksheetPart wsp, WorkbookPart wp)
        {
            string       path = System.IO.Path.Combine(Server.MapPath("~/Scripts/Images"), "unnamed.png").ToString();
            DrawingsPart dp   = wsp.AddNewPart <DrawingsPart>();
            ImagePart    imgp = dp.AddImagePart(ImagePartType.Png, wsp.GetIdOfPart(dp));

            using (FileStream fs = new FileStream(path, FileMode.Open))
            {
                imgp.FeedData(fs);
            }

            NonVisualDrawingProperties nvdp = new NonVisualDrawingProperties();

            nvdp.Id          = 1025;
            nvdp.Name        = "Picture 1";
            nvdp.Description = "polymathlogo";
            DocumentFormat.OpenXml.Drawing.PictureLocks picLocks = new DocumentFormat.OpenXml.Drawing.PictureLocks();
            picLocks.NoChangeAspect     = true;
            picLocks.NoChangeArrowheads = true;
            NonVisualPictureDrawingProperties nvpdp = new NonVisualPictureDrawingProperties();

            nvpdp.PictureLocks = picLocks;
            NonVisualPictureProperties nvpp = new NonVisualPictureProperties();

            nvpp.NonVisualDrawingProperties        = nvdp;
            nvpp.NonVisualPictureDrawingProperties = nvpdp;

            DocumentFormat.OpenXml.Drawing.Stretch stretch = new DocumentFormat.OpenXml.Drawing.Stretch();
            stretch.FillRectangle = new DocumentFormat.OpenXml.Drawing.FillRectangle();

            BlipFill blipFill = new BlipFill();

            DocumentFormat.OpenXml.Drawing.Blip blip = new DocumentFormat.OpenXml.Drawing.Blip();
            blip.Embed               = dp.GetIdOfPart(imgp);
            blip.CompressionState    = DocumentFormat.OpenXml.Drawing.BlipCompressionValues.Print;
            blipFill.Blip            = blip;
            blipFill.SourceRectangle = new DocumentFormat.OpenXml.Drawing.SourceRectangle();
            blipFill.Append(stretch);

            DocumentFormat.OpenXml.Drawing.Transform2D t2d    = new DocumentFormat.OpenXml.Drawing.Transform2D();
            DocumentFormat.OpenXml.Drawing.Offset      offset = new DocumentFormat.OpenXml.Drawing.Offset();
            offset.X   = 0;
            offset.Y   = 0;
            t2d.Offset = offset;
            System.Drawing.Bitmap bm = new System.Drawing.Bitmap(path);
            //http://en.wikipedia.org/wiki/English_Metric_Unit#DrawingML
            //http://stackoverflow.com/questions/1341930/pixel-to-centimeter
            //http://stackoverflow.com/questions/139655/how-to-convert-pixels-to-points-px-to-pt-in-net-c
            DocumentFormat.OpenXml.Drawing.Extents extents = new DocumentFormat.OpenXml.Drawing.Extents();
            extents.Cx = (long)bm.Width * (long)((float)914400 / bm.HorizontalResolution);
            extents.Cy = (long)bm.Height * (long)((float)914400 / bm.VerticalResolution);
            bm.Dispose();
            t2d.Extents = extents;
            ShapeProperties sp = new ShapeProperties();

            sp.BlackWhiteMode = DocumentFormat.OpenXml.Drawing.BlackWhiteModeValues.Auto;
            sp.Transform2D    = t2d;
            DocumentFormat.OpenXml.Drawing.PresetGeometry prstGeom = new DocumentFormat.OpenXml.Drawing.PresetGeometry();
            prstGeom.Preset          = DocumentFormat.OpenXml.Drawing.ShapeTypeValues.Rectangle;
            prstGeom.AdjustValueList = new DocumentFormat.OpenXml.Drawing.AdjustValueList();
            sp.Append(prstGeom);
            sp.Append(new DocumentFormat.OpenXml.Drawing.NoFill());

            DocumentFormat.OpenXml.Drawing.Spreadsheet.Picture picture = new DocumentFormat.OpenXml.Drawing.Spreadsheet.Picture();
            picture.NonVisualPictureProperties = nvpp;
            picture.BlipFill        = blipFill;
            picture.ShapeProperties = sp;

            Position pos = new Position();

            pos.X = 0;
            pos.Y = 0;
            Extent ext = new Extent();

            ext.Cx = extents.Cx;
            ext.Cy = extents.Cy;
            AbsoluteAnchor anchor = new AbsoluteAnchor();

            anchor.Position = pos;
            anchor.Extent   = ext;
            anchor.Append(picture);
            anchor.Append(new ClientData());
            WorksheetDrawing wsd = new WorksheetDrawing();

            wsd.Append(anchor);
            Drawing drawing = new Drawing();

            drawing.Id = dp.GetIdOfPart(imgp);

            wsd.Save(dp);
            ws.Append(drawing);
        }
        private void WriteImageParts(DrawingsPart dp)
        {
            ImagePart imgp;
            Xdr.WorksheetDrawing wsd = dp.WorksheetDrawing;
            SLRowProperties rp;
            SLColumnProperties cp;

            #region Charts
            if (slws.Charts.Count > 0)
            {
                int FromAnchorRowIndex = 0;
                long FromAnchorRowOffset = 0;
                int FromAnchorColumnIndex = 0;
                long FromAnchorColumnOffset = 0;
                int ToAnchorRowIndex = 4;
                long ToAnchorRowOffset = 0;
                int ToAnchorColumnIndex = 4;
                long ToAnchorColumnOffset = 0;
                double fTemp = 0;

                ChartPart chartp;

                Xdr.GraphicFrame gf;

                foreach (Charts.SLChart Chart in slws.Charts)
                {
                    chartp = dp.AddNewPart<ChartPart>();
                    chartp.ChartSpace = Chart.ToChartSpace(ref chartp);

                    gf = new Xdr.GraphicFrame();
                    gf.Macro = string.Empty;
                    gf.NonVisualGraphicFrameProperties = new Xdr.NonVisualGraphicFrameProperties();
                    gf.NonVisualGraphicFrameProperties.NonVisualDrawingProperties = new Xdr.NonVisualDrawingProperties();
                    gf.NonVisualGraphicFrameProperties.NonVisualDrawingProperties.Id = slws.NextWorksheetDrawingId;
                    ++slws.NextWorksheetDrawingId;
                    gf.NonVisualGraphicFrameProperties.NonVisualDrawingProperties.Name = Chart.ChartName;
                    // alt text for charts
                    //...gf.NonVisualGraphicFrameProperties.NonVisualDrawingProperties.Description = "";
                    gf.NonVisualGraphicFrameProperties.NonVisualGraphicFrameDrawingProperties = new Xdr.NonVisualGraphicFrameDrawingProperties();

                    gf.Transform = new Xdr.Transform();
                    gf.Transform.Offset = new A.Offset() { X = 0, Y = 0 };
                    gf.Transform.Extents = new A.Extents() { Cx = 0, Cy = 0 };

                    gf.Graphic = new A.Graphic();
                    gf.Graphic.GraphicData = new A.GraphicData();
                    gf.Graphic.GraphicData.Uri = SLConstants.NamespaceC;
                    gf.Graphic.GraphicData.Append(new C.ChartReference() { Id = dp.GetIdOfPart(chartp) });

                    FromAnchorRowIndex = (int)Math.Floor(Chart.TopPosition);
                    fTemp = Chart.TopPosition - FromAnchorRowIndex;
                    FromAnchorRowOffset = (long)(fTemp * slws.SheetFormatProperties.DefaultRowHeightInEMU);
                    if (slws.RowProperties.ContainsKey(FromAnchorRowIndex + 1))
                    {
                        rp = slws.RowProperties[FromAnchorRowIndex + 1];
                        if (rp.HasHeight) FromAnchorRowOffset = (long)(fTemp * rp.HeightInEMU);
                    }

                    FromAnchorColumnIndex = (int)Math.Floor(Chart.LeftPosition);
                    fTemp = Chart.LeftPosition - FromAnchorColumnIndex;

                    FromAnchorColumnOffset = (long)(fTemp * slws.SheetFormatProperties.DefaultColumnWidthInEMU);

                    if (slws.ColumnProperties.ContainsKey(FromAnchorColumnIndex + 1))
                    {
                        cp = slws.ColumnProperties[FromAnchorColumnIndex + 1];
                        if (cp.HasWidth)
                        {
                            FromAnchorColumnOffset = (long)(fTemp * cp.WidthInEMU);
                        }
                    }

                    ToAnchorRowIndex = (int)Math.Floor(Chart.BottomPosition);
                    fTemp = Chart.BottomPosition - ToAnchorRowIndex;
                    ToAnchorRowOffset = (long)(fTemp * slws.SheetFormatProperties.DefaultRowHeightInEMU);
                    if (slws.RowProperties.ContainsKey(ToAnchorRowIndex + 1))
                    {
                        rp = slws.RowProperties[ToAnchorRowIndex + 1];
                        if (rp.HasHeight) ToAnchorRowOffset = (long)(fTemp * rp.HeightInEMU);
                    }

                    ToAnchorColumnIndex = (int)Math.Floor(Chart.RightPosition);
                    fTemp = Chart.RightPosition - ToAnchorColumnIndex;

                    ToAnchorColumnOffset = (long)(fTemp * slws.SheetFormatProperties.DefaultColumnWidthInEMU);

                    if (slws.ColumnProperties.ContainsKey(ToAnchorColumnIndex + 1))
                    {
                        cp = slws.ColumnProperties[ToAnchorColumnIndex + 1];
                        if (cp.HasWidth)
                        {
                            ToAnchorColumnOffset = (long)(fTemp * cp.WidthInEMU);
                        }
                    }

                    Xdr.TwoCellAnchor tcanchor = new Xdr.TwoCellAnchor();
                    tcanchor.FromMarker = new Xdr.FromMarker();
                    tcanchor.FromMarker.RowId = new Xdr.RowId(FromAnchorRowIndex.ToString(CultureInfo.InvariantCulture));
                    tcanchor.FromMarker.RowOffset = new Xdr.RowOffset(FromAnchorRowOffset.ToString(CultureInfo.InvariantCulture));
                    tcanchor.FromMarker.ColumnId = new Xdr.ColumnId(FromAnchorColumnIndex.ToString(CultureInfo.InvariantCulture));
                    tcanchor.FromMarker.ColumnOffset = new Xdr.ColumnOffset(FromAnchorColumnOffset.ToString(CultureInfo.InvariantCulture));

                    tcanchor.ToMarker = new Xdr.ToMarker();
                    tcanchor.ToMarker.RowId = new Xdr.RowId(ToAnchorRowIndex.ToString(CultureInfo.InvariantCulture));
                    tcanchor.ToMarker.RowOffset = new Xdr.RowOffset(ToAnchorRowOffset.ToString(CultureInfo.InvariantCulture));
                    tcanchor.ToMarker.ColumnId = new Xdr.ColumnId(ToAnchorColumnIndex.ToString(CultureInfo.InvariantCulture));
                    tcanchor.ToMarker.ColumnOffset = new Xdr.ColumnOffset(ToAnchorColumnOffset.ToString(CultureInfo.InvariantCulture));

                    tcanchor.Append(gf);
                    tcanchor.Append(new Xdr.ClientData());

                    wsd.Append(tcanchor);
                    wsd.Save(dp);
                }
            }
            #endregion

            #region Pictures
            if (slws.Pictures.Count > 0)
            {
                foreach (Drawing.SLPicture Picture in slws.Pictures)
                {
                    imgp = dp.AddImagePart(Picture.PictureImagePartType);

                    if (Picture.DataIsInFile)
                    {
                        using (FileStream fs = new FileStream(Picture.PictureFileName, FileMode.Open))
                        {
                            imgp.FeedData(fs);
                        }
                    }
                    else
                    {
                        using (MemoryStream ms = new MemoryStream(Picture.PictureByteData))
                        {
                            imgp.FeedData(ms);
                        }
                    }

                    Xdr.Picture pic = new Xdr.Picture();
                    pic.NonVisualPictureProperties = new Xdr.NonVisualPictureProperties();

                    pic.NonVisualPictureProperties.NonVisualDrawingProperties = new Xdr.NonVisualDrawingProperties();
                    pic.NonVisualPictureProperties.NonVisualDrawingProperties.Id = slws.NextWorksheetDrawingId;
                    ++slws.NextWorksheetDrawingId;
                    // recommendation is to set as the actual filename, but we'll follow Excel here...
                    // Note: the name value can be used multiple times without Excel choking.
                    // So for example, you can have two pictures with "Picture 1".
                    pic.NonVisualPictureProperties.NonVisualDrawingProperties.Name = string.Format("Picture {0}", dp.ImageParts.Count());
                    pic.NonVisualPictureProperties.NonVisualDrawingProperties.Description = Picture.AlternativeText;
                    // hlinkClick and hlinkHover as children

                    if (Picture.HasUri)
                    {
                        HyperlinkRelationship hlinkrel = dp.AddHyperlinkRelationship(new System.Uri(Picture.HyperlinkUri, Picture.HyperlinkUriKind), Picture.IsHyperlinkExternal);
                        pic.NonVisualPictureProperties.NonVisualDrawingProperties.HyperlinkOnClick = new A.HyperlinkOnClick() { Id = hlinkrel.Id };
                    }

                    pic.NonVisualPictureProperties.NonVisualPictureDrawingProperties = new Xdr.NonVisualPictureDrawingProperties();

                    pic.BlipFill = new Xdr.BlipFill();
                    pic.BlipFill.Blip = new A.Blip();
                    pic.BlipFill.Blip.Embed = dp.GetIdOfPart(imgp);
                    if (Picture.CompressionState != A.BlipCompressionValues.None)
                    {
                        pic.BlipFill.Blip.CompressionState = Picture.CompressionState;
                    }

                    if (Picture.Brightness != 0 || Picture.Contrast != 0)
                    {
                        A.LuminanceEffect lumeffect = new A.LuminanceEffect();
                        if (Picture.Brightness != 0) lumeffect.Brightness = Convert.ToInt32(Picture.Brightness * 1000);
                        if (Picture.Contrast != 0) lumeffect.Contrast = Convert.ToInt32(Picture.Contrast * 1000);
                        pic.BlipFill.Blip.Append(lumeffect);
                    }

                    pic.BlipFill.SourceRectangle = new A.SourceRectangle();
                    pic.BlipFill.Append(new A.Stretch() { FillRectangle = new A.FillRectangle() });

                    Picture.ShapeProperties.BlackWhiteMode = A.BlackWhiteModeValues.Auto;
                    Picture.ShapeProperties.HasTransform2D = true;
                    Picture.ShapeProperties.Transform2D.HasOffset = true;
                    Picture.ShapeProperties.Transform2D.HasExtents = true;

                    // not supporting yet because you need to change the positional offsets too.
                    //if (Picture.RotationAngle != 0)
                    //{
                    //    pic.ShapeProperties.Transform2D.Rotation = Convert.ToInt32(Picture.RotationAngle * (decimal)SLConstants.DegreeToAngleRepresentation);
                    //}

                    // used when it's relative positioning
                    // these are the actual values used, so it's 1 less than the given anchor indices.
                    int iColumnId = 0, iRowId = 0;
                    long lColumnOffset = 0, lRowOffset = 0;
                    if (Picture.UseRelativePositioning)
                    {
                        iColumnId = Picture.AnchorColumnIndex - 1;
                        iRowId = Picture.AnchorRowIndex - 1;

                        long lOffset = 0;
                        long lOffsetBuffer = 0;
                        int i;

                        for (i = 1; i <= iColumnId; ++i)
                        {
                            if (slws.ColumnProperties.ContainsKey(i))
                            {
                                cp = slws.ColumnProperties[i];
                                if (cp.HasWidth)
                                {
                                    lOffsetBuffer += cp.WidthInEMU;
                                }
                                else
                                {
                                    lOffsetBuffer += slws.SheetFormatProperties.DefaultColumnWidthInEMU;
                                }
                            }
                            else
                            {
                                // we use the current worksheet's column width
                                lOffsetBuffer += slws.SheetFormatProperties.DefaultColumnWidthInEMU;
                            }
                        }
                        lOffsetBuffer += Picture.OffsetX;
                        lOffset = lOffsetBuffer;

                        if (lOffset <= 0)
                        {
                            // in case the given offset is so negative, it pushes the sum to negative
                            // We use "<= 0" here, so the else part assumes a positive offset
                            iColumnId = 0;
                            lColumnOffset = 0;
                        }
                        else
                        {
                            lOffsetBuffer = 0;
                            i = 1;

                            while (lOffset > lOffsetBuffer)
                            {
                                iColumnId = i - 1;
                                lColumnOffset = lOffset - lOffsetBuffer;

                                if (slws.ColumnProperties.ContainsKey(i))
                                {
                                    cp = slws.ColumnProperties[i];
                                    if (cp.HasWidth)
                                    {
                                        lOffsetBuffer += cp.WidthInEMU;
                                    }
                                    else
                                    {
                                        lOffsetBuffer += slws.SheetFormatProperties.DefaultColumnWidthInEMU;
                                    }
                                }
                                else
                                {
                                    // we use the current worksheet's column width
                                    lOffsetBuffer += slws.SheetFormatProperties.DefaultColumnWidthInEMU;
                                }
                                ++i;
                            }
                        }

                        Picture.ShapeProperties.Transform2D.Offset.X = lColumnOffset;

                        lOffsetBuffer = 0;
                        for (i = 1; i <= iRowId; ++i)
                        {
                            if (slws.RowProperties.ContainsKey(i))
                            {
                                rp = slws.RowProperties[i];
                                if (rp.HasHeight)
                                {
                                    lOffsetBuffer += rp.HeightInEMU;
                                }
                                else
                                {
                                    lOffsetBuffer += slws.SheetFormatProperties.DefaultRowHeightInEMU;
                                }
                            }
                            else
                            {
                                // we use the current worksheet's row height
                                lOffsetBuffer += slws.SheetFormatProperties.DefaultRowHeightInEMU;
                            }
                        }
                        lOffsetBuffer += Picture.OffsetY;
                        lOffset = lOffsetBuffer;

                        if (lOffset <= 0)
                        {
                            // in case the given offset is so negative, it pushes the sum to negative
                            // We use "<= 0" here, so the else part assumes a positive offset
                            iRowId = 0;
                            lRowOffset = 0;
                        }
                        else
                        {
                            lOffsetBuffer = 0;
                            i = 1;

                            while (lOffset > lOffsetBuffer)
                            {
                                iRowId = i - 1;
                                lRowOffset = lOffset - lOffsetBuffer;

                                if (slws.RowProperties.ContainsKey(i))
                                {
                                    rp = slws.RowProperties[i];
                                    if (rp.HasHeight)
                                    {
                                        lOffsetBuffer += rp.HeightInEMU;
                                    }
                                    else
                                    {
                                        lOffsetBuffer += slws.SheetFormatProperties.DefaultRowHeightInEMU;
                                    }
                                }
                                else
                                {
                                    // we use the current worksheet's row height
                                    lOffsetBuffer += slws.SheetFormatProperties.DefaultRowHeightInEMU;
                                }
                                ++i;
                            }
                        }

                        Picture.ShapeProperties.Transform2D.Offset.Y = lRowOffset;
                    }
                    else
                    {
                        Picture.ShapeProperties.Transform2D.Offset.X = 0;
                        Picture.ShapeProperties.Transform2D.Offset.Y = 0;
                    }

                    Picture.ShapeProperties.Transform2D.Extents.Cx = Picture.WidthInEMU;
                    Picture.ShapeProperties.Transform2D.Extents.Cy = Picture.HeightInEMU;

                    Picture.ShapeProperties.HasPresetGeometry = true;
                    Picture.ShapeProperties.PresetGeometry = Picture.PictureShape;

                    pic.ShapeProperties = Picture.ShapeProperties.ToXdrShapeProperties();

                    Xdr.ClientData clientdata = new Xdr.ClientData();
                    // the properties are true by default
                    if (!Picture.LockWithSheet) clientdata.LockWithSheet = false;
                    if (!Picture.PrintWithSheet) clientdata.PrintWithSheet = false;

                    if (Picture.UseRelativePositioning)
                    {
                        Xdr.OneCellAnchor ocanchor = new Xdr.OneCellAnchor();
                        ocanchor.FromMarker = new Xdr.FromMarker();
                        // Subtract 1 because picture goes to bottom right corner
                        // Subtracting 1 makes it more intuitive that (1,1) means top-left corner of (1,1)
                        ocanchor.FromMarker.ColumnId = new Xdr.ColumnId() { Text = iColumnId.ToString(CultureInfo.InvariantCulture) };
                        ocanchor.FromMarker.ColumnOffset = new Xdr.ColumnOffset() { Text = lColumnOffset.ToString(CultureInfo.InvariantCulture) };
                        ocanchor.FromMarker.RowId = new Xdr.RowId() { Text = iRowId.ToString(CultureInfo.InvariantCulture) };
                        ocanchor.FromMarker.RowOffset = new Xdr.RowOffset() { Text = lRowOffset.ToString(CultureInfo.InvariantCulture) };

                        ocanchor.Extent = new Xdr.Extent();
                        ocanchor.Extent.Cx = Picture.WidthInEMU;
                        ocanchor.Extent.Cy = Picture.HeightInEMU;

                        ocanchor.Append(pic);
                        ocanchor.Append(clientdata);
                        wsd.Append(ocanchor);
                    }
                    else
                    {
                        Xdr.AbsoluteAnchor absanchor = new Xdr.AbsoluteAnchor();
                        absanchor.Position = new Xdr.Position();
                        absanchor.Position.X = Picture.OffsetX;
                        absanchor.Position.Y = Picture.OffsetY;

                        absanchor.Extent = new Xdr.Extent();
                        absanchor.Extent.Cx = Picture.WidthInEMU;
                        absanchor.Extent.Cy = Picture.HeightInEMU;

                        absanchor.Append(pic);
                        absanchor.Append(clientdata);
                        wsd.Append(absanchor);
                    }

                    wsd.Save(dp);
                }
            }
            #endregion
        }
Example #35
0
    /// <summary>
    /// 读取Excel中数据,包括样式
    /// </summary>
    /// <param name="excel"></param>
    /// <param name="sheetName"></param>
    /// <param name="file"></param>
    /// <returns></returns>
    public static List <SheetDataList> ReadExcelDetailTest(SpreadsheetDocument excel, List <string> sheetName, string file)
    {
        try
        {
            #region //获取样式设置
            Stylesheet styleSheet = excel.WorkbookPart.WorkbookStylesPart.Stylesheet;

            //获取Excel文件主题色
            ThemePart themPart  = excel.WorkbookPart.ThemePart;
            var       themColor = ThemeColor.GetThemeColorList(themPart);

            #region 样式列表
            CellFormats            cellFormats     = styleSheet.CellFormats;
            List <CellFormatsList> cellFormatsList = new List <CellFormatsList>();
            int index = 0;
            foreach (CellFormat cell in cellFormats.ChildElements)
            {
                if (cell != null)
                {
                    CellFormatsList cfl = new CellFormatsList();
                    cfl.styleIndex = index;
                    if (cell.NumberFormatId != null)
                    {
                        cfl.numFmtId = int.Parse(cell.NumberFormatId);
                    }
                    if (cell.FontId != null)
                    {
                        cfl.fontId = int.Parse(cell.FontId);
                    }
                    if (cell.FillId != null)
                    {
                        cfl.fillId = int.Parse(cell.FillId);
                    }
                    if (cell.BorderId != null)
                    {
                        cfl.borderId = int.Parse(cell.BorderId);
                    }
                    if (cell.ApplyAlignment != null)
                    {
                        cfl.applyAlignment = int.Parse(cell.ApplyAlignment);
                    }
                    if (cell.ApplyBorder != null)
                    {
                        cfl.applyBorder = int.Parse(cell.ApplyBorder);
                    }
                    if (cell.ApplyFont != null)
                    {
                        cfl.applyFont = int.Parse(cell.ApplyFont);
                    }
                    if (cell.ApplyNumberFormat != null)
                    {
                        cfl.applyNumberFormat = int.Parse(cell.ApplyNumberFormat);
                    }
                    if (cell.Alignment != null)
                    {
                        string ver = cell.Alignment.Vertical;
                        string hor = cell.Alignment.Horizontal;
                        string wra = cell.Alignment.WrapText;
                        if (!string.IsNullOrEmpty(ver))
                        {
                            if (ver == "center")
                            {
                                cfl.vertical = "htMiddle";
                            }
                            else
                            {
                                cfl.vertical = "ht" + ver.Substring(0, 1).ToUpper() + ver.Substring(1, ver.Length - 1);
                            }
                        }
                        else
                        {
                            cfl.vertical = "htBottom";
                        }
                        if (!string.IsNullOrEmpty(hor))
                        {
                            cfl.horizontal = "ht" + hor.Substring(0, 1).ToUpper() + hor.Substring(1, hor.Length - 1);
                        }
                        else
                        {
                            cfl.horizontal = "htLeft";
                        }
                        cfl.wraptext = wra;
                    }
                    cellFormatsList.Add(cfl);
                    index++;
                }
            }
            #endregion

            #region 数据类型列表
            NumberingFormats   numberFormats = styleSheet.NumberingFormats;
            List <NumFmtsList> numFmtList    = new List <NumFmtsList>();
            if (numberFormats != null)
            {
                foreach (NumberingFormat cell in numberFormats.ChildElements)
                {
                    NumFmtsList nfl = new NumFmtsList();
                    if (cell.NumberFormatId != null)
                    {
                        nfl.numFmtId = (int)cell.NumberFormatId.Value;
                    }
                    if (cell.FormatCode != null)
                    {
                        nfl.formatCode = cell.FormatCode.Value;
                    }
                    numFmtList.Add(nfl);
                }
            }
            #endregion

            #region 字体样式
            Fonts            fonts     = styleSheet.Fonts;
            List <FontsList> fontsList = new List <FontsList>();
            foreach (Font cell in fonts.ChildElements)
            {
                FontsList fl = new FontsList();
                if (cell.FontSize != null)
                {
                    fl.fontsize = cell.FontSize.Val + "px";
                }
                if (cell.FontName != null)
                {
                    fl.fontname = cell.FontName.Val;
                }
                if (cell.Color != null)
                {
                    if (cell.Color.Rgb != null && !string.IsNullOrEmpty(cell.Color.Rgb.ToString()))
                    {
                        fl.color = "#" + cell.Color.Rgb.ToString().Substring(2, 6);
                    }
                }
                if (cell.Italic != null)
                {
                    fl.italic = "italic";
                }
                if (cell.Bold != null)
                {
                    fl.bold = "bold";
                }
                if (cell.Underline != null)
                {
                    fl.underline = "underline";
                }
                fontsList.Add(fl);
            }
            #endregion

            #region 填充色样式
            Fills            fills     = styleSheet.Fills;
            List <FillsList> fillsList = new List <FillsList>();
            foreach (Fill cell in fills.ChildElements)
            {
                FillsList fl = new FillsList();
                if (cell.PatternFill != null)
                {
                    fl.patternType = cell.PatternFill.PatternType;
                    if (cell.PatternFill.ForegroundColor != null)
                    {
                        if (cell.PatternFill.ForegroundColor.Rgb != null)
                        {
                            fl.fgColor = "#" + cell.PatternFill.ForegroundColor.Rgb.ToString().Substring(2, 6);
                        }
                        if (cell.PatternFill.ForegroundColor.Theme != null)
                        {
                            UInt32Value themeIndex = cell.PatternFill.ForegroundColor.Theme;
                            DoubleValue tint       = cell.PatternFill.ForegroundColor.Tint;
                            if (tint != null)
                            {
                                var newColor = ThemeColor.ThemColorDeal(themeIndex, tint, themColor[themeIndex]);
                                fl.fgColor = "#" + newColor.Name.Substring(2, 6);
                                fl.fgColor = "#" + newColor.Name.Substring(2, 6);
                            }
                            else
                            {
                                fl.fgColor = "#" + themColor[themeIndex];
                                fl.fgColor = "#" + themColor[themeIndex];
                            }
                        }
                    }
                }
                fillsList.Add(fl);
            }
            #endregion

            #region 边框样式
            Borders            borders     = styleSheet.Borders;
            List <BordersList> bordersList = new List <BordersList>();
            var defaultBorderStyle         = "1px solid #000";
            foreach (Border cell in borders.ChildElements)
            {
                BordersList bl = new BordersList();
                if (cell.LeftBorder != null)
                {
                    if (cell.LeftBorder.Style != null)
                    {
                        bl.left = defaultBorderStyle;
                    }
                }
                if (cell.RightBorder != null)
                {
                    if (cell.RightBorder.Style != null)
                    {
                        bl.right = defaultBorderStyle;
                    }
                }
                if (cell.TopBorder != null)
                {
                    if (cell.TopBorder.Style != null)
                    {
                        bl.top = defaultBorderStyle;
                    }
                }
                if (cell.BottomBorder != null)
                {
                    if (cell.BottomBorder.Style != null)
                    {
                        bl.bottom = defaultBorderStyle;
                    }
                }
                if (cell.DiagonalBorder != null)
                {
                    if (cell.DiagonalBorder.Style != null)
                    {
                        bl.diagonal = cell.DiagonalBorder.Style;
                    }
                }
                bordersList.Add(bl);
            }
            #endregion

            #endregion

            List <SheetDataList> listSDL  = new List <SheetDataList>();
            List <PictureInfo>   pictures = null;
            //获取多个Sheet数据和样式
            for (int i = 0; i < sheetName.Count; i++)
            {
                //总行数和总列数
                int           RowCount = 0, ColumnCount = 0;
                SheetDataList sdl = new SheetDataList();
                //获取一个工作表的数据
                WorksheetPart worksheet = ExcelHelper.GetWorksheetPartByName(excel, sheetName[i]);

                #region //批注
                WorksheetCommentsPart   comments     = worksheet.WorksheetCommentsPart;
                List <CommentCellsList> commentLists = new List <CommentCellsList>();
                if (comments != null)
                {
                    CommentList commentList = (CommentList)comments.Comments.ChildElements[1];
                    //批注列表
                    foreach (Comment comment in commentList.ChildElements)
                    {
                        CommentCellsList ccl = new CommentCellsList();
                        //坐标
                        var cell      = GetCellXY(comment.Reference).Split('_');
                        var columnRow = int.Parse(cell[0].ToString()) - 1;
                        var columnCol = GetColumnIndex(cell[1]);
                        //批注内容
                        var commentVal = comment.InnerText;
                        ccl.row     = columnRow;
                        ccl.col     = columnCol;
                        ccl.comment = comment.InnerText;
                        //var commentCell = "{\"Row\":\""+ columnRow + "\",\"Col\":\"" + columnCol + ",\"Comment\":\"" + commentVal + "\"}";
                        commentLists.Add(ccl);
                    }
                }
                sdl.Comments = commentLists;
                #endregion

                #region //获取合并单元格
                IEnumerable <MergeCells> mergeCells    = worksheet.Worksheet.Elements <MergeCells>();
                List <MergeCellsList>    mergeCellList = new List <MergeCellsList>();
                if (mergeCells.Count() > 0)
                {
                    for (int k = 0; k < mergeCells.First().ChildElements.Count; k++)
                    {
                        MergeCell      mergeCell = (MergeCell)mergeCells.First().ChildElements[k];
                        var            reference = mergeCell.Reference.ToString().Split(':');
                        var            startCell = GetCellXY(reference[0]).Split('_');
                        var            endCell   = GetCellXY(reference[1]).Split('_');
                        MergeCellsList mcl       = new MergeCellsList();
                        mcl.row     = int.Parse(startCell[0]) - 1;
                        mcl.rowspan = int.Parse(endCell[0]) - int.Parse(startCell[0]) + 1;
                        mcl.col     = GetColumnIndex(startCell[1]);
                        mcl.colspan = GetColumnIndex(endCell[1]) - mcl.col + 1;
                        //mcl.reference = mergeCell.Reference.ToString();
                        mergeCellList.Add(mcl);
                    }
                }
                sdl.MergeCells = mergeCellList;
                #endregion

                #region //读取图片
                DrawingsPart drawingPart = worksheet.GetPartsOfType <DrawingsPart>().ToList().FirstOrDefault();
                pictures = new List <PictureInfo>();
                if (drawingPart != null)
                {
                    int tempIndex = 1;
                    foreach (var part in drawingPart.Parts)
                    {
                        PictureInfo          pic     = new PictureInfo();
                        ImagePart            imgPart = (ImagePart)part.OpenXmlPart;
                        System.Drawing.Image img1    = System.Drawing.Image.FromStream(imgPart.GetStream());

                        var      newFilename = Guid.NewGuid().ToString("N") + ".png";
                        string[] sArray      = Regex.Split(file, "UserFile", RegexOptions.IgnoreCase);
                        string   newFilePath = sArray[0] + "_Temp\\" + newFilename;
                        img1.Save(newFilePath);
                        //pic.Image = img1;
                        pic.RefId     = part.RelationshipId;//"rId" + imgPart.Uri.ToString().Split('/')[3].Split('.')[0].Substring(5);
                        pic.ImageUrl  = newFilePath;
                        pic.ImageName = newFilename;
                        pic.ImgHeight = img1.Height;
                        pic.ImgWidth  = img1.Width;
                        pictures.Add(pic);
                        tempIndex++;
                    }
                    //获取图片定位
                    var worksheetDrawings = drawingPart.WorksheetDrawing.Where(c => c.ChildElements.Any
                                                                                   (a => a.GetType().FullName == "DocumentFormat.OpenXml.Drawing.Spreadsheet.Picture")).ToList();
                    foreach (var worksheetDrawing in worksheetDrawings)
                    {
                        if (worksheetDrawing.GetType().FullName ==
                            "DocumentFormat.OpenXml.Drawing.Spreadsheet.TwoCellAnchor")
                        {
                            TwoCellAnchor anchor = (TwoCellAnchor)worksheetDrawing;
                            DocumentFormat.OpenXml.Drawing.Spreadsheet.Picture picDef =
                                (DocumentFormat.OpenXml.Drawing.Spreadsheet.Picture)
                                anchor.ChildElements.FirstOrDefault(c => c.GetType().FullName ==
                                                                    "DocumentFormat.OpenXml.Drawing.Spreadsheet.Picture");
                            if (picDef != null)
                            {
                                var embed = picDef.BlipFill.Blip.Embed;
                                if (embed != null)
                                {
                                    var picMapping = pictures.FirstOrDefault(c => c.RefId == embed.InnerText);
                                    picMapping.FromCol = int.Parse(anchor.FromMarker.ColumnId.InnerText);
                                    picMapping.FromRow = int.Parse(anchor.FromMarker.RowId.InnerText);
                                }
                            }
                            // anchor.FromMarker.RowId + anchor.FromMarker.ColumnId
                        }
                    }
                }
                sdl.PictureList = pictures;
                #endregion

                //读取列宽
                IEnumerable <Columns> colsList = worksheet.Worksheet.Elements <Columns>();

                #region //读取表格数据
                List <SheetDatas> sheetDatas = new List <SheetDatas>();
                if (worksheet.Rows().Count() > 0)
                {
                    RowCount = int.Parse((worksheet.Rows().Last()).RowId);
                }
                foreach (OpenXmlPowerTools.Row row in worksheet.Rows())
                {
                    int TempColumn = 0;
                    int r          = 0;
                    foreach (OpenXmlPowerTools.Cell cell in row.Cells())
                    {
                        int co = 0;
                        //读取超链接???

                        //读取单元格数据
                        SheetDatas sheetData = new SheetDatas();
                        sheetData.RowId        = int.Parse(row.RowId) - 1;
                        sheetData.ColumnId     = cell.ColumnIndex;
                        sheetData.Column       = cell.Column;
                        sheetData.Type         = cell.Type;
                        sheetData.Value        = cell.Value;
                        sheetData.SharedString = cell.SharedString;
                        sheetData.Formula      = cell.Formula;
                        sheetData.StyleId      = cell.Style;
                        //读取列宽(仅限第一行设置列宽)
                        if (colsList.Count() > 0 && r == 0)
                        {
                            Columns col = colsList.ElementAt <Columns>(0);
                            foreach (Column c in col.ChildElements)
                            {
                                if (c.Max == cell.ColumnIndex)
                                {
                                    sheetData.Width = c.Width;
                                    break;
                                }
                            }
                        }
                        //读取行高(仅限第一列设置行高)
                        if (co == 0)
                        {
                            if (row.RowElement.Attribute("ht") != null)
                            {
                                sheetData.Height = double.Parse(row.RowElement.Attribute("ht").Value);
                            }
                        }
                        #region 样式赋值
                        if (sheetData.StyleId != null)
                        {
                            CellFormatsList cfl = cellFormatsList[(int)sheetData.StyleId];
                            //字体样式
                            sheetData.FontName           = fontsList[cfl.fontId].fontname;
                            sheetData.FontSize           = fontsList[cfl.fontId].fontsize;
                            sheetData.FontColor          = fontsList[cfl.fontId].color;
                            sheetData.FontBold           = fontsList[cfl.fontId].bold;
                            sheetData.Italic             = fontsList[cfl.fontId].italic;
                            sheetData.Underline          = fontsList[cfl.fontId].underline;
                            sheetData.AligmentVertical   = cfl.vertical;
                            sheetData.AligmentHorizontal = cfl.horizontal;
                            sheetData.WrapText           = cfl.wraptext;
                            //背景色样式
                            sheetData.FillType            = fillsList[cfl.fillId].patternType;
                            sheetData.FillForegroundColor = fillsList[cfl.fillId].fgColor;
                            sheetData.FillBackgroundColor = fillsList[cfl.fillId].bgColor;
                            //边框样式
                            sheetData.LeftBorder     = bordersList[cfl.borderId].left;
                            sheetData.RightBorder    = bordersList[cfl.borderId].right;
                            sheetData.TopBorder      = bordersList[cfl.borderId].top;
                            sheetData.BottomBorder   = bordersList[cfl.borderId].bottom;
                            sheetData.DiagonalBorder = bordersList[cfl.borderId].diagonal;
                        }
                        #endregion

                        //识别文字格式???(日期与数字的区别)

                        sheetDatas.Add(sheetData);
                        TempColumn++;
                        co++;
                    }
                    r++;
                    //计算列数
                    if (TempColumn > ColumnCount)
                    {
                        ColumnCount = TempColumn;
                    }
                }
                sdl.SheetData = sheetDatas;
                #endregion

                sdl.SheetName   = sheetName[i];
                sdl.SheetId     = "sheet" + (i + 1);
                sdl.TotalRow    = RowCount < 20 ? 20 : RowCount + 1;
                sdl.TotalColumn = ColumnCount < 15 ? 15 : ColumnCount + 1;
                listSDL.Add(sdl);
            }
            return(listSDL);
        }
        catch (Exception ex)
        {
            throw;
        }
    }
Example #36
0
        // -----------------------------------------------------------------------------------------
        // http://polymathprogrammer.com/2010/11/10/how-to-insert-multiple-images-in-excel-open-xml/
        // November 10, 2010 by Vincent Tan
        // -----------------------------------------------------------------------------------------
        // Funcion to insert an .jpg image into an EXCEL worksheet
        private void InsertImage(WorksheetPart worksheetpart, string imagepath)
        {
            long             xpos      = 4000000;
            long             ypos      = 100000;
            Worksheet        worksheet = worksheetpart.Worksheet;
            DrawingsPart     dp;
            ImagePart        imgp;
            WorksheetDrawing wsd;
            ImagePartType    ipt = ImagePartType.Jpeg;

            // Create new or use existing Drawing part
            if (worksheetpart.DrawingsPart == null)
            {
                dp   = worksheetpart.AddNewPart <DrawingsPart>();
                imgp = dp.AddImagePart(ipt, worksheetpart.GetIdOfPart(dp));
                wsd  = new WorksheetDrawing();
            }
            else
            {
                dp   = worksheetpart.DrawingsPart;
                imgp = dp.AddImagePart(ipt);
                dp.CreateRelationshipToPart(imgp);
                wsd = dp.WorksheetDrawing;
            }

            using (FileStream fs = new FileStream(imagepath, FileMode.Open)) { imgp.FeedData(fs); }

            int imageNumber = dp.ImageParts.Count <ImagePart>();

            if (imageNumber == 1)
            {
                Drawing drawing = new Drawing();
                drawing.Id = dp.GetIdOfPart(imgp);
                worksheet.Append(drawing);
            }

            NonVisualDrawingProperties nvdp = new NonVisualDrawingProperties();

            nvdp.Id          = new UInt32Value((uint)(1024 + imageNumber));
            nvdp.Name        = "Picture " + imageNumber.ToString();
            nvdp.Description = "";
            DocumentFormat.OpenXml.Drawing.PictureLocks picLocks = new DocumentFormat.OpenXml.Drawing.PictureLocks();
            picLocks.NoChangeAspect     = true;
            picLocks.NoChangeArrowheads = true;
            NonVisualPictureDrawingProperties nvpdp = new NonVisualPictureDrawingProperties();

            nvpdp.PictureLocks = picLocks;
            NonVisualPictureProperties nvpp = new NonVisualPictureProperties();

            nvpp.NonVisualDrawingProperties        = nvdp;
            nvpp.NonVisualPictureDrawingProperties = nvpdp;

            DocumentFormat.OpenXml.Drawing.Stretch stretch = new DocumentFormat.OpenXml.Drawing.Stretch();
            stretch.FillRectangle = new DocumentFormat.OpenXml.Drawing.FillRectangle();

            BlipFill blipFill = new BlipFill();

            DocumentFormat.OpenXml.Drawing.Blip blip = new DocumentFormat.OpenXml.Drawing.Blip();
            blip.Embed               = dp.GetIdOfPart(imgp);
            blip.CompressionState    = DocumentFormat.OpenXml.Drawing.BlipCompressionValues.Print;
            blipFill.Blip            = blip;
            blipFill.SourceRectangle = new DocumentFormat.OpenXml.Drawing.SourceRectangle();
            blipFill.Append(stretch);

            DocumentFormat.OpenXml.Drawing.Transform2D t2d    = new DocumentFormat.OpenXml.Drawing.Transform2D();
            DocumentFormat.OpenXml.Drawing.Offset      offset = new DocumentFormat.OpenXml.Drawing.Offset();
            offset.X   = 0;
            offset.Y   = 0;
            t2d.Offset = offset;
            Bitmap bm = new Bitmap(imagepath);

            DocumentFormat.OpenXml.Drawing.Extents extents = new DocumentFormat.OpenXml.Drawing.Extents();

            extents.Cx = (long)bm.Width * (long)((float)914400 / bm.HorizontalResolution);
            extents.Cy = (long)bm.Height * (long)((float)914400 / bm.VerticalResolution);

            bm.Dispose();
            t2d.Extents = extents;
            ShapeProperties sp = new ShapeProperties();

            sp.BlackWhiteMode = DocumentFormat.OpenXml.Drawing.BlackWhiteModeValues.Auto;
            sp.Transform2D    = t2d;
            DocumentFormat.OpenXml.Drawing.PresetGeometry prstGeom = new DocumentFormat.OpenXml.Drawing.PresetGeometry();
            prstGeom.Preset          = DocumentFormat.OpenXml.Drawing.ShapeTypeValues.Rectangle;
            prstGeom.AdjustValueList = new DocumentFormat.OpenXml.Drawing.AdjustValueList();
            sp.Append(prstGeom);
            sp.Append(new DocumentFormat.OpenXml.Drawing.NoFill());

            DocumentFormat.OpenXml.Drawing.Spreadsheet.Picture picture = new DocumentFormat.OpenXml.Drawing.Spreadsheet.Picture();
            picture.NonVisualPictureProperties = nvpp;
            picture.BlipFill        = blipFill;
            picture.ShapeProperties = sp;

            Position pos = new Position();

            pos.X = xpos;
            pos.Y = ypos;
            Extent ext = new Extent();

            ext.Cx = extents.Cx;
            ext.Cy = extents.Cy;
            AbsoluteAnchor anchor = new AbsoluteAnchor();

            anchor.Position = pos;
            anchor.Extent   = ext;
            anchor.Append(picture);
            anchor.Append(new ClientData());
            wsd.Append(anchor);
            wsd.Save(dp);
        }