mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-08-20 09:37:44 +08:00
Make DecodeParameterResolver class public
This commit is contained in:
parent
5a06e1e1cc
commit
4ffcb895e8
@ -98,6 +98,7 @@
|
||||
"UglyToad.PdfPig.CrossReference.TrailerDictionary",
|
||||
"UglyToad.PdfPig.Exceptions.PdfDocumentEncryptedException",
|
||||
"UglyToad.PdfPig.Filters.BaseFilterProvider",
|
||||
"UglyToad.PdfPig.Filters.DecodeParameterResolver",
|
||||
"UglyToad.PdfPig.Filters.DefaultFilterProvider",
|
||||
"UglyToad.PdfPig.Filters.IFilter",
|
||||
"UglyToad.PdfPig.Filters.IFilterProvider",
|
||||
|
||||
@ -5,8 +5,18 @@
|
||||
using Tokens;
|
||||
using UglyToad.PdfPig.Util;
|
||||
|
||||
internal static class DecodeParameterResolver
|
||||
{
|
||||
/// <summary>
|
||||
/// Decode parameter resolver.
|
||||
/// </summary>
|
||||
public static class DecodeParameterResolver
|
||||
{
|
||||
/// <summary>
|
||||
/// Get the filter parameters from a stream dictionary.
|
||||
/// </summary>
|
||||
/// <param name="streamDictionary">The stream dictionary.</param>
|
||||
/// <param name="index">If the filter element is an <see cref="ArrayToken"/>, the index in the array to take the dictionary from.</param>
|
||||
/// <exception cref="ArgumentNullException"></exception>
|
||||
/// <exception cref="ArgumentOutOfRangeException"></exception>
|
||||
public static DictionaryToken GetFilterParameters(DictionaryToken streamDictionary, int index)
|
||||
{
|
||||
if (streamDictionary is null)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user