123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows;
- using System.Windows.Media;
- using ComPDFKitViewer.PdfViewer;
- using ComPDFKitViewer;
- namespace PDFSettings
- {
- public class APPSettingProperties
- {
- public DescriptionPropertyClass Description = new DescriptionPropertyClass();
- public InitialVIewPropertyClass InitialVIew = new InitialVIewPropertyClass();
- public AnnotatePropertyClass Annotate = new AnnotatePropertyClass();
-
- public List<System.Windows.Media.Color> CustomColorList = new List<System.Windows.Media.Color>();
-
- public int DateMode = 0;
- public string CustomAuthor = "PDF Reader Pro";
-
- public int TabSelectedIndex = 0;
-
- public bool IsFixed = true;
-
- public List<string> NeedToDeletePath = new List<string>();
-
- public List<string> CustomStampFilePathLists = new List<string>();
- public List<string> SignatureFilePathLists = new List<string>();
- public string culture = System.Globalization.CultureInfo.CurrentUICulture.ToString();
-
-
-
- public int RecentFileListMode = 0;
-
-
-
- public bool DontTipBeforeDeleteRecent = false;
-
-
-
- public List<string> NeedToOpenFileList = new List<string>();
-
-
-
- public string LoginToken = "";
- }
- public class DescriptionPropertyClass
- {
-
-
-
- public bool OpenUnClosedFileWhenOpen = false;
-
-
-
- public bool RecoveryViewWhenOpen = true;
-
-
-
- public int FileCountInRecentFiles = 10;
-
-
-
- public bool AutoSave = true;
-
-
-
- public int AutoSaveInterval = 5;
-
-
-
- public bool ShowSaveWhenClose = true;
-
-
-
- public bool NotShowSaveWhenClose = false;
-
-
-
- public bool AutoScanImageFile = true;
-
-
-
- public bool TipScanImageFile = false;
-
-
-
- public string Author = Environment.UserName;
- }
- public class InitialVIewPropertyClass
- {
-
-
-
- public ViewMode PageView = ViewMode.SingleContinuous;
-
-
-
- public FitMode ZoomMode = FitMode.FitWidth;
-
-
-
- public bool NotShowBOTA = true;
-
-
-
- public bool RememberBOTA = false;
-
-
-
- public bool ShowOutLine = false;
-
-
-
- public bool AutoExpandProperty = true;
-
-
-
- public bool ClickOpenProperty = false;
-
-
-
- public Color BackGround = (Color)ColorConverter.ConvertFromString("#CED0D4");
-
-
-
- public Color BackGroundInFulWindow = (Color)ColorConverter.ConvertFromString("#36383B");
-
-
-
- public bool HignlightForm = true;
-
-
-
- public Color FormHighLightColor = Colors.White;
-
-
-
- public Color RequiredFieldsColor = Colors.White;
-
-
-
- public bool HighlightLink = true;
- }
- public class AnnotatePropertyClass
- {
-
- public Color HighLightColor = Color.FromArgb(0xFF, 0xFF, 0xC7, 0x00);
- public Color UnderLineColor = Color.FromArgb(0xFF, 0xFC, 0x1F, 0x1F);
-
-
-
- public Color StrikethroughColor = Color.FromArgb(0xFF, 0xFC, 0x1F, 0x1F);
- public Color FreeHandColor = Color.FromArgb(0xFF, 0xFC, 0x1F, 0x1F);
-
-
-
- public Color TextAnnoteColor = Colors.Black;
-
-
-
-
- public Color NoteAnnoteColor = Color.FromArgb(0xFF, 0xFF, 0xD5, 0x73);
- public Color RectangleBorderColor = Color.FromArgb(0xFF, 0xFC, 0x1F, 0x1F);
- public Color RectangleFillColor = Colors.Transparent;
- public Color CircleBorderColor = Color.FromArgb(0xFF, 0xFC, 0x1F, 0x1F);
- public Color CircleFillColor = Colors.Transparent;
- public Color LineColor = Color.FromArgb(0xFF, 0xFC, 0x1F, 0x1F);
- public Color ArrowColor = Colors.Red;
-
-
-
- public TextAlignment TextAlign = TextAlignment.Left;
-
-
-
- public string TextFontFamaily = "Helvetica";
-
-
-
- public string AnchoredFamaily = "Helvetica";
- }
- }
|