pot(value = "", format = textProperties(), hyperlink, footnote)
format
method returning character value.textProperties
).value
.Footnote
object.A pot can be associated with an hyperlink.
A pot can be associated with a Footnote. Note that footnotes can not be inserted in
a pptx
object.
addParagraph
, Footnote
, +.pot
#
# "My tailor is rich" with formatting on some words
pot1 = pot("My tailor", textProperties(color = "red" )
) + " is " + pot("rich", textProperties(shading.color = "red",
font.weight = "bold" ) )
# "Cats and dogs" with formatting on some words
pot2 = pot("Cats", textProperties(color = "red" ) ) +
" and " +
pot("dogs", textProperties( color = "blue" ),
hyperlink = "http://www.wikipedia.org/" )
Run the code above in your browser using DataLab