Search found 42 matches

by jusWest
Wed May 22, 2019 9:47 am
Forum: PDF-XChange Editor SDK
Topic: Set swedish language
Replies: 5
Views: 136

Re: Set swedish language

Hello Ronny, And does setting the languages via the Preferences/Language work in the FullDemo? I suspect you have misplaced the language folder or it requires something else. Cheers, Alex No, actually I see only the english language when i go into Preferences/Language. Where should I put the folder?
by jusWest
Wed May 22, 2019 9:28 am
Forum: PDF-XChange Editor SDK
Topic: Set swedish language
Replies: 5
Views: 136

Re: Set swedish language

Hello Ronny, Does it work with the FullDemo application? Cheers, Alex I just tried putting the language folder under the fulldemo bin\debug folder (where the exe is) and call the same function in the constructor, but it does not work. Neither does setting it via the language tab in the demo(I added...
by jusWest
Wed May 22, 2019 8:25 am
Forum: PDF-XChange Editor SDK
Topic: Set swedish language
Replies: 5
Views: 136

Set swedish language

Hello! I need to set the defaultlanguage of my application/editor instance to the swedish language. How do i do that? I have copied the Languages folder from the editor installation, to my applications root folder, and I am calling pdfCtl.Inst.SetCurrentUILang("sv-SE"); in the startup of my applicat...
by jusWest
Wed May 15, 2019 9:31 am
Forum: PDF-XChange Editor SDK
Topic: A Search question
Replies: 3
Views: 1140

Re: A Search question

Great, thank you, that got me on the right track :)
by jusWest
Wed May 15, 2019 6:58 am
Forum: PDF-XChange Editor SDK
Topic: A Search question
Replies: 3
Views: 1140

A Search question

Hello! In our product we need to search each page in the document for a document id. This id is located in the footer of the pages. The information I need to return is the id itself and the page number it is on. This should be able to be stored in a list. I have read about op.serach and IPXC_PageTex...
by jusWest
Wed Feb 20, 2019 8:52 am
Forum: PDF-XChange Editor SDK
Topic: drag and drop
Replies: 1
Views: 226

drag and drop

Hello! I know how to enable dragging a file into the editor control for opening a file: pdfCtl.Inst.Settings["Docs.CanOpenByDrop"].v = true; pdfCtl.Inst.FireAppPrefsChanged(PDFXEdit.PXV_AppPrefsChanges.PXV_AppPrefsChange_Documents); What I need though, is a way to intercept this. We want another fun...
by jusWest
Wed Oct 10, 2018 11:12 am
Forum: PDF-XChange Editor SDK
Topic: cmd.view.goto.prevView and nextView
Replies: 3
Views: 371

Re: cmd.view.goto.prevView and nextView

ok. let us know the answer to that :)

This means that there are no way around this "problem" ?
by jusWest
Wed Oct 10, 2018 8:16 am
Forum: PDF-XChange Editor SDK
Topic: cmd.view.goto.prevView and nextView
Replies: 3
Views: 371

cmd.view.goto.prevView and nextView

Hello! An interresting side effect of using prevView and nextView, is that if you have had prevously open documents, it jumps back to those if you open a new document. In our application we have a singel document interface, and do not want this behaviour to happen. Is there a way to "clear the cache...
by jusWest
Fri Oct 05, 2018 10:25 am
Forum: PDF-XChange Editor SDK
Topic: prevent selection of multiple bookmarks
Replies: 4
Views: 451

Re: prevent selection of multiple bookmarks

great, thank you :)
by jusWest
Mon Oct 01, 2018 6:42 am
Forum: PDF-XChange Editor SDK
Topic: prevent selection of multiple bookmarks
Replies: 4
Views: 451

Re: prevent selection of multiple bookmarks

anyone got any hints?
by jusWest
Mon Oct 01, 2018 6:41 am
Forum: PDF-XChange Editor SDK
Topic: bookmark goto action
Replies: 3
Views: 388

Re: bookmark goto action

Any help? I use this int nID = _Inst.Str2ID("op.bookmarks.addNew.simple", false); IOperation Op = _Inst.CreateOp(nID); ICabNode input = Op.Params.Root["Input"]; // if bookmark has an action, add as a sibling, else add as a child IPXC_Bookmark Book; if (bmSelected.Actions != null) Book = bmSelected.A...
by jusWest
Thu Sep 27, 2018 9:17 am
Forum: PDF-XChange Editor SDK
Topic: bookmark goto action
Replies: 3
Views: 388

Re: bookmark goto action

scratch this, wrote a routine using op.bookmarks.addNew.simple to accomplish this. One thing though, I know I can catch the INS key in a custom event handler, and call my add bookmark routine there. But is there a way to stop the default behaviour for the INS key from executing, what event do i need...
by jusWest
Wed Sep 26, 2018 12:30 pm
Forum: PDF-XChange Editor SDK
Topic: bookmark goto action
Replies: 3
Views: 388

bookmark goto action

Hi! When adding a bookmark via the INS key or executing "cmd.addBookmark", the page that is bookmarked is jumped to and shown in the same position as it was bookmarked. Can I set some default setting so that the page is always shown based on Dest_XYZ ( Top of page in Top of editor...) We have a goto...
by jusWest
Wed Sep 26, 2018 11:30 am
Forum: PDF-XChange Editor SDK
Topic: prevent selection of multiple bookmarks
Replies: 4
Views: 451

prevent selection of multiple bookmarks

Hi!

probably an easy solution or I am missing something.

Is there a setting for preventing selection of multiple bookmarks in the bookmarks pane?

Regards
Ronny
by jusWest
Wed Sep 26, 2018 8:33 am
Forum: PDF-XChange Editor SDK
Topic: use my own dialog boxes
Replies: 4
Views: 500

Re: use my own dialog boxes

Thank you, I got it to work by identifying the text pattern in the dialog box :)
by jusWest
Mon Sep 24, 2018 12:41 pm
Forum: PDF-XChange Editor SDK
Topic: use my own dialog boxes
Replies: 4
Views: 500

use my own dialog boxes

How could I go about using my own dialog boxes instead of the pdfxchange dialogs.

For now I really like to replace the dialog that pops up when you press delete on a bookmark.

Do I need to write a custom command handler?

See attached image.
by jusWest
Mon Sep 24, 2018 6:56 am
Forum: PDF-XChange Editor SDK
Topic: Bookmarks pane undocked visibillity
Replies: 4
Views: 460

Re: Bookmarks pane undocked visibillity

I must have been struck by some "end of week" ghost or something, because now it works in my main app also :) :shock:
by jusWest
Mon Sep 24, 2018 6:45 am
Forum: PDF-XChange Editor SDK
Topic: Bookmarks pane undocked visibillity
Replies: 4
Views: 460

Re: Bookmarks pane undocked visibillity

Hi!

While I created a testproject I found that it worked in the testproject, så there must be something else preventing it to
work correctly in my primary project, will investigate further...

/ronny
by jusWest
Fri Sep 21, 2018 8:55 am
Forum: PDF-XChange Editor SDK
Topic: Bookmarks pane undocked visibillity
Replies: 4
Views: 460

Bookmarks pane undocked visibillity

Hello! I check for the visibillity of the bookmarks pane via a customeventtarget onevent, like this: public void OnEvent(IUIX_Obj pSender, IUIX_Event pEvent) { if (pEvent.Code == (int)UIX_EventCodes.e_Visible) { Parent.SetBmPaneVisible(_Obj); } } private void SetBmPaneVisible(IUIX_Obj bmPaneObj) { v...
by jusWest
Thu Sep 20, 2018 12:19 pm
Forum: PDF-XChange Editor SDK
Topic: prevent annot box
Replies: 6
Views: 749

Re: prevent annot box

thanks, the terminilogy is sometimes lost on me :O, that is also why it is somethimes difficult to get hits on search, because I use the wrong word for things... I can catch the addnew operation in the e_operBeforeExecute event, but after that I'm not sure how to do what you describe in you latest r...
by jusWest
Wed Sep 19, 2018 6:52 am
Forum: PDF-XChange Editor SDK
Topic: prevent annot box
Replies: 6
Views: 749

Re: prevent annot box

Anything I can do to just disable the opening of the higlight editor window, and still be able to highlight text in the document?
by jusWest
Tue Sep 18, 2018 12:14 pm
Forum: PDF-XChange Editor SDK
Topic: prevent annot box
Replies: 6
Views: 749

Re: prevent annot box

Thanks! If i do this: if (e.nEventID == nIDS[(int)IDS.e_operBeforeExecute]) { IOperation oper = (IOperation)e.pFrom; opModifyFields = pdfCtl.Inst.Str2ID("op.annots.addNew", false); if (opModifyFields == oper.ID) { e.pEvent.Handled = true; e.pEvent.Result = 1; } } It also disables the higlighting of ...
by jusWest
Tue Sep 18, 2018 10:17 am
Forum: PDF-XChange Editor SDK
Topic: prevent annot box
Replies: 6
Views: 749

prevent annot box

Hello! Is there a way, event or otherwise, to disable the opening of a annotation window when we use the "cmd.tool.annot.highlight" tool? Which event needs to be used to prevent this? Tried this: else if (e.nEventID == nIDS[(int)IDS.e_annots_inserted]) { e.pEvent.Handled = true; e.pEvent.Result = 1;...
by jusWest
Mon Sep 17, 2018 7:34 am
Forum: PDF-XChange Editor SDK
Topic: prevent rename of bookmark
Replies: 9
Views: 677

Re: prevent rename of bookmark

great, thank you :)
by jusWest
Mon Sep 17, 2018 6:21 am
Forum: PDF-XChange Editor SDK
Topic: prevent rename of bookmark
Replies: 9
Views: 677

Re: prevent rename of bookmark

Great, thank you for all your help. One more question concerning renaming bookmarks. It it possible to prevent the user from entering EDIT mode on the bookmark? The solution earlier in this thread prevents it from changing, but not from entering edit mode. It is not a big concern, but it would be ni...
by jusWest
Fri Sep 14, 2018 1:13 pm
Forum: PDF-XChange Editor SDK
Topic: prevent rename of bookmark
Replies: 9
Views: 677

Re: prevent rename of bookmark

thanks! I have implemented the function and it loops trough and matches the id for the bookmarks Pane, the BV.Obj.WndText gets assigned, but the change never shows in the bookmarkspane. I use this code: //int nBV = pdfCtl.Inst.Str2ID("bookmarksView"); int nBV = pdfCtl.Doc.View[0].Panes.Active[pdfCtl...
by jusWest
Fri Sep 14, 2018 10:35 am
Forum: PDF-XChange Editor SDK
Topic: prevent rename of bookmark
Replies: 9
Views: 677

Re: prevent rename of bookmark

Thanks, that worked :) another question, is it possible to translate the title of the bookmarks pane, without going throuh the whole translation process described elsewhere on this site? This is what I am talking about: https://forum.tracker-software.com/download/file.php?mode=view&id=9503&sid=1e0ff...
by jusWest
Thu Sep 13, 2018 12:51 pm
Forum: PDF-XChange Editor SDK
Topic: prevent rename of bookmark
Replies: 9
Views: 677

prevent rename of bookmark

Hello again! :)

Could not find anything in the forum about this, so I ask here.

Is it possible to prevent the use of F2 and mouseclick that enables the editing of a bookmarks name?

We do not want the users of our application to be able to rename a bookmark.

Regards
Ronny
by jusWest
Tue Sep 11, 2018 1:05 pm
Forum: PDF-XChange Editor SDK
Topic: Bookmarks pane SOLVED
Replies: 8
Views: 983

Re: Bookmarks pane SOLVED

thank you for your help, its working now :)
by jusWest
Mon Sep 10, 2018 8:55 am
Forum: PDF-XChange Editor SDK
Topic: Bookmarks pane SOLVED
Replies: 8
Views: 983

Re: Bookmarks pane SOLVED

Oh, my! You are assuming that your documentatin is all that great, which it is not. You need to take in that we are all on different levels here. I have struggled trough learning this sdk. And we are/or is soon to be customers, so when I ask for an example I excpect to get an example og how things a...
by jusWest
Mon Sep 10, 2018 8:27 am
Forum: PDF-XChange Editor SDK
Topic: Bookmarks pane SOLVED
Replies: 8
Views: 983

Re: Bookmarks pane SOLVED

thanks, I have fixed the menuids now, but when it comes to the icon menu on the
top of the bookmarks pane, the link you provided, just points to the definition of e.beforeShowContextMenu.

It does not show how you would remove the icon list entirely:
bookmicons.PNG
bookmicons.PNG (8.28 KiB) Viewed 971 times
by jusWest
Fri Sep 07, 2018 1:37 pm
Forum: PDF-XChange Editor SDK
Topic: Bookmarks pane SOLVED
Replies: 8
Views: 983

Bookmarks pane SOLVED

Hi! Is there a way to disable or hide the icon menu in the bookmarks pane, and also disable the bookmarks right click menu? I intercept the context menu in the editor itself with this code: else if (e.nEventID == nIDS[(int)IDS.e_beforeShowContextMenu]) { IPXV_BeforeShowContextMenuEvent evt = (IPXV_B...
by jusWest
Fri Sep 07, 2018 8:38 am
Forum: PDF-XChange Editor SDK
Topic: remove tooltip
Replies: 5
Views: 449

Re: remove tooltip

Thank you, I missunderstood your earlier answer, to early in the morning and to little coffe :)
by jusWest
Fri Sep 07, 2018 7:46 am
Forum: PDF-XChange Editor SDK
Topic: remove tooltip
Replies: 5
Views: 449

Re: remove tooltip

I'm not sure i follow, could you show some code?

Where should i put this setting?
by jusWest
Thu Sep 06, 2018 11:26 am
Forum: PDF-XChange Editor SDK
Topic: remove tooltip
Replies: 5
Views: 449

remove tooltip

Hello!

Se the attached image of a line drawn in the editor. Is there a way to disable the tooltip that appears
when hoovering over the drawn object?

regards
Ronny
by jusWest
Mon Sep 03, 2018 1:21 pm
Forum: PDF-XChange Editor SDK
Topic: store ekstra information in a bookmark
Replies: 9
Views: 747

Re: store ekstra information in a bookmark

ok, do you have an example of using Named Destinations?
by jusWest
Mon Sep 03, 2018 1:14 pm
Forum: PDF-XChange Editor SDK
Topic: store ekstra information in a bookmark
Replies: 9
Views: 747

Re: store ekstra information in a bookmark

another question somehow related to this.

Given two bookmarks and their goto actions, can one derive the number of pages between theese two bookmarks?

Regards
Ronny
by jusWest
Mon Sep 03, 2018 9:21 am
Forum: PDF-XChange Editor SDK
Topic: Bates numbering question
Replies: 3
Views: 377

Re: Bates numbering question

Oh, seems like I have overcomplicated things, that works, thank you :)
by jusWest
Mon Sep 03, 2018 8:53 am
Forum: PDF-XChange Editor SDK
Topic: Bates numbering question
Replies: 3
Views: 377

Bates numbering question

Hi! I am sure I am overlooking something basic here, but anyways, here goes. We want to start bates/page numbering from a specific page and from a specific number, like from page 2 with page number 2 Starting from the page I want works, but I cant get the page number to start from where I want it. H...
by jusWest
Fri Aug 31, 2018 12:04 pm
Forum: PDF-XChange Editor SDK
Topic: store ekstra information in a bookmark
Replies: 9
Views: 747

Re: store ekstra information in a bookmark

Thanks, I will check it out :)
by jusWest
Fri Aug 31, 2018 7:33 am
Forum: PDF-XChange Editor SDK
Topic: store ekstra information in a bookmark
Replies: 9
Views: 747

Re: store ekstra information in a bookmark

Thank you for your response.

I think maybe option 3 seems like a good choice.

Do you have an exampe of how this is done?

/Ronny
by jusWest
Fri Aug 31, 2018 6:12 am
Forum: PDF-XChange Editor SDK
Topic: store ekstra information in a bookmark
Replies: 9
Views: 747

store ekstra information in a bookmark

Hello! We are evaluating the editor sdk for a new product we are developing. In this product we are generating the boomarks as a tree manually, an it works as intended, but in our application we would like to store more information in each bookmark node. Is there something like a Tag property we can...