Search found 668 matches

by zarkogajic
Tue Jun 30, 2020 1:50 pm
Forum: PDF-XChange Editor SDK
Topic: XFA IsSigned?
Replies: 2
Views: 231

Re: XFA IsSigned?

Thanks Alex, I'll give it a shot.

Btw, how do I know if there's a signature on a non-XFA PDF?

-žarko
by zarkogajic
Tue Jun 23, 2020 10:35 am
Forum: PDF-XChange Editor SDK
Topic: XFA IsSigned?
Replies: 2
Views: 231

XFA IsSigned?

Hi Support,

Re: viewtopic.php?f=62&t=34599

How do I know if a document (XFA) is signed or not via SDK?

I see there's "FormSig_HasSignature" - but am not sure how to use it (and if this is to be used)....

-žarko
by zarkogajic
Thu Jun 18, 2020 3:28 pm
Forum: PDF-XChange Editor SDK
Topic: Altering CoreDoc.SetRestrictedPermissions (PXC_PermsFlags) - refresh command items sometimes fails SOLVED
Replies: 14
Views: 169

Re: Altering CoreDoc.SetRestrictedPermissions (PXC_PermsFlags) - refresh command items sometimes fails SOLVED

Hi Alex,

Yes, this seems to do it!

InstUI.CmdManager.UpdateCmdItems(UIX_CmdItemUpdate_State, 0);

Thanks. Case not only solved but closed :)

by zarkogajic
Thu Jun 18, 2020 8:01 am
Forum: PDF-XChange Editor
Topic: Existing digital signature not visible on a XFA form document SOLVED
Replies: 6
Views: 259

Existing digital signature not visible on a XFA form document SOLVED

Hi Support, From what I can figure out by searching the forum, digitally signing an XFA PDF document is not supported: https://forum.tracker-software.com/viewtopic.php?f=62&t=33399 I have an XFA document that is digitally signed and Adobe displays the signature. PDF-XChange Editor displays the field...
by zarkogajic
Thu Jun 18, 2020 7:49 am
Forum: PDF-XChange Editor SDK
Topic: Altering CoreDoc.SetRestrictedPermissions (PXC_PermsFlags) - refresh command items sometimes fails SOLVED
Replies: 14
Views: 169

Re: Altering CoreDoc.SetRestrictedPermissions (PXC_PermsFlags) - refresh command items sometimes fails SOLVED

HI Alex, I've tried both events with nParam1=nParam2=0 for CreateNewEvent. No changes in UI. I'm passing Inst for pFrom in FireEvent //kinda pseudo IEvent evt = Inst.EventServer.CreateNewEvent(e.cmdCustomization/e.customizeCmdLayout , 0, 0); Inst.EventServer.FireEvent(evt, Inst); Any other idea? -ž
by zarkogajic
Wed Jun 17, 2020 4:13 pm
Forum: PDF-XChange Editor SDK
Topic: Altering CoreDoc.SetRestrictedPermissions (PXC_PermsFlags) - refresh command items sometimes fails SOLVED
Replies: 14
Views: 169

Re: Altering CoreDoc.SetRestrictedPermissions (PXC_PermsFlags) - refresh command items sometimes fails SOLVED

Hi Alex,

Ok.

Is here an even I can fire so that update happens?

I do not like this iterating code over CommandPanes/CommandLines/CommandBars.

-žarko
by zarkogajic
Wed Jun 17, 2020 2:19 pm
Forum: PDF-XChange Editor SDK
Topic: Altering CoreDoc.SetRestrictedPermissions (PXC_PermsFlags) - refresh command items sometimes fails SOLVED
Replies: 14
Views: 169

Re: Altering CoreDoc.SetRestrictedPermissions (PXC_PermsFlags) - refresh command items sometimes fails SOLVED

Hi Alex,

But that's not what happens.

As described in the first post in this topic, when I do pxvControl.Doc.CoreDoc.SetRestrictedPermissions(0) - the UI sometimes updates, sometimes it does not. And there's no difference in what I do.

-žarko
by zarkogajic
Wed Jun 17, 2020 9:49 am
Forum: PDF-XChange Editor SDK
Topic: Altering CoreDoc.SetRestrictedPermissions (PXC_PermsFlags) - refresh command items sometimes fails SOLVED
Replies: 14
Views: 169

Re: Altering CoreDoc.SetRestrictedPermissions (PXC_PermsFlags) - refresh command items sometimes fails SOLVED

Hi Alex,

Thanks, as said works but not ideal.

Why the following does not do it - as from what I (think I) know about UpdateCmdItemsByTarget - this should do it:

InstUI.CmdManager.UpdateCmdItemsByTarget(UIX_CmdItemUpdate_State, Document Frame's MainView)

?

by zarkogajic
Wed Jun 17, 2020 9:45 am
Forum: PDF-XChange Editor SDK
Topic: IPXV_PagesPreviewCtl event when current page changes ? SOLVED
Replies: 3
Views: 62

IPXV_PagesPreviewCtl event when current page changes ? SOLVED

Hi Support,

What would be the proper way to get notified when the current page changes in IPXV_PagesPreviewCtl?

At the moment I'm catching e_ScrollChanged in IUIX_ObjImpl.OnEvent for IPXV_PagesPreviewCtl.Obj.

Is this to be used or is there something better?

-žarko
by zarkogajic
Wed Jun 17, 2020 7:55 am
Forum: PDF-XChange Editor SDK
Topic: Altering CoreDoc.SetRestrictedPermissions (PXC_PermsFlags) - refresh command items sometimes fails SOLVED
Replies: 14
Views: 169

Re: Altering CoreDoc.SetRestrictedPermissions (PXC_PermsFlags) - refresh command items sometimes fails SOLVED

Hi Support,

I've managed to solve this by iterating over *all* IUIX_CmdPanes.IUIX_CmdLines.IUIX_CmdBars of IPXV_MainView and calling IUIX_CmdBar.UpdateItems(UIX_CmdItemUpdate_State, -1);

Not an ideal fix, but works. Still, the issue is there somewhere in your code...

by zarkogajic
Tue Jun 16, 2020 3:07 pm
Forum: PDF-XChange Editor SDK
Topic: Altering CoreDoc.SetRestrictedPermissions (PXC_PermsFlags) - refresh command items sometimes fails SOLVED
Replies: 14
Views: 169

Altering CoreDoc.SetRestrictedPermissions (PXC_PermsFlags) - refresh command items sometimes fails SOLVED

Hi Support, I cannot reproduce this in EU Editor as there's some coding required. Can be reproduced in FullDemo. Here's what I have: I'm loading a document in pxvControl using IPXV_MainFrame.OpenDocFrom + specifying PermF_All - PermF_Copy for SecPermMask in pOpenParams. This all works fine and opens...
by zarkogajic
Wed Jun 10, 2020 8:31 am
Forum: PDF-XChange Editor SDK
Topic: IPXV_SearchView.GetParams - what's inside? SOLVED
Replies: 13
Views: 535

Re: IPXV_SearchView.GetParams - what's inside? SOLVED

Hi Alex, If you are to reimplement this, please consider: Ideally I would like to be able to add multiple folders and/or files (not ipxc or ipxv documents, but an array of IAFS_Name, IAFS_File or IString) to the op.search input list. Also, I would want to be able to skip/ignore some of the added fil...
by zarkogajic
Fri Jun 05, 2020 11:43 am
Forum: PDF-XChange Editor SDK
Topic: searchView - "Clear Folder List" command - custom handle / or react on event SOLVED
Replies: 8
Views: 892

Re: searchView - "Clear Folder List" command - custom handle / or react on event SOLVED

Solved this by posting (and handling) a custom WM_USER message to the PXVControl when clicking on that "Yes" (clear recent folders) button.

p.s.
I guess I could also do my custom IEvent and then Inst.EventServer.FireEvent ... but above works - so let's not complicate :)

by zarkogajic
Fri Jun 05, 2020 9:46 am
Forum: PDF-XChange Editor SDK
Topic: searchView - "Clear Folder List" command - custom handle / or react on event SOLVED
Replies: 8
Views: 892

Re: searchView - "Clear Folder List" command - custom handle / or react on event SOLVED

Hi Support, Is there an event to catch when "RemoveRecentFolders" is (to be) executed in SearchView? Previous posts in this topic discuss how to catch the "Yes" or "No" buttons in that dialogs EndModal event: image.png So, I have my custom IUIX_EventMonitor for "std:MsgBox" and I can get into if the...
by zarkogajic
Thu Jun 04, 2020 1:24 pm
Forum: PDF-XChange Editor SDK
Topic: Adding/injecting IUIX_ObjImpl (Label) onto an IUIX_Dialog
Replies: 7
Views: 424

Re: Adding/injecting IUIX_ObjImpl (Label) onto an IUIX_Dialog

H Alex,

Tried with 0 and 1 and -1. Always the same.

I believe something special is going on behind the scenes as the Options button is always aligned to the right - but never goes over Start/Stop button.


-žarko
by zarkogajic
Thu Jun 04, 2020 1:08 pm
Forum: PDF-XChange Editor SDK
Topic: Adding/injecting IUIX_ObjImpl (Label) onto an IUIX_Dialog
Replies: 7
Views: 424

Re: Adding/injecting IUIX_ObjImpl (Label) onto an IUIX_Dialog

Hi Alex,

This ends up with the same result:

image.png
image.png (12.24 KiB) Viewed 339 times

BUT also:

image1.png
image1.png (10.25 KiB) Viewed 339 times


Btw, having nCreateFlags = UIX_CreateObj_InsertBefore - what do you specify for "nInsertBefore" ?


-žarko
by zarkogajic
Thu Jun 04, 2020 8:13 am
Forum: PDF-XChange Editor SDK
Topic: View thumbnails when scrolling through pages - like with IPXV_PagesPreviewCtl SOLVED
Replies: 9
Views: 490

Re: View thumbnails when scrolling through pages - like with IPXV_PagesPreviewCtl SOLVED

Hi Alex,

What are other possible values ?

Also, can this setting be specified per IPXV_PagesView - and not global?

-žarko
by zarkogajic
Thu Jun 04, 2020 8:09 am
Forum: PDF-XChange Editor SDK
Topic: SrcInfo.CustDispTitle + Event (e.document.propsChanged, DocViewFlag_DisplayDocTitle) + IUIX_LayoutItem.Title[Prefix] SOLVED
Replies: 10
Views: 421

Re: SrcInfo.CustDispTitle + Event (e.document.propsChanged, DocViewFlag_DisplayDocTitle) + IUIX_LayoutItem.Title[Prefix] SOLVED

Hi Alex. This can be tested in Full Demo (having document's tab displayed and having a document loaded): pdfCtl.Doc.CoreDoc.SrcInfo.CustDispTitle = "my custom title"; //need to call this so that tab is updated, if not no change in tab's title PDFXEdit.IEvent evt = pdfCtl.Doc.EventServer.CreateNewEve...
by zarkogajic
Wed Jun 03, 2020 1:09 pm
Forum: PDF-XChange Editor SDK
Topic: SrcInfo.CustDispTitle + Event (e.document.propsChanged, DocViewFlag_DisplayDocTitle) + IUIX_LayoutItem.Title[Prefix] SOLVED
Replies: 10
Views: 421

Re: SrcInfo.CustDispTitle + Event (e.document.propsChanged, DocViewFlag_DisplayDocTitle) + IUIX_LayoutItem.Title[Prefix] SOLVED

Hi Alex,

I've tried catching e_app_prefsChanged in PXVControl's OnEvent (event is registered for listening) - but it seems never to happen...

Btw, why would it be e_app_prefsChanged when changing document's CustDispTitle - as this is per document / not per app/instance.

-žarko
by zarkogajic
Wed Jun 03, 2020 12:52 pm
Forum: PDF-XChange Editor SDK
Topic: Adding/injecting IUIX_ObjImpl (Label) onto an IUIX_Dialog
Replies: 7
Views: 424

Re: Adding/injecting IUIX_ObjImpl (Label) onto an IUIX_Dialog

Hi Alex, 1. Get IPXV_SearchView from MainFrame.View.Panes 2. Get IUIX_Dialog from it 3. Get "btn.startStop" IUIX_Button on it 4. IUIX_Inst.CreateLabel having IUIX_Dialog [2] as parent 5. Push custom IUIX_ObjImpl for the "btn.startStop" button 6. In button's e_Render read its Rect 6.1. "Move" rect to...
by zarkogajic
Wed Jun 03, 2020 10:45 am
Forum: PDF-XChange Editor SDK
Topic: IPXV_SearchView.GetParams - what's inside? SOLVED
Replies: 13
Views: 535

Re: IPXV_SearchView.GetParams - what's inside? SOLVED

HI Alex,

Yes, an array of IPXC_Document does. But only the fist IAFS_Name.

by zarkogajic
Tue Jun 02, 2020 12:37 pm
Forum: PDF-XChange Editor SDK
Topic: View thumbnails when scrolling through pages - like with IPXV_PagesPreviewCtl SOLVED
Replies: 9
Views: 490

View thumbnails when scrolling through pages - like with IPXV_PagesPreviewCtl SOLVED

Hi Support,

When using the vertical scroll bar to scroll through pages in IPXV_PagesPreviewCtl - page thumbnails gets displayed.

image.png
image.png (37.93 KiB) Viewed 490 times

Is there some setting to achieve the same in the IPXV_PagesView (that is within IPXV_Control) ?


-žarko
by zarkogajic
Tue Jun 02, 2020 10:53 am
Forum: PDF-XChange Editor SDK
Topic: Extract link annotation text, change text color
Replies: 22
Views: 1703

Re: Extract link annotation text, change text color

Hi Support, I'm back to this "problem" I need to solve: change the text color of some selected text, more specifically change the text color of the text "under" a specific PXC_Rect (link annotation rectangle). As discussed this would involve "breaking" of content items (IPXC_ContentItem / PXC_CIType...
by zarkogajic
Mon Jun 01, 2020 8:21 am
Forum: PDF-XChange Editor SDK
Topic: IPXV_SearchView.GetParams - what's inside? SOLVED
Replies: 13
Views: 535

Re: IPXV_SearchView.GetParams - what's inside? SOLVED

Hi Alex,

I've tried adding two afsName files into Input - only the first one is searched.

Also , I've tried adding two folders - only the first one added is searched upon.

-žarko
by zarkogajic
Mon Jun 01, 2020 8:15 am
Forum: PDF-XChange Editor SDK
Topic: IPXV_SearchCallback - OnStartPtr / OnStopPtr
Replies: 7
Views: 364

Re: IPXV_SearchCallback - OnStartPtr / OnStopPtr

Hi Alex,

Thanks.

When searching in folder it would be ideal to get notified even before a subfolder is about to be processed or even better per file - so I could say "skip".


by zarkogajic
Thu May 28, 2020 3:54 pm
Forum: PDF-XChange Editor SDK
Topic: IPXV_SearchCallback - OnStartPtr / OnStopPtr
Replies: 7
Views: 364

Re: IPXV_SearchCallback - OnStartPtr / OnStopPtr

Hi Alex,

Does that mean that for each "entity" first the OnStartPtr is called, then a series of OnNewEntry for that entity, and finally OnStopPtr ?

Is there a way to skip/stop OnNewEntry being called for a specific IPXV_SearchPtr in OnStartPtr by returning some hresult?

-žarko
by zarkogajic
Thu May 28, 2020 3:50 pm
Forum: PDF-XChange Editor
Topic: Search Pane - file name in results list
Replies: 1
Views: 125

Search Pane - file name in results list

Hi Support, A suggestion (/feature request) if I may: image.png It would be nice to have an option to specify document's Title to be displayed instead of the file name. So, instead of using "b.pdf" to have "This is B document" displayed (from PDFs Title if it is specified for a document). As when se...
by zarkogajic
Thu May 28, 2020 2:15 pm
Forum: PDF-XChange Editor SDK
Topic: IPXV_SearchCallback - OnStartPtr / OnStopPtr
Replies: 7
Views: 364

IPXV_SearchCallback - OnStartPtr / OnStopPtr

Hi Support,

I've figured out how to "ignore" / "skip" some documents when doing a folder search (so they don't appear in SearchView's pane result list). I do it inside the OnNewEntry method.

What would the OnStartPtr / OnStopPtr methods be used for?

-žarko
by zarkogajic
Thu May 28, 2020 8:32 am
Forum: PDF-XChange Editor SDK
Topic: IPXV_SearchView.GetParams - what's inside? SOLVED
Replies: 13
Views: 535

Re: IPXV_SearchView.GetParams - what's inside? SOLVED

Hi Support, The g_SearchViewParams template mentions "in specified documents" as a possible option for L"Where". With op.search operation: how to specify "specified documents" ? Is that an array of IPXC_Documents (essentially what's used with "in all open documents"), or can it also be an array of I...
by zarkogajic
Wed May 27, 2020 2:51 pm
Forum: PDF-XChange Editor SDK
Topic: IPXV_SearchCallback - skip some documents in folder search SOLVED
Replies: 2
Views: 149

IPXV_SearchCallback - skip some documents in folder search SOLVED

Hi Support, I'm using my IPXV_SearchCallback implementation for the op.search operation started via SearchView pane Is there a way to skip some documents by handling the OnNewEntry (OnStartPtr/OnStopPtr) when doing a folder (+subfolders) search? Say I'm searching in \folder and it has two subfolders...
by zarkogajic
Wed May 27, 2020 1:15 pm
Forum: PDF-XChange Editor SDK
Topic: Adding/injecting IUIX_ObjImpl (Label) onto an IUIX_Dialog
Replies: 7
Views: 424

Adding/injecting IUIX_ObjImpl (Label) onto an IUIX_Dialog

Hi Support, I'm programmatically injecting a check box to the SearchView pane (between Search and Options buttons) : image.png What style should I set for that IUIX_Label so that "btn.options" never goes over it, when the full dlg width is small? image.png Much like how it does not go over the "btn....
by zarkogajic
Mon May 25, 2020 12:47 pm
Forum: PDF-XChange Editor SDK
Topic: SrcInfo.CustDispTitle + Event (e.document.propsChanged, DocViewFlag_DisplayDocTitle) + IUIX_LayoutItem.Title[Prefix] SOLVED
Replies: 10
Views: 421

SrcInfo.CustDispTitle + Event (e.document.propsChanged, DocViewFlag_DisplayDocTitle) + IUIX_LayoutItem.Title[Prefix] SOLVED

Hi Support, When changing the IPXC_DocSrcInfo's CustDispTitle: e.document.propsChanged with DocViewFlag_DisplayDocTitle needs to be fired for the corresponding IPXV_Document so that its Tab grabs the change and updates its display. This all works as expected. However, I also need to set the TitlePre...
by zarkogajic
Thu May 21, 2020 4:15 pm
Forum: PDF-XChange Editor SDK
Topic: SearchView - custom "where" item - Search... button click - no selection SOLVED
Replies: 3
Views: 99

Re: SearchView - custom "where" item - Search... button click - no selection SOLVED

Hm .. as it appears this, injection of cb.where's combo's list item, is a tricky business. Things tend to get messy when new folders are added, or recent folders cleared. So, I turned to Get/Set Params of SearchView to do what I need - and so far all seems to be working. So, for me, this case closed...
by zarkogajic
Thu May 21, 2020 12:26 pm
Forum: PDF-XChange Editor SDK
Topic: SearchView - custom "where" item - Search... button click - no selection SOLVED
Replies: 3
Views: 99

Re: SearchView - custom "where" item - Search... button click - no selection SOLVED

Hi,

I've tried IUIX_ObjImpl(search_buton).OnPreEvent.UIX_Notify_Clicked - but this happens after that dialog appears.....

-žarko
by zarkogajic
Thu May 21, 2020 11:15 am
Forum: PDF-XChange Editor SDK
Topic: SearchView - custom "where" item - Search... button click - no selection SOLVED
Replies: 3
Views: 99

SearchView - custom "where" item - Search... button click - no selection SOLVED

Hi Support, I'm adding my custom entry to the "Where would you like to search ..." drop down: image.png When clicking on the "Start..." button, the "please specify where..." dialog comes up. image1.png What do I need to handle to tell to the Start button: I have actually selected something, please s...
by zarkogajic
Thu May 21, 2020 9:22 am
Forum: PDF-XChange Editor SDK
Topic: cmd.newDocCombine options
Replies: 21
Views: 745

Re: cmd.newDocCombine options

Hi Alex,

Thanks. I saw that one but was not sure ...

-žarko