Beispiel #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\");
     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\");
     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\");
     SaveDialog.StoreValues(data, path + @"SaveDialog\");
     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 + @"ShowProgress", ShowProgress.ToString());
     data.SetValue(@"" + path + @"SkipPrintDialog", SkipPrintDialog.ToString());
     data.SetValue(@"" + path + @"SubjectTemplate", Data.EscapeString(SubjectTemplate));
     data.SetValue(@"" + path + @"TitleTemplate", Data.EscapeString(TitleTemplate));
 }
 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));
 }