odfTable(x, ...)## S3 method for class 'numeric':
odfTable(x, horizontal = length(x) < 5, colnames = names(x),
digits = max(3, getOption("digits") - 3),
name = paste("Table", floor(runif(1) * 1000), sep = ""),
styles = NULL, ...)
## S3 method for class 'character':
odfTable(x, horizontal = length(x) < 5, colnames = names(x),
name = paste("Table", floor(runif(1) * 1000), sep = ""),
styles = NULL, ...)
## S3 method for class 'data.frame':
odfTable(x, colnames = NULL, useRowNames = TRUE,
digits = max(3, getOption("digits") - 3),
name = paste("Table", floor(runif(1) * 1000), sep = ""),
styles = NULL, ...)
## S3 method for class 'matrix':
odfTable(x, colnames = NULL, useRowNames = TRUE,
digits = max(3, getOption("digits") - 3),
name = paste("Table", floor(runif(1) * 1000), sep = ""),
styles = NULL, ...)
tableStyles
format
getStyleDefs
can
fetch the pre-existing styles in the package. These can be modified and
new definitions can be added. The function setStyleDefs
``registers'' the style changes with the package. When
odfWeave
is called, these definitions are written to the
style sections of the XML files. There is a second mechanism to assign
styles to specific output elements. The functions getStyles
and setStyles
can be used to tell odfWeave which style definition to use for a particular outputThe data structures are converted to character matrices using format.
tableStyles