mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-11-24 16:53:20 +08:00
tidy up some small formatting issues
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
/// %PDF–1.6
|
||||
/// %PDF–1.7
|
||||
/// This parser allows versions up to 1.9.
|
||||
/// 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.
|
||||
/// 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
|
||||
{
|
||||
|
||||
@@ -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 _))
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user