public byte[] DCMBuildDocument(string templateUri, DCTWordDataObject wordData)
        {
            using (DocLibContext context = new DocLibContext(ServiceHelper.GetDocumentLibraryName()))
            {
                byte[] templateBinary = context.OpenBinary(templateUri);

                return(WordEntry.GenerateDocument(templateBinary, wordData));
            }
        }
 public DCTWordDataObject DCMAnalyze(byte[] wordFileContent)
 {
     return(WordEntry.CollectData(wordFileContent));
 }