resolve comment icons

This commit is contained in:
2026-06-15 10:13:22 +02:00
parent 9dbd8f7952
commit 3090711892
7 changed files with 19 additions and 18 deletions

View File

@@ -1,4 +1,4 @@
namespace EnvelopeGenerator.WebUI.Client.Models.Constants namespace EnvelopeGenerator.WebUI.Client.Models.Constants
{ {
public enum SenderAppType public enum SenderAppType
{ {

View File

@@ -1,4 +1,4 @@
namespace EnvelopeGenerator.WebUI.Client.Models.Constants; namespace EnvelopeGenerator.WebUI.Client.Models.Constants;
/// <summary> /// <summary>
/// Represents the unit of measurement for coordinate values in signature positioning. /// Represents the unit of measurement for coordinate values in signature positioning.
@@ -16,13 +16,13 @@ public enum UnitOfLength
/// <br/> /// <br/>
/// <b>Evidence:</b> VB.NET code directly assigns database values to annotation properties without conversion: /// <b>Evidence:</b> VB.NET code directly assigns database values to annotation properties without conversion:
/// <code> /// <code>
/// oAnnotation.Left = CSng(pElement.X) ' Direct assignment ? INCHES /// oAnnotation.Left = CSng(pElement.X) ' Direct assignment INCHES
/// oAnnotation.Top = CSng(pElement.Y) /// oAnnotation.Top = CSng(pElement.Y)
/// </code> /// </code>
/// <b>Standard Page Dimensions:</b> /// <b>Standard Page Dimensions:</b>
/// <list type="bullet"> /// <list type="bullet">
/// <item>A4: 8.27" × 11.69" (210mm × 297mm)</item> /// <item>A4: 8.27" × 11.69" (210mm × 297mm)</item>
/// <item>Letter: 8.5" × 11"</item> /// <item>Letter: 8.5" × 11"</item>
/// </list> /// </list>
/// </remarks> /// </remarks>
Inch = 0, Inch = 0,
@@ -41,18 +41,18 @@ public enum UnitOfLength
/// points = inches * 72.0 /// points = inches * 72.0
/// inches = points / 72.0 /// inches = points / 72.0
/// </code> /// </code>
/// <b>Important:</b> Point ? Pixel! /// <b>Important:</b> Point Pixel!
/// <list type="bullet"> /// <list type="bullet">
/// <item><b>Point (pt):</b> Device-independent unit (always 1/72 inch)</item> /// <item><b>Point (pt):</b> Device-independent unit (always 1/72 inch)</item>
/// <item><b>Pixel (px):</b> Device-dependent unit (varies with screen DPI)</item> /// <item><b>Pixel (px):</b> Device-dependent unit (varies with screen DPI)</item>
/// <item>At 72 DPI: 1 point = 1 pixel (coincidence)</item> /// <item>At 72 DPI: 1 point = 1 pixel (coincidence)</item>
/// <item>At 96 DPI: 1 point ? 1.33 pixels</item> /// <item>At 96 DPI: 1 point 1.33 pixels</item>
/// <item>At 300 DPI: 1 point ? 4.17 pixels</item> /// <item>At 300 DPI: 1 point 4.17 pixels</item>
/// </list> /// </list>
/// <b>Standard Page Dimensions (in points):</b> /// <b>Standard Page Dimensions (in points):</b>
/// <list type="bullet"> /// <list type="bullet">
/// <item>A4: 595 × 842 points (8.27" × 11.69" × 72)</item> /// <item>A4: 595 × 842 points (8.27" × 11.69" × 72)</item>
/// <item>Letter: 612 × 792 points (8.5" × 11" × 72)</item> /// <item>Letter: 612 × 792 points (8.5" × 11" × 72)</item>
/// </list> /// </list>
/// <b>Usage in EnvelopeGenerator:</b> /// <b>Usage in EnvelopeGenerator:</b>
/// <list type="bullet"> /// <list type="bullet">

View File

@@ -102,4 +102,4 @@ public record ReceiverClientDto
public string? Signature { get; init; } public string? Signature { get; init; }
public DateTime AddedWhen { get; init; } public DateTime AddedWhen { get; init; }
public DateTime? TfaRegDeadline { get; init; } public DateTime? TfaRegDeadline { get; init; }
} }

View File

@@ -1,4 +1,4 @@
namespace EnvelopeGenerator.WebUI.Client.Models; namespace EnvelopeGenerator.ReceiverUI.Models;
/// <summary> /// <summary>
/// Represents a captured signature with metadata created by the receiver in the signature popup. /// Represents a captured signature with metadata created by the receiver in the signature popup.
@@ -31,6 +31,7 @@ public sealed record SignatureCaptureDto
/// Full name of the signer (first and last name). /// Full name of the signer (first and last name).
/// <br/> /// <br/>
/// <b>Required:</b> Yes (validated in popup) /// <b>Required:</b> Yes (validated in popup)
/// <br/>
/// <b>Display:</b> Bold text in applied signature block /// <b>Display:</b> Bold text in applied signature block
/// <br/> /// <br/>
/// <b>Example:</b> "Max Mustermann" /// <b>Example:</b> "Max Mustermann"

View File

@@ -1,4 +1,4 @@
using EnvelopeGenerator.WebUI.Client.Models.Constants; using EnvelopeGenerator.WebUI.Client.Models.Constants;
namespace EnvelopeGenerator.WebUI.Client.Models; namespace EnvelopeGenerator.WebUI.Client.Models;
@@ -58,8 +58,8 @@ public class SignatureDto
// LegacyFormApp uses GdPicture14 with INCHES // LegacyFormApp uses GdPicture14 with INCHES
return _unitOfLength switch return _unitOfLength switch
{ {
UnitOfLength.Inch => 1.0, // No conversion needed: INCHES ? INCHES UnitOfLength.Inch => 1.0, // No conversion needed: INCHES INCHES
UnitOfLength.Point => 72.0, // INCHES ? PDF Points: 1 inch = 72 points (PDF standard, NOT pixels!) UnitOfLength.Point => 72.0, // INCHES PDF Points: 1 inch = 72 points (PDF standard, NOT pixels!)
_ => throw new InvalidOperationException( _ => throw new InvalidOperationException(
$"Unknown UnitOfLength: {_unitOfLength}. Expected '{nameof(UnitOfLength.Inch)}' or '{nameof(UnitOfLength.Point)}'.") $"Unknown UnitOfLength: {_unitOfLength}. Expected '{nameof(UnitOfLength.Inch)}' or '{nameof(UnitOfLength.Point)}'.")
}; };
@@ -98,4 +98,4 @@ public static class SignatureDtoExtensions
return signatures; return signatures;
} }
} }

View File

@@ -2,7 +2,7 @@ namespace EnvelopeGenerator.WebUI.Client.Options;
public class ApiOptions public class ApiOptions
{ {
public const string SectionName = "ApiOptions"; public const string SectionName = "Api";
public string BaseUrl { get; set; } = string.Empty; public string BaseUrl { get; set; } = string.Empty;

View File

@@ -2,7 +2,7 @@ namespace EnvelopeGenerator.WebUI.Client.Options;
public class PdfViewerOptions public class PdfViewerOptions
{ {
public const string SectionName = "PdfViewerOptions"; public const string SectionName = "PdfViewer";
/// <summary> /// <summary>
/// Base scale for thumbnail rendering (0.2 - 1.5 recommended) /// Base scale for thumbnail rendering (0.2 - 1.5 recommended)