Search found 91 matches

by jusWest
Mon Aug 10, 2020 10:40 am
Forum: PDF-XChange Editor SDK
Topic: op.document.OCRPages
Replies: 2
Views: 200

Re: op.document.OCRPages

or even detect that cancel was clicked
This one I have covered, but
is there a way to detect how many pages was proccessed
this I need to know
by jusWest
Mon Aug 10, 2020 10:36 am
Forum: PDF-XChange Editor SDK
Topic: op.document.OCRPages
Replies: 2
Views: 200

op.document.OCRPages

Hello! We are running the following code to ocr treat multiple pages. This shows a progressbar dialog with a cancel button. When this cancel button is clicked, is there a way to detect how many pages was proccessed or even detect that cancel was clicked? try { int nID = _Inst.Str2ID("op.document.OCR...
by jusWest
Wed May 13, 2020 12:41 pm
Forum: PDF-XChange Editor SDK
Topic: cmd.newDocCombine options
Replies: 21
Views: 909

Re: cmd.newDocCombine options

Thanks for your answer.

I'm not sure I follow, are you saing that i should fake a drag drop situation?

As this dialog handling i somewhat new to me, do you have a simple example of using List_OnDrop ?

/Ronny
by jusWest
Wed May 13, 2020 8:22 am
Forum: PDF-XChange Editor SDK
Topic: cmd.newDocCombine options
Replies: 21
Views: 909

Re: cmd.newDocCombine options

Hello jusWest, Well žarko did use my solution - as I described previously, you should catch the e.operBeforeExecute, fill the "Input" CAB node with the needed files/names and then continue the operation execution. When the operation calls the ShowSetupUI method, that shows the dialog, it tries to r...
by jusWest
Tue May 12, 2020 8:20 am
Forum: PDF-XChange Editor SDK
Topic: cmd.newDocCombine options
Replies: 21
Views: 909

Re: cmd.newDocCombine options

So, got a test somehow working. I test using this code: private void e_operBeforeExecute(object sender, _IPXV_ControlEvents_OnEventEvent e) { IOperation op = (IOperation)e.pFrom; //// catch the op.combineDocs opreation if (op.ID == _editorView.pdfctl.Inst.Str2ID("op.combineDocs")) { IAFS_Inst fsInst...
by jusWest
Tue May 12, 2020 7:32 am
Forum: PDF-XChange Editor SDK
Topic: cmd.newDocCombine options
Replies: 21
Views: 909

Re: cmd.newDocCombine options

ahh, ok, off to try this then :)

Thanks!

/Ronny
by jusWest
Tue May 12, 2020 7:04 am
Forum: PDF-XChange Editor SDK
Topic: cmd.newDocCombine options
Replies: 21
Views: 909

Re: cmd.newDocCombine options

Thanks zarko :)


Sasha!

Zarkos solution might work for us.

But was this the kind of solution you suggested? Does this mean that there is no way of prefilling the visual filelist of the dialog?

/Ronny
by jusWest
Mon May 11, 2020 12:16 pm
Forum: PDF-XChange Editor SDK
Topic: cmd.newDocCombine options
Replies: 21
Views: 909

Re: cmd.newDocCombine options

I checked the spec again. It does not say if they should be able to delete some of the prefilled ones, but they need to be able to add more files. If that means they can decide to remove (in open dialog) any of pre-filled ones - sorry I cannot help with that ... What solution did you have in mind if...
by jusWest
Mon May 11, 2020 12:03 pm
Forum: PDF-XChange Editor SDK
Topic: cmd.newDocCombine options
Replies: 21
Views: 909

Re: cmd.newDocCombine options

Hi, Now, if I want to prefill the file list in this dialog for some semi automation, is that possible? Would you still allow users to *not* select some of the pre-filled ones ? Or pre-filled for you means they must be a part of the combining process (and the user can select some more of those that ...
by jusWest
Mon May 11, 2020 11:14 am
Forum: PDF-XChange Editor SDK
Topic: cmd.newDocCombine options
Replies: 21
Views: 909

Re: cmd.newDocCombine options

Thanks for the answer. The e.operBeforeExecute event fires when i press ok in the combine dialog, not before the dialog is shown. I'm able to catch it like this if (oper.ID == _editorView.pdfctl.Inst.Str2ID("op.combineDocs")) but as I said, to late to fill the dialog. am I understanding you correctl...
by jusWest
Mon May 04, 2020 1:38 pm
Forum: PDF-XChange Editor SDK
Topic: cmd.newDocCombine options
Replies: 21
Views: 909

cmd.newDocCombine options

Hello! We are using cmd.newDocCombine to open the dialog for combining multiple pdf files into one. This works great. Now, if I want to prefill the file list in this dialog for some semi automation, is that possible? say I have a path sent trough commandline options, is there a way to tell this dial...
by jusWest
Fri Nov 08, 2019 9:55 am
Forum: PDF-XChange Editor SDK
Topic: cmd.bookmarksView.pages.extract dialog default values SOLVED
Replies: 16
Views: 1037

Re: cmd.bookmarksView.pages.extract dialog default values SOLVED

Hope you have time to look at this soon, this is something that is holding us back at the moment.
by jusWest
Wed Nov 06, 2019 8:44 am
Forum: PDF-XChange Editor SDK
Topic: change width of a pane SOLVED
Replies: 1
Views: 204

change width of a pane SOLVED

How do i set the width of for example the bookmarks pane? I want to save the width of the panes when the applications quits. The panes remember their last width when the application is running but "forgets" it when application quits. Tried this, but that dit not work: IUIX_LayoutItem item = _pdfctl....
by jusWest
Thu Oct 31, 2019 7:16 am
Forum: PDF-XChange Editor SDK
Topic: cmd.bookmarksView.pages.extract dialog default values SOLVED
Replies: 16
Views: 1037

Re: cmd.bookmarksView.pages.extract dialog default values SOLVED

have you had the time to look at this?
by jusWest
Tue Oct 29, 2019 1:07 pm
Forum: PDF-XChange Editor SDK
Topic: cmd.bookmarksView.pages.extract dialog default values SOLVED
Replies: 16
Views: 1037

Re: cmd.bookmarksView.pages.extract dialog default values SOLVED

Here is a small project that replicates the error, at least for me.

just change the pdf path, its in the debug folder.

CTRL-B for bookmarks, and activate a bookmark and press button
by jusWest
Tue Oct 29, 2019 12:33 pm
Forum: PDF-XChange Editor SDK
Topic: cmd.bookmarksView.pages.extract dialog default values SOLVED
Replies: 16
Views: 1037

Re: cmd.bookmarksView.pages.extract dialog default values SOLVED

when I do this:

Code: Select all


dlg.SetItemText("dep.eFileName", "Test text");

the dialog freezes
by jusWest
Tue Oct 29, 2019 12:23 pm
Forum: PDF-XChange Editor SDK
Topic: cmd.bookmarksView.pages.extract dialog default values SOLVED
Replies: 16
Views: 1037

Re: cmd.bookmarksView.pages.extract dialog default values SOLVED

ok, so how do I replace this:

Code: Select all


%[FileName]_%[Page]

by jusWest
Tue Oct 29, 2019 11:55 am
Forum: PDF-XChange Editor SDK
Topic: cmd.bookmarksView.pages.extract dialog default values SOLVED
Replies: 16
Views: 1037

Re: cmd.bookmarksView.pages.extract dialog default values SOLVED

another query trying to set the values for the following edit field:

Filename:

Code: Select all


dlg.SetItemCueText("dep.eFileName",  _fileName);


Is this the correct way to set the value?

It does noe work for me...
by jusWest
Tue Oct 29, 2019 10:48 am
Forum: PDF-XChange Editor SDK
Topic: cmd.bookmarksView.pages.extract dialog default values SOLVED
Replies: 16
Views: 1037

cmd.bookmarksView.pages.extract dialog default values SOLVED

Hello! I'm calling this command "cmd.bookmarksView.pages.extract" to extract selected bookmark pages . In the dialog that pops up, we need to change some default values, so users dont need to change them later. I found some code on the forum for CropPages, and adapted that code to create this class:...
by jusWest
Tue Oct 15, 2019 8:34 am
Forum: PDF-XChange Editor SDK
Topic: move to bookmark
Replies: 4
Views: 723

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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?