rtfWriteParagraphText

DESCRIPTION:

Writes out the given text in the given style to the rtfFile.

USAGE:

rtfWriteParagraphText(textout, rtfFile, textstyle = "\\ql \\fs24", 
                       writeText = T, newLine = T)

ARGUMENTS:

textout
Text to write out with the given style, should be a vector of 1.
rtfFile
RTF file to write the text and style to.
textstyle
Style to apply to the text (default="\\ql \\fs24" which is align left with fontsize 12).
writeText
T/F determining whether page break should be written to the given file or not; or if the tag string should just be returned.
newLine
Logical value that determines if a paragraph marker should be appended end of the text.

VALUE:

String containing the RTF that will create this row as specified; if writeText=T, the return string can be ignored, otherwise the calling function will need to write the string to the RTF file.

AUTHOR(S):

TIBCO Software Inc.

SEE ALSO:

EXAMPLES:

## add a some text to the document
saveString <- rtfWriteParagraphText("Put my large font text here.", 
                rtfFile, textstyle = "\\ql \\fs48", 
                writeText = F, newLine = T)