Description Usage Arguments Details Value See Also Examples
Set custom table of contents options for a document object
1 2 3 4 | toc.options(doc, ...)
## S3 method for class 'docx'
toc.options(doc, list.separator, ...)
|
doc |
Object of class |
... |
further arguments passed to other methods |
list.separator |
list separator (should be the same than in computer's regional settings) |
This function is to be used if TOC cannot be built. It is occuring when list separator used when building the TOC is different from the list separator in your computer's regional settings.
See entry 302865 of Microsoft knowledge database for more information.
a document object
1 2 3 4 5 6 | if( check_valid_java_version() ){
doc = docx( title = "title" )
doc = toc.options( doc, list.separator = "," )
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.