Hi Support,
When using the SpellChecker.pvp (AddPluginFromFile and the rest), the list of languages in the "Spell Checker Settings" is empty by default. Clicking "Add/Update Languages" will allow to download languages.
Where are the downloaded files stored?
p.s.
There's some issue with the plugin - goes into infinite loop (even when not executed) - but more on that later...
-žarko
SpellChecker Plugin- Languages location SOLVED
Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
-
- User
- Posts: 1372
- Joined: Thu Sep 05, 2019 12:35 pm
SpellChecker Plugin- Languages location
You do not have the required permissions to view the files attached to this post.
-
- User
- Posts: 307
- Joined: Wed Nov 07, 2007 10:07 am
Re: SpellChecker Plugin- Languages location
The files are commonly saved in %CommonProgramFiles%\Tracker Software\Common\Dictionaries
-
- Site Admin
- Posts: 8624
- Joined: Wed Jan 03, 2018 6:52 pm
Re: SpellChecker Plugin- Languages location
Thanks BigMike!
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD
+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
Tracker Software Products (Canada) LTD
+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
-
- User
- Posts: 1372
- Joined: Thu Sep 05, 2019 12:35 pm
Re: SpellChecker Plugin- Languages location SOLVED
Hi,
The %CommonProgramFiles%\Tracker Software\Common\Dictionaries is the correct location for the EU Editor.
We are talking about the SDK and the pxvControl here.
Actually, I've found them: if I download files by using "Add/Update Languages" - they get stored under: "C:\Users\user-name\AppData\Roaming\Tracker Software\PDFXEditor\3.0\Common\Dictionaries".
Now, if I do this from my application (using the .manifest file), this appears:
If I do the same using the FullDemo, this is reported:
Further, since the DLL figures out the .oxt files in the "\user\..." folder, once I download the files via my application - the languages also get picked by the FullDemo application
So, clicking this in the FullDemo:
brings up:
I guess downloading the files from my custom application should not even work (how it does not work for the FullDemo), but ...
-žarko
The %CommonProgramFiles%\Tracker Software\Common\Dictionaries is the correct location for the EU Editor.
We are talking about the SDK and the pxvControl here.
Actually, I've found them: if I download files by using "Add/Update Languages" - they get stored under: "C:\Users\user-name\AppData\Roaming\Tracker Software\PDFXEditor\3.0\Common\Dictionaries".
Now, if I do this from my application (using the .manifest file), this appears:
If I do the same using the FullDemo, this is reported:
Further, since the DLL figures out the .oxt files in the "\user\..." folder, once I download the files via my application - the languages also get picked by the FullDemo application
So, clicking this in the FullDemo:
brings up:
I guess downloading the files from my custom application should not even work (how it does not work for the FullDemo), but ...
-žarko
You do not have the required permissions to view the files attached to this post.
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
Re: SpellChecker Plugin- Languages location
Hello zarkogajic,
Forwarded this one to Vasyl - probably he can tell more.
Cheers,
Alex
Forwarded this one to Vasyl - probably he can tell more.
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
-
- Site Admin
- Posts: 2353
- Joined: Thu Jun 30, 2005 4:11 pm
- Location: Canada
Re: SpellChecker Plugin- Languages location
Hi žarko.
ProgramFolderWithDicts:
<FolderThatContains_PDFXEditCore.xxx.dll>\Common\Dictionaries\
UserFolderWithDicts:
c:\Users\<UserName>\AppData\Roaming\Tracker Software\PDFXEditor\3.0\Common\Dictionaries\
You may check it by using the:
programFolderWithDicts = PXV_Inst.GetStdFolder(PDFXEdit.PXV_StdFolderID.PXV_StdFolder_Dictionaries, false);
userFolderWithDicts = PXV_Inst.GetStdFolder(PDFXEdit.PXV_StdFolderID.PXV_StdFolder_Dictionaries, true);
Tip: if you want - you may change that locations(and any other PXV_StdFolder_XX) to your own, but I recommend to do it early on the beginning, before calling the PXV_Inst.Init or instantiating first PXV_Control.
Also please note: if the ProgramFolderWithDicts is located inside of standard system's Program Files folder then your application (and our SDK-module too) hasn't rights enough to add/change files here. So currently if your customer will try to add some dicts with turned OFF the "Install new items for current user only" option (on the dialog "Spell Checker dictionaries") - it will not work properly at the moment. In Editor EU we have some kind of workaround for that problem but not for SDK-mode. Possible solution for you - on the beginning change:
PXV_Inst.SetStdFolder(PDFXEdit.PXV_StdFolderID.PXV_StdFolder_Dictionaries, <MyCustomWritableProgramDictsFolder>);
(technically you may use <MyCustomWritableProgramDictsFolder>==UserFolderWithDicts)
HTH.
In SDK-mode the Spellchecker-plugin loads dicts from two different locations:Where are the downloaded files stored?
ProgramFolderWithDicts:
<FolderThatContains_PDFXEditCore.xxx.dll>\Common\Dictionaries\
UserFolderWithDicts:
c:\Users\<UserName>\AppData\Roaming\Tracker Software\PDFXEditor\3.0\Common\Dictionaries\
You may check it by using the:
programFolderWithDicts = PXV_Inst.GetStdFolder(PDFXEdit.PXV_StdFolderID.PXV_StdFolder_Dictionaries, false);
userFolderWithDicts = PXV_Inst.GetStdFolder(PDFXEdit.PXV_StdFolderID.PXV_StdFolder_Dictionaries, true);
Tip: if you want - you may change that locations(and any other PXV_StdFolder_XX) to your own, but I recommend to do it early on the beginning, before calling the PXV_Inst.Init or instantiating first PXV_Control.
Also please note: if the ProgramFolderWithDicts is located inside of standard system's Program Files folder then your application (and our SDK-module too) hasn't rights enough to add/change files here. So currently if your customer will try to add some dicts with turned OFF the "Install new items for current user only" option (on the dialog "Spell Checker dictionaries") - it will not work properly at the moment. In Editor EU we have some kind of workaround for that problem but not for SDK-mode. Possible solution for you - on the beginning change:
PXV_Inst.SetStdFolder(PDFXEdit.PXV_StdFolderID.PXV_StdFolder_Dictionaries, <MyCustomWritableProgramDictsFolder>);
(technically you may use <MyCustomWritableProgramDictsFolder>==UserFolderWithDicts)
We will fix that soon in the upcoming 339 build."No new or update items are available to download and install."
We will fix that soon in the upcoming 339 build.There's some issue with the plugin - goes into infinite loop (even when not executed) - but more on that later...
HTH.
Vasyl Yaremyn
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 1372
- Joined: Thu Sep 05, 2019 12:35 pm
Re: SpellChecker Plugin- Languages location
Thanks Vasyl, all clear.
-ž
-ž
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
SpellChecker Plugin- Languages location
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ