PDFsharp & MigraDoc Foundation https://forum.pdfsharp.net/ |
|
Getting Dictionary of Values from Internal Structure of PDF https://forum.pdfsharp.net/viewtopic.php?f=2&t=2090 |
Page 1 of 1 |
Author: | TheDeej [ Tue Jul 17, 2012 4:59 pm ] |
Post subject: | Getting Dictionary of Values from Internal Structure of PDF |
Hello all, I have a slight problem in that I need to be able to split a PDF using the indexes provided by SOLindexer (http://stackoverflow.com/questions/11477272/getting-dictionary-of-values-from-pdfs-internals-using-itextsharp-and-pdfsharp). I have to be able to get the start and end pages of the bookmark so that I can split the PDF. I have been able to drill down using this code: Code: var dict = inputDocument.Info.Elements.GetDictionary("/SSEDictionary"); var newdict = dict.Elements.GetDictionary("/Document_MemberStatements"); But I haven't been able to get to the data contained within /Document_MemberStatements. I am able to open the -DATA- file in notepad, and everything I need (account names/numbers) appear to be in there, but they are formatted weird, and I don't know how to apply a filter to them. Please see the attached images for what I'm talking about. Attachment:
File comment: The structure. COSEdit.png [ 50.44 KiB | Viewed 4010 times ] Attachment:
File comment: The data that I think I want.
Data.png [ 110.22 KiB | Viewed 4010 times ] |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |