PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sat Apr 27, 2024 9:37 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Tue Jul 17, 2012 4:59 pm 
Offline

Joined: Tue Jul 17, 2012 4:46 pm
Posts: 1
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
COSEdit.png [ 50.44 KiB | Viewed 3603 times ]

Attachment:
File comment: The data that I think I want.
Data.png
Data.png [ 110.22 KiB | Viewed 3603 times ]


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 391 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group