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("[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("[SaveDialog]"); sb.AppendLine(SaveDialog.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("ShowProgress=" + ShowProgress.ToString()); sb.AppendLine("SkipPrintDialog=" + SkipPrintDialog.ToString()); sb.AppendLine("SubjectTemplate=" + SubjectTemplate.ToString()); sb.AppendLine("TitleTemplate=" + TitleTemplate.ToString()); return(sb.ToString()); }
public override bool Equals(object o) { if (!(o is ConversionProfile)) { return(false); } ConversionProfile v = o as ConversionProfile; if (!AttachmentPage.Equals(v.AttachmentPage)) { return(false); } if (!AutoSave.Equals(v.AutoSave)) { return(false); } if (!BackgroundPage.Equals(v.BackgroundPage)) { return(false); } if (!CoverPage.Equals(v.CoverPage)) { return(false); } if (!DropboxSettings.Equals(v.DropboxSettings)) { return(false); } if (!EmailClientSettings.Equals(v.EmailClientSettings)) { return(false); } if (!EmailSmtpSettings.Equals(v.EmailSmtpSettings)) { return(false); } if (!Ftp.Equals(v.Ftp)) { return(false); } if (!Ghostscript.Equals(v.Ghostscript)) { return(false); } if (!JpegSettings.Equals(v.JpegSettings)) { return(false); } if (!PdfSettings.Equals(v.PdfSettings)) { return(false); } if (!PngSettings.Equals(v.PngSettings)) { return(false); } if (!Printing.Equals(v.Printing)) { return(false); } if (!Properties.Equals(v.Properties)) { return(false); } if (!SaveDialog.Equals(v.SaveDialog)) { return(false); } if (!Scripting.Equals(v.Scripting)) { return(false); } if (!Stamping.Equals(v.Stamping)) { return(false); } if (!TextSettings.Equals(v.TextSettings)) { return(false); } if (!TiffSettings.Equals(v.TiffSettings)) { return(false); } if (!UserTokens.Equals(v.UserTokens)) { return(false); } if (!AuthorTemplate.Equals(v.AuthorTemplate)) { return(false); } if (!FileNameTemplate.Equals(v.FileNameTemplate)) { return(false); } if (!Guid.Equals(v.Guid)) { return(false); } if (!KeywordTemplate.Equals(v.KeywordTemplate)) { return(false); } if (!Name.Equals(v.Name)) { return(false); } if (!OpenViewer.Equals(v.OpenViewer)) { return(false); } if (!OpenWithPdfArchitect.Equals(v.OpenWithPdfArchitect)) { return(false); } if (!OutputFormat.Equals(v.OutputFormat)) { return(false); } if (!ShowProgress.Equals(v.ShowProgress)) { return(false); } if (!SkipPrintDialog.Equals(v.SkipPrintDialog)) { return(false); } if (!SubjectTemplate.Equals(v.SubjectTemplate)) { return(false); } if (!TitleTemplate.Equals(v.TitleTemplate)) { return(false); } return(true); }
public override bool Equals(object o) { if (!(o is ConversionProfile)) { return(false); } ConversionProfile v = o as ConversionProfile; if (!AttachmentPage.Equals(v.AttachmentPage)) { return(false); } if (!AutoSave.Equals(v.AutoSave)) { return(false); } if (!BackgroundPage.Equals(v.BackgroundPage)) { return(false); } if (!CoverPage.Equals(v.CoverPage)) { return(false); } if (!CustomScript.Equals(v.CustomScript)) { return(false); } if (!DropboxSettings.Equals(v.DropboxSettings)) { return(false); } if (!EmailClientSettings.Equals(v.EmailClientSettings)) { return(false); } if (!EmailSmtpSettings.Equals(v.EmailSmtpSettings)) { return(false); } if (!ForwardToFurtherProfile.Equals(v.ForwardToFurtherProfile)) { return(false); } if (!Ftp.Equals(v.Ftp)) { return(false); } if (!Ghostscript.Equals(v.Ghostscript)) { return(false); } if (!HttpSettings.Equals(v.HttpSettings)) { return(false); } if (!JpegSettings.Equals(v.JpegSettings)) { return(false); } if (!PdfSettings.Equals(v.PdfSettings)) { return(false); } if (!PngSettings.Equals(v.PngSettings)) { return(false); } if (!Printing.Equals(v.Printing)) { return(false); } if (!Properties.Equals(v.Properties)) { return(false); } if (!Scripting.Equals(v.Scripting)) { return(false); } if (!Stamping.Equals(v.Stamping)) { return(false); } if (!TextSettings.Equals(v.TextSettings)) { return(false); } if (!TiffSettings.Equals(v.TiffSettings)) { return(false); } if (!UserTokens.Equals(v.UserTokens)) { return(false); } if (!Watermark.Equals(v.Watermark)) { return(false); } if (!ActionOrder.SequenceEqual(v.ActionOrder)) { return(false); } if (!AuthorTemplate.Equals(v.AuthorTemplate)) { return(false); } if (!EnableWorkflowEditor.Equals(v.EnableWorkflowEditor)) { return(false); } if (!FileNameTemplate.Equals(v.FileNameTemplate)) { return(false); } if (!Guid.Equals(v.Guid)) { return(false); } if (!KeywordTemplate.Equals(v.KeywordTemplate)) { return(false); } if (!Name.Equals(v.Name)) { return(false); } if (!OpenViewer.Equals(v.OpenViewer)) { return(false); } if (!OpenWithPdfArchitect.Equals(v.OpenWithPdfArchitect)) { return(false); } if (!OutputFormat.Equals(v.OutputFormat)) { return(false); } if (!SaveFileTemporary.Equals(v.SaveFileTemporary)) { return(false); } if (!ShowAllNotifications.Equals(v.ShowAllNotifications)) { return(false); } if (!ShowOnlyErrorNotifications.Equals(v.ShowOnlyErrorNotifications)) { return(false); } if (!ShowProgress.Equals(v.ShowProgress)) { return(false); } if (!ShowQuickActions.Equals(v.ShowQuickActions)) { return(false); } if (!SkipPrintDialog.Equals(v.SkipPrintDialog)) { return(false); } if (!SubjectTemplate.Equals(v.SubjectTemplate)) { return(false); } if (!TargetDirectory.Equals(v.TargetDirectory)) { return(false); } if (!TitleTemplate.Equals(v.TitleTemplate)) { return(false); } return(true); }