Пример #1
0
 /// <summary>
 /// Replaces a text (tag) by another inside the slide given a PptxTable.Cell.
 /// This is a convenient method that overloads the original ReplaceTag() method.
 /// </summary>
 /// <param name="tagPair">The tag/new text, BackgroundPicture is ignored.</param>
 /// <param name="replacementType">The type of replacement to perform.</param>
 public void ReplaceTagWithHtml(PptxTable.Cell tagPair, ReplacementType replacementType, string fontName = null, int fontSize = 0)
 {
     this.ReplaceTagWithHtml(tagPair.Tag, tagPair.NewText, replacementType, fontName, fontSize);
 }
Пример #2
0
 /// <summary>
 /// Replaces a text (tag) by another inside the slide given a PptxTable.Cell.
 /// This is a convenient method that overloads the original ReplaceTag() method.
 /// </summary>
 /// <param name="tagPair">The tag/new text, BackgroundPicture is ignored.</param>
 /// <param name="replacementType">The type of replacement to perform.</param>
 public void ReplaceTag(PptxTable.Cell tagPair, ReplacementType replacementType)
 {
     this.ReplaceTag(tagPair.Tag, tagPair.NewText, replacementType);
 }
Пример #3
0
 /// <summary>
 /// Replaces a text (tag) by another inside the slide given a PptxTable.Cell.
 /// This is a convenient method that overloads the original ReplaceTag() method.
 /// </summary>
 /// <param name="tagPair">The tag/new text, BackgroundPicture is ignored.</param>
 /// <param name="replacementType">The type of replacement to perform.</param>
 public void ReplaceTagWithHyperlink(PptxTable.Cell tagPair, ReplacementType replacementType, string relationshipId, string fontName = "Calibri", int fontSize = 800)
 {
     this.ReplaceTagWithHyperlink(tagPair.Tag, tagPair.NewText, replacementType, relationshipId, fontName, fontSize);
 }