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 - MoveLayer failing
  FAQ FAQ  Forum Search   Register Register  Login Login

MoveLayer failing

 Post Reply Post Reply
Author
Message
mountainman1957 View Drop Down
Beginner
Beginner
Avatar

Joined: 26 Mar 11
Location: Surrey, UK
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote mountainman1957 Quote  Post ReplyReply Direct Link To This Post Topic: MoveLayer failing
    Posted: 26 Mar 11 at 11:45PM
Hello Helpful People!
 
I've hit a very annoying problem with MoveLayer in certain files. Hopeful someone out there knows what it is I'm missing...
 
My app requires combining the layers of an existing PDF file and then adding new layers above and below the original for graphical processing. The graphics are used to mark out areas of text in the original document for processing. With many test files, no problem. The basic plan has been:
 
CombineLayers
NewLayer (7 times)
MoveLayer 1 to layer 3.
 
Now I'm finding some files that always fail at stage 3 and there seems to be no way around it. Some (all??) of these files have an Optional ContentGroup, but I've deleted that before CombineLayers.
 
What am I missing, please Confused ?
 
The files giving the problem are from various sources but they generally have some security and a watermark. However, I can successfully get rid of both by using ExtractPages or ExtractPageRanges.
 
It is only page 1 in each file that refuses to allow MoveLayer (or DeleteLayer) though it will allow CombineLayers and SplitPageText. I can insert a page before, using InsertPages, but that doesn't help.
 
If I use ExtractPages and omit page 1, everything works on the remaining pages. If I use ExtractPages to extract page 1 with or without other pages, page 1 still refuses to play ball.
 
I have searched for images, checked Objects, done a repair with PDFTK. Nothing works! I've also looked through the extracted files in Notepad but nothing stands out. Clearly I'm guessing there is something on page 1 in each of these files that is preventing manipulation of the layers, but it is not obvious what it is.


Edited by mountainman1957 - 27 Mar 11 at 6:24PM
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3530
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 27 Mar 11 at 7:59PM
Hi!

You should upload a sample to the official support pages.

Cheers and welcome here,
Ingo

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

Joined: 10 Jan 09
Status: Offline
Points: 398
Post Options Post Options   Thanks (0) Thanks(0)   Quote Rowan Quote  Post ReplyReply Direct Link To This Post Posted: 27 Mar 11 at 8:06PM
Just for everyone's benefit, there is a description on this page of the difference between optional content groups (OCGs) and layers in Quick PDF Library that differs from the terms used in Acrobat. In short layers in Quick PDF Library refer to content streams and optional content groups in Quick PDF Library refer to what Acrobat calls layers.

As Ingo said, send your docs to the official support team and they can help you out.
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