Polish content
polish_content(x, type, ..., error_call = current_env(), error_class = NULL)object to be polished into ooxml
output type. Valid values are "word" and "pptx".
additional arguments for methods
The execution environment of a currently
running function, e.g. caller_env(). The function will be
mentioned in error messages as the source of the error. See the
call argument of abort() for more information.
Additional error class.
an object of class "polish_xml_nodeset". Contains XML that is viable Word or PowerPoint OOXML for addition to Word documents or PowerPoint presentations based on the "type".
depending on type either the polish_content_pptx() or polish_content_word()
function is called.