Hi Support,
When opening a "[compare result]" document the "compare bar commands" (do not know the exact name) appears on top:
When I open the same document from code - that bar does not get displayed.
I'm using IPXV_MainFrame.OpenDocFrom feeding it with a CoreDoc opened using op.openDoc operation.
What params for op.openDoc are required for the bar to appear (or something else)?
Using IPXV_MainFrame.OpenDocFromPath (same CreateOpenDocParams) works as expected - the bar is displayed.
Using InstPXC.OpenDocumentFromFile + IPXV_MainFrame.OpenDocFrom(CoreDoc) - the bar is not displayed.
Using IPXV_MainFrame.OpenDocFrom(ISTREAM) - the bar is displayed.
p.s.
Or, how do I make that bar visible upon opening such document?
I've located the "cmdbar.cmpDocsRes" inside CmdPaneTop of the IPXV_PagesView.
Inst.IsCmdBarVisible returns false for it. Inst.ShowCmdBar does not display it, nor any other approach I could think of - so must be somehow document related.
-žarko
Visibility of "Compare docs" commands bar when opening "compare results" document 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
- Vasyl-Tracker Dev Team
- Site Admin
- Posts: 2353
- Joined: Thu Jun 30, 2005 4:11 pm
- Location: Canada
Re: Visibility of "Compare docs" commands bar when opening "compare results" document
To handle the compare-pdfs-reports properly you need to specify:I'm using IPXV_MainFrame.OpenDocFrom feeding it with a CoreDoc opened using op.openDoc operation.
op.openDoc.Params["Options.CanLoadCmpPDFReportData"] = true;
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: Visibility of "Compare docs" commands bar when opening "compare results" document SOLVED
Hi Vasyl,
Great, thanks.
-žarko
Great, thanks.
-žarko
- TrackerSupp-Daniel
- Site Admin
- Posts: 8600
- Joined: Wed Jan 03, 2018 6:52 pm
Visibility of "Compare docs" commands bar when opening "compare results" document
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