Built test page for testing tray output for debugging in main app.
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user