From 48852e45050c78c9b7e3798d6a7b98d76a0970d1 Mon Sep 17 00:00:00 2001 From: Elias Fierke Date: Wed, 14 Jan 2026 11:35:37 +0100 Subject: [PATCH] [chore:] removed unused methods --- Tasks/PdfBuilder.cs | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/Tasks/PdfBuilder.cs b/Tasks/PdfBuilder.cs index 86be8b8..17c4073 100644 --- a/Tasks/PdfBuilder.cs +++ b/Tasks/PdfBuilder.cs @@ -83,35 +83,6 @@ public class PdfBuilder CreateAddressLabelPdfWithPlaceholder(addresses, placeholderText, outputPath); } - /// - /// Creates a PDF document with address stickers in a 3×7 grid layout on A4 pages. - /// - /// Array of addresses (from CreateFinalMarkdownString) - /// Path where the PDF should be saved - public void CreateAddressLabelPdf(List addresses, string outputPath) - { - if (addresses == null || addresses.Count == 0) - throw new ArgumentException("Addresses array cannot be null or empty"); - - var document = new PdfDocument(); - - var addressIndex = 0; - while (addressIndex < addresses.Count) - { - var page = document.AddPage(); - page.Size = PageSize.A4; - - using (var gfx = XGraphics.FromPdfPage(page)) - { - // Draw the grid and fill cells - DrawPage(gfx, addresses, ref addressIndex); - } - } - - // Save the document - document.Save(outputPath); - } - /// /// Creates a PDF document with a single placeholder cell for other information. ///