addDate

0th

Percentile

Insert a date

Insert a date into a document object

Usage
addDate(doc, ...)

# S3 method for pptx addDate(doc, value, str.format = "%Y-%m-%d", ...)

Arguments
doc

document object

...

further arguments passed to other methods

value

character value to add into the date shape of the current slide. optionnal. If missing current date will be used.

str.format

character value to use to format current date (if value is missing).

Details

addDate only works for pptx documents.

Value

a document object

See Also

pptx, addFooter, addPageNumber

Aliases
  • addDate
  • addDate.pptx
Examples
# NOT RUN {
doc <- pptx()

doc <- addSlide( doc, slide.layout = "Title and Content" )
## add a date on the current slide
doc = addDate( doc )

doc <- addSlide( doc, slide.layout = "Title and Content" )
## add a page number on the current slide but not
## the default text (slide number)
doc = addDate( doc, "Dummy date" )
# }
Documentation reproduced from package ReporteRs, version 0.8.10, License: GPL-3

Community examples

Looks like there are no examples yet.