Search found 4400 matches

by Sasha - Tracker Dev Team
Wed Nov 13, 2019 8:30 am
Forum: PDF-XChange Editor SDK
Topic: Adding custom stamps.
Replies: 1
Views: 22

Re: Adding custom stamps.

Hello Doc.It, Check out the CoreAPIDemo application, on how to add the stamps to collection (different ways) and also place them on the page. As the Stamp itself is the annotation, all that you will have to do is use the https://sdkhelp.tracker-software.com/view/PXV:op_annots_addNew operation to upd...
by Sasha - Tracker Dev Team
Wed Nov 13, 2019 8:24 am
Forum: PDF-XChange Editor SDK
Topic: Problem of event sequences
Replies: 4
Views: 33

Re: Problem of event sequences

Hello leemingxian, The annotation is not being added because it happens after the rectangle has being drawn. In case of the Free Text annotation, the IPXC_Annotation itself will be added after the text was entered and focus was lost. You can mark that the mouse up event happened and then catch the e...
by Sasha - Tracker Dev Team
Wed Nov 13, 2019 8:05 am
Forum: PDF-XChange Editor SDK
Topic: UpdateCmdItemsByTarget - what is target?
Replies: 3
Views: 18

Re: UpdateCmdItemsByTarget - what is target?

Hello žarko, The easiest way would be run through all of the commands, get their https://sdkhelp.tracker-software.com/view/PXV:IUIX_Cmd_TargetID and then use the ID2Str method to get the string array representation. Then you can sort it as you like and print it where you need to see the TargetID of ...
by Sasha - Tracker Dev Team
Wed Nov 13, 2019 8:01 am
Forum: PDF-XChange Editor SDK
Topic: Add custom data to Properties pane ?
Replies: 2
Views: 18

Re: Add custom data to Properties pane ?

Hello žarko, Adding new groups via the IUIX_PropHost is not possible via the SDK (as it would be a correct method). You can add a new group from the IUIX_List perspective though. int nID = pdfCtl.Inst.Str2ID("propertiesView"); PDFXEdit.IPXV_View view = pdfCtl.Frame.View.Panes.Active[nID]; if (view !...
by Sasha - Tracker Dev Team
Wed Nov 13, 2019 7:48 am
Forum: PDF-XChange Editor SDK
Topic: searchView "results" tree - handle OnItemClick to custom open document / navigate to a page
Replies: 12
Views: 64

Re: searchView "results" tree - handle OnItemClick to custom open document / navigate to a page

Hello žarko, Have you tried using the Callback option of the https://sdkhelp.tracker-software.com/view/PXV:op_search operation? There, you can take the old callbacks and only execute them when the IPXV_SearchEntry matches your needs - else, you don't execute them that will result in no highlighting ...
by Sasha - Tracker Dev Team
Tue Nov 12, 2019 3:42 pm
Forum: PDF-XChange Editor SDK
Topic: IUIX_Label display when Bar appears as drop down
Replies: 1
Views: 25

Re: IUIX_Label display when Bar appears as drop down

Hello žarko,

Forwarded this one to Vasyl - he will take a look when he has time.

Cheers,
Alex
by Sasha - Tracker Dev Team
Tue Nov 12, 2019 3:40 pm
Forum: PDF-XChange Editor SDK
Topic: UpdateCmdItemsByTarget - what is target?
Replies: 3
Views: 18

Re: UpdateCmdItemsByTarget - what is target?

Hello žarko,

It's an ID of the target that handles the implementation of command execution. For example documentView, mainView, documentSelection, common, pageThumbnailsView, bookmarksView etc.

Cheers,
Alex
by Sasha - Tracker Dev Team
Tue Nov 12, 2019 3:30 pm
Forum: PDF-XChange Editor SDK
Topic: searchView "results" tree - handle OnItemClick to custom open document / navigate to a page
Replies: 12
Views: 64

Re: searchView "results" tree - handle OnItemClick to custom open document / navigate to a page

Hello žarko, As I told before, you can get the resulting IPXC_Document in operExecuted event and see whether it is opened via the https://sdkhelp.tracker-software.com/view/PXV:IPXV_Inst_FindDocByCoreDoc method (or one that uses file path). Then you can duplicate it in the needed frame and then let t...
by Sasha - Tracker Dev Team
Tue Nov 12, 2019 3:23 pm
Forum: PDF-XChange Editor SDK
Topic: IUIX_CmdLine Border?
Replies: 8
Views: 81

Re: IUIX_CmdLine Border?

Hello žarko,

I've recreated this behavior and sent Vasyl a sample on how to reproduce it. Hopefully he can tell more.

Cheers,
Alex
by Sasha - Tracker Dev Team
Tue Nov 12, 2019 1:34 pm
Forum: PDF-XChange Editor SDK
Topic: searchView "results" tree - handle OnItemClick to custom open document / navigate to a page
Replies: 12
Views: 64

Re: searchView "results" tree - handle OnItemClick to custom open document / navigate to a page

Hello žarko, OK, first, you can get the MainView from the SearchView that is being clicked on - by getting the tree's UIObj on click and then getting the MainView from that object. Sadly, no way of getting the information directly from the operBeforeExecute event - as the pFrom is IOperation. But, y...
by Sasha - Tracker Dev Team
Tue Nov 12, 2019 8:43 am
Forum: PDF-XChange Editor SDK
Topic: Confirmation needed for e.document.initialized and e.document.viewingStarted SOLVED
Replies: 3
Views: 22

Re: Confirmation needed for e.document.initialized and e.document.viewingStarted SOLVED

Hello žarko, These events are being fired in that order and once per document but, after the e.document.initialized event there are also e_document_beforeRunOpenScripts, e_document_afterRunOpenScripts and e_pagesView_doSetupInitialPos events, though I think they are not that crucial for you. Cheers,...
by Sasha - Tracker Dev Team
Tue Nov 12, 2019 7:46 am
Forum: PDF-XChange Editor SDK
Topic: Dynamic Stamp Shapes
Replies: 3
Views: 20

Re: Dynamic Stamp Shapes

Hello leemingxian,

Can you make a screenshot from the EndUser Editor what annotation exactly are you talking about - you can change the border width and color of both Text Box annotation and Typewriter annotation.

Cheers,
Alex
by Sasha - Tracker Dev Team
Fri Nov 08, 2019 11:47 am
Forum: PDF-XChange Editor SDK
Topic: cmd.bookmarksView.pages.extract dialog default values SOLVED
Replies: 16
Views: 129

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

Hello jusWest,

I've investigated this one - there was an infinite cycle inside - if you add pEvent.Handled = true; at the end, everything will work OK.

Cheers,
Alex
by Sasha - Tracker Dev Team
Thu Nov 07, 2019 8:31 am
Forum: Editor Videos
Topic: Presenting Build 334
Replies: 0
Views: 20

Presenting Build 334

by Sasha - Tracker Dev Team
Wed Nov 06, 2019 10:02 am
Forum: PDF-XChange Editor SDK
Topic: searchView "results" tree - handle OnItemClick to custom open document / navigate to a page
Replies: 12
Views: 64

Re: searchView "results" tree - handle OnItemClick to custom open document / navigate to a page

Hello žarko,

Just checked the inner code - the document is being opened on item click if the item is pointing to the other document. You can prohibit it's opening by catching the e.operBeforeExecute event and checking whether it's an op.openDoc operation and act accordingly.

Cheers,
Alex
by Sasha - Tracker Dev Team
Wed Nov 06, 2019 9:21 am
Forum: PDF-XChange Editor SDK
Topic: Problem of event sequences
Replies: 4
Views: 33

Re: Problem of event sequences

Hello leemingxian,

You can use the OnPostEvent method - it will be called after the original OnEvent has been executed.

Cheers,
Alex
by Sasha - Tracker Dev Team
Wed Nov 06, 2019 9:20 am
Forum: PDF-XChange Editor SDK
Topic: Handling command's shortcut when custom handling the command SOLVED
Replies: 8
Views: 71

Re: Handling command's shortcut when custom handling the command SOLVED

Hello žarko,

Can you please make a small sample project for our DelphiGuy to investigate where exactly is this AV happens?

Cheers,
Alex
by Sasha - Tracker Dev Team
Wed Nov 06, 2019 9:17 am
Forum: PDF-XChange Editor SDK
Topic: change width of a pane
Replies: 1
Views: 11

Re: change width of a pane

Hello jusWest,

Well the simplest way is to just store these values in the registry/file (save settings) like the Editor does and then restore them on the application launch. The FullDemo illustrates how to work with settings and how to do that automatically.

Cheers,
Alex
by Sasha - Tracker Dev Team
Wed Nov 06, 2019 9:13 am
Forum: PDF-XChange Editor SDK
Topic: AllowedShortcuts and how to "override" for some commands SOLVED
Replies: 3
Views: 49

Re: AllowedShortcuts and how to "override" for some commands SOLVED

Hello žarko,

The QLBar is quick launch bar, and the QABar is quick access bar:
image.png
image.png (4.76 KiB) Viewed 26 times
Cheers,
Alex
by Sasha - Tracker Dev Team
Tue Nov 05, 2019 3:26 pm
Forum: PDF-XChange Editor SDK
Topic: AllowedShortcuts and how to "override" for some commands SOLVED
Replies: 3
Views: 49

Re: AllowedShortcuts and how to "override" for some commands SOLVED

Hello žarko,

Try this:

Code: Select all

IPXV_MainView MainView = m_Inst.ActiveMainView;
IUIX_CmdPane ICPane = MainView.CmdPaneTop;
ICPane.QLBar.Obj.SetInputFocus(true);
Cheers,
Alex
by Sasha - Tracker Dev Team
Tue Nov 05, 2019 3:11 pm
Forum: PDF-XChange Editor SDK
Topic: Opening documents using op.openDoc - handle error + display "cannot open the document" dialog ... SOLVED
Replies: 4
Views: 37

Re: Opening documents using op.openDoc - handle error + display "cannot open the document" dialog ... SOLVED

Hello žarko, As for the question 2 - you can read the forum rules and there would be a method with the help of which you can get the error description string. As for the dialog - that is a simple message box that is shown by using the https://sdkhelp.tracker-software.com/view/PXV:IPXV_Inst_ShowMsgBo...
by Sasha - Tracker Dev Team
Tue Nov 05, 2019 3:01 pm
Forum: PDF-XChange Editor SDK
Topic: IUIX_CmdLine Border?
Replies: 8
Views: 81

Re: IUIX_CmdLine Border?

Hello žarko,

Forwarded this to the appropriate developer - maybe he can tell more.

Cheers,
Alex
by Sasha - Tracker Dev Team
Tue Nov 05, 2019 3:00 pm
Forum: PDF-XChange Editor SDK
Topic: Get DocViewsArea rectangle/coordinates inside its MainView/MainFrame (for Drag'n'Drop implementation) SOLVED
Replies: 8
Views: 39

Re: Get DocViewsArea rectangle/coordinates inside its MainView/MainFrame (for Drag'n'Drop implementation) SOLVED

Hello žarko,

In terms of rectangles - no, but in terms of visualization, understanding and structure this can be drawn like so - you are the first dev. who got this deep into our control tweaking, thus nobody even asked about such things before.

Cheers,
Alex
by Sasha - Tracker Dev Team
Tue Nov 05, 2019 2:57 pm
Forum: PDF-XChange Editor SDK
Topic: Handling command's shortcut when custom handling the command SOLVED
Replies: 8
Views: 71

Re: Handling command's shortcut when custom handling the command SOLVED

Hello žarko,

And no such behavior if you don't add your custom event handler?

Cheers,
Alex
by Sasha - Tracker Dev Team
Tue Nov 05, 2019 10:10 am
Forum: PDF-XChange Editor SDK
Topic: Custom command - how to "copy" state (UIX_CmdItemState) from another Command / CommandItem SOLVED
Replies: 8
Views: 79

Re: Custom command - how to "copy" state (UIX_CmdItemState) from another Command / CommandItem SOLVED

Hello žarko,

When we are talking about the commands above the DocumentViewsArea - the owner would be MainView's object. If, for example, the command is in the BookmarksView command bar, the owner is bookmarksView.

Cheers,
Alex
by Sasha - Tracker Dev Team
Tue Nov 05, 2019 9:13 am
Forum: PDF-XChange Editor SDK
Topic: Get notified when PropertiesView pane changes its "source" SOLVED
Replies: 7
Views: 161

Re: Get notified when PropertiesView pane changes its "source" SOLVED

Hello žarko, The IPXV_DocSelection interface has the ID of the selection that should be used for correct casting. Here are the selection types: selection.pages selection.annots selection.bookmarks selection.text selection.pageRect selection.contentItems selection.pdfNamedDests selection.attachments ...
by Sasha - Tracker Dev Team
Tue Nov 05, 2019 9:10 am
Forum: PDF-XChange Editor SDK
Topic: Get DocViewsArea rectangle/coordinates inside its MainView/MainFrame (for Drag'n'Drop implementation) SOLVED
Replies: 8
Views: 39

Re: Get DocViewsArea rectangle/coordinates inside its MainView/MainFrame (for Drag'n'Drop implementation) SOLVED

Hello žarko,

That illustration is for basic understanding purposes - the Frame/View/DocViewsArea coordinates would be the same if no command bars are shown. If you have shown them then here's what you will get (for example):
image.png
Cheers,
Alex
by Sasha - Tracker Dev Team
Tue Nov 05, 2019 8:56 am
Forum: PDF-XChange Editor SDK
Topic: Handling command's shortcut when custom handling the command SOLVED
Replies: 8
Views: 71

Re: Handling command's shortcut when custom handling the command SOLVED

Hello žarko, Probably you are setting the incorrect state for it thus it gets to the notification point. Place breakpoints on each of the callbacks methods and see what is being called. Also, returning the error HRESULT is totally normal logic in C++, though other languages treat it like the AV. Che...
by Sasha - Tracker Dev Team
Tue Nov 05, 2019 8:53 am
Forum: PDF-XChange Editor SDK
Topic: IUIX_CmdLine Border?
Replies: 8
Views: 81

Re: IUIX_CmdLine Border?

Hello žarko,

To add items, boxes, lines (an so on) correctly, you will have to maintain this kind of hierarchy:
https://sdkhelp.tracker-software.com/view/PXV:UIX

Cheers,
Alex
by Sasha - Tracker Dev Team
Tue Nov 05, 2019 8:50 am
Forum: PDF-XChange Editor SDK
Topic: set Advanced Criteria Option as default search
Replies: 3
Views: 144

Re: set Advanced Criteria Option as default search

Hello René, Here is a searchView dialog's XML that you can use to obtain control IDs that you need: <dialog id="searchView" width="189" height="349" font="Tahoma" fontSize="8.25" foreground="0" scrollable="false" defItem="cb.simple" contextHelp="false"> <items> <label x="6" y="6" width="179" height=...
by Sasha - Tracker Dev Team
Tue Nov 05, 2019 8:48 am
Forum: PDF-XChange Editor SDK
Topic: Get notified when PropertiesView pane changes its "source" SOLVED
Replies: 7
Views: 161

Re: Get notified when PropertiesView pane changes its "source" SOLVED

Hello žarko, The properties pane changes on the selection change. Basically, you will have to monitor the https://sdkhelp.tracker-software.com/view/PXV:e_docSelection_changed event and then use https://sdkhelp.tracker-software.com/view/PXV:IPXV_Document_ActiveSel to extract the needed data. Cheers, ...
by Sasha - Tracker Dev Team
Tue Nov 05, 2019 8:48 am
Forum: PDF-XChange Editor SDK
Topic: Get notified when PropertiesView pane changes its "source" SOLVED
Replies: 7
Views: 161

Re: Get notified when PropertiesView pane changes its "source" SOLVED

Hello žarko, The properties pane changes on the selection change. Basically, you will have to monitor the https://sdkhelp.tracker-software.com/view/PXV:e_docSelection_changed event and then use https://sdkhelp.tracker-software.com/view/PXV:IPXV_Document_ActiveSel to extract the needed data. Cheers, ...
by Sasha - Tracker Dev Team
Thu Oct 31, 2019 8:24 am
Forum: PDF-XChange Editor SDK
Topic: cmd.bookmarksView.pages.extract dialog default values SOLVED
Replies: 16
Views: 129

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

Hello jusWest,

We'll be holding a release in a couple of days, so I will tend to this after we have deployed it.

Cheers,
Alex
by Sasha - Tracker Dev Team
Thu Oct 31, 2019 8:23 am
Forum: PDF-XChange Editor SDK
Topic: Interactive way to draw rectangle
Replies: 6
Views: 110

Re: Interactive way to draw rectangle

Hello leemingxian,

Do you want to add a rectangle as a content item?

Cheers,
Alex