123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows;
- using System.Drawing;
- 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 List<string> NeedToOpenFileList = new List<string>();
- }
- public class DescriptionPropertyClass
- {
-
-
-
- public bool OpenUnClosedFileWhenOpen = false;
-
-
-
- public bool RecoveryViewWhenOpen = false;
-
-
-
- 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 IsBOTAOpen = false;
-
-
-
- public bool ShowOutLine = true;
-
-
-
- public bool AutoExpandProperty = true;
-
-
-
- public bool ClickOpenProperty = true;
-
-
-
- public Color BackGround = Color.White;
-
-
-
- public Color BackGroundInFulWindow = Color.White;
-
-
-
- public bool HignlightForm = true;
-
-
-
- public Color FormHighLightColor = Color.White;
-
-
-
- public Color RequiredFieldsColor = Color.White;
-
-
-
- public bool HighlightLink = true;
- }
- public class AnnotatePropertyClass
- {
-
- public Color HighLightColor = Color.White;
- public Color UnderLineColor = Color.White;
- public Color StrikethroughColor = Color.White;
- public Color FreeHandColor = Color.White;
- public Color TextAnnoteColor = Color.White;
- public Color NoteAnnoteColor = Color.White;
- public Color RectangleBorderColor = Color.White;
- public Color RectangleFillColor = Color.White;
- public Color CircleBorderColor = Color.White;
- public Color CircleFillColor = Color.White;
- public Color LineColor = Color.White;
-
-
-
- public TextAlignment TextAlign = TextAlignment.Left;
-
-
-
- public string TextFontFamaily = "Helvetica";
-
-
-
- public string AnchoredFamaily = "Helvetica";
- }
- }
|