void RunMakePdf(PdfMaker maker, string input, string output, string paperSize, bool landscape, bool saveMemoryMode, bool rightToLeft,
PublishModel.BookletLayoutMethod layout, PublishModel.BookletPortions portion)
{
// Passing in a DoWorkEventArgs object prevents a possible exception being thrown. Which may not
// really matter much in the test situation since NUnit would catch the exception. But I'd rather
// have a nice test failure message than an unexpected exception caught message.
var eventArgs = new DoWorkEventArgs(null);
maker.MakePdf(input, output, paperSize, landscape, saveMemoryMode, rightToLeft, layout, portion, null, eventArgs, null);
}
}