Exemplo n.º 1
0
            public override LockCells ToCellGroup(ShapeSheet.Query.Row <string> row, VisioAutomation.ShapeSheet.Query.Columns cols)
            {
                var cells        = new LockCells();
                var getcellvalue = VisioAutomation.ShapeSheet.CellGroups.CellGroup.row_to_cellgroup(row, cols);

                cells.Aspect          = getcellvalue(nameof(LockCells.Aspect));
                cells.Begin           = getcellvalue(nameof(LockCells.Begin));
                cells.CalcWH          = getcellvalue(nameof(LockCells.CalcWH));
                cells.Crop            = getcellvalue(nameof(LockCells.Crop));
                cells.CustProp        = getcellvalue(nameof(LockCells.CustProp));
                cells.Delete          = getcellvalue(nameof(LockCells.Delete));
                cells.End             = getcellvalue(nameof(LockCells.End));
                cells.Format          = getcellvalue(nameof(LockCells.Format));
                cells.FromGroupFormat = getcellvalue(nameof(LockCells.FromGroupFormat));
                cells.Group           = getcellvalue(nameof(LockCells.Group));
                cells.Height          = getcellvalue(nameof(LockCells.Height));
                cells.MoveX           = getcellvalue(nameof(LockCells.MoveX));
                cells.MoveY           = getcellvalue(nameof(LockCells.MoveY));
                cells.Rotate          = getcellvalue(nameof(LockCells.Rotate));
                cells.Select          = getcellvalue(nameof(LockCells.Select));
                cells.TextEdit        = getcellvalue(nameof(LockCells.TextEdit));
                cells.ThemeColors     = getcellvalue(nameof(LockCells.ThemeColors));
                cells.ThemeEffects    = getcellvalue(nameof(LockCells.ThemeEffects));
                cells.VertexEdit      = getcellvalue(nameof(LockCells.VertexEdit));
                cells.Width           = getcellvalue(nameof(LockCells.Width));
                return(cells);
            }
Exemplo n.º 2
0
            public override HyperlinkCells ToCellGroup(VASS.Query.Row <string> row, VASS.Query.Columns cols)
            {
                var cells        = new HyperlinkCells();
                var getcellvalue = VASS.CellGroups.CellGroup.row_to_cellgroup(row, cols);


                cells.Address     = getcellvalue(nameof(HyperlinkCells.Address));
                cells.Description = getcellvalue(nameof(HyperlinkCells.Description));
                cells.ExtraInfo   = getcellvalue(nameof(HyperlinkCells.ExtraInfo));
                cells.Frame       = getcellvalue(nameof(HyperlinkCells.Frame));
                cells.SortKey     = getcellvalue(nameof(HyperlinkCells.SortKey));
                cells.SubAddress  = getcellvalue(nameof(HyperlinkCells.SubAddress));
                cells.NewWindow   = getcellvalue(nameof(HyperlinkCells.NewWindow));
                cells.Default     = getcellvalue(nameof(HyperlinkCells.Default));
                cells.Invisible   = getcellvalue(nameof(HyperlinkCells.Invisible));

                return(cells);
            }
Exemplo n.º 3
0
            public override PageLayoutCells ToCellGroup(ShapeSheet.Query.Row <string> row, VisioAutomation.ShapeSheet.Query.Columns cols)
            {
                var cells        = new PageLayoutCells();
                var getcellvalue = VisioAutomation.ShapeSheet.CellGroups.CellGroup.row_to_cellgroup(row, cols);


                cells.AvenueSizeX     = getcellvalue(nameof(PageLayoutCells.AvenueSizeX));
                cells.AvenueSizeY     = getcellvalue(nameof(PageLayoutCells.AvenueSizeY));
                cells.BlockSizeX      = getcellvalue(nameof(PageLayoutCells.BlockSizeX));
                cells.BlockSizeY      = getcellvalue(nameof(PageLayoutCells.BlockSizeY));
                cells.CtrlAsInput     = getcellvalue(nameof(PageLayoutCells.CtrlAsInput));
                cells.DynamicsOff     = getcellvalue(nameof(PageLayoutCells.DynamicsOff));
                cells.EnableGrid      = getcellvalue(nameof(PageLayoutCells.EnableGrid));
                cells.LineAdjustFrom  = getcellvalue(nameof(PageLayoutCells.LineAdjustFrom));
                cells.LineAdjustTo    = getcellvalue(nameof(PageLayoutCells.LineAdjustTo));
                cells.LineJumpCode    = getcellvalue(nameof(PageLayoutCells.LineJumpCode));
                cells.LineJumpFactorX = getcellvalue(nameof(PageLayoutCells.LineJumpFactorX));
                cells.LineJumpFactorY = getcellvalue(nameof(PageLayoutCells.LineJumpFactorY));
                cells.LineJumpStyle   = getcellvalue(nameof(PageLayoutCells.LineJumpStyle));
                cells.LineRouteExt    = getcellvalue(nameof(PageLayoutCells.LineRouteExt));
                cells.LineToLineX     = getcellvalue(nameof(PageLayoutCells.LineToLineX));
                cells.LineToLineY     = getcellvalue(nameof(PageLayoutCells.LineToLineY));
                cells.LineToNodeX     = getcellvalue(nameof(PageLayoutCells.LineToNodeX));
                cells.LineToNodeY     = getcellvalue(nameof(PageLayoutCells.LineToNodeY));
                cells.LineJumpDirX    = getcellvalue(nameof(PageLayoutCells.LineJumpDirX));
                cells.LineJumpDirY    = getcellvalue(nameof(PageLayoutCells.LineJumpDirY));
                cells.PageShapeSplit  = getcellvalue(nameof(PageLayoutCells.PageShapeSplit));
                cells.PlaceDepth      = getcellvalue(nameof(PageLayoutCells.PlaceDepth));
                cells.PlaceFlip       = getcellvalue(nameof(PageLayoutCells.PlaceFlip));
                cells.PlaceStyle      = getcellvalue(nameof(PageLayoutCells.PlaceStyle));
                cells.PlowCode        = getcellvalue(nameof(PageLayoutCells.PlowCode));
                cells.ResizePage      = getcellvalue(nameof(PageLayoutCells.ResizePage));
                cells.RouteStyle      = getcellvalue(nameof(PageLayoutCells.RouteStyle));
                cells.AvoidPageBreaks = getcellvalue(nameof(PageLayoutCells.AvoidPageBreaks));
                return(cells);
            }
Exemplo n.º 4
0
            public override PageRulerAndGridCells ToCellGroup(ShapeSheet.Query.Row <string> row, VisioAutomation.ShapeSheet.Query.Columns cols)
            {
                var cells        = new PageRulerAndGridCells();
                var getcellvalue = VisioAutomation.ShapeSheet.CellGroups.CellGroup.row_to_cellgroup(row, cols);

                cells.XGridDensity  = getcellvalue(nameof(PageRulerAndGridCells.XGridDensity));
                cells.XGridOrigin   = getcellvalue(nameof(PageRulerAndGridCells.XGridOrigin));
                cells.XGridSpacing  = getcellvalue(nameof(PageRulerAndGridCells.XGridSpacing));
                cells.XRulerDensity = getcellvalue(nameof(PageRulerAndGridCells.XRulerDensity));
                cells.XRulerOrigin  = getcellvalue(nameof(PageRulerAndGridCells.XRulerOrigin));
                cells.YGridDensity  = getcellvalue(nameof(PageRulerAndGridCells.YGridDensity));
                cells.YGridOrigin   = getcellvalue(nameof(PageRulerAndGridCells.YGridOrigin));
                cells.YGridSpacing  = getcellvalue(nameof(PageRulerAndGridCells.YGridSpacing));
                cells.YRulerDensity = getcellvalue(nameof(PageRulerAndGridCells.YRulerDensity));
                cells.YRulerOrigin  = getcellvalue(nameof(PageRulerAndGridCells.YRulerOrigin));

                return(cells);
            }
            public override Text.ParagraphFormatCells ToCellGroup(ShapeSheet.Query.Row <string> row, VisioAutomation.ShapeSheet.Query.Columns cols)
            {
                var getcellvalue = VisioAutomation.ShapeSheet.CellGroups.CellGroup.row_to_cellgroup(row, cols);

                var cells = new Text.ParagraphFormatCells();

                var names = cells.GetCellMetadata().Select(i => i.Name).ToList();



                cells.IndentFirst        = getcellvalue(nameof(ParagraphFormatCells.IndentFirst));
                cells.IndentLeft         = getcellvalue(nameof(ParagraphFormatCells.IndentLeft));
                cells.IndentRight        = getcellvalue(nameof(ParagraphFormatCells.IndentRight));
                cells.SpacingAfter       = getcellvalue(nameof(ParagraphFormatCells.SpacingAfter));
                cells.SpacingBefore      = getcellvalue(nameof(ParagraphFormatCells.SpacingBefore));
                cells.SpacingLine        = getcellvalue(nameof(ParagraphFormatCells.SpacingLine));
                cells.HorizontalAlign    = getcellvalue(nameof(ParagraphFormatCells.HorizontalAlign));
                cells.Bullet             = getcellvalue(nameof(ParagraphFormatCells.Bullet));
                cells.BulletFont         = getcellvalue(nameof(ParagraphFormatCells.BulletFont));
                cells.BulletFontSize     = getcellvalue(nameof(ParagraphFormatCells.BulletFontSize));
                cells.LocalizeBulletFont = getcellvalue(nameof(ParagraphFormatCells.LocalizeBulletFont));
                cells.TextPosAfterBullet = getcellvalue(nameof(ParagraphFormatCells.TextPosAfterBullet));
                cells.Flags        = getcellvalue(nameof(ParagraphFormatCells.Flags));
                cells.BulletString = getcellvalue(nameof(ParagraphFormatCells.BulletString));

                return(cells);
            }
            public override Text.TextXFormCells ToCellGroup(ShapeSheet.Query.Row <string> row, VisioAutomation.ShapeSheet.Query.Columns cols)
            {
                var cells        = new Text.TextXFormCells();
                var getcellvalue = VisioAutomation.ShapeSheet.CellGroups.CellGroup.row_to_cellgroup(row, cols);

                cells.PinX    = getcellvalue(nameof(TextXFormCells.PinX));
                cells.PinY    = getcellvalue(nameof(TextXFormCells.PinY));
                cells.LocPinX = getcellvalue(nameof(TextXFormCells.LocPinX));
                cells.LocPinY = getcellvalue(nameof(TextXFormCells.LocPinY));
                cells.Width   = getcellvalue(nameof(TextXFormCells.Width));
                cells.Height  = getcellvalue(nameof(TextXFormCells.Height));
                cells.Angle   = getcellvalue(nameof(TextXFormCells.Angle));

                return(cells);
            }
Exemplo n.º 7
0
            public override Text.TextBlockCells ToCellGroup(ShapeSheet.Query.Row <string> row, VisioAutomation.ShapeSheet.Query.Columns cols)
            {
                var cells = new Text.TextBlockCells();

                string getcellvalue(string name)
                {
                    return(row[cols[name].Ordinal]);
                }

                cells.BottomMargin           = getcellvalue(nameof(TextBlockCells.BottomMargin));
                cells.LeftMargin             = getcellvalue(nameof(TextBlockCells.LeftMargin));
                cells.RightMargin            = getcellvalue(nameof(TextBlockCells.RightMargin));
                cells.TopMargin              = getcellvalue(nameof(TextBlockCells.TopMargin));
                cells.DefaultTabStop         = getcellvalue(nameof(TextBlockCells.DefaultTabStop));
                cells.Background             = getcellvalue(nameof(TextBlockCells.Background));
                cells.BackgroundTransparency = getcellvalue(nameof(TextBlockCells.BackgroundTransparency));
                cells.Direction              = getcellvalue(nameof(TextBlockCells.Direction));
                cells.VerticalAlign          = getcellvalue(nameof(TextBlockCells.VerticalAlign));

                return(cells);
            }
            public override ConnectionPointCells ToCellGroup(ShapeSheet.Query.Row <string> row, VisioAutomation.ShapeSheet.Query.Columns cols)
            {
                var cells        = new ConnectionPointCells();
                var getcellvalue = VisioAutomation.ShapeSheet.CellGroups.CellGroup.row_to_cellgroup(row, cols);

                cells.X    = getcellvalue(nameof(ConnectionPointCells.X));
                cells.Y    = getcellvalue(nameof(ConnectionPointCells.Y));
                cells.DirX = getcellvalue(nameof(ConnectionPointCells.DirX));
                cells.DirY = getcellvalue(nameof(ConnectionPointCells.DirY));
                cells.Type = getcellvalue(nameof(ConnectionPointCells.Type));

                return(cells);
            }
Exemplo n.º 9
0
            public override ShapeLayoutCells ToCellGroup(ShapeSheet.Query.Row <string> row, VisioAutomation.ShapeSheet.Query.Columns cols)
            {
                var cells        = new ShapeLayoutCells();
                var getcellvalue = VisioAutomation.ShapeSheet.CellGroups.CellGroup.row_to_cellgroup(row, cols);

                cells.ConnectorFixedCode  = getcellvalue(nameof(ShapeLayoutCells.ConnectorFixedCode));
                cells.LineJumpCode        = getcellvalue(nameof(ShapeLayoutCells.LineJumpCode));
                cells.LineJumpDirX        = getcellvalue(nameof(ShapeLayoutCells.LineJumpDirX));
                cells.LineJumpDirY        = getcellvalue(nameof(ShapeLayoutCells.LineJumpDirY));
                cells.LineJumpStyle       = getcellvalue(nameof(ShapeLayoutCells.LineJumpStyle));
                cells.LineRouteExt        = getcellvalue(nameof(ShapeLayoutCells.LineRouteExt));
                cells.ShapeFixedCode      = getcellvalue(nameof(ShapeLayoutCells.ShapeFixedCode));
                cells.ShapePermeablePlace = getcellvalue(nameof(ShapeLayoutCells.ShapePermeablePlace));
                cells.ShapePermeableX     = getcellvalue(nameof(ShapeLayoutCells.ShapePermeableX));
                cells.ShapePermeableY     = getcellvalue(nameof(ShapeLayoutCells.ShapePermeableY));
                cells.ShapePlaceFlip      = getcellvalue(nameof(ShapeLayoutCells.ShapePlaceFlip));
                cells.ShapePlaceStyle     = getcellvalue(nameof(ShapeLayoutCells.ShapePlaceStyle));
                cells.ShapePlowCode       = getcellvalue(nameof(ShapeLayoutCells.ShapePlowCode));
                cells.ShapeRouteStyle     = getcellvalue(nameof(ShapeLayoutCells.ShapeRouteStyle));
                cells.ShapeSplit          = getcellvalue(nameof(ShapeLayoutCells.ShapeSplit));
                cells.ShapeSplittable     = getcellvalue(nameof(ShapeLayoutCells.ShapeSplittable));
                cells.ShapeDisplayLevel   = getcellvalue(nameof(ShapeLayoutCells.ShapeDisplayLevel));
                cells.Relationships       = getcellvalue(nameof(ShapeLayoutCells.Relationships));

                return(cells);
            }
 public abstract TGroup ToCellGroup(VASS.Query.Row <string> row, VASS.Query.Columns cols);
Exemplo n.º 11
0
            public override CustomPropertyCells ToCellGroup(VASS.Query.Row <string> row, VASS.Query.Columns cols)
            {
                var cells        = new CustomPropertyCells();
                var getcellvalue = VisioAutomation.ShapeSheet.CellGroups.CellGroup.row_to_cellgroup(row, cols);

                cells.Value     = getcellvalue(nameof(CustomPropertyCells.Value));
                cells.Calendar  = getcellvalue(nameof(CustomPropertyCells.Calendar));
                cells.Format    = getcellvalue(nameof(CustomPropertyCells.Format));
                cells.Invisible = getcellvalue(nameof(CustomPropertyCells.Invisible));
                cells.Label     = getcellvalue(nameof(CustomPropertyCells.Label));
                cells.LangID    = getcellvalue(nameof(CustomPropertyCells.LangID));
                cells.Prompt    = getcellvalue(nameof(CustomPropertyCells.Prompt));
                cells.SortKey   = getcellvalue(nameof(CustomPropertyCells.SortKey));
                cells.Type      = getcellvalue(nameof(CustomPropertyCells.Type));
                cells.Ask       = getcellvalue(nameof(CustomPropertyCells.Ask));

                return(cells);
            }
            public override UserDefinedCellCells ToCellGroup(ShapeSheet.Query.Row <string> row, VisioAutomation.ShapeSheet.Query.Columns cols)
            {
                var cells        = new UserDefinedCellCells();
                var getcellvalue = VisioAutomation.ShapeSheet.CellGroups.CellGroup.row_to_cellgroup(row, cols);

                cells.Value  = getcellvalue(nameof(UserDefinedCellCells.Value));
                cells.Prompt = getcellvalue(nameof(UserDefinedCellCells.Prompt));



                return(cells);
            }
            public override ShapeFormatCells ToCellGroup(ShapeSheet.Query.Row <string> row, VisioAutomation.ShapeSheet.Query.Columns cols)
            {
                var cells        = new ShapeFormatCells();
                var getcellvalue = VisioAutomation.ShapeSheet.CellGroups.CellGroup.row_to_cellgroup(row, cols);

                cells.FillBackground             = getcellvalue(nameof(ShapeFormatCells.FillBackground));
                cells.FillBackgroundTransparency = getcellvalue(nameof(ShapeFormatCells.FillBackgroundTransparency));
                cells.FillForeground             = getcellvalue(nameof(ShapeFormatCells.FillForeground));
                cells.FillForegroundTransparency = getcellvalue(nameof(ShapeFormatCells.FillForegroundTransparency));
                cells.FillPattern                      = getcellvalue(nameof(ShapeFormatCells.FillPattern));
                cells.FillShadowObliqueAngle           = getcellvalue(nameof(ShapeFormatCells.FillShadowObliqueAngle));
                cells.FillShadowOffsetX                = getcellvalue(nameof(ShapeFormatCells.FillShadowOffsetX));
                cells.FillShadowOffsetY                = getcellvalue(nameof(ShapeFormatCells.FillShadowOffsetY));
                cells.FillShadowScaleFactor            = getcellvalue(nameof(ShapeFormatCells.FillShadowScaleFactor));
                cells.FillShadowType                   = getcellvalue(nameof(ShapeFormatCells.FillShadowType));
                cells.FillShadowBackground             = getcellvalue(nameof(ShapeFormatCells.FillShadowBackground));
                cells.FillShadowBackgroundTransparency = getcellvalue(nameof(ShapeFormatCells.FillShadowBackgroundTransparency));
                cells.FillShadowForeground             = getcellvalue(nameof(ShapeFormatCells.FillShadowForeground));
                cells.FillShadowForegroundTransparency = getcellvalue(nameof(ShapeFormatCells.FillShadowForegroundTransparency));
                cells.FillShadowPattern                = getcellvalue(nameof(ShapeFormatCells.FillShadowPattern));
                cells.LineBeginArrow                   = getcellvalue(nameof(ShapeFormatCells.LineBeginArrow));
                cells.LineBeginArrowSize               = getcellvalue(nameof(ShapeFormatCells.LineBeginArrowSize));
                cells.LineEndArrow                     = getcellvalue(nameof(ShapeFormatCells.LineEndArrow));
                cells.LineEndArrowSize                 = getcellvalue(nameof(ShapeFormatCells.LineEndArrowSize));
                cells.LineCap               = getcellvalue(nameof(ShapeFormatCells.LineCap));
                cells.LineColor             = getcellvalue(nameof(ShapeFormatCells.LineColor));
                cells.LineColorTransparency = getcellvalue(nameof(ShapeFormatCells.LineColorTransparency));
                cells.LinePattern           = getcellvalue(nameof(ShapeFormatCells.LinePattern));
                cells.LineWeight            = getcellvalue(nameof(ShapeFormatCells.LineWeight));
                cells.LineRounding          = getcellvalue(nameof(ShapeFormatCells.LineRounding));
                return(cells);
            }
            public override Text.CharacterFormatCells ToCellGroup(ShapeSheet.Query.Row <string> row, VisioAutomation.ShapeSheet.Query.Columns cols)
            {
                var cells = new Text.CharacterFormatCells();

                string getcellvalue(string name)
                {
                    return(row[cols[name].Ordinal]);
                }

                cells.Color             = getcellvalue(nameof(CharacterFormatCells.Color));
                cells.ColorTransparency = getcellvalue(nameof(CharacterFormatCells.ColorTransparency));
                cells.Font                = getcellvalue(nameof(CharacterFormatCells.Font));
                cells.Size                = getcellvalue(nameof(CharacterFormatCells.Size));
                cells.Style               = getcellvalue(nameof(CharacterFormatCells.Style));
                cells.AsianFont           = getcellvalue(nameof(CharacterFormatCells.AsianFont));
                cells.AsianFont           = getcellvalue(nameof(CharacterFormatCells.AsianFont));
                cells.Case                = getcellvalue(nameof(CharacterFormatCells.Case));
                cells.ComplexScriptFont   = getcellvalue(nameof(CharacterFormatCells.ComplexScriptFont));
                cells.ComplexScriptSize   = getcellvalue(nameof(CharacterFormatCells.ComplexScriptSize));
                cells.DoubleStrikethrough = getcellvalue(nameof(CharacterFormatCells.DoubleStrikethrough));
                cells.DoubleUnderline     = getcellvalue(nameof(CharacterFormatCells.DoubleUnderline));
                cells.FontScale           = getcellvalue(nameof(CharacterFormatCells.FontScale));
                cells.LangID              = getcellvalue(nameof(CharacterFormatCells.LangID));
                cells.Letterspace         = getcellvalue(nameof(CharacterFormatCells.Letterspace));
                cells.Locale              = getcellvalue(nameof(CharacterFormatCells.Locale));
                cells.LocalizeFont        = getcellvalue(nameof(CharacterFormatCells.LocalizeFont));
                cells.Overline            = getcellvalue(nameof(CharacterFormatCells.Overline));
                cells.Perpendicular       = getcellvalue(nameof(CharacterFormatCells.Perpendicular));
                cells.Pos         = getcellvalue(nameof(CharacterFormatCells.Pos));
                cells.RTLText     = getcellvalue(nameof(CharacterFormatCells.RTLText));
                cells.Strikethru  = getcellvalue(nameof(CharacterFormatCells.Strikethru));
                cells.UseVertical = getcellvalue(nameof(CharacterFormatCells.UseVertical));

                return(cells);
            }
Exemplo n.º 15
0
            public override ControlCells ToCellGroup(ShapeSheet.Query.Row <string> row, VisioAutomation.ShapeSheet.Query.Columns cols)
            {
                var cells        = new ControlCells();
                var getcellvalue = VisioAutomation.ShapeSheet.CellGroups.CellGroup.row_to_cellgroup(row, cols);

                cells.CanGlue   = getcellvalue(nameof(ControlCells.CanGlue));
                cells.Tip       = getcellvalue(nameof(ControlCells.Tip));
                cells.X         = getcellvalue(nameof(ControlCells.X));
                cells.Y         = getcellvalue(nameof(ControlCells.Y));
                cells.YBehavior = getcellvalue(nameof(ControlCells.YBehavior));
                cells.XBehavior = getcellvalue(nameof(ControlCells.XBehavior));
                cells.XDynamics = getcellvalue(nameof(ControlCells.XDynamics));
                cells.YDynamics = getcellvalue(nameof(ControlCells.YDynamics));
                return(cells);
            }
Exemplo n.º 16
0
            public override PageFormatCells ToCellGroup(ShapeSheet.Query.Row <string> row, VisioAutomation.ShapeSheet.Query.Columns cols)
            {
                var cells        = new PageFormatCells();
                var getcellvalue = VASS.CellGroups.CellGroup.row_to_cellgroup(row, cols);

                cells.DrawingScale       = getcellvalue(nameof(PageFormatCells.DrawingScale));
                cells.DrawingScaleType   = getcellvalue(nameof(PageFormatCells.DrawingScaleType));
                cells.DrawingSizeType    = getcellvalue(nameof(PageFormatCells.DrawingSizeType));
                cells.InhibitSnap        = getcellvalue(nameof(PageFormatCells.InhibitSnap));
                cells.Height             = getcellvalue(nameof(PageFormatCells.Height));
                cells.Scale              = getcellvalue(nameof(PageFormatCells.Scale));
                cells.Width              = getcellvalue(nameof(PageFormatCells.Width));
                cells.ShadowObliqueAngle = getcellvalue(nameof(PageFormatCells.ShadowObliqueAngle));
                cells.ShadowOffsetX      = getcellvalue(nameof(PageFormatCells.ShadowOffsetX));
                cells.ShadowOffsetY      = getcellvalue(nameof(PageFormatCells.ShadowOffsetY));
                cells.ShadowScaleFactor  = getcellvalue(nameof(PageFormatCells.ShadowScaleFactor));
                cells.ShadowType         = getcellvalue(nameof(PageFormatCells.ShadowType));
                cells.UIVisibility       = getcellvalue(nameof(PageFormatCells.UIVisibility));
                cells.DrawingResizeType  = getcellvalue(nameof(PageFormatCells.DrawingResizeType));

                return(cells);
            }
Exemplo n.º 17
0
            public override PagePrintCells ToCellGroup(ShapeSheet.Query.Row <string> row, VisioAutomation.ShapeSheet.Query.Columns cols)
            {
                var cells        = new PagePrintCells();
                var getcellvalue = VisioAutomation.ShapeSheet.CellGroups.CellGroup.row_to_cellgroup(row, cols);


                cells.LeftMargin = getcellvalue(nameof(PagePrintCells.LeftMargin));
                cells.CenterX    = getcellvalue(nameof(PagePrintCells.CenterX));
                cells.CenterY    = getcellvalue(nameof(PagePrintCells.CenterY));

                cells.OnPage       = getcellvalue(nameof(PagePrintCells.OnPage));
                cells.BottomMargin = getcellvalue(nameof(PagePrintCells.BottomMargin));
                cells.RightMargin  = getcellvalue(nameof(PagePrintCells.RightMargin));
                cells.PagesX       = getcellvalue(nameof(PagePrintCells.PagesX));
                cells.PagesY       = getcellvalue(nameof(PagePrintCells.PagesY));
                cells.TopMargin    = getcellvalue(nameof(PagePrintCells.TopMargin));
                cells.PaperKind    = getcellvalue(nameof(PagePrintCells.PaperKind));

                cells.Grid        = getcellvalue(nameof(PagePrintCells.Grid));
                cells.Orientation = getcellvalue(nameof(PagePrintCells.Orientation));
                cells.ScaleX      = getcellvalue(nameof(PagePrintCells.ScaleX));
                cells.ScaleY      = getcellvalue(nameof(PagePrintCells.ScaleY));
                cells.PaperSource = getcellvalue(nameof(PagePrintCells.PaperSource));

                return(cells);
            }
Exemplo n.º 18
0
 internal static System.Func <string, string> row_to_cellgroup(ShapeSheet.Query.Row <string> row, VASS.Query.Columns cols)
 {
     return((s) => row[cols[s].Ordinal]);
 }
        private List <TGroup> _sectionshaperows_to_cellgroups(Query.SectionShapeRows <string> section_rows, VASS.Query.Columns cols)
        {
            var cellgroups = new List <TGroup>(section_rows.Count);

            foreach (var section_row in section_rows)
            {
                var cellgroup = this.ToCellGroup(section_row, cols);
                cellgroups.Add(cellgroup);
            }
            return(cellgroups);
        }