feat: rebrand to MMD PDF, single corporate theme, and remove original text under an edit
- Services/PdfRedactText.cs: strip text whose origin falls inside a CoverAnnotation from the page content stream at save time, hooked into PdfBurn.DrawAnnotationsIntoDoc. Fixes edited values staying recoverable by text extraction. - Themes/MMD.xaml replaces all thirteen themes; picker and accent strip removed; no dark mode. - Rename KillerPDF -> MMD PDF across code, resources, packaging and locale strings; new icon. - Remove the upstream author credit and the in-app install button.
This commit is contained in:
+8
-8
@@ -4,10 +4,10 @@ using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Media;
|
||||
using KillerPDF.Features;
|
||||
using KillerPDF.Services;
|
||||
using MmdPdf.Features;
|
||||
using MmdPdf.Services;
|
||||
|
||||
namespace KillerPDF
|
||||
namespace MmdPdf
|
||||
{
|
||||
public partial class MainWindow : IOcrHost
|
||||
{
|
||||
@@ -193,13 +193,13 @@ namespace KillerPDF
|
||||
OcrLanguages.TryDeleteFile(dest + ".part");
|
||||
if (ct.IsCancellationRequested) SetStatus(string.Format(Loc("Str_St_LangCanceled"), name));
|
||||
else KillerDialog.Show(this, string.Format(Loc("Str_Dlg_DownloadTimeout"), name),
|
||||
"KillerPDF", MessageBoxButton.OK, MessageBoxImage.Error);
|
||||
"MmdPdf", MessageBoxButton.OK, MessageBoxImage.Error);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
HideBusyOverlay(busy);
|
||||
OcrLanguages.TryDeleteFile(dest + ".part");
|
||||
KillerDialog.Show(this, string.Format(Loc("Str_Err_LangDataFailed"), name) + "\n" + ex.Message, "KillerPDF",
|
||||
KillerDialog.Show(this, string.Format(Loc("Str_Err_LangDataFailed"), name) + "\n" + ex.Message, "MmdPdf",
|
||||
MessageBoxButton.OK, MessageBoxImage.Error);
|
||||
}
|
||||
finally
|
||||
@@ -266,7 +266,7 @@ namespace KillerPDF
|
||||
catch (Exception ex)
|
||||
{
|
||||
HideBusyOverlay(busy);
|
||||
KillerDialog.Show(this, Loc("Str_Err_HqDownloadFailed") + "\n" + ex.Message, "KillerPDF",
|
||||
KillerDialog.Show(this, Loc("Str_Err_HqDownloadFailed") + "\n" + ex.Message, "MmdPdf",
|
||||
MessageBoxButton.OK, MessageBoxImage.Error);
|
||||
}
|
||||
finally
|
||||
@@ -292,7 +292,7 @@ namespace KillerPDF
|
||||
string names = string.Join(", ", missing.ConvertAll(OcrLanguages.NameForCode));
|
||||
var choice = KillerDialog.Show(this,
|
||||
string.Format(Loc("Str_Dlg_LangDownloadAsk"), names),
|
||||
"KillerPDF", MessageBoxButton.OKCancel, MessageBoxImage.Information);
|
||||
"MmdPdf", MessageBoxButton.OKCancel, MessageBoxImage.Information);
|
||||
if (choice != MessageBoxResult.OK) return false;
|
||||
|
||||
var ct = BeginCancellableOp(Loc("Str_Op_LangDownload"));
|
||||
@@ -325,7 +325,7 @@ namespace KillerPDF
|
||||
catch (Exception ex)
|
||||
{
|
||||
KillerDialog.Show(this, Loc("Str_Err_ModelDownloadFailed") + "\n" + ex.Message,
|
||||
"KillerPDF", MessageBoxButton.OK, MessageBoxImage.Error);
|
||||
"MmdPdf", MessageBoxButton.OK, MessageBoxImage.Error);
|
||||
return false;
|
||||
}
|
||||
finally
|
||||
|
||||
Reference in New Issue
Block a user