Built test page for testing tray output for debugging in main app.

This commit is contained in:
Jason
2026-06-11 10:05:48 -05:00
parent 28e06b2f39
commit 7c501d3e44
11 changed files with 598 additions and 25 deletions
+17
View File
@@ -15,6 +15,14 @@ public class DocumentTypeConfig
{
public string Name { get; set; } = string.Empty;
public List<PageConfig> Pages { get; set; } = new();
// Rust transformation properties (optional - can be edited in JSON directly)
public int LinePadding { get; set; } = 0;
public bool RemoveOrderNumber { get; set; } = false;
public bool RemoveOrderNumberLabel { get; set; } = false;
public string IndentOrderNumber { get; set; } = string.Empty;
public Dictionary<int, int> RowShift { get; set; } = new();
public Dictionary<int, RowTrimConfig> RowTrim { get; set; } = new();
}
/// <summary>
@@ -27,3 +35,12 @@ public class PageConfig
public int TrayNumber { get; set; }
public string? TrayLabel { get; set; } // Optional: "Pink Paper", "Green Paper", etc.
}
/// <summary>
/// Configuration for row trimming (horizontal character removal)
/// </summary>
public class RowTrimConfig
{
public int Start { get; set; }
public int End { get; set; }
}