Search found 47 matches

by AteBe
Tue May 28, 2019 8:45 am
Forum: PDF-XChange Editor SDK
Topic: Manually setting Print.ScaleTypefor the editor
Replies: 1
Views: 43

Manually setting Print.ScaleTypefor the editor

Hello, I try to set properties in the print dialog manually. For this I already found an entry https://forum.tracker-software.com/viewtopic.php?f=36&t=11072&hilit=NotesAndPopups. This describes the procedure for the viewer. Unfortunately I can not find a description for the editor. According to the ...
by AteBe
Mon May 27, 2019 9:14 am
Forum: PDF-XChange Editor SDK
Topic: Zoomfaktor for OpenDocFromPath
Replies: 16
Views: 154

Re: Zoomfaktor for OpenDocFromPath

Hello Alex, Unfortunately, the topic you referred to does not describe what I need. I want to specify the zoom factor directly for openDocument() and not adjust it later when the document is already opened. I can do this via the setZoom() method. However, this method call will cause a redraw and fli...
by AteBe
Mon May 27, 2019 6:52 am
Forum: PDF-XChange Editor SDK
Topic: Zoomfaktor for OpenDocFromPath
Replies: 16
Views: 154

Re: Zoomfaktor for OpenDocFromPath

Hello Alex, according to https://sdkhelp.tracker-software.com/view/PXV:cs_PDFDestParams I can specify the position of the document with the Parameter Type. I tried all possible values ​​for the type according https://sdkhelp.tracker-software.com/view/PXV:Params_NamedValues_PDFDestTypes (0-1), but th...
by AteBe
Fri May 24, 2019 1:19 pm
Forum: PDF-XChange Editor SDK
Topic: Zoomfaktor for OpenDocFromPath
Replies: 16
Views: 154

Re: Zoomfaktor for OpenDocFromPath

Hello Alex,
I already pass the CreateOpenDocParams parameter.
However, I do not know how to pass an object of type dt_Dictionary.
Can you send me a short example?
Thank you
AteBe
by AteBe
Fri May 24, 2019 12:59 pm
Forum: PDF-XChange Editor SDK
Topic: Zoomfaktor for OpenDocFromPath
Replies: 16
Views: 154

Re: Zoomfaktor for OpenDocFromPath

Hello Alex,
I have already tried setting the zoommode after opening the pdf and it works.
However, the pdf is drawn again, which leads to a flickering.
Is there no way to specify the wanted zoommode when opening the PDF so that it does not have to be adjusted later?
AteBe
by AteBe
Fri May 24, 2019 12:29 pm
Forum: PDF-XChange Editor SDK
Topic: Zoomfaktor for OpenDocFromPath
Replies: 16
Views: 154

Zoomfaktor for OpenDocFromPath

Hello,
I use the function OpenDocFromPath to open a PDF.
When opening the file, the zoom factor always appears to be PXV_ZoomMode.PXV_ZoomMode_FitWidth.
Is there a way to pass another zoom factor (eg PXV_ZoomMode_FitPage).
Atebe
by AteBe
Thu May 23, 2019 10:47 am
Forum: PDF-XChange Editor SDK
Topic: disable/hide a context menu
Replies: 1
Views: 38

disable/hide a context menu

Hello,
I have several annotations on one page.
Is there a way to disable/hide the context menu for a single annotation?
AteBe
by AteBe
Thu May 23, 2019 10:24 am
Forum: PDF-XChange Editor SDK
Topic: text indicator SOLVED
Replies: 1
Views: 38

text indicator SOLVED

Hello, I have several annotations on one page, all of which have a comment with a text indicator. With the setting "Commenting.ShowTextInd" the text indicators can be hidden for all annotations. Is it also possible to hide the text indicator for just a single annotationsand leave the rest visible? A...
by AteBe
Wed May 22, 2019 12:39 pm
Forum: PDF-XChange Editor SDK
Topic: Enums SOLVED
Replies: 1
Views: 41

Enums SOLVED

Hallo, I would like to set the properties PageRendering.SynchMode, PageRendering.TextHintMode, PageRendering.StrokeAdjust and PageRendering.BlendingCS in the code. Unfortunately, I can not find the corresponding Enums for the individual values. Can you please tell me the correkt values? Thank you At...
by AteBe
Mon May 13, 2019 7:56 am
Forum: PDF-XChange Editor SDK
Topic: Multiple processes
Replies: 1
Views: 657

Multiple processes

Hallo Alex, we've been working with the PDFXChangeViewer and have opened two instances of it in an Eclipse RCP application at the same time. Each instance was automatically started in a separate process. TaskManager.PNG After switching to the PDFXChangeEditor, no process of the PDFXChangeEditor is v...
by AteBe
Mon May 13, 2019 6:52 am
Forum: PDF-XChange Editor SDK
Topic: Render only one document
Replies: 12
Views: 3448

Re: Render only one document

Hallo Alex,
I already know the link you sent me.
However, I am looking for a way to programmatically trigger the smoothing for exactly one document in one Editor.
Is there a way to do that?
AteBe
by AteBe
Wed May 08, 2019 1:36 pm
Forum: PDF-XChange Editor SDK
Topic: Render only one document
Replies: 12
Views: 3448

Render only one document

Hallo, I have 2 instances of the editor open at the same time. Then I try to render the document of only on editor. For this, I wrote the following function: public void setKantenglaettung() { ICabNode pr = getInst().Settings().Item(new VARIANT("PageRendering")); pr.SetInt("TextSmoothMode", PXV_AppP...
by AteBe
Mon Apr 01, 2019 7:42 am
Forum: PDF-XChange Editor SDK
Topic: Changing of the fillcolor for the highlight tool SOLVED
Replies: 2
Views: 505

Changing of the fillcolor for the highlight tool SOLVED

Hallo Alex,
I set the active tool to tool.annot.highlight and then I would like to change the fill color to black.
Unfortunately, I have not found the correct command for changing the color.
How can I do this?
FillColor.PNG
AteBe
by AteBe
Mon Mar 25, 2019 2:02 pm
Forum: PDF-XChange Editor SDK
Topic: OCR Plugin SOLVED
Replies: 5
Views: 2087

Re: OCR Plugin SOLVED

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 SOLVED
Replies: 5
Views: 2087

Re: OCR Plugin SOLVED

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 SOLVED
Replies: 5
Views: 2087

OCR Plugin SOLVED

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 SOLVED
Replies: 11
Views: 1764

Re: set the scollbar to a specific position SOLVED

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 SOLVED
Replies: 11
Views: 1764

Re: set the scollbar to a specific position SOLVED

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 SOLVED
Replies: 11
Views: 1764

Re: set the scollbar to a specific position SOLVED

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 SOLVED
Replies: 11
Views: 1764

Re: set the scollbar to a specific position SOLVED

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 SOLVED
Replies: 1
Views: 162

hide the preview window when scrolling SOLVED

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 SOLVED
Replies: 11
Views: 1764

Re: set the scollbar to a specific position SOLVED

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 SOLVED
Replies: 11
Views: 1764

set the scollbar to a specific position SOLVED

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: 179

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 SOLVED
Replies: 3
Views: 242

Keep current tool as default for newly opened documents SOLVED

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 SOLVED
Replies: 1
Views: 176

Event changing Toolbar item SOLVED

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: 186

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: 338

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 SOLVED
Replies: 1
Views: 238

Single Document mode SOLVED

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: 338

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 SOLVED
Replies: 8
Views: 355

Re: context menu does not work SOLVED

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 SOLVED
Replies: 8
Views: 355

Re: context menu does not work SOLVED

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 SOLVED
Replies: 8
Views: 355

Re: context menu does not work SOLVED

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 SOLVED
Replies: 8
Views: 355

Re: context menu does not work SOLVED

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 SOLVED
Replies: 8
Views: 355

context menu does not work SOLVED

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 SOLVED
Replies: 3
Views: 461

Re: RestoreLastPageDisp SOLVED

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 SOLVED
Replies: 3
Views: 461

RestoreLastPageDisp SOLVED

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: 171

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 SOLVED
Replies: 10
Views: 523

Re: Javascript SOLVED

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 SOLVED
Replies: 10
Views: 523

Re: Javascript SOLVED

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 SOLVED
Replies: 10
Views: 523

Re: Javascript SOLVED

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 SOLVED
Replies: 10
Views: 523

Re: Javascript SOLVED

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 SOLVED
Replies: 10
Views: 523

Re: Javascript SOLVED

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 SOLVED
Replies: 3
Views: 320

Re: save request SOLVED

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 SOLVED
Replies: 3
Views: 320

save request SOLVED

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 SOLVED
Replies: 10
Views: 523

Javascript SOLVED

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...