PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)
Moderators:PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
Hi,
this is my problem and any help would be greatly appreciated
I'm evaluating the use of PDF-Viewer Pro SDK for our business solution - to be specific embedding a fully featured PDF viewer in Eclipse RCP. I'm currently having problem displaying any toolbars with direct referencing of the ClientSite (not referencing default viewer ). Also, there is very limited functionality within the embedded OLE Frame
Here's a simple code snippet:
this.clientSite = new OleClientSite(this.aFrame, SWT.NONE, "PDFXCviewAx.CoPDFXCview");
this.clientSite.doVerb(OLE.OLEIVERB_INPLACEACTIVATE);
auto.invoke(0x5, new Variant[] { new Variant(tempFile.getAbsolutePath()) });
thx
You do not have the required permissions to view the files attached to this post.
Last edited by 1shadow on Tue May 21, 2013 12:19 pm, edited 1 time in total.
You have used our ActiveX control with progid "PDFXCviewAx.CoPDFXCview". By default this control doesn't show the any toobars or menu bar, it shows only the pages-view with scrollbars as in screenshot from you. To show cmdbars:
auto.invoke(0x1, new Variant[] { new Variant(""), new Variant("ExecuteCommand"), new Variant("ToggleAllBars"), 0, 0 });
// == IPDFXCview::DoVerb("", "ExecuteCommand", VARIANT("ToggleAllBars"), 0, 0);
I'm not sure about order of parameters for 'invoke' function - it can be reversed..
HTH
PDF-XChange Co. LTD (Project Developer)
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.