Search found 69 matches

by jusWest
Tue Oct 15, 2019 8:34 am
Forum: PDF-XChange Editor SDK
Topic: move to bookmark
Replies: 4
Views: 20

Re: move to bookmark

Well it seem I have missunderstood what my boss wanted :shock: :P

You can forget this for now, will be back withanother use case later
by jusWest
Tue Oct 15, 2019 7:47 am
Forum: PDF-XChange Editor SDK
Topic: move to bookmark
Replies: 4
Views: 20

Re: move to bookmark

Hello Ronny, There already is such a button: bookmark_visible.png Or do you want to enable this through code? Regards, Stefan Yes I want to enable this by code. I know there is a command "cmd.bookmarksView.ensureVisibility", but the blue highlighting does not follow, the yellow box does though. Any...
by jusWest
Mon Oct 14, 2019 12:49 pm
Forum: PDF-XChange Editor SDK
Topic: move to bookmark
Replies: 4
Views: 20

move to bookmark

Hello! We have a scenario, where we have very large pdf files, and a great deal of bookmarks in them. As the user scrolls down i the document, reading, searching or wathever, the Active bookmark (blue) dos not follow, only the yellow box does. This is how it works, I know, but it makes our user feel...
by jusWest
Mon Sep 30, 2019 12:16 pm
Forum: PDF-XChange Editor SDK
Topic: export fdf witdh atachments
Replies: 13
Views: 277

Re: export fdf witdh atachments

This is starting too get a litle critical for us, as we need this to work

Can you please see if the developer can give a response soon?
by jusWest
Wed Sep 25, 2019 12:56 pm
Forum: PDF-XChange Editor SDK
Topic: bookmark export to text file
Replies: 10
Views: 79

Re: bookmark export to text file

yop, that worked, thanks!
by jusWest
Wed Sep 25, 2019 12:45 pm
Forum: PDF-XChange Editor SDK
Topic: bookmark export to text file
Replies: 10
Views: 79

Re: bookmark export to text file

Yes, see attached image, if this is enabled, the desired output happens
by jusWest
Wed Sep 25, 2019 12:30 pm
Forum: PDF-XChange Editor SDK
Topic: bookmark export to text file
Replies: 10
Views: 79

Re: bookmark export to text file

Ahh, great, thank you! Just one aditional question, given this enum: public enum eBTTFlags //bookmarks to text file { //sheet "Select Bookmarks and output params" ebttf_Default = 0x0000000, ebttf_ExportSelected = 0x0000001, ebttf_ExportCertainActType = 0x0000002, ebttf_ExportActTypesAll = 0x0000004,...
by jusWest
Wed Sep 25, 2019 10:57 am
Forum: PDF-XChange Editor SDK
Topic: bookmark export to text file
Replies: 10
Views: 79

Re: bookmark export to text file

I have tried this: int nID = _Inst.Str2ID("op.bookmarks.fromTextFile", false); IOperation Op = _Inst.CreateOp(nID); ICabNode input = Op.Params.Root["Input"]; input.v = _Doc; ICabNode options = Op.Params.Root["Options"]; IAFS_Inst fsInst = (IAFS_Inst)_Inst.GetExtension("AFS"); IAFS_Name impPath = fsI...
by jusWest
Wed Sep 25, 2019 10:22 am
Forum: PDF-XChange Editor SDK
Topic: bookmark export to text file
Replies: 10
Views: 79

Re: bookmark export to text file

Hello!

Is there also a "op.bookmarks.fromTextFile" function in the plugin?

Would be nice to import bookmarks from text files too :)
by jusWest
Wed Sep 25, 2019 9:41 am
Forum: PDF-XChange Editor SDK
Topic: export fdf witdh atachments
Replies: 13
Views: 277

Re: export fdf witdh atachments

Any word from the developer?
by jusWest
Mon Sep 23, 2019 6:30 am
Forum: PDF-XChange Editor SDK
Topic: op.search - clear highlight
Replies: 4
Views: 63

Re: op.search - clear highlight

any help?
by jusWest
Fri Sep 20, 2019 6:13 am
Forum: PDF-XChange Editor SDK
Topic: op.search - clear highlight
Replies: 4
Views: 63

Re: op.search - clear highlight

this is the code: public void HighlightWordsInPage(uint pageNum, List<string> wordlist) { try { int nID = _Inst.Str2ID("op.search", false); IOperation Op = _Inst.CreateOp(nID); ICabNode input = Op.Params.Root["Input"]; input.Add().v = _Doc.CoreDoc; ICabNode options = Op.Params.Root["Options"]; if (w...
by jusWest
Thu Sep 19, 2019 1:00 pm
Forum: PDF-XChange Editor SDK
Topic: op.search - clear highlight
Replies: 4
Views: 63

op.search - clear highlight

We har using op.search to search and highlight with PageSearchCallBack as described elsewhere on this forum. And this works well.

I'm curious to know if there is a function or way to easily clear the higlightet words, so they apperar normal again.
by jusWest
Thu Sep 19, 2019 6:13 am
Forum: PDF-XChange Editor SDK
Topic: export fdf witdh atachments
Replies: 13
Views: 277

Re: export fdf witdh atachments

heard back yet?
by jusWest
Tue Sep 17, 2019 12:45 pm
Forum: PDF-XChange Editor SDK
Topic: export fdf witdh atachments
Replies: 13
Views: 277

Re: export fdf witdh atachments

yes, the text data for the atachments is exported:

Code: Select all

70 0 obj
<<
/C [1 1 0]
/F 128
/FS 137 0 R
/Name /Outlook
/NM (5e7f7547-2f66-45c0-a09f-8f4ff6fa377f)
/Page 3161
/Rect 138 0 R
/Subtype /FileAttachment
/Type /Annot
>>
endobj
but not the data between stream and endstream
by jusWest
Tue Sep 17, 2019 12:39 pm
Forum: PDF-XChange Editor SDK
Topic: export fdf witdh atachments
Replies: 13
Views: 277

Re: export fdf witdh atachments

Thank you, the important thing for me now is that the attachments is not exported
by jusWest
Tue Sep 17, 2019 11:41 am
Forum: PDF-XChange Editor SDK
Topic: export fdf witdh atachments
Replies: 13
Views: 277

Re: export fdf witdh atachments

Also the sdk export function does not produce the same fdf data as the editor export does. se here for an example for the same object in the same pdf file: Produced by the SDK export: 2 0 obj << /BS null /Contents (Ix 11 og 12 Eika Kreditt-\rNazim) /CreationDate (D:20161102140025+01'00') /DA (19 TL ...
by jusWest
Tue Sep 17, 2019 11:20 am
Forum: PDF-XChange Editor SDK
Topic: export fdf witdh atachments
Replies: 13
Views: 277

export fdf witdh atachments

Hello! We use this code to export comments to a FDF file: IOperation op = _Inst.CreateOp(_Inst.Str2ID("op.document.exportCommentsAndFields", false)); op.Params.Root["Input"].v = _Doc; ICabNode cabNode = (ICabNode)op.Params.Root[(object)"Options"]; cabNode["ExportAnnots"].v = true; cabNode["ExportFie...
by jusWest
Fri Sep 06, 2019 12:15 pm
Forum: PDF-XChange Editor SDK
Topic: cmd.view.loupe
Replies: 4
Views: 59

Re: cmd.view.loupe

thank you!

I really did know I should, but had "forgot it" :D
by jusWest
Thu Sep 05, 2019 11:41 am
Forum: PDF-XChange Editor SDK
Topic: cmd.view.loupe
Replies: 4
Views: 59

Re: cmd.view.loupe

Actually I cant get theese two commands to work either: cmd.zoom.level.zoomIn cmd.zoom.level.zoomOut Nothing happens when I run those commands. Btw. they work in the fulldemo! The commands: cmd.zoom.level.fitVisible cmd.zoom.level.fitWidth cmd.zoom.level.fitPage cmd.zoom.level.actual Works as they s...
by jusWest
Thu Sep 05, 2019 11:13 am
Forum: PDF-XChange Editor SDK
Topic: cmd.view.loupe
Replies: 4
Views: 59

cmd.view.loupe

Hello! I am trying to open the Loupe window by executing the following command CommandExec("cmd.view.loupe"); CommandExec looks like this: public void CommandExec(string command, bool hide = false) { try { var uiInst = (IUIX_Inst)_Inst.GetExtension("UIX"); IUIX_Cmd cmd = uiInst.CmdManager.Cmds.Find(...
by jusWest
Mon Sep 02, 2019 8:19 am
Forum: PDF-XChange Editor SDK
Topic: bookmark export to text file
Replies: 10
Views: 79

bookmark export to text file

Hello!

I'm using op.bookmarks.export, to export bookmarks now, but need to export to a textfile also.

I see the editor has a export to textfile function, is this also available in the Editor SDK?

Regards
Ronny
by jusWest
Fri Jun 28, 2019 8:18 am
Forum: PDF-XChange Editor SDK
Topic: get IPXC_XForm data
Replies: 3
Views: 76

Re: get IPXC_XForm data

:roll:

duhh, I need a vacation it seems :P :lol:
by jusWest
Thu Jun 27, 2019 11:58 am
Forum: PDF-XChange Editor SDK
Topic: get IPXC_XForm data
Replies: 3
Views: 76

get IPXC_XForm data

Hello! Probably not seaing the forrest for the trees here, but how can I get the value of a textobject that is in a IPXC_XForm? I'm doing something like this: for (int i = 0; i < _CoreDoc.Pages.Count; i++) { IPXC_Content content = _CoreDoc.Pages[(uint)i].GetContent(PXC_ContentAccessMode.CAccessMode_...
by jusWest
Thu Jun 20, 2019 6:25 am
Forum: PDF-XChange Editor SDK
Topic: drag and drop out of editor
Replies: 4
Views: 165

Re: drag and drop out of editor

Anything to contribute?
by jusWest
Tue Jun 18, 2019 8:59 am
Forum: PDF-XChange Editor SDK
Topic: drag and drop out of editor
Replies: 4
Views: 165

Re: drag and drop out of editor

Sasha - Tracker Dev Team wrote:
Tue Jun 18, 2019 8:57 am
Hello Ronny,

What programming language are you using?

Cheers,
Alex
I use c#
by jusWest
Thu Jun 13, 2019 1:13 pm
Forum: PDF-XChange Editor SDK
Topic: drag and drop out of editor
Replies: 4
Views: 165

drag and drop out of editor

Hello! We want to implement a functionality for our users, where the user drags a bookmark out of the bookmark tree and drops it on the desktop for example. We will here use the bookmark title and page information to export only the boomarked content onto a pdf file on the desktop. What I need to kn...
by jusWest
Wed May 22, 2019 9:47 am
Forum: PDF-XChange Editor SDK
Topic: Set swedish language
Replies: 5
Views: 167

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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