paragraph | R Documentation |
This function creates a paragraph node (according to the OOXML/WordProcessingML Specification) with specified properties.
paragraph(style = NA, align = NA, italic = NA, bold = NA, properties)
style |
a character vector containing the id of a paragraph-based style which should be added to the created paragraph node. |
align |
a character vector containing the desired alignment of text and objects in the paragraph. |
italic |
a logical value indicating whether text in the paragraph should be italicized. |
bold |
a logical value indicating whether text in the paragraph should be in bold. |
properties |
currently ignored. |
This function returns an XML node which defines a paragraph according to the OOXML/WordProcessingML specification.
Currently, no check is made to ensure that the style indicated in the style argument exists. It is advisable to call lookupStyle before calling this function with a non-NA style parameter.
Duncan Temple Lang
ISO/Microsoft OOXML Specification
lookupStyle, addStyleToNode
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.