% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/reporting.R
\name{mb_to_word}
\alias{mb_to_word}
\title{Export an evaluation report to Word}
\usage{
mb_to_word(report, file)
}
\arguments{
\item{report}{An \code{mb_report} object.}

\item{file}{Output file path (must end in \code{.docx}).}
}
\value{
Invisibly, the file path.
}
\description{
Writes a one- to two-page Word document summarising an
\code{mb_report}: name, theory of change, evaluation plan, SMS
ratings, confidence ratings, and cost-effectiveness.
}
\details{
Requires the \pkg{officer} and \pkg{flextable} packages (both in
Suggests).
}
\examples{
\donttest{
if (requireNamespace("officer", quietly = TRUE) &&
    requireNamespace("flextable", quietly = TRUE)) {
  toc <- mb_theory_of_change(
    inputs = "Funding", activities = "Workshops",
    outputs = "Attendees", outcomes = "Skills",
    impact = "Employment"
  )
  rep <- mb_evaluation_report(toc = toc, name = "Skills uplift")
  tmp <- tempfile(fileext = ".docx")
  mb_to_word(rep, tmp)
}
}
}
\seealso{
\code{\link[=mb_evaluation_report]{mb_evaluation_report()}}, \code{\link[=mb_to_excel]{mb_to_excel()}},
\code{\link[=mb_to_latex]{mb_to_latex()}}.

Other reporting: 
\code{\link{mb_evaluation_report}()},
\code{\link{mb_to_excel}()},
\code{\link{mb_to_latex}()}
}
\concept{reporting}
