Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Convert pdf to afp

Avatar

Level 3

Hi all, got a question about generating a afp file with a specific structure, can the below structure be achieved with streamserve afp output? :

Begin Resource Group
    …(resources)…
End Resource Group
Begin Document
      Begin Named Page Group (e.g. 1-page business document)
          Begin Page
               …(page 1 data)…
          End Page
          Tag Logical Element (metadata field 1)
          Tag Logical Element (metadata field 2)
           …(TLEs 3-n)…
       End Named Page Group
End Document

Begin Document
       Begin Named Page Group (e.g. 2-page business document)
           Begin Page
               …(page 1 data)…
           End Page
           Begin Page
                …(page 2 data)…
           End Page
           Tag Logical Element (metadata field 1)
           Tag Logical Element (metadata field 2)
           …(TLEs 3-n)…
       End Named Page Group
End Document

1 Accepted Solution

Avatar

Correct answer by
Level 2

Hi,

as far as I can see, you can include TLEs only before documents and pages, so you could have

Begin Document
      Begin Named Page Group (e.g. 1-page business document)
          Tag Logical Element (metadata field 1)
           Tag Logical Element (metadata field 2)
            …(TLEs 3-n)…
           Begin Page

               Active Environment Group

               TLE 1

               TLE 2

               ...(TLEs 3-n)...
               …(page 1 data)…
          End Page
       End Named Page Group
End Document

Regards

George

View solution in original post

1 Reply

Avatar

Correct answer by
Level 2

Hi,

as far as I can see, you can include TLEs only before documents and pages, so you could have

Begin Document
      Begin Named Page Group (e.g. 1-page business document)
          Tag Logical Element (metadata field 1)
           Tag Logical Element (metadata field 2)
            …(TLEs 3-n)…
           Begin Page

               Active Environment Group

               TLE 1

               TLE 2

               ...(TLEs 3-n)...
               …(page 1 data)…
          End Page
       End Named Page Group
End Document

Regards

George