Plugins Do Not Support Export/Import Settings

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

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

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

Plugins Do Not Support Export/Import Settings

Post by RMan »

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: 6837
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 »

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
Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
RMan
User
Posts: 221
Joined: Tue Jul 02, 2013 10:06 pm

Re: Plugins Do Not Support Export/Import Settings

Post by RMan »

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: 6837
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 »

Thanks for the clarification RMAn, I will ask one of the devs to comment. Watch this space...
Best regards

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