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 CustomColorList = new List(); //动态图章日期格式 下拉列表索引 public int DateMode = 0; public string CustomAuthor = "PDF Reader Pro"; //ToolTabControl 选中项 public int TabSelectedIndex = 0; //是否固定 public bool IsFixed = true; //需要重启后删除的临时文件 public List NeedToDeletePath = new List(); //文件源路径集合 public List CustomStampFilePathLists = new List(); public List SignatureFilePathLists = new List(); public string culture = System.Globalization.CultureInfo.CurrentUICulture.ToString(); /// /// 0 - listView 1-GridView /// public int RecentFileListMode = 0; /// /// 切换语言时 重启时需要打开的文档列表 /// public List NeedToOpenFileList = new List(); } public class DescriptionPropertyClass { private string author = "PDF Reader Pro"; public string Author { get { return author; } set { author = value; } } /// /// 0-a new tab in the Same window 1- open in new window /// public int OpenDocumentMode = 1; /// /// 文件打开时是否显示选择在标签页打开方式 /// public int HideOpenTabWindow = 0; public ViewMode DefualtLayout = ViewMode.SingleContinuous; public FitMode NewDocumentFitMode = FitMode.FitSize; public ViewMode DefualtLayoutInFullScreen = ViewMode.SingleContinuous; public bool IsOpenLastFilesAtStart = false; public bool IsRememberLastPageViewed = true; public bool IsOpenPanelOnlyforOutline = false; } public class InitialVIewPropertyClass { //字体属性 单独写在外面 层数太多绑定响应不到 public string Background = "#DBDDE5"; } public class AnnotatePropertyClass { /// /// 0-left 1-center 2-right /// public int TextAlign = 0; /// /// 文本注释 字体 /// public string TextFontFamaily = "Helvetica"; /// /// 标签Note 字体 /// public string AnchoredFamaily = "Helvetica"; } }