tidy up some small formatting issues

This commit is contained in:
Eliot Jones
2023-05-21 12:20:57 +01:00
parent 2073e036ef
commit 6b9c3be9f8
3 changed files with 1 additions and 8 deletions

View File

@@ -24,7 +24,7 @@
/// %PDF1.6
/// %PDF1.7
/// This parser allows versions up to 1.9.
/// For versions equal or greater to PDF 1.4, the optional Version entry in the documents catalog dictionary should be used instead of the header version.
/// For versions equal or greater to PDF 1.4, the optional Version entry in the document's catalog dictionary should be used instead of the header version.
/// </remarks>
internal static class FileHeaderParser
{

View File

@@ -187,8 +187,6 @@
parsingOptions.Logger,
parsingOptions.UseLenientParsing);
var acroFormFactory = new AcroFormFactory(pdfScanner, filterProvider, crossReferenceTable);
var bookmarksProvider = new BookmarksProvider(parsingOptions.Logger, pdfScanner);
@@ -196,7 +194,6 @@
inputBytes,
version,
crossReferenceTable,
pageFactory,
catalog,
information,
encryptionDictionary,
@@ -229,7 +226,6 @@
return null;
}
if (!DirectObjectFinder.TryGet(crossReferenceTable.Trailer.EncryptionToken, pdfTokenScanner, out DictionaryToken encryptionDictionaryToken))
{
if (DirectObjectFinder.TryGet(crossReferenceTable.Trailer.EncryptionToken, pdfTokenScanner, out NullToken _))

View File

@@ -14,8 +14,6 @@
using Tokenization.Scanner;
using Tokens;
using Outline;
using Outline.Destinations;
using System.Linq;
using Util.JetBrains.Annotations;
/// <inheritdoc />
@@ -81,7 +79,6 @@
internal PdfDocument(IInputBytes inputBytes,
HeaderVersion version,
CrossReferenceTable crossReferenceTable,
IPageFactory pageFactory,
Catalog catalog,
DocumentInformation information,
EncryptionDictionary encryptionDictionary,