Skip to content

Commit 1ad296f

Browse files
committed
Removed obsolete pdf converter code
1 parent e743760 commit 1ad296f

20 files changed

Lines changed: 24 additions & 1004 deletions

src/Libraries/SmartStore.Data/Migrations/201412081934318_V211.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,13 @@ The details have been sent to our support team and we will investigate the issue
191191
builder.AddOrUpdate("PDFPackagingSlip.ProductListHeadline",
192192
"Shipped products",
193193
"Gelieferte Produkte");
194-
194+
195+
builder.AddOrUpdate("Admin.Common.ExportToPdf.TooManyItems",
196+
"Too many items! The PDF conversion is limited to 500 items. Please reduce the amount of selected records.",
197+
"Zu viele Objekte! Mehr als 500 Objekte können nicht konvertiert werden. Bitte reduzieren Sie die Anzahl ausgewählter Datensätze.");
198+
builder.AddOrUpdate("Admin.Common.ExportToPdf.TocTitle",
199+
"Table of contents",
200+
"Inhaltsverzeichnis");
195201

196202

197203
builder.AddOrUpdate("Admin.Configuration.Settings.Order.MinOrderSubtotalAmount").Value("de", "Mindestbestellwert Zwischensumme");

src/Libraries/SmartStore.Services/Pdf/IPdfConverter.cs

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,6 @@ namespace SmartStore.Services.Pdf
77
{
88
public interface IPdfConverter
99
{
10-
/// <summary>
11-
/// Converts html content to PDF
12-
/// </summary>
13-
/// <param name="html">The html content</param>
14-
/// <param name="options">The options to be used for the conversion process</param>
15-
/// <returns>The PDF binary data</returns>
16-
byte[] ConvertHtml(string html, PdfConvertOptions options);
17-
18-
/// <summary>
19-
/// Converts any html file to PDF
20-
/// </summary>
21-
/// <param name="htmlFilePath">path to HTML file or absolute URL</param>
22-
/// <param name="options">The options to be used for the conversion process</param>
23-
/// <param name="coverHtml">First page HTML</param>
24-
/// <returns>The PDF binary data</returns>
25-
byte[] ConvertFile(string htmlFilePath, PdfConvertOptions options, string coverHtml = null);
26-
27-
2810
/// <summary>
2911
/// Converts html content to PDF
3012
/// </summary>

src/Libraries/SmartStore.Services/Pdf/IPdfHeaderFooter.cs

Lines changed: 0 additions & 19 deletions
This file was deleted.

src/Libraries/SmartStore.Services/Pdf/PdfConvertOptions.cs

Lines changed: 0 additions & 145 deletions
This file was deleted.

0 commit comments

Comments
 (0)