ToWrdB.Rd
Send objects like tables, ftables, lm tables, TOnes or just simple texts to a MS-Word document and place a bookmark on them. This has the advantage, that objects in a Word document can be updated later, provided the bookmark name has been stored.
ToWrdB(x, font = NULL, ..., wrd = DescToolsOptions("lastWord"),
bookmark = gettextf("bmt%s", round(runif(1, min = 0.1) * 1e+09)))
the object to be transferred to Word.
the font to be used to the output. This should be defined as a list containing fontname, fontsize, bold and italic flags:list(name="Arial", size=10, bold=FALSE, italic=TRUE)
.
further arguments to be passed to or from methods.
the pointer to a word instance. Can be a new one, created by GetNewWrd()
or an existing one, created by GetCurrWrd()
.
Default is the last created pointer stored in DescToolsOptions("lastWord")
.
the name of the bookmark.
This function encapsulates ToWrd
, by placing a bookmark over the complete inserted results.
The given name can be questioned with bm$name()
.
a handle to the set bookmark