Search found 63 matches

by AteBe
Wed Oct 16, 2019 6:00 am
Forum: PDF-XChange Editor SDK
Topic: pdf as bytestream
Replies: 1
Views: 962

pdf as bytestream

Hallo, I use the code of the link https://forum.pdf-xchange.com/viewtopic.php?f=66&t=29871&hilit=op.document.replacePages for replacing pages in the active document with pages from a 2nd document. That works perfectly. But, the 2nd document must be available as a file on the disk. Is there a...
by AteBe
Tue Oct 15, 2019 9:03 am
Forum: PDF-XChange Editor SDK
Topic: removing certain shortcuts SOLVED
Replies: 5
Views: 2727

Re: removing certain shortcuts SOLVED

Now it works.
Thank you
by AteBe
Tue Oct 15, 2019 5:42 am
Forum: PDF-XChange Editor SDK
Topic: removing certain shortcuts SOLVED
Replies: 5
Views: 2727

Re: removing certain shortcuts SOLVED

Hello Stefan, I have already successfully removed the menu item cmd.newDocBlank with the following code. Object o = getInst().GetExtension("UIX"); Pointer ptr = ((Unknown) o).getPointer(); IUIX_Inst in = new IUIX_Inst(ptr); IUIX_Cmd menu = in.CmdManager().Cmds().Find(menuId); if (menu != n...
by AteBe
Mon Oct 14, 2019 12:52 pm
Forum: PDF-XChange Editor SDK
Topic: removing certain shortcuts SOLVED
Replies: 5
Views: 2727

removing certain shortcuts SOLVED

Hello,
I want to remove certain shortcuts (for example, CTRL + N) when starting the application.
Unfortunately I did not find an example.
How can I remove this shortcut? Can you please send me a code example.
Thanks
AteBe
by AteBe
Wed Sep 11, 2019 9:31 am
Forum: PDF-XChange Editor SDK
Topic: Parameter for ExtParams.Language
Replies: 3
Views: 933

Re: Parameter for ExtParams.Language

Hello Alex,
thanks for the list.
Which language will then be used if I do not set the parameter "ExtParams.Language"?
AteBe
by AteBe
Wed Sep 11, 2019 8:52 am
Forum: PDF-XChange Editor SDK
Topic: Parameter for ExtParams.Language
Replies: 3
Views: 933

Parameter for ExtParams.Language

Hello, I use the function "op.document.OCRPages" with the following parameters: int nID = getInst().Str2ID("op.document.OCRPages", false); operation = getInst().CreateOp(nID); operation.Params().Root().SetUnknown("Input", getActiveDocument()); options = operation.Params...
by AteBe
Wed Sep 04, 2019 11:59 am
Forum: PDF-XChange Editor SDK
Topic: Hide menu item 'Launch' under Document
Replies: 1
Views: 600

Hide menu item 'Launch' under Document

Hello, I try to hide the menu item Document->Launch including all submenus. I've tried the description at https://forum.pdf-xchange.com/viewtopic.php?f=66&t=27339&p=105967&hilit=menu#p105967 with the id "cmd.launchExternalApp". public void hideMenu() { Object o = getInst().GetE...
by AteBe
Mon Aug 05, 2019 6:51 am
Forum: PDF-XChange Editor SDK
Topic: minimize Toolbar with API command SOLVED
Replies: 1
Views: 848

minimize Toolbar with API command SOLVED

Hello,
in the interface you can minimize the toolbar with the small arrow on the right side.
Is there a way to minimize the toolbar with an API command as well?
MinimizeToolbarOffen.PNG
MinimizeToolbarGeschlossen.PNG
AteBe
by AteBe
Mon Jul 15, 2019 8:00 am
Forum: PDF-XChange Editor SDK
Topic: Empty Folders in AppData\Local\Temp\PDFXEdit.SDK are not deleted
Replies: 5
Views: 1646

Re: Empty Folders in AppData\Local\Temp\PDFXEdit.SDK are not deleted

Hello Alex, after stopping our application, Java will also be shut down and all files will be released. The evidence for this is that I can use the Explorer to delete the remaining empty folders. According to your statement, these folders should be deleted when I restart the SDK. This is not the cas...
by AteBe
Wed Jul 10, 2019 7:32 am
Forum: PDF-XChange Editor SDK
Topic: Empty Folders in AppData\Local\Temp\PDFXEdit.SDK are not deleted
Replies: 5
Views: 1646

Empty Folders in AppData\Local\Temp\PDFXEdit.SDK are not deleted

Hallo, every time we open a new pdf by using the API in AppData\Local\Temp\PDFXEdit.SDK a new PDFXEdit.SDK-folder is created. They all start with pdfx- and contain 3 files (2 -tmp with size 512kb and 256 kb and one called pdfx.lck with size 0 kb). Created Folders.png Created Files in Folder.png The ...
by AteBe
Wed Jun 26, 2019 12:30 pm
Forum: PDF-XChange Editor SDK
Topic: number of handles goes up significantly
Replies: 1
Views: 551

number of handles goes up significantly

Hello, we took a deeper look at our java-process that uses the PDFXChangeEditor. After opening a pdf for display with the API-Funktion OpenDocFromPath() in 'Single Document Mode' the number of handles goes up significantly. Number of handles after showing around 1500 PDFs.png Some of the handles are...
by AteBe
Wed Jun 26, 2019 6:01 am
Forum: PDF-XChange Editor SDK
Topic: accumulation of handles
Replies: 14
Views: 2938

Re: accumulation of handles

Hallo Alex, unfortunately, the garbage collector does not work. Also, according to the link (https://stackoverflow.com/questions/508 ... collection) you have sent me, the garbage collector should not be used anyway. I assume that the handles that are no longer needed are not released by the API and ...
by AteBe
Mon Jun 24, 2019 1:08 pm
Forum: PDF-XChange Editor SDK
Topic: accumulation of handles
Replies: 14
Views: 2938

Re: accumulation of handles

Hallo Alex,
we are using Java and Eclipse RCP.
Does the problem you are speaking about also exist in java?
If so, how do I solve it?
If not, what else can be the reason for this Problem and how do I solve it?
AteBe
by AteBe
Mon Jun 24, 2019 12:29 pm
Forum: PDF-XChange Editor SDK
Topic: accumulation of handles
Replies: 14
Views: 2938

accumulation of handles

Hello, I have the following problem. Before I open a new document, I close the previously opened document. Nevertheless, there are no handles released. This adds up the open handles. After about 1500 opened documents, the application hangs and crashes. A restart of the PDFXChangeEditor within the ap...
by AteBe
Tue Jun 04, 2019 10:54 am
Forum: PDF-XChange Editor SDK
Topic: Zoomfaktor for OpenDocFromPath
Replies: 16
Views: 2940

Re: Zoomfaktor for OpenDocFromPath

Hello Alex, Unfortunately, I have not found a description for which the values ​​in v0, v1, v2 and v3 are used. Therefore, I suppose that v0 is the x-coordinate, v1 is the y-coordinate, and v2 is the zoom-value. What v3 is used for is not clear to me. According to your specifications I tried to set ...
by AteBe
Tue Jun 04, 2019 7:31 am
Forum: PDF-XChange Editor SDK
Topic: Zoomfaktor for OpenDocFromPath
Replies: 16
Views: 2940

Re: Zoomfaktor for OpenDocFromPath

AteBe I've tried to set the parameters for the OpenDocFromPath() function according to your preferences (CreateOpenDocParams). None of the variants I tried had any affect on the layout. In the code sample, I listed some of the variants. openDocParams = getInst().CreateOpenDocParams(); ICabNode initi...
by AteBe
Tue May 28, 2019 8:45 am
Forum: PDF-XChange Editor SDK
Topic: Manually setting Print.ScaleTypefor the editor
Replies: 1
Views: 575

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.pdf-xchange.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 t...
by AteBe
Mon May 27, 2019 9:14 am
Forum: PDF-XChange Editor SDK
Topic: Zoomfaktor for OpenDocFromPath
Replies: 16
Views: 2940

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

Re: Zoomfaktor for OpenDocFromPath

Hello Alex, according to https://sdkhelp.pdf-xchange.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.pdf-xchange.com/view/PXV:Params_NamedValues_PDFDestTypes (0-1), but there was no...
by AteBe
Fri May 24, 2019 1:19 pm
Forum: PDF-XChange Editor SDK
Topic: Zoomfaktor for OpenDocFromPath
Replies: 16
Views: 2940

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

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

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

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

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 ...
by AteBe
Wed May 22, 2019 12:39 pm
Forum: PDF-XChange Editor SDK
Topic: Enums SOLVED
Replies: 1
Views: 876

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

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: 14
Views: 8816

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: 14
Views: 8816

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("TextSmooth...
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: 1715

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

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

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

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.getPointe...
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: 3838

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

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

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

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

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

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

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

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

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

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

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

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.d...
by AteBe
Fri Jan 25, 2019 11:09 am
Forum: PDF-XChange Editor SDK
Topic: Single Document mode SOLVED
Replies: 1
Views: 946

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

controlling 2 command bars independently

I have 2 instances of the PDFXChange Editor embedded in an Eclipse RCP application. As described in https://forum.pdf-xchange.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 ...
by AteBe
Thu Jan 24, 2019 11:31 am
Forum: PDF-XChange Editor SDK
Topic: context menu does not work SOLVED
Replies: 8
Views: 2024

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

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

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