|
@@ -9,55 +9,55 @@ using System.Windows;
|
|
|
using System.Windows.Controls;
|
|
|
using ComPDFKit.NativeMethod;
|
|
|
using ComPDFKit_Conversion.Converter;
|
|
|
-using PDF_Office.CustomControl;
|
|
|
-using PDF_Office.CustomControl.SystemControl;
|
|
|
-using PDF_Office.ViewModels;
|
|
|
-using PDF_Office.Views;
|
|
|
-using PDF_Office.Views.BOTA;
|
|
|
-using PDF_Office.Views.Dialog;
|
|
|
-using PDF_Office.Views.HomePanel;
|
|
|
+using PDF_Master.CustomControl;
|
|
|
+using PDF_Master.CustomControl.SystemControl;
|
|
|
+using PDF_Master.ViewModels;
|
|
|
+using PDF_Master.Views;
|
|
|
+using PDF_Master.Views.BOTA;
|
|
|
+using PDF_Master.Views.Dialog;
|
|
|
+using PDF_Master.Views.HomePanel;
|
|
|
using Prism.DryIoc;
|
|
|
using Prism.Ioc;
|
|
|
using Prism.Regions;
|
|
|
-using PDF_Office.Model;
|
|
|
-using PDF_Office.Views.PageEdit;
|
|
|
-using PDF_Office.Properties;
|
|
|
+using PDF_Master.Model;
|
|
|
+using PDF_Master.Views.PageEdit;
|
|
|
+using PDF_Master.Properties;
|
|
|
using PDFSettings.Settings;
|
|
|
-using PDF_Office.Views.Tools;
|
|
|
-using PDF_Office.Views.Dialog.ToolsDialogs.SaftyDialogs;
|
|
|
-using PDF_Office.Views.Dialog.ToolsDialogs.CompressDialogs;
|
|
|
-using PDF_Office.Views.Dialog.PageEditDialogs;
|
|
|
-using PDF_Office.Helper;
|
|
|
-using PDF_Office.Views.Dialog.HomePageToolsDialogs;
|
|
|
-using PDF_Office.Views.Dialog.HomePageToolsDialogs.HomePagePrinter;
|
|
|
-using PDF_Office.Views.PropertyPanel;
|
|
|
-using PDF_Office.Views.Dialog.BOTA;
|
|
|
-using PDF_Office.Views.PropertyPanel.AnnotPanel;
|
|
|
-using PDF_Office.Views.FillAndSign;
|
|
|
-using PDF_Office.Views.FillAndSign.PropertyPanel;
|
|
|
-using PDF_Office.Views.PropertyPanel.ViewModular;
|
|
|
-using PDF_Office.Views.Dialog.HomePageToolsDialogs.HomePageBatchProcessing;
|
|
|
-using PDF_Office.Views.Dialog.ConverterDialogs;
|
|
|
-using PDF_Office.Views.Dialog.HomePageToolsDialogs.HomePageBatchProcessing.HomePageConverter;
|
|
|
-using PDF_Office.Views.EditTools.Watermark;
|
|
|
-using PDF_Office.Views.EditTools.Background;
|
|
|
-using PDF_Office.Views.EditTools.Bates;
|
|
|
-using PDF_Office.Views.EditTools.HeaderFooter;
|
|
|
-using PDF_Office.Views.EditTools.Redaction;
|
|
|
-using PDF_Office.Views.Form;
|
|
|
-using PDF_Office.Views.PropertyPanel.PDFEdit;
|
|
|
-using PDF_Office.Views.Dialog.ToolsDialogs;
|
|
|
-using PDF_Office.Views.Dialog.HomePageToolsDialogs.HomePageBatchProcessing.HomePageHeaderFooter;
|
|
|
-using PDF_Office.Views.Dialog.HomePageToolsDialogs.HomePageBatchProcessing.HomePageBates;
|
|
|
-using PDF_Office.Views.Dialog.HomePageToolsDialogs.HomePageBatchProcessing.HomePageWatermark;
|
|
|
-using PDF_Office.Views.Dialog.HomePageToolsDialogs.HomePageBatchProcessing.HomePageBackground;
|
|
|
+using PDF_Master.Views.Tools;
|
|
|
+using PDF_Master.Views.Dialog.ToolsDialogs.SaftyDialogs;
|
|
|
+using PDF_Master.Views.Dialog.ToolsDialogs.CompressDialogs;
|
|
|
+using PDF_Master.Views.Dialog.PageEditDialogs;
|
|
|
+using PDF_Master.Helper;
|
|
|
+using PDF_Master.Views.Dialog.HomePageToolsDialogs;
|
|
|
+using PDF_Master.Views.Dialog.HomePageToolsDialogs.HomePagePrinter;
|
|
|
+using PDF_Master.Views.PropertyPanel;
|
|
|
+using PDF_Master.Views.Dialog.BOTA;
|
|
|
+using PDF_Master.Views.PropertyPanel.AnnotPanel;
|
|
|
+using PDF_Master.Views.FillAndSign;
|
|
|
+using PDF_Master.Views.FillAndSign.PropertyPanel;
|
|
|
+using PDF_Master.Views.PropertyPanel.ViewModular;
|
|
|
+using PDF_Master.Views.Dialog.HomePageToolsDialogs.HomePageBatchProcessing;
|
|
|
+using PDF_Master.Views.Dialog.ConverterDialogs;
|
|
|
+using PDF_Master.Views.Dialog.HomePageToolsDialogs.HomePageBatchProcessing.HomePageConverter;
|
|
|
+using PDF_Master.Views.EditTools.Watermark;
|
|
|
+using PDF_Master.Views.EditTools.Background;
|
|
|
+using PDF_Master.Views.EditTools.Bates;
|
|
|
+using PDF_Master.Views.EditTools.HeaderFooter;
|
|
|
+using PDF_Master.Views.EditTools.Redaction;
|
|
|
+using PDF_Master.Views.Form;
|
|
|
+using PDF_Master.Views.PropertyPanel.PDFEdit;
|
|
|
+using PDF_Master.Views.Dialog.ToolsDialogs;
|
|
|
+using PDF_Master.Views.Dialog.HomePageToolsDialogs.HomePageBatchProcessing.HomePageHeaderFooter;
|
|
|
+using PDF_Master.Views.Dialog.HomePageToolsDialogs.HomePageBatchProcessing.HomePageBates;
|
|
|
+using PDF_Master.Views.Dialog.HomePageToolsDialogs.HomePageBatchProcessing.HomePageWatermark;
|
|
|
+using PDF_Master.Views.Dialog.HomePageToolsDialogs.HomePageBatchProcessing.HomePageBackground;
|
|
|
using ComDocumentAIKit;
|
|
|
-using PDF_Office.Views.PropertyPanel.Scan;
|
|
|
-using PDF_Office.Views.Dialog.Redaction;
|
|
|
-using PDF_Office.Views.Scan;
|
|
|
-using PDF_Office.Views.TipContent;
|
|
|
+using PDF_Master.Views.PropertyPanel.Scan;
|
|
|
+using PDF_Master.Views.Dialog.Redaction;
|
|
|
+using PDF_Master.Views.Scan;
|
|
|
+using PDF_Master.Views.TipContent;
|
|
|
using System.Windows.Threading;
|
|
|
-using PDF_Office.Views.Dialog.ServiceDialog;
|
|
|
+using PDF_Master.Views.Dialog.ServiceDialog;
|
|
|
using System.Diagnostics;
|
|
|
using System.Resources;
|
|
|
using System.Reflection;
|
|
@@ -66,14 +66,20 @@ using System.Globalization;
|
|
|
using Microsoft.AppCenter.Analytics;
|
|
|
using Microsoft.AppCenter.Crashes;
|
|
|
|
|
|
-namespace PDF_Office
|
|
|
+namespace PDF_Master
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// App.xaml 的交互逻辑
|
|
|
/// </summary>
|
|
|
public partial class App : PrismApplication
|
|
|
{
|
|
|
- public static string CurrentPath = System.IO.Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Personal), "PDF Office");
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 产品名称
|
|
|
+ /// </summary>
|
|
|
+ public static string Name = "PDF Master";
|
|
|
+
|
|
|
+ public static string CurrentPath = System.IO.Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Personal), Name);
|
|
|
|
|
|
/// <summary>
|
|
|
/// 内嵌文档路径
|
|
@@ -85,11 +91,6 @@ namespace PDF_Office
|
|
|
/// </summary>
|
|
|
public static bool IsGuidPDFUpdated = false;
|
|
|
|
|
|
- /// <summary>
|
|
|
- /// 产品名称
|
|
|
- /// </summary>
|
|
|
- public static string Name = "PDF Office";
|
|
|
-
|
|
|
/// <summary>
|
|
|
/// 当前app版本号
|
|
|
/// </summary>
|
|
@@ -128,17 +129,17 @@ namespace PDF_Office
|
|
|
/// <summary>
|
|
|
/// 文案资源管理器 首页
|
|
|
/// </summary>
|
|
|
- public static ResourceManager HomePageLoader = new ResourceManager("PDF_Office.Strings.HomePage.HomePage", Assembly.GetExecutingAssembly());
|
|
|
+ public static ResourceManager HomePageLoader = new ResourceManager("PDF_Master.Strings.HomePage.HomePage", Assembly.GetExecutingAssembly());
|
|
|
|
|
|
/// <summary>
|
|
|
/// 文案资源管理器 阅读页
|
|
|
/// </summary>
|
|
|
- public static ResourceManager MainPageLoader = new ResourceManager("PDF_Office.Strings.MainPage.MainPage", Assembly.GetExecutingAssembly());
|
|
|
+ public static ResourceManager MainPageLoader = new ResourceManager("PDF_Master.Strings.MainPage.MainPage", Assembly.GetExecutingAssembly());
|
|
|
|
|
|
/// <summary>
|
|
|
/// 文案资源管理器 注册相关
|
|
|
/// </summary>
|
|
|
- public static ResourceManager ServiceLoader = new ResourceManager("PDF_Office.Strings.Service.Service", Assembly.GetExecutingAssembly());
|
|
|
+ public static ResourceManager ServiceLoader = new ResourceManager("PDF_Master.Strings.Service.Service", Assembly.GetExecutingAssembly());
|
|
|
|
|
|
public App()
|
|
|
{
|
|
@@ -421,7 +422,7 @@ namespace PDF_Office
|
|
|
containerRegistry.RegisterDialog<SetPasswordDialog>(DialogNames.SetPasswordDialog);
|
|
|
containerRegistry.RegisterDialog<CheckPasswordDialog>(DialogNames.CheckPasswordDialog);
|
|
|
containerRegistry.RegisterDialog<DeleteSafetySettingsDialog>(DialogNames.DeleteSafetySettingsDialog);
|
|
|
- containerRegistry.RegisterDialog<CompressProgressBarDialog, PDF_Office.ViewModels.Dialog.ToolsDialogs.CompressDialogs.CompresProgressBarDialogViewModel>(DialogNames.CompressProgressBarDialog);
|
|
|
+ containerRegistry.RegisterDialog<CompressProgressBarDialog, PDF_Master.ViewModels.Dialog.ToolsDialogs.CompressDialogs.CompresProgressBarDialogViewModel>(DialogNames.CompressProgressBarDialog);
|
|
|
containerRegistry.RegisterDialog<InsertDialog>(DialogNames.InsertDialog);
|
|
|
containerRegistry.RegisterDialog<SplitDialog>(DialogNames.SplitDialog);
|
|
|
containerRegistry.RegisterDialog<ExtractDialog>(DialogNames.ExtractDialog);
|