Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Merge PDF with Layers
  FAQ FAQ  Forum Search   Register Register  Login Login

Merge PDF with Layers

 Post Reply Post Reply
Author
Message Reverse Sort Order
maratovich View Drop Down
Beginner
Beginner


Joined: 05 Sep 17
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote maratovich Quote  Post ReplyReply Direct Link To This Post Topic: Merge PDF with Layers
    Posted: 02 Feb 21 at 6:52PM
The problem is that the MergeFileList is being used.
At the same time, it is impossible to do something with the files before merging.
And for reference, the described "combine" commands do not fix it at all.
After merging the layers are only on the first page, they are lost on the rest.
So I am not using new versions yet, there are no useful fixes.
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3294
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 15 Jan 21 at 6:42PM
Originally posted by ventumsoft ventumsoft wrote:

Thank you so much Ingo, for your answer!

My mistake is that I wrote "Layers". After reading the documentation, I realized that the correct term is OCG (Optional Content Groups)


I need to save OCG in each of the merged PDFs.  Content stream manipulation doesn't help. Probably need to work directly with OSG . But there is no combination function for OCG . Maybe there is a solution for this OCG probleml?


Regarding OCG you'll find a lot of interesting informations inside the developer guide...

Cheers,
Ingo

Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3294
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 13 Jan 21 at 7:29PM
Try this search:
https://www.debenu.com/docs/pdf_library_reference/Search.php
...and insert OCG in the search field.
The search result will be large enough - perhaps there's something which feed your needs.

Cheers,
Ingo

Back to Top
ventumsoft View Drop Down
Beginner
Beginner


Joined: 12 Jan 21
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote ventumsoft Quote  Post ReplyReply Direct Link To This Post Posted: 13 Jan 21 at 2:09AM
Thank you so much Ingo, for your answer!

My mistake is that I wrote "Layers". After reading the documentation, I realized that the correct term is OCG (Optional Content Groups)


I need to save OCG in each of the merged PDFs.  Content stream manipulation doesn't help. Probably need to work directly with OSG . But there is no combination function for OCG . Maybe there is a solution for this OCG probleml?

Edited by ventumsoft - 13 Jan 21 at 2:20AM
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3294
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 12 Jan 21 at 10:30PM
Hi Sergey,

"combine" is the key ;-)
After Load of each pdf try...
NormalizePage:
https://www.debenu.com/docs/pdf_library_reference/NormalizePage.php
CombineContentStreams:
https://www.debenu.com/docs/pdf_library_reference/CombineContentStreams.php
...and then do the concatenation of the files.

Cheers and welcome here,
Ingo

Reference guide:
https://www.debenu.com/docs/pdf_library_reference/FunctionGroups.php
Developer guide:
http://www.debenu.com/docs/pdf_library_developer_guide/foxit_quick_pdf_library_15_developer_guide.pdf

Cheers,
Ingo

Back to Top
ventumsoft View Drop Down
Beginner
Beginner


Joined: 12 Jan 21
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote ventumsoft Quote  Post ReplyReply Direct Link To This Post Posted: 12 Jan 21 at 3:46PM
Hello everyone!
I am using QuickPDF V18 under a trial license.
I am trying to combine several PDF files into one. These PDF files have layers. When merging, the layers remain only in the first file, the layers disappear in the rest. Is there some way to fix this?
I will be grateful to everyone!
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store