Plugins Do Not Support Export/Import Settings

This forum is for plugins used in the PDF-XChange Editor only.

Moderators: Tracker Support, TrackerSupp-Daniel, Paul - Tracker Supp, Chris - Tracker Supp, Vasyl-Tracker Dev Team, Sean - Tracker, Tracker Supp-Stefan, Ivan - Tracker Software

Post Reply
RMan
User
Posts: 168
Joined: Tue Jul 02, 2013 10:06 pm

Plugins Do Not Support Export/Import Settings

Post by RMan » Mon Jul 29, 2019 7:08 pm

Why do the various Plugins not support Exporting and Importing their settings along with the rest of the Editor setting so users can have a consistent set of settings if needed?

Also I haven't tested the rest yet but the Sharepoint settings can be saved to the Registry to the HKCU through the PDFEditor.Inst.SaveUserSettings programming call. But the PDFEditor.Inst.LoadUserSettings will only work if you do it before loading the plugin, not after. So you can't load settings from the registry either after the plugin is loaded.

User avatar
Paul - Tracker Supp
Site Admin
Posts: 4906
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

Re: Plugins Do Not Support Export/Import Settings

Post by Paul - Tracker Supp » Mon Jul 29, 2019 9:15 pm

Hi RMan,

this question is within the context of the Editor SDK? If so I will move the topic to the appropriate forum so as to ensure a developer see it.

regards
_________________
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com

RMan
User
Posts: 168
Joined: Tue Jul 02, 2013 10:06 pm

Re: Plugins Do Not Support Export/Import Settings

Post by RMan » Wed Jul 31, 2019 4:35 pm

It's really with both and I'm sure both related to the

In terms of the end user products there is no option to save the settings for any plug in besides the spell checker.

With the SDK you can load the settings prior to loading the plug in will use those settings.

PDFEditor.Inst.LoadUserSettings
PDFEditor.Inst.StartLoadingPlugins
PDFEditor.Inst.AddPluginFromFile
PDFEditor.Inst.FinishLoadingPlugins

But if you try to load the settings after then it doesn't apply the settings to the plug in.
PDFEditor.Inst.StartLoadingPlugins
PDFEditor.Inst.AddPluginFromFile
PDFEditor.Inst.FinishLoadingPlugins
PDFEditor.Inst.LoadUserSettings --> Doesn't work for the plug in

Also in the end user version it doesn't appear to reset the plug in settings to the default when you do a Reset Settings.

User avatar
Paul - Tracker Supp
Site Admin
Posts: 4906
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

Re: Plugins Do Not Support Export/Import Settings

Post by Paul - Tracker Supp » Wed Jul 31, 2019 5:25 pm

Thanks for the clarification RMAn, I will ask one of the devs to comment. Watch this space...
_________________
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com

Post Reply