Search found 34 matches

by AteBe
Mon Mar 25, 2019 2:02 pm
Forum: PDF-XChange Editor SDK
Topic: OCR Plugin
Replies: 4
Views: 30

Re: OCR Plugin

Hello Alex,

the OCR recognition is now working, but only in the background.
The OCR dialog, in which one e.g. can select the language is not displayed.
How can I call the OCR dialog and the progress bar with my Code ?

AteBe
by AteBe
Mon Mar 25, 2019 1:05 pm
Forum: PDF-XChange Editor SDK
Topic: OCR Plugin
Replies: 4
Views: 30

Re: OCR Plugin

Hello Alex, I already read the link you sent me and created my code according to this example. I also call the functions in the order you describe Loading the plugin has indeed worked (see picture above). Nevertheless, the corresponding menu item is not displayed (see picture above). When I try to c...
by AteBe
Mon Mar 25, 2019 12:11 pm
Forum: PDF-XChange Editor SDK
Topic: OCR Plugin
Replies: 4
Views: 30

OCR Plugin

Hallo Alex, I successfully installed the OCR plugin with the following code. iControlSite = new OleControlSiteEx(frame, SWT.NONE, "PDFXEdit.PXV_Control.1"); iControlSite.doVerb(OLE.OLEIVERB_SHOW); iControlSite.doVerb(OLE.OLEIVERB_UIACTIVATE); iCtrl = new IPXV_Control(iControlSite.getPointerToUnknown...
by AteBe
Wed Feb 27, 2019 12:35 pm
Forum: PDF-XChange Editor SDK
Topic: set the scollbar to a specific position
Replies: 11
Views: 164

Re: set the scollbar to a specific position

Hallo Alex,
I also tried the script in in the End-User Editor an nothing happend.
Is there a way to get log-informations to find out, what went wrong with my call?
AteBe
by AteBe
Mon Feb 25, 2019 9:57 am
Forum: PDF-XChange Editor SDK
Topic: set the scollbar to a specific position
Replies: 11
Views: 164

Re: set the scollbar to a specific position

Hallo Alex, I tried that. Unfortunately, the following JavaScript does not work either. var a = new Object; a.pageViewLayoutMode=2; a.pageViewZoom=114.58000183105467; a.pageViewZoomType=0; a.pageViewRow=0; a.pageViewBX=0; a.pageViewBY=0; a.pageViewX=53.666155326539695; a.pageViewY=250.6981964111328;...
by AteBe
Mon Feb 25, 2019 9:17 am
Forum: PDF-XChange Editor SDK
Topic: set the scollbar to a specific position
Replies: 11
Views: 164

Re: set the scollbar to a specific position

Hallo Alex, I replace in our application the PDFXChange Viewer with the PDFXChange Editor. Therefore I try to set the scrollbar in the PDFXChange Editor. Since our application is developed in Java, I've tried to translate the example you've sent me into Java. Unfortunately, I did not manage that. So...
by AteBe
Mon Feb 25, 2019 8:35 am
Forum: PDF-XChange Editor SDK
Topic: set the scollbar to a specific position
Replies: 11
Views: 164

Re: set the scollbar to a specific position

Hallo Alex, thanks for the example. However, I have problems translating the code into Java. In the PDFXChange Viewer the following JavaScript was used for setting the scroll Position: var a = new Object; a.pageViewLayoutMode=2; a.pageViewZoom=114.58000183105467; a.pageViewZoomType=0; a.pageViewRow=...
by AteBe
Wed Feb 20, 2019 9:30 am
Forum: PDF-XChange Editor SDK
Topic: hide the preview window when scrolling
Replies: 1
Views: 44

hide the preview window when scrolling

Hello,
When I scroll down a Page with the scrollbar a little preview window pops up that shows the page and a little red line of the approximately position in the page.
Is there a way to hide this preview window?
AteBe
by AteBe
Mon Feb 18, 2019 12:38 pm
Forum: PDF-XChange Editor SDK
Topic: set the scollbar to a specific position
Replies: 11
Views: 164

Re: set the scollbar to a specific position

Hallo Stefan,
sorry for the unclear question.
I try to scroll the page down to a specific place?
The position of the scrollbar itself is ok.
AteBe
by AteBe
Wed Feb 13, 2019 11:46 am
Forum: PDF-XChange Editor SDK
Topic: set the scollbar to a specific position
Replies: 11
Views: 164

set the scollbar to a specific position

Hallo,
I have a one-page document and try to set the scollbar to a specific position.
In the FullDemo application I found no example.
Is that possible and if so, how?
AteBe
by AteBe
Tue Feb 12, 2019 10:42 am
Forum: PDF-XChange Editor SDK
Topic: e.cmdCustomization
Replies: 1
Views: 62

e.cmdCustomization

Hello,

I have 2 instances of the editor open at the same time.

Then I activate in one instance with the context menu e.g. the comment toolbar, but get from both instances the event e.cmdCustomization.
ContextMenu2.PNG
Is there a way to tell in which instance the toolbar has been changed?

AteBe
by AteBe
Mon Feb 11, 2019 7:56 am
Forum: PDF-XChange Editor SDK
Topic: Keep current tool as default for newly opened documents
Replies: 3
Views: 61

Keep current tool as default for newly opened documents

Hallo Alex,
I would like to set the setting "Keep current tool as default for newly opened documents" when starting the PDFXChange Editor.
KeepCurrentTool.PNG
Can you tell me the correct key.
I have already searched the CABNodeExplorer for the correct key, but found nothing.
AteBe
by AteBe
Wed Feb 06, 2019 1:13 pm
Forum: PDF-XChange Editor SDK
Topic: Event changing Toolbar item
Replies: 1
Views: 48

Event changing Toolbar item

Hallo,

I'm looking for the event which is triggered when the user selects a different item in the toolbar for example "Select Text"?

AteBe
by AteBe
Mon Jan 28, 2019 1:45 pm
Forum: PDF-XChange Editor
Topic: Syncronization of toolbars
Replies: 1
Views: 127

Syncronization of toolbars

we have 2 parallel instances of the PDFXChange Editor.
If I hide for example the find toolbar in Editor 1, the find toolbar in Editor 2 disappears too.
In the PDFXChange Viewer this effect did not happen.
Is there a flag int the preferences that can be used to prevent this synchronization?
by AteBe
Mon Jan 28, 2019 10:17 am
Forum: PDF-XChange Editor SDK
Topic: controlling 2 command bars independently
Replies: 5
Views: 123

Re: controlling 2 command bars independently

Hallo Alex, I try to use your code, but I get the following error message: java.lang.ClassCastException: com.sun.jna.platform.win32.COM.Unknown cannot be cast to de.dpma.elsa.pdfxchange.IUIX_Inst iControlSite = new OleControlSiteEx(frame, SWT.NONE, "PDFXEdit.PXV_Control.1"); iControlSite.doVerb(OLE....
by AteBe
Fri Jan 25, 2019 11:09 am
Forum: PDF-XChange Editor SDK
Topic: Single Document mode
Replies: 1
Views: 126

Single Document mode

Hello Alex,
I would like to set the setting "Single Document mode" when starting the PDFXChange Editor.
SingleDocumentMode.PNG
Can you tell me how to do that in JAVA?

Atebe
by AteBe
Fri Jan 25, 2019 7:21 am
Forum: PDF-XChange Editor SDK
Topic: controlling 2 command bars independently
Replies: 5
Views: 123

controlling 2 command bars independently

I have 2 instances of the PDFXChange Editor embedded in an Eclipse RCP application. As described in https://forum.tracker-software.com/viewtopic.php?f=66&t=27188&p=105484&hilit=ShowCmdBar#p105484, I get both commandbars. If I now hide the menubar for MainFrm (0), the menubar of the mainframe (1) wil...
by AteBe
Thu Jan 24, 2019 11:31 am
Forum: PDF-XChange Editor SDK
Topic: context menu does not work
Replies: 8
Views: 119

Re: context menu does not work

Many thanks for the help. The context menu works perfectly now.

Unfortunately, the editor still does not respond to the F-keys (for example, F9 = Show / Hide Menu).

Any idea why it does not work?
by AteBe
Thu Jan 24, 2019 10:28 am
Forum: PDF-XChange Editor SDK
Topic: context menu does not work
Replies: 8
Views: 119

Re: context menu does not work

Because we do use JAVA and not use C# I just downloaded the code files. Therefore I have no running FullDemo application . But I've looked at the code and if I understand it correctly, the switch over an event, which is triggered by a checkbox. I want to unlock the toolbar right at the start. I trie...
by AteBe
Thu Jan 24, 2019 9:07 am
Forum: PDF-XChange Editor SDK
Topic: context menu does not work
Replies: 8
Views: 119

Re: context menu does not work

Hallo Alex,

I think the command for the context menu might be cmd.view.lockUnlockAllCmdBars
However, I do not know the correct calling syntax.

For the F-keys I still do not have a solution.

AteBe
by AteBe
Thu Jan 24, 2019 8:35 am
Forum: PDF-XChange Editor SDK
Topic: context menu does not work
Replies: 8
Views: 119

Re: context menu does not work

Hello Alex,

the shortcuts work, but the F-keys (for example, F9 = Show / Hide Menu) still do not work.

The context menu that I do not get is the following
ContextMenu.PNG
AteBe
by AteBe
Thu Jan 24, 2019 7:45 am
Forum: PDF-XChange Editor SDK
Topic: context menu does not work
Replies: 8
Views: 119

context menu does not work

I do not get the context menu for the toolbar with either the right-click mouse operation nor the context menu button.
The context menu in the document itself works.
In addition, the editor does not respond to the F-keys.
How can I activate these functionalities?
by AteBe
Tue Jan 22, 2019 10:32 am
Forum: PDF-XChange Editor SDK
Topic: RestoreLastPageDisp
Replies: 3
Views: 296

Re: RestoreLastPageDisp

Hallo Alex, thanks for the answer, but i want to set the property in the code, not in the GUI. In the PDFXChange Viewer, the code is Variant v = new Variant(0); Variant pVarResult = getAutomation().invoke(getId(TrackerConstants.SETPROPERTY), new Variant[] { new Variant("Documents.RestoreLastPageDisp...
by AteBe
Tue Jan 22, 2019 8:08 am
Forum: PDF-XChange Editor SDK
Topic: RestoreLastPageDisp
Replies: 3
Views: 296

RestoreLastPageDisp

In the PDFXChange viewer we set the property RestoreLastPageDisp to 0.
Unfortunately I can not find the corresponding command in the PDFXChange Editor.
Can you tell me how to do that?
by AteBe
Fri Jan 18, 2019 11:16 am
Forum: PDF-XChange Editor SDK
Topic: event-problem with two IPXV_Control instances
Replies: 1
Views: 58

event-problem with two IPXV_Control instances

We generate two parallel IPXV_Control instances (A and B) with this code OleControlSite iControlSite = new OleControlSiteEx (frame, SWT.NONE, "PDFXEdit.PXV_Control.1"); iControlSite.doVerb (OLE.OLEIVERB_SHOW); iControlSite.doVerb (OLE.OLEIVERB_UIACTIVATE); IPXV_Control iCtrl = new IPXV_Control (iCon...
by AteBe
Wed Jan 09, 2019 12:51 pm
Forum: PDF-XChange Editor SDK
Topic: Javascript
Replies: 10
Views: 261

Re: Javascript

Hallo Alex,
I found the mistake in my code.
Instead of using the current IPXV_Inst instance, I have created a new (empty) instance and therefore I always got zero. :oops:
Now the JavaScript returns the correct result.
Thanks again for the support.
AteBe
by AteBe
Tue Jan 08, 2019 10:25 am
Forum: PDF-XChange Editor SDK
Topic: Javascript
Replies: 10
Views: 261

Re: Javascript

Hallo Alex,

because we do not use C# I just downloaded the code files.
Therefore I have no running FullDemo application .

AteBe
by AteBe
Tue Jan 08, 2019 10:03 am
Forum: PDF-XChange Editor SDK
Topic: Javascript
Replies: 10
Views: 261

Re: Javascript

Hallo Alex, unfortunately, the Java code I derived from your C# code does not work for me. private OleControlSiteEx iControlSite = new OleControlSiteEx(frame, SWT.NONE, "PDFXEdit.PXV_Control.1"); iControlSite.doVerb(OLE.OLEIVERB_SHOW); iControlSite.doVerb(OLE.OLEIVERB_UIACTIVATE); private IPXV_Contr...
by AteBe
Tue Dec 18, 2018 10:05 am
Forum: PDF-XChange Editor SDK
Topic: Javascript
Replies: 10
Views: 261

Re: Javascript

Hallo Alex,
the script is the same I posted before and it should work with any pdf .
" ";for (var key in this.viewState) {result = result + key + "=" + this.viewState[key]+ " "; };result;

if I use it in the Editor I get the following result.

[img]JsEditor.JPG[/img]

AteBe
by AteBe
Tue Dec 18, 2018 9:11 am
Forum: PDF-XChange Editor SDK
Topic: Javascript
Replies: 10
Views: 261

Re: Javascript

Hello Alex, thanks for the information. Unfortunately when I execute my script with the function ExecuteJs, result returns a pointer, but result.Value() is always null. public IString runJavaScript(String script) { IString result = getInst().CreateString(""); try { IPXV_Document doc = getInst().Acti...
by AteBe
Tue Dec 11, 2018 10:35 am
Forum: PDF-XChange Editor SDK
Topic: save request
Replies: 3
Views: 165

Re: save request

Hallo Alex,
thanks for the information.
Unfortunately, the event beforeSave will not be fired until the popup for the save request is already displayed.
But I'm looking for a solution that does not show the popup.
AteBe
by AteBe
Tue Dec 11, 2018 8:13 am
Forum: PDF-XChange Editor SDK
Topic: save request
Replies: 3
Views: 165

save request

I have changed an open pdf. Then I open with IPXV_Control.OpenDocFrom another pdf, which triggers a save request for the first pdf. Since I never want that, I set the Modified flag to false for the first pdf with IPXV_Document.SetModified (). Nevertheless, the save request still comes. How can you s...
by AteBe
Thu Dec 06, 2018 7:15 am
Forum: PDF-XChange Editor SDK
Topic: Javascript
Replies: 10
Views: 261

Javascript

We are replacing PDFXChange viewer by PDF-XChange Editor and I am trying to run the following javascript with IPXC_Action_JavaScript.Script(String ppScript) String ppScript = " ";for (var key in this.viewState) {result = result + key + "=" + this.viewState[key]+ " "; };result; With PDFXChange viewer...