public override LockCells CellDataToCellGroup(VisioAutomation.Utilities.ArraySegment <ShapeSheet.CellData> row)
        {
            var cells = new LockCells();

            cells.LockAspect          = row[this.LockAspect];
            cells.LockBegin           = row[this.LockBegin];
            cells.LockCalcWH          = row[this.LockCalcWH];
            cells.LockCrop            = row[this.LockCrop];
            cells.LockCustProp        = row[this.LockCustomProp];
            cells.LockDelete          = row[this.LockDelete];
            cells.LockEnd             = row[this.LockEnd];
            cells.LockFormat          = row[this.LockFormat];
            cells.LockFromGroupFormat = row[this.LockFromGroupFormat];
            cells.LockGroup           = row[this.LockGroup];
            cells.LockHeight          = row[this.LockHeight];
            cells.LockMoveX           = row[this.LockMoveX];
            cells.LockMoveY           = row[this.LockMoveY];
            cells.LockRotate          = row[this.LockRotate];
            cells.LockSelect          = row[this.LockSelect];
            cells.LockTextEdit        = row[this.LockTextEdit];
            cells.LockThemeColors     = row[this.LockThemeColors];
            cells.LockThemeEffects    = row[this.LockThemeEffects];
            cells.LockVertexEdit      = row[this.LockVertexEdit];
            cells.LockWidth           = row[this.LockWidth];
            return(cells);
        }
Example #2
0
        public override Shapes.ShapeFormatCells CellDataToCellGroup(VisioAutomation.Utilities.ArraySegment <ShapeSheet.CellData> row)
        {
            var cells = new Shapes.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.LineColorTrans];
            cells.LinePattern           = row[this.LinePattern];
            cells.LineWeight            = row[this.LineWeight];
            cells.LineRounding          = row[this.LineRounding];
            return(cells);
        }
Example #3
0
        public override Text.CharacterCells CellDataToCellGroup(VisioAutomation.Utilities.ArraySegment <ShapeSheet.CellData> row)
        {
            var cells = new Text.CharacterCells();

            cells.Color             = row[this.Color];
            cells.ColorTransparency = row[this.Trans];
            cells.Font                = row[this.Font];
            cells.Size                = row[this.Size];
            cells.Style               = row[this.Style];
            cells.AsianFont           = row[this.AsianFont];
            cells.AsianFont           = row[this.AsianFont];
            cells.Case                = row[this.Case];
            cells.ComplexScriptFont   = row[this.ComplexScriptFont];
            cells.ComplexScriptSize   = row[this.ComplexScriptSize];
            cells.DoubleStrikeThrough = row[this.DoubleStrikethrough];
            cells.DoubleUnderline     = row[this.DoubleUnderline];
            cells.FontScale           = row[this.FontScale];
            cells.LangID              = row[this.LangID];
            cells.Letterspace         = row[this.Letterspace];
            cells.Locale              = row[this.Locale];
            cells.LocalizeFont        = row[this.LocalizeFont];
            cells.Overline            = row[this.Overline];
            cells.Perpendicular       = row[this.Perpendicular];
            cells.Pos         = row[this.Pos];
            cells.RtlText     = row[this.RtlText];
            cells.Strikethru  = row[this.Strikethru];
            cells.UseVertical = row[this.UseVertical];

            return(cells);
        }
Example #4
0
        public override Pages.PageLayoutCells CellDataToCellGroup(VisioAutomation.Utilities.ArraySegment <ShapeSheet.CellData> row)
        {
            var cells = new Pages.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);
        }
Example #5
0
        public override Shapes.UserDefinedCells.UserDefinedCell CellDataToCellGroup(VisioAutomation.Utilities.ArraySegment <ShapeSheet.CellData> row)
        {
            var cells = new Shapes.UserDefinedCells.UserDefinedCell();

            cells.Value  = row[this.Value];
            cells.Prompt = row[this.Prompt];
            return(cells);
        }
Example #6
0
        public override ConnectionPointCells CellDataToCellGroup(VisioAutomation.Utilities.ArraySegment <ShapeSheet.CellData> 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);
        }
Example #7
0
        public VisioAutomation.Utilities.ArraySegment <T> GetNextSegment(int size)
        {
            if (this.pos + size > this.array.Length)
            {
                throw new System.ArgumentOutOfRangeException(nameof(size));
            }
            var seg = new VisioAutomation.Utilities.ArraySegment <T>(this.array, this.pos, size);

            this.pos    += size;
            this._count += size;
            return(seg);
        }
Example #8
0
            public override Text.TextXFormCells ToCellGroup(VisioAutomation.Utilities.ArraySegment <string> row)
            {
                var cells = new Text.TextXFormCells();

                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);
            }
Example #9
0
        public override XFormCells CellDataToCellGroup(VisioAutomation.Utilities.ArraySegment <ShapeSheet.CellData> row)
        {
            var cells = new Shapes.XFormCells();

            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);
        }
Example #10
0
        public override ControlCells CellDataToCellGroup(VisioAutomation.Utilities.ArraySegment <ShapeSheet.CellData> 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);
        }
Example #11
0
            public override Text.TextBlockCells ToCellGroup(VisioAutomation.Utilities.ArraySegment <string> row)
            {
                var cells = new Text.TextBlockCells();

                cells.BottomMargin           = row[this.BottomMargin];
                cells.LeftMargin             = row[this.LeftMargin];
                cells.RightMargin            = row[this.RightMargin];
                cells.TopMargin              = row[this.TopMargin];
                cells.DefaultTabStop         = row[this.DefaultTabStop];
                cells.Background             = row[this.Background];
                cells.BackgroundTransparency = row[this.BackgroundTransparency];
                cells.Direction              = row[this.Direction];
                cells.VerticalAlign          = row[this.VerticalAlign];
                return(cells);
            }
Example #12
0
        public override CustomPropertyCells CellDataToCellGroup(VisioAutomation.Utilities.ArraySegment <ShapeSheet.CellData> 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);
        }
Example #13
0
        public override PageRulerAndGridCells CellDataToCellGroup(VisioAutomation.Utilities.ArraySegment <ShapeSheet.CellData> row)
        {
            var cells = new Pages.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);
        }
Example #14
0
        public override HyperlinkCells CellDataToCellGroup(VisioAutomation.Utilities.ArraySegment <ShapeSheet.CellData> row)
        {
            var cells = new HyperlinkCells();

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

            return(cells);
        }
Example #15
0
        public override Pages.PageFormatCells CellDataToCellGroup(VisioAutomation.Utilities.ArraySegment <ShapeSheet.CellData> row)
        {
            var cells = new Pages.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);
        }
            public override Text.ParagraphFormatCells ToCellGroup(VisioAutomation.Utilities.ArraySegment <string> row)
            {
                var cells = new Text.ParagraphFormatCells();

                cells.IndentFirst        = row[this.IndentFirst];
                cells.IndentLeft         = row[this.IndentLeft];
                cells.IndentRight        = row[this.IndentRight];
                cells.SpacingAfter       = row[this.SpaceAfter];
                cells.SpacingBefore      = row[this.SpaceBefore];
                cells.SpacingLine        = row[this.SpaceLine];
                cells.HorizontalAlign    = row[this.HorizontalAlign];
                cells.Bullet             = row[this.Bullet];
                cells.BulletFont         = row[this.BulletFont];
                cells.BulletFontSize     = row[this.BulletFontSize];
                cells.LocalizeBulletFont = row[this.LocalizeBulletFont];
                cells.TextPosAfterBullet = row[this.TextPosAfterBullet];
                cells.Flags        = row[this.Flags];
                cells.BulletString = row[this.BulletString];

                return(cells);
            }
Example #17
0
        public override Pages.PagePrintCells CellDataToCellGroup(VisioAutomation.Utilities.ArraySegment <ShapeSheet.CellData> row)
        {
            var cells = new Pages.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);
        }
Example #18
0
 public override ShapeLayoutCells CellDataToCellGroup(VisioAutomation.Utilities.ArraySegment<ShapeSheet.CellData> 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;
 }
Example #19
0
 public abstract TGroup ToCellGroup(VisioAutomation.Utilities.ArraySegment <string> row);
        public override Pages.PageCells CellDataToCellGroup(VisioAutomation.Utilities.ArraySegment <ShapeSheet.CellData> row)
        {
            var cells = new Pages.PageCells();

            cells.PrintLeftMargin           = row[this.PrintLeftMargin];
            cells.PrintCenterX              = row[this.PrintCenterX];
            cells.PrintCenterY              = row[this.PrintCenterY];
            cells.PrintOnPage               = row[this.PrintOnPage];
            cells.PrintBottomMargin         = row[this.PrintBottomMargin];
            cells.PrintRightMargin          = row[this.PrintRightMargin];
            cells.PrintPagesX               = row[this.PrintPagesX];
            cells.PrintPagesY               = row[this.PrintPagesY];
            cells.PrintTopMargin            = row[this.PrintTopMargin];
            cells.PrintPaperKind            = row[this.PrintPaperKind];
            cells.PrintGrid                 = row[this.PrintGrid];
            cells.PrintPageOrientation      = row[this.PrintPageOrientation];
            cells.PrintScaleX               = row[this.PrintScaleX];
            cells.PrintScaleY               = row[this.PrintScaleY];
            cells.PrintPaperSource          = row[this.PrintPaperSource];
            cells.PageDrawingScale          = row[this.PageDrawingScale];
            cells.PageDrawingScaleType      = row[this.PageDrawingScaleType];
            cells.PageDrawingSizeType       = row[this.PageDrawingSizeType];
            cells.PageInhibitSnap           = row[this.PageInhibitSnap];
            cells.PageHeight                = row[this.PageHeight];
            cells.PageScale                 = row[this.PageScale];
            cells.PageWidth                 = row[this.PageWidth];
            cells.PageShadowObliqueAngle    = row[this.PageShadowObliqueAngle];
            cells.PageShadowOffsetX         = row[this.PageShadowOffsetX];
            cells.PageShadowOffsetY         = row[this.PageShadowOffsetY];
            cells.PageShadowScaleFactor     = row[this.PageShadowScaleFactor];
            cells.PageShadowType            = row[this.PageShadowType];
            cells.PageUIVisibility          = row[this.PageUIVisibility];
            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];
            cells.PageLayoutAvenueSizeX     = row[this.PageLayoutAvenueSizeX];
            cells.PageLayoutAvenueSizeY     = row[this.PageLayoutAvenueSizeY];
            cells.PageLayoutBlockSizeX      = row[this.PageLayoutBlockSizeX];
            cells.PageLayoutBlockSizeY      = row[this.PageLayoutBlockSizeY];
            cells.PageLayoutCtrlAsInput     = row[this.PageLayoutControlAsInput];
            cells.PageLayoutDynamicsOff     = row[this.PageLayoutDynamicsOff];
            cells.PageLayoutEnableGrid      = row[this.PageLayoutEnableGrid];
            cells.PageLayoutLineAdjustFrom  = row[this.PageLayoutLineAdjustFrom];
            cells.PageLayoutLineAdjustTo    = row[this.PageLayoutLineAdjustTo];
            cells.PageLayoutLineJumpCode    = row[this.PageLayoutLineJumpCode];
            cells.PageLayoutLineJumpFactorX = row[this.PageLayoutLineJumpFactorX];
            cells.PageLayoutLineJumpFactorY = row[this.PageLayoutLineJumpFactorY];
            cells.PageLayoutLineJumpStyle   = row[this.PageLayoutLineJumpStyle];
            cells.PageLayoutLineRouteExt    = row[this.PageLayoutLineRouteExt];
            cells.PageLayoutLineToLineX     = row[this.PageLayoutLineToLineX];
            cells.PageLayoutLineToLineY     = row[this.PageLayoutLineToLineY];
            cells.PageLayoutLineToNodeX     = row[this.PageLayoutLineToNodeX];
            cells.PageLayoutLineToNodeY     = row[this.PageLayoutLineToNodeY];
            cells.PageLayoutLineJumpDirX    = row[this.PageLayoutLineJumpDirX];
            cells.PageLayoutLineJumpDirY    = row[this.PageLayoutLineJumpDirY];
            cells.PageLayoutPageShapeSplit  = row[this.PageLayoutShapeSplit];
            cells.PageLayoutPlaceDepth      = row[this.PageLayoutPlaceDepth];
            cells.PageLayoutPlaceFlip       = row[this.PageLayoutPlaceFlip];
            cells.PageLayoutPlaceStyle      = row[this.PageLayoutPlaceStyle];
            cells.PageLayoutPlowCode        = row[this.PageLayoutPlowCode];
            cells.PageLayoutResizePage      = row[this.PageLayoutResizePage];
            cells.PageLayoutRouteStyle      = row[this.PageLayoutRouteStyle];
            cells.PageLayoutAvoidPageBreaks = row[this.PageLayoutAvoidPageBreaks];
            cells.PageDrawingResizeType     = row[this.PageDrawingResizeType];
            return(cells);
        }
Example #21
0
 public abstract TCellGroup CellDataToCellGroup(VisioAutomation.Utilities.ArraySegment <ShapeSheet.CellData> row);
Example #22
0
 internal SubQueryOutputRow(VisioAutomation.Utilities.ArraySegment <T> cells, IVisio.VisSectionIndices sectionindex, int rowindex)
 {
     this.Cells        = cells;
     this.SectionIndex = sectionindex;
     this.RowIndex     = rowindex;
 }
Example #23
0
 internal CellQueryOutput(int shape_id, int count, VisioAutomation.Utilities.ArraySegment <T> cells) : base(shape_id, count)
 {
     this.Cells = cells;
 }