Esempio n. 1
0
 public void StoreValues(Data data, string path)
 {
     AttachmentPage.StoreValues(data, path + @"AttachmentPage\");
     AutoSave.StoreValues(data, path + @"AutoSave\");
     BackgroundPage.StoreValues(data, path + @"BackgroundPage\");
     CoverPage.StoreValues(data, path + @"CoverPage\");
     CustomScript.StoreValues(data, path + @"CustomScript\");
     DropboxSettings.StoreValues(data, path + @"DropboxSettings\");
     EmailClientSettings.StoreValues(data, path + @"EmailClientSettings\");
     EmailSmtpSettings.StoreValues(data, path + @"EmailSmtpSettings\");
     ForwardToFurtherProfile.StoreValues(data, path + @"ForwardToFurtherProfile\");
     Ftp.StoreValues(data, path + @"Ftp\");
     Ghostscript.StoreValues(data, path + @"Ghostscript\");
     HttpSettings.StoreValues(data, path + @"HttpSettings\");
     JpegSettings.StoreValues(data, path + @"JpegSettings\");
     PdfSettings.StoreValues(data, path + @"PdfSettings\");
     PngSettings.StoreValues(data, path + @"PngSettings\");
     Printing.StoreValues(data, path + @"Printing\");
     Properties.StoreValues(data, path + @"Properties\");
     Scripting.StoreValues(data, path + @"Scripting\");
     Stamping.StoreValues(data, path + @"Stamping\");
     TextSettings.StoreValues(data, path + @"TextSettings\");
     TiffSettings.StoreValues(data, path + @"TiffSettings\");
     UserTokens.StoreValues(data, path + @"UserTokens\");
     Watermark.StoreValues(data, path + @"Watermark\");
     for (int i = 0; i < ActionOrder.Count; i++)
     {
         data.SetValue(path + @"ActionOrder\" + i + @"\ActionOrder", Data.EscapeString(ActionOrder[i]));
     }
     data.SetValue(path + @"ActionOrder\numClasses", ActionOrder.Count.ToString());
     data.SetValue(@"" + path + @"AuthorTemplate", Data.EscapeString(AuthorTemplate));
     data.SetValue(@"" + path + @"EnableWorkflowEditor", EnableWorkflowEditor.ToString());
     data.SetValue(@"" + path + @"FileNameTemplate", Data.EscapeString(FileNameTemplate));
     data.SetValue(@"" + path + @"Guid", Data.EscapeString(Guid));
     data.SetValue(@"" + path + @"KeywordTemplate", Data.EscapeString(KeywordTemplate));
     data.SetValue(@"" + path + @"Name", Data.EscapeString(Name));
     data.SetValue(@"" + path + @"OpenViewer", OpenViewer.ToString());
     data.SetValue(@"" + path + @"OpenWithPdfArchitect", OpenWithPdfArchitect.ToString());
     data.SetValue(@"" + path + @"OutputFormat", OutputFormat.ToString());
     data.SetValue(@"" + path + @"SaveFileTemporary", SaveFileTemporary.ToString());
     data.SetValue(@"" + path + @"ShowAllNotifications", ShowAllNotifications.ToString());
     data.SetValue(@"" + path + @"ShowOnlyErrorNotifications", ShowOnlyErrorNotifications.ToString());
     data.SetValue(@"" + path + @"ShowProgress", ShowProgress.ToString());
     data.SetValue(@"" + path + @"ShowQuickActions", ShowQuickActions.ToString());
     data.SetValue(@"" + path + @"SkipPrintDialog", SkipPrintDialog.ToString());
     data.SetValue(@"" + path + @"SubjectTemplate", Data.EscapeString(SubjectTemplate));
     data.SetValue(@"" + path + @"TargetDirectory", Data.EscapeString(TargetDirectory));
     data.SetValue(@"" + path + @"TitleTemplate", Data.EscapeString(TitleTemplate));
 }
Esempio n. 2
0
 public void StoreValues(Data data, string path)
 {
     AttachmentPage.StoreValues(data, path + @"AttachmentPage\");
     AutoSave.StoreValues(data, path + @"AutoSave\");
     BackgroundPage.StoreValues(data, path + @"BackgroundPage\");
     CoverPage.StoreValues(data, path + @"CoverPage\");
     CustomScript.StoreValues(data, path + @"CustomScript\");
     DropboxSettings.StoreValues(data, path + @"DropboxSettings\");
     EmailClientSettings.StoreValues(data, path + @"EmailClientSettings\");
     EmailSmtpSettings.StoreValues(data, path + @"EmailSmtpSettings\");
     Ftp.StoreValues(data, path + @"Ftp\");
     Ghostscript.StoreValues(data, path + @"Ghostscript\");
     HttpSettings.StoreValues(data, path + @"HttpSettings\");
     JpegSettings.StoreValues(data, path + @"JpegSettings\");
     PdfSettings.StoreValues(data, path + @"PdfSettings\");
     PngSettings.StoreValues(data, path + @"PngSettings\");
     Printing.StoreValues(data, path + @"Printing\");
     Properties.StoreValues(data, path + @"Properties\");
     Scripting.StoreValues(data, path + @"Scripting\");
     Stamping.StoreValues(data, path + @"Stamping\");
     TextSettings.StoreValues(data, path + @"TextSettings\");
     TiffSettings.StoreValues(data, path + @"TiffSettings\");
     UserTokens.StoreValues(data, path + @"UserTokens\");
     data.SetValue(@"" + path + @"AuthorTemplate", Data.EscapeString(AuthorTemplate));
     data.SetValue(@"" + path + @"FileNameTemplate", Data.EscapeString(FileNameTemplate));
     data.SetValue(@"" + path + @"Guid", Data.EscapeString(Guid));
     data.SetValue(@"" + path + @"KeywordTemplate", Data.EscapeString(KeywordTemplate));
     data.SetValue(@"" + path + @"Name", Data.EscapeString(Name));
     data.SetValue(@"" + path + @"OpenViewer", OpenViewer.ToString());
     data.SetValue(@"" + path + @"OpenWithPdfArchitect", OpenWithPdfArchitect.ToString());
     data.SetValue(@"" + path + @"OutputFormat", OutputFormat.ToString());
     data.SetValue(@"" + path + @"ShowAllNotifications", ShowAllNotifications.ToString());
     data.SetValue(@"" + path + @"ShowOnlyErrorNotifications", ShowOnlyErrorNotifications.ToString());
     data.SetValue(@"" + path + @"ShowProgress", ShowProgress.ToString());
     data.SetValue(@"" + path + @"ShowQuickActions", ShowQuickActions.ToString());
     data.SetValue(@"" + path + @"SkipPrintDialog", SkipPrintDialog.ToString());
     data.SetValue(@"" + path + @"SubjectTemplate", Data.EscapeString(SubjectTemplate));
     data.SetValue(@"" + path + @"TargetDirectory", Data.EscapeString(TargetDirectory));
     data.SetValue(@"" + path + @"TitleTemplate", Data.EscapeString(TitleTemplate));
 }
Esempio n. 3
0
        public override string ToString()
        {
            StringBuilder sb = new StringBuilder();

            sb.AppendLine("[AttachmentPage]");
            sb.AppendLine(AttachmentPage.ToString());
            sb.AppendLine("[AutoSave]");
            sb.AppendLine(AutoSave.ToString());
            sb.AppendLine("[BackgroundPage]");
            sb.AppendLine(BackgroundPage.ToString());
            sb.AppendLine("[CoverPage]");
            sb.AppendLine(CoverPage.ToString());
            sb.AppendLine("[DropboxSettings]");
            sb.AppendLine(DropboxSettings.ToString());
            sb.AppendLine("[EmailClientSettings]");
            sb.AppendLine(EmailClientSettings.ToString());
            sb.AppendLine("[EmailSmtpSettings]");
            sb.AppendLine(EmailSmtpSettings.ToString());
            sb.AppendLine("[Ftp]");
            sb.AppendLine(Ftp.ToString());
            sb.AppendLine("[Ghostscript]");
            sb.AppendLine(Ghostscript.ToString());
            sb.AppendLine("[HttpSettings]");
            sb.AppendLine(HttpSettings.ToString());
            sb.AppendLine("[JpegSettings]");
            sb.AppendLine(JpegSettings.ToString());
            sb.AppendLine("[PdfSettings]");
            sb.AppendLine(PdfSettings.ToString());
            sb.AppendLine("[PngSettings]");
            sb.AppendLine(PngSettings.ToString());
            sb.AppendLine("[Printing]");
            sb.AppendLine(Printing.ToString());
            sb.AppendLine("[Properties]");
            sb.AppendLine(Properties.ToString());
            sb.AppendLine("[Scripting]");
            sb.AppendLine(Scripting.ToString());
            sb.AppendLine("[Stamping]");
            sb.AppendLine(Stamping.ToString());
            sb.AppendLine("[TextSettings]");
            sb.AppendLine(TextSettings.ToString());
            sb.AppendLine("[TiffSettings]");
            sb.AppendLine(TiffSettings.ToString());
            sb.AppendLine("[UserTokens]");
            sb.AppendLine(UserTokens.ToString());
            sb.AppendLine("AuthorTemplate=" + AuthorTemplate.ToString());
            sb.AppendLine("FileNameTemplate=" + FileNameTemplate.ToString());
            sb.AppendLine("Guid=" + Guid.ToString());
            sb.AppendLine("KeywordTemplate=" + KeywordTemplate.ToString());
            sb.AppendLine("Name=" + Name.ToString());
            sb.AppendLine("OpenViewer=" + OpenViewer.ToString());
            sb.AppendLine("OpenWithPdfArchitect=" + OpenWithPdfArchitect.ToString());
            sb.AppendLine("OutputFormat=" + OutputFormat.ToString());
            sb.AppendLine("ShowAllNotifications=" + ShowAllNotifications.ToString());
            sb.AppendLine("ShowOnlyErrorNotifications=" + ShowOnlyErrorNotifications.ToString());
            sb.AppendLine("ShowProgress=" + ShowProgress.ToString());
            sb.AppendLine("ShowQuickActions=" + ShowQuickActions.ToString());
            sb.AppendLine("SkipPrintDialog=" + SkipPrintDialog.ToString());
            sb.AppendLine("SubjectTemplate=" + SubjectTemplate.ToString());
            sb.AppendLine("TargetDirectory=" + TargetDirectory.ToString());
            sb.AppendLine("TitleTemplate=" + TitleTemplate.ToString());

            return(sb.ToString());
        }