public void ExportToPdf(
            Boolean webOnlyRender,
            long idSubmission,
            long idRevision,
            String baseFilePath,
            String baseDocTemplateImagePath,
            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)
        {
            Int64             IdCall = ServiceCall.CallIdGetFromSubmission(idSubmission);
            CallPrintSettings sets   = new CallPrintSettings();

            if (IdCall > 0)
            {
                sets     = ServiceCall.PrintSettingsGetFromCall(IdCall);
                template = ServiceCall.DocTemplateUpdate(template, sets.TemplateId, sets.VersionId,
                                                         baseDocTemplateImagePath); // baseFilePath);
            }

            int          currentComId = UserContext.CurrentCommunityID;
            Subscription subs         = CurrentManager.GetActiveSubscription(UserContext.CurrentUserID, currentComId);
            Person       currentUser  = CurrentManager.GetPerson(UserContext.CurrentUserID);

            string userType = "";

            userType = CurrentManager.GetTranslatedProfileType(currentUser.TypeID, UserContext.Language.Id);

            CommonPlaceHolderData phData = new CommonPlaceHolderData
            {
                Person           = currentUser,
                Community        = CurrentManager.GetLiteCommunity(currentComId),
                InstanceName     = "",
                OrganizationName = CurrentManager.GetOrganizationName(UserContext.CurrentCommunityOrganizationID),
                Subscription     = subs,
                UserType         = userType
            }
            ;

            dtoRevision revision = ServiceCall.GetRevision(idSubmission, idRevision, false);

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

            //return exportFile;
        }