Named destinations rename function

Forum for the PDF-XChange Editor - Free and Licensed Versions

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

skaplan
User
Posts: 2
Joined: Wed Jun 04, 2025 10:34 pm

Named destinations rename function

Post by skaplan »

I am new to this forum and don't know my way around yet, but I do have a question that someone here might be able to address. I would like to know if there is a way to bulk rename "named destinations." For example, I would like each named destinations to be that of the bookmark from which each is derived, but I would like to delete all spaces and limit the length to 31 characters. In this way the named destinations would be consistent with those created by a co-worker using different software. Whatever solution there is should not in any way change the bookmarks, which need to be left as is.
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 11888
Joined: Wed Jan 03, 2018 6:52 pm

Re: Named destinations rename function

Post by Daniel - PDF-XChange »

Hello, skaplan

I split this out of the original topic you had posted in. In the future, you can use the "new topic" button at the top of any forum to create a discussion area, if you cannot find an existing topic relative to the question at hand.

To directly answer your question today, I am sorry to say that no, there are not direct Destination manipulation options like this. The closest that could be achieved through our UI actions would involve making changes to the bookmark in question, and then using the "convert to named destination" function, to generate a new set of destinations, based on the bookmark title and such.

It may be possible to do more with Javascript, but if memory serves, Js access to destination data is somewhat scarce... If you know how to work in Javascript, the Acrobat JS API reference manual may help with investigating that possibility: https://opensource.adobe.com/dc-acrobat ... croJS.html

Kind regards,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
skaplan
User
Posts: 2
Joined: Wed Jun 04, 2025 10:34 pm

Re: Named destinations rename function

Post by skaplan »

Dan - Thanks for your reply. I've been away from this problem for a while but am revisiting it. Another ask might be the possibility of exporting and importing nameddestinations. Then modifying them could be accompished with an external editor. Unfortunately this is also not currently possible.
Since bookmarks can be exported to an html file, another possibility would be to edit the html file. Then if there were a way to import this modified bookmark file these bookmarks could subsequently be converted to new nameddestinations. Again, unfortunately there is no bookmark import function. I guess I'll be looking for other solutions.
User avatar
Sean - PDF-XChange
Site Admin
Posts: 285
Joined: Wed Sep 14, 2016 5:42 pm

Re: Named destinations rename function

Post by Sean - PDF-XChange »

Hi skaplan,

I'm afraid those options are not available with PDF-XChange Editor, and we don't have any plans to add them at this time.

Kind regards,
Sean Godley
Technical Writer
PDF-XChange Co LTD
Sales: +1 (250) 324-1621
Fax: +1 (250) 324-1623
User avatar
rakunavi
User
Posts: 1925
Joined: Sat Sep 11, 2021 5:04 am

Re: Named destinations rename function

Post by rakunavi »

Hello skaplan,
skaplan wrote: Thu Oct 02, 2025 12:27 am Again, unfortunately there is no bookmark import function. I guess I'll be looking for other solutions.
You may try using the “Generate Bookmarks from Text File” feature. By writing named destinations in PDF-XChange Editor's bookmark format to a text file, you can import it as bookmarks and then convert them to named destinations. Since the format is identical to the text file output by the “Export Bookmarks to Text File” feature, you can experiment by exporting under various conditions to understand the format details.

Additionally, named destinations already present in a PDF can be exported as text files using external tools like poppler. Of course, they cannot be imported directly into PDF-XChange Editor as-is; you must convert the command output into a format readable by PDF-XChange Editor using a script or similar method.

  • Poppler
    https://poppler.freedesktop.org/
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
Dimitar - PDF-XChange
Site Admin
Posts: 2608
Joined: Mon Jan 15, 2018 9:01 am

Re: Named destinations rename function

Post by Dimitar - PDF-XChange »

Thanks for the help, Rakunavi.