Files
kua-agent 6610acfa44 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.
2026-08-27 07:37:09 +02:00

21 lines
1.1 KiB
C#

namespace MmdPdf
{
// How a document view lays its pages out, and how it fits them to the viewport.
//
// TOP-LEVEL, not nested in MainWindow. The viewer is a UserControl in MmdPdf.Controls, and
// from there a type nested in MainWindow only spells as MainWindow.ViewMode - which would mean
// qualifying 91 references for no gain. As top-level types in MmdPdf they resolve
// unqualified from MmdPdf.Controls too (a namespace declaration puts its parent namespaces
// in scope), so every call site compiles untouched.
//
// internal, not public: nothing outside the assembly has any business with either.
/// <summary>Page layout for a document view. RenderPage is Single/TwoPage/Grid only and is
/// guarded to no-op in Continuous - see the render pipeline's notes on why the two pipelines
/// cannot be mixed.</summary>
internal enum ViewMode { Single, Continuous, TwoPage, Grid }
/// <summary>Automatic fit applied on resize, or None when the user has set a zoom.</summary>
internal enum FitMode { None, Width, Page }
}