• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers

Cross Reference Stream Enumeration

Community Beginner ,
Apr 01, 2021 Apr 01, 2021

Copy link to clipboard

Copied

Using APDFL SDK C++ I am trying to enumerate all the indirect regular and compressed object in cross-reference table/stream.
I am using COSDOCEnumIndirect to fetch XRef object and then I use ASStmRead to decode the XRef  object's CosStream. But not sure how to individually enumerate each object in Cross-reference stream.

Any leads would be really helpful.

Thanks.

Views

85

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 01, 2021 Apr 01, 2021

Copy link to clipboard

Copied

Please post the exact name of the Adobe program you use so a Moderator may move this message to that forum

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 05, 2021 Apr 05, 2021

Copy link to clipboard

Copied

I am using PDF Library SDK.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 05, 2021 Apr 05, 2021

Copy link to clipboard

Copied

LATEST

This isn't the place for PDFLIB support, you may need to use your datalogics support contract. However... the same API exists in Acrobat so I guess it's ok to answer. CosObjEnumIndirect visits the whole document, including all xref streams. There is no need to direct it to read them. 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines