Re: [Podofo-users] Getting Segmentation fault when ttrying to access PdfVecObjects

2018-05-21 Thread zyx
On Mon, 2018-05-21 at 08:11 +, Georg Funk wrote:
> I'm trying to build up a tree of all objects and want to walk them
> afterwards to convert the document in epub format.

Hi,
you might need to know what each dictionary servers to, because each of
them references its dependencies differently, not talking about content
streams, which have the references (partly) inside the stream itself.

I mean, to have it done you should read the PDF standard and do the
object searching according to it, while some of the references can be
references to real objects, some can be stored "inline". That is to
construct a real "tree" (some objects like fonts can (and should) be
reused, not talking about XObject-s), you need to know the PDF data
structure very well.
Bye,
zyx

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users


Re: [Podofo-users] Getting Segmentation fault when ttrying to access PdfVecObjects

2018-05-21 Thread Georg Funk
Hi!
Am Montag, den 21.05.2018, 09:19 +0200 schrieb zyx:
> 
>   Hi,
> what are you trying to achieve exactly, please?

I'm trying to build up a tree of all objects and want to walk them
afterwards to convert the document in epub format.

Best regards,
Georg
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users


Re: [Podofo-users] Getting Segmentation fault when ttrying to access PdfVecObjects

2018-05-21 Thread zyx
On Sat, 2018-05-19 at 17:30 +, Georg Funk wrote:
> I now start from the root-Dictionary object for building up the tree,
> and PdfObject::GetIndirectKey() seems to work quite well. But I think
> I'm getting to few objects into the tree.

Hi,
what are you trying to achieve exactly, please?
Bye,
zyx

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users