Esempio n. 1
0
 public Formatting()
 {
     this.ShapeFormatCells = new Shapes.ShapeFormatCells();
     this.CharacterCells   = new VisioAutomation.Text.CharacterCells();
     this.ParagraphCells   = new VisioAutomation.Text.ParagraphCells();
     this.TextBlockCells   = new VisioAutomation.Text.TextBlockCells();
 }
Esempio n. 2
0
 public Formatting()
 {
     this.FormatCells    = new VA.Shapes.FormatCells();
     this.CharacterCells = new VA.Text.CharacterCells();
     this.ParagraphCells = new VA.Text.ParagraphCells();
     this.TextCells      = new VA.Text.TextCells();
 }
Esempio n. 3
0
 public Formatting()
 {
     this.FormatCells = new VA.Shapes.FormatCells();
     this.CharacterCells = new VA.Text.CharacterCells();
     this.ParagraphCells = new VA.Text.ParagraphCells();
     this.TextCells = new VA.Text.TextCells();
 }
Esempio n. 4
0
 public TextBlock(Drawing.Size size, string text)
 {
     this.Text           = text;
     this.Size           = size;
     this.TextBlockCells = new VisioAutomation.Text.TextBlockCells();
     this.ParagraphCells = new VisioAutomation.Text.ParagraphCells();
     this.FormatCells    = new Shapes.ShapeFormatCells();
     this.CharacterCells = new VisioAutomation.Text.CharacterCells();
 }
Esempio n. 5
0
 public TextBlock(VA.Drawing.Size size, string text)
 {
     this.Text = text;
     this.Size = size;
     this.Textcells = new VA.Text.TextCells();
     this.ParagraphCells = new VA.Text.ParagraphCells();
     this.FormatCells = new VA.Shapes.FormatCells();
     this.CharacterCells = new VA.Text.CharacterCells();
 }
Esempio n. 6
0
 public TextBlock(VA.Drawing.Size size, string text)
 {
     this.Text           = text;
     this.Size           = size;
     this.Textcells      = new VA.Text.TextCells();
     this.ParagraphCells = new VA.Text.ParagraphCells();
     this.FormatCells    = new VA.Shapes.FormatCells();
     this.CharacterCells = new VA.Text.CharacterCells();
 }
        public VisioAutomation.Text.ParagraphCells GetCells(System.Collections.Generic.IList<ShapeSheet.CellData<double>> row)
        {
            var cells = new VisioAutomation.Text.ParagraphCells();
            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 = Extensions.CellDataMethods.ToInt(row[this.HorzAlign]);
            cells.Bullet = Extensions.CellDataMethods.ToInt(row[this.Bullet]);
            cells.BulletFont = Extensions.CellDataMethods.ToInt(row[this.BulletFont]);
            cells.BulletFontSize = Extensions.CellDataMethods.ToInt(row[this.BulletFontSize]);
            cells.LocBulletFont = Extensions.CellDataMethods.ToInt(row[this.LocalizeBulletFont]);
            cells.TextPosAfterBullet = row[this.TextPosAfterBullet];
            cells.Flags = Extensions.CellDataMethods.ToInt(row[this.Flags]);
            cells.BulletString = ""; // TODO: Figure out some way of getting this

            return cells;
        }
Esempio n. 8
0
        public VisioAutomation.Text.ParagraphCells GetCells(System.Collections.Generic.IList <ShapeSheet.CellData <double> > row)
        {
            var cells = new VisioAutomation.Text.ParagraphCells();

            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    = Extensions.CellDataMethods.ToInt(row[this.HorzAlign]);
            cells.Bullet             = Extensions.CellDataMethods.ToInt(row[this.Bullet]);
            cells.BulletFont         = Extensions.CellDataMethods.ToInt(row[this.BulletFont]);
            cells.BulletFontSize     = Extensions.CellDataMethods.ToInt(row[this.BulletFontSize]);
            cells.LocBulletFont      = Extensions.CellDataMethods.ToInt(row[this.LocalizeBulletFont]);
            cells.TextPosAfterBullet = row[this.TextPosAfterBullet];
            cells.Flags        = Extensions.CellDataMethods.ToInt(row[this.Flags]);
            cells.BulletString = ""; // TODO: Figure out some way of getting this

            return(cells);
        }