Select and delete watermarks as Xform elements  SOLVED

A picture is worth a thousand words. We have created some pdfs tutorials showing common tasks.

Moderators: Daniel - PDF-XChange, PDF-XChange Support, Vasyl - PDF-XChange, Chris - PDF-XChange, Sean - Tracker, Stefan - PDF-XChange

Post Reply
User avatar
masster
User
Posts: 6
Joined: Tue May 10, 2011 11:25 pm

Select and delete watermarks as Xform elements

Post by masster »

Thank you for the informative reply on the Advanced Search topic.
Now, since you are very knowledgeable, I would like to pick your brain about another issue.

I have hundreds of PDF files that are watermarked with a specific Xform container—not text or image, but an Xform container. Kind of like a stamp but not quite. Call it a group of text, images, and paths.
The watermark is almost on every page and its position varies.
Question: is it possible to "teach" PDF Editor EXACTLY what Xform element I would like to search for in a selected folder and its subfolders? The idea is that I would like PDF Editor to find them, allow me to select them all, and magically delete them then save the result in a new folder. We are talking about advanced batch actions. In my opinion, batch actions are the meat of any advanced PDF editor because users need to save time when otherwise tedious jobs are at hand.

I will squeeze into this topic a new feature I would like to suggest. It is about batch-deleting pages with a twist.
It would be very useful to have the possibility to delete the first N pages or the last N pages.
Regards
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19306
Joined: Mon Jan 12, 2009 8:07 am
Contact:

Re: Select and delete watermarks as Xform elements

Post by Stefan - PDF-XChange »

Hello masster,

I am afraid that the XForm objects are a type of structure, but there is no way for the editor to uniquely identify and distinguish one such Xform from another, or to automate their removal (especially when they are at different locations on your pages).

Using PDF Tools you should be able to batch process multiple files, and if your stamps were e.g. at the same place on each page, you could have automated their removal, but if they can be anywhere - then there is no real solution I can think of.

Deleting the first or last N pages can be done with JS, and you can then also run the JS through PDF Tools, so that bit is possible to implement:
https://help.pdf-xchange.com/pdfxt10/ru ... ipt_t.html

Kind regards,
Stefan
User avatar
rakunavi
User
Posts: 1423
Joined: Sat Sep 11, 2021 5:04 am

Re: Select and delete watermarks as Xform elements

Post by rakunavi »

Hello masster,
masster wrote: Mon Dec 02, 2024 6:20 pm I will squeeze into this topic a new feature I would like to suggest. It is about batch-deleting pages with a twist.
It would be very useful to have the possibility to delete the first N pages or the last N pages.
What you want to do should be possible by specifying a custom page range of "1-N" for the first N pages or "^N-^1" for the last N pages in the Delete Pages dialog, which is supported by both PDF-XChange Editor and PDF-Tools.

Best regards,
rakunavi
TOP desires for PDFXCE
forum.pdf-xchange.com/viewtopic.php?t=39665 LassoTool
forum.pdf-xchange.com/viewtopic.php?t=38554 CmtGarbled
forum.pdf-xchange.com/viewtopic.php?t=37353 FulScrMultiMon
forum.pdf-xchange.com/viewtopic.php?t=41002 DisableTouchSelect
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19306
Joined: Mon Jan 12, 2009 8:07 am
Contact:

Re: Select and delete watermarks as Xform elements

Post by Stefan - PDF-XChange »

Hello rakunavi,

Thanks!
A long time ago those options were not available, so I believe my first attempts to achieve the task would have been with JS, so I've never learned of the feature in the UI and would have done it with JS if I needed to automate such a task!
Thanks for showing me something new (for me) today.

Kind regards,
Stefan
User avatar
rakunavi
User
Posts: 1423
Joined: Sat Sep 11, 2021 5:04 am

Re: Select and delete watermarks as Xform elements

Post by rakunavi »

Hello Stefan, thank you for your comment.

This has probably been supported since build 362. The developers are wonderful in these casual but certainly useful improvements.

Best regards,
rakunavi
TOP desires for PDFXCE
forum.pdf-xchange.com/viewtopic.php?t=39665 LassoTool
forum.pdf-xchange.com/viewtopic.php?t=38554 CmtGarbled
forum.pdf-xchange.com/viewtopic.php?t=37353 FulScrMultiMon
forum.pdf-xchange.com/viewtopic.php?t=41002 DisableTouchSelect
User avatar
masster
User
Posts: 6
Joined: Tue May 10, 2011 11:25 pm

Re: Select and delete watermarks as Xform elements

Post by masster »

Thank you for the solutions. Nevertheless, a regular user would prefer to see those two supplementary options for deleting multiple pages in multiple documents added to existing ones.
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19306
Joined: Mon Jan 12, 2009 8:07 am
Contact:

Re: Select and delete watermarks as Xform elements  SOLVED

Post by Stefan - PDF-XChange »

Hello masster,

For batch processing you need to use PDF Tools.
The option to delete the N pages from the start or end of a document are there.

The Editor can not batch process multiple files and that is on purpose as it is aimed more at a single file (except when you are e.g. merging several files into one), and not on batch operations.

Kind regards,
Stefan
Post Reply