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
could someone tell me what I would have to change in cParent and cRbParent in addSubMenu() and addMenuItem() in a custom tool in order to get my icon/tool displayed here: Format - Text Editing Tools
I am unsure if this is possible, given the context sensitivity of the Format ribbons, and their lack of presence when the corresponding tools are not in use... I have asked the Dev team for details on if and how this is possible, and will let you know as soon as I have heard back from them.
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
I am sorry to say that they have confirmed this. At the moment there is no way to define the dynamic "Format" tabs, as a target for JS button placement. You will need to use a different, "static" Ribbon tab to store those buttons.
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
I would have another question related to the placements of menus.
I want to have my custom dynamic stamp tool placed next to the standard stamp icon with these seperator lines and as a large icon.
You can enter the customize toolbar mode (right click any toolbar area and select the last option in the drop down menu), and you should then be able to move your icon from the "Add on tools" tab to any of the other tabs.
I do not believe you can do it via JS code directly through, but it is possible with the UI.
I would be quite surprised if there were no possibility to control this JavaScript.
The big advantage would be that if we share the tool in the office, everyone would already have it in the correct location.
Sadly, at the moment, there is no way to add divider lines to the UI via JS, nor any way to define the size of the icon on the toolbar. This may come along in the future, but for now I am sorry to say it is not possible.
Regarding position, you have found the options to place it on a specific tab/toolbar, as well as define its position relative to other JS items on that same toolbar (it is not possible to control this position relative to standard tools). "nPos:" and "cRbParent:"
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