Пример #1
0
        public iTextSharp.text.Document ExportToRtf(Boolean webOnlyRender, long idSubmission, long idRevision, String baseFilePath, String clientFileName, Dictionary <SubmissionTranslations, string> translations, System.Web.HttpResponse webResponse, System.Web.HttpCookie cookie, lm.Comol.Core.DomainModel.DocTemplateVers.Domain.DTO.ServiceExport.DTO_Template template)
        {
            iTextSharp.text.Document exportFile = ServiceCall.ExportSubmissionToRTF(webOnlyRender, idSubmission, idRevision, baseFilePath, clientFileName, translations, webResponse, cookie, template);
            dtoRevision revision = ServiceCall.GetRevision(idSubmission, idRevision, false);

            if (revision == null)
            {
                View.DisplayNone();
            }
            else
            {
                LoadFiles(revision, idSubmission, View.AvailableTypes);
            }

            return(exportFile);
        }