Пример #1
0
            public override LockCells ToCellGroup(Utilities.ArraySegment <string> row)
            {
                var cells = new LockCells();

                cells.Aspect          = row[this.Aspect];
                cells.Begin           = row[this.Begin];
                cells.CalcWH          = row[this.CalcWH];
                cells.Crop            = row[this.Crop];
                cells.CustProp        = row[this.CustomProp];
                cells.Delete          = row[this.Delete];
                cells.End             = row[this.End];
                cells.Format          = row[this.Format];
                cells.FromGroupFormat = row[this.FromGroupFormat];
                cells.Group           = row[this.Group];
                cells.Height          = row[this.Height];
                cells.MoveX           = row[this.MoveX];
                cells.MoveY           = row[this.MoveY];
                cells.Rotate          = row[this.Rotate];
                cells.Select          = row[this.Select];
                cells.TextEdit        = row[this.TextEdit];
                cells.ThemeColors     = row[this.ThemeColors];
                cells.ThemeEffects    = row[this.ThemeEffects];
                cells.VertexEdit      = row[this.VertexEdit];
                cells.Width           = row[this.Width];
                return(cells);
            }
Пример #2
0
 protected override void _fill_segment_with_item(Utilities.ArraySegment <short> seg, SidSrc item)
 {
     seg[0] = item.ShapeID;
     seg[1] = item.Src.Section;
     seg[2] = item.Src.Row;
     seg[3] = item.Src.Cell;
 }
Пример #3
0
            public override ShapeFormatCells ToCellGroup(Utilities.ArraySegment <string> row)
            {
                var cells = new ShapeFormatCells();

                cells.FillBackground             = row[this.FillBackground];
                cells.FillBackgroundTransparency = row[this.FillBackgroundTransparency];
                cells.FillForeground             = row[this.FillForeground];
                cells.FillForegroundTransparency = row[this.FillForegroundTransparency];
                cells.FillPattern                      = row[this.FillPattern];
                cells.FillShadowObliqueAngle           = row[this.FillShadowObliqueAngle];
                cells.FillShadowOffsetX                = row[this.FillShadowOffsetX];
                cells.FillShadowOffsetY                = row[this.FillShadowOffsetY];
                cells.FillShadowScaleFactor            = row[this.FillShadowScaleFactor];
                cells.FillShadowType                   = row[this.FillShadowType];
                cells.FillShadowBackground             = row[this.FillShadowBackground];
                cells.FillShadowBackgroundTransparency = row[this.FillShadowBackgroundTransparency];
                cells.FillShadowForeground             = row[this.FillShadowForeground];
                cells.FillShadowForegroundTransparency = row[this.FillShadowForegroundTransparency];
                cells.FillShadowPattern                = row[this.FillShadowPattern];
                cells.LineBeginArrow                   = row[this.LineBeginArrow];
                cells.LineBeginArrowSize               = row[this.LineBeginArrowSize];
                cells.LineEndArrow                     = row[this.LineEndArrow];
                cells.LineEndArrowSize                 = row[this.LineEndArrowSize];
                cells.LineCap               = row[this.LineCap];
                cells.LineColor             = row[this.LineColor];
                cells.LineColorTransparency = row[this.LineColorTransparency];
                cells.LinePattern           = row[this.LinePattern];
                cells.LineWeight            = row[this.LineWeight];
                cells.LineRounding          = row[this.LineRounding];
                return(cells);
            }
Пример #4
0
            public override PageLayoutCells ToCellGroup(Utilities.ArraySegment <string> row)
            {
                var cells = new PageLayoutCells();

                cells.AvenueSizeX     = row[this.AvenueSizeX];
                cells.AvenueSizeY     = row[this.AvenueSizeY];
                cells.BlockSizeX      = row[this.BlockSizeX];
                cells.BlockSizeY      = row[this.BlockSizeY];
                cells.CtrlAsInput     = row[this.ControlAsInput];
                cells.DynamicsOff     = row[this.DynamicsOff];
                cells.EnableGrid      = row[this.EnableGrid];
                cells.LineAdjustFrom  = row[this.LineAdjustFrom];
                cells.LineAdjustTo    = row[this.LineAdjustTo];
                cells.LineJumpCode    = row[this.LineJumpCode];
                cells.LineJumpFactorX = row[this.LineJumpFactorX];
                cells.LineJumpFactorY = row[this.LineJumpFactorY];
                cells.LineJumpStyle   = row[this.LineJumpStyle];
                cells.LineRouteExt    = row[this.LineRouteExt];
                cells.LineToLineX     = row[this.LineToLineX];
                cells.LineToLineY     = row[this.LineToLineY];
                cells.LineToNodeX     = row[this.LineToNodeX];
                cells.LineToNodeY     = row[this.LineToNodeY];
                cells.LineJumpDirX    = row[this.LineJumpDirX];
                cells.LineJumpDirY    = row[this.LineJumpDirY];
                cells.PageShapeSplit  = row[this.ShapeSplit];
                cells.PlaceDepth      = row[this.PlaceDepth];
                cells.PlaceFlip       = row[this.PlaceFlip];
                cells.PlaceStyle      = row[this.PlaceStyle];
                cells.PlowCode        = row[this.PlowCode];
                cells.ResizePage      = row[this.ResizePage];
                cells.RouteStyle      = row[this.RouteStyle];
                cells.AvoidPageBreaks = row[this.AvoidPageBreaks];
                return(cells);
            }
            public override UserDefinedCellCells ToCellGroup(Utilities.ArraySegment <string> row)
            {
                var cells = new UserDefinedCellCells();

                cells.Value  = row[this.Value];
                cells.Prompt = row[this.Prompt];
                return(cells);
            }
Пример #6
0
            public override ConnectionPointCells ToCellGroup(Utilities.ArraySegment <string> row)
            {
                var cells = new ConnectionPointCells();

                cells.X    = row[this.X];
                cells.Y    = row[this.Y];
                cells.DirX = row[this.DirX];
                cells.DirY = row[this.DirY];
                cells.Type = row[this.Type];

                return(cells);
            }
Пример #7
0
            public override ShapeXFormCells ToCellGroup(Utilities.ArraySegment <string> row)
            {
                var cells = new ShapeXFormCells();

                cells.PinX    = row[this.PinX];
                cells.PinY    = row[this.PinY];
                cells.LocPinX = row[this.LocPinX];
                cells.LocPinY = row[this.LocPinY];
                cells.Width   = row[this.Width];
                cells.Height  = row[this.Height];
                cells.Angle   = row[this.Angle];
                return(cells);
            }
Пример #8
0
            public override ControlCells ToCellGroup(Utilities.ArraySegment <string> row)
            {
                var cells = new ControlCells();

                cells.CanGlue   = row[this.CanGlue];
                cells.Tip       = row[this.Tip];
                cells.X         = row[this.X];
                cells.Y         = row[this.Y];
                cells.YBehavior = row[this.YBehavior];
                cells.XBehavior = row[this.XBehavior];
                cells.XDynamics = row[this.XDynamics];
                cells.YDynamics = row[this.YDynamics];
                return(cells);
            }
Пример #9
0
            public override HyperlinkCells ToCellGroup(Utilities.ArraySegment <string> row)
            {
                var cells = new HyperlinkCells();

                cells.Address     = row[this.Address];
                cells.Description = row[this.Description];
                cells.ExtraInfo   = row[this.ExtraInfo];
                cells.Frame       = row[this.Frame];
                cells.SortKey     = row[this.SortKey];
                cells.SubAddress  = row[this.SubAddress];
                cells.NewWindow   = row[this.NewWindow];
                cells.Default     = row[this.Default];
                cells.Invisible   = row[this.Invisible];

                return(cells);
            }
Пример #10
0
            public override CustomPropertyCells ToCellGroup(Utilities.ArraySegment <string> row)
            {
                var cells = new CustomPropertyCells();

                cells.Value     = row[this.Value];
                cells.Calendar  = row[this.Calendar];
                cells.Format    = row[this.Format];
                cells.Invisible = row[this.Invis];
                cells.Label     = row[this.Label];
                cells.LangID    = row[this.LangID];
                cells.Prompt    = row[this.Prompt];
                cells.SortKey   = row[this.SortKey];
                cells.Type      = row[this.Type];
                cells.Ask       = row[this.Ask];
                return(cells);
            }
Пример #11
0
            public override PageRulerAndGridCells ToCellGroup(Utilities.ArraySegment <string> row)
            {
                var cells = new PageRulerAndGridCells();

                cells.XGridDensity  = row[this.XGridDensity];
                cells.XGridOrigin   = row[this.XGridOrigin];
                cells.XGridSpacing  = row[this.XGridSpacing];
                cells.XRulerDensity = row[this.XRulerDensity];
                cells.XRulerOrigin  = row[this.XRulerOrigin];
                cells.YGridDensity  = row[this.YGridDensity];
                cells.YGridOrigin   = row[this.YGridOrigin];
                cells.YGridSpacing  = row[this.YGridSpacing];
                cells.YRulerDensity = row[this.YRulerDensity];
                cells.YRulerOrigin  = row[this.YRulerOrigin];
                return(cells);
            }
Пример #12
0
            public override PageFormatCells ToCellGroup(Utilities.ArraySegment <string> row)
            {
                var cells = new PageFormatCells();

                cells.DrawingScale       = row[this.DrawingScale];
                cells.DrawingScaleType   = row[this.DrawingScaleType];
                cells.DrawingSizeType    = row[this.DrawingSizeType];
                cells.InhibitSnap        = row[this.InhibitSnap];
                cells.Height             = row[this.Height];
                cells.Scale              = row[this.Scale];
                cells.Width              = row[this.Width];
                cells.ShadowObliqueAngle = row[this.ShadowObliqueAngle];
                cells.ShadowOffsetX      = row[this.ShadowOffsetX];
                cells.ShadowOffsetY      = row[this.ShadowOffsetY];
                cells.ShadowScaleFactor  = row[this.ShadowScaleFactor];
                cells.ShadowType         = row[this.ShadowType];
                cells.UIVisibility       = row[this.UIVisibility];
                cells.DrawingResizeType  = row[this.DrawingResizeType];
                return(cells);
            }
Пример #13
0
            public override PagePrintCells ToCellGroup(Utilities.ArraySegment <string> row)
            {
                var cells = new PagePrintCells();

                cells.LeftMargin   = row[this.LeftMargin];
                cells.CenterX      = row[this.CenterX];
                cells.CenterY      = row[this.CenterY];
                cells.OnPage       = row[this.OnPage];
                cells.BottomMargin = row[this.BottomMargin];
                cells.RightMargin  = row[this.RightMargin];
                cells.PagesX       = row[this.PagesX];
                cells.PagesY       = row[this.PagesY];
                cells.TopMargin    = row[this.TopMargin];
                cells.PaperKind    = row[this.PaperKind];
                cells.Grid         = row[this.Grid];
                cells.Orientation  = row[this.PageOrientation];
                cells.ScaleX       = row[this.ScaleX];
                cells.ScaleY       = row[this.ScaleY];
                cells.PaperSource  = row[this.PaperSource];
                return(cells);
            }
Пример #14
0
            public override ShapeLayoutCells ToCellGroup(Utilities.ArraySegment <string> row)
            {
                var cells = new ShapeLayoutCells();

                cells.ConnectorFixedCode  = row[this.ConnectorFixedCode];
                cells.LineJumpCode        = row[this.LineJumpCode];
                cells.LineJumpDirX        = row[this.LineJumpDirX];
                cells.LineJumpDirY        = row[this.LineJumpDirY];
                cells.LineJumpStyle       = row[this.LineJumpStyle];
                cells.LineRouteExt        = row[this.LineRouteExt];
                cells.ShapeFixedCode      = row[this.ShapeFixedCode];
                cells.ShapePermeablePlace = row[this.ShapePermeablePlace];
                cells.ShapePermeableX     = row[this.ShapePermeableX];
                cells.ShapePermeableY     = row[this.ShapePermeableY];
                cells.ShapePlaceFlip      = row[this.ShapePlaceFlip];
                cells.ShapePlaceStyle     = row[this.ShapePlaceStyle];
                cells.ShapePlowCode       = row[this.ShapePlowCode];
                cells.ShapeRouteStyle     = row[this.ShapeRouteStyle];
                cells.ShapeSplit          = row[this.ShapeSplit];
                cells.ShapeSplittable     = row[this.ShapeSplittable];
                cells.ShapeDisplayLevel   = row[this.ShapeDisplayLevel];
                cells.Relationships       = row[this.Relationships];
                return(cells);
            }
Пример #15
0
 protected abstract void _fill_segment_with_item(Utilities.ArraySegment <short> seg, T item);