public TextElement(string text) : base(NodeType.Element) { this.CharacterCells = new CharacterCells(); this.ParagraphCells = new ParagraphCells(); this.AddText(text); }
public TextElement(string text) : base(NodeType.Element) { this.CharacterCells = new CharacterCells(); this.ParagraphCells = new ParagraphCells(); this.AddText(text); }
public void ApplyFormulasTo(ParagraphCells other) { if (this.IndentFirst.HasValue) { other.IndentFirst = this.IndentFirst; } if (this.IndentLeft.HasValue) { other.IndentLeft = this.IndentLeft; } if (this.IndentRight.HasValue) { other.IndentRight = this.IndentRight; } if (this.SpacingAfter.HasValue) { other.SpacingAfter = this.SpacingAfter; } if (this.SpacingBefore.HasValue) { other.SpacingBefore = this.SpacingBefore; } if (this.SpacingBefore.HasValue) { other.SpacingBefore = this.SpacingBefore; } if (this.Bullet.HasValue) { other.Bullet = this.Bullet; } if (this.BulletFont.HasValue) { other.BulletFont = this.BulletFont; } if (this.BulletFontSize.HasValue) { other.BulletFontSize = this.BulletFontSize; } if (this.BulletString.HasValue) { other.BulletString = this.BulletString; } if (this.Flags.HasValue) { other.Flags = this.Flags; } if (this.HorizontalAlign.HasValue) { other.HorizontalAlign = this.HorizontalAlign; } if (this.LocBulletFont.HasValue) { other.LocBulletFont = this.LocBulletFont; } if (this.TextPosAfterBullet.HasValue) { other.TextPosAfterBullet = this.TextPosAfterBullet; } }
public TextElement() : base(NodeType.Element) { this.CharacterCells = new CharacterCells(); this.ParagraphCells = new ParagraphCells(); }
public TextElement() : base(NodeType.Element) { this.CharacterCells = new CharacterCells(); this.ParagraphCells = new ParagraphCells(); }
public void ApplyFormulasTo(ParagraphCells other) { if (this.IndentFirst.HasValue) { other.IndentFirst = this.IndentFirst; } if (this.IndentLeft.HasValue) { other.IndentLeft = this.IndentLeft; } if (this.IndentRight.HasValue) { other.IndentRight = this.IndentRight; } if (this.SpacingAfter.HasValue) { other.SpacingAfter = this.SpacingAfter; } if (this.SpacingBefore.HasValue) { other.SpacingBefore = this.SpacingBefore; } if (this.SpacingBefore.HasValue) { other.SpacingBefore = this.SpacingBefore; } if (this.Bullet.HasValue) { other.Bullet = this.Bullet; } if (this.BulletFont.HasValue) { other.BulletFont = this.BulletFont; } if (this.BulletFontSize.HasValue) { other.BulletFontSize = this.BulletFontSize; } if (this.BulletString.HasValue) { other.BulletString = this.BulletString; } if (this.Flags.HasValue) { other.Flags = this.Flags; } if (this.HorizontalAlign.HasValue) { other.HorizontalAlign = this.HorizontalAlign; } if (this.LocBulletFont.HasValue) { other.LocBulletFont = this.LocBulletFont; } if (this.TextPosAfterBullet.HasValue) { other.TextPosAfterBullet = this.TextPosAfterBullet; } }