#24 make some fields public

This commit is contained in:
Eliot Jones
2019-01-05 15:13:32 +00:00
parent b9f5a6da8c
commit f1621b3924
18 changed files with 604 additions and 419 deletions

View File

@@ -31,5 +31,15 @@
Assert.Throws<ObjectDisposedException>(action);
}
[Fact]
public void GetsAllFormFields()
{
using (var document = PdfDocument.Open(GetFilename(), new ParsingOptions { UseLenientParsing = false }))
{
var form = document.GetForm();
Assert.Equal(16, form.Fields.Count);
}
}
}
}