What is the best way to add in support for other files types to the Editor?
We want to be able to convert other formats to PDF for all of the open, drag and drop, and insert commands. As well as drop our supported file types into the dialog box drop downs.
Search found 221 matches
- Wed Apr 26, 2017 1:55 am
- Forum: PDF-XChange Editor SDK
- Topic: Support Other File Types
- Replies: 26
- Views: 10163
- Wed Apr 12, 2017 6:54 pm
- Forum: PDF-XChange Editor SDK
- Topic: Command Offline doesn't return correct value to me
- Replies: 8
- Views: 1970
Re: Command Offline doesn't return correct value to me
Thanks so much.
The pdfCtl.Frame.Obj didn't appear to return the correct values but changing it to the pdfCtl.Inst.ActiveMainView.Obj I think causes it to return the correct values.
cmd.Handler.OnGetItemState(cmd, null, pdfCtl.Inst.ActiveMainView.Obj, out state);
The pdfCtl.Frame.Obj didn't appear to return the correct values but changing it to the pdfCtl.Inst.ActiveMainView.Obj I think causes it to return the correct values.
cmd.Handler.OnGetItemState(cmd, null, pdfCtl.Inst.ActiveMainView.Obj, out state);
- Wed Apr 12, 2017 3:47 pm
- Forum: PDF-XChange Editor SDK
- Topic: Command Offline doesn't return correct value to me
- Replies: 8
- Views: 1970
Re: Command Offline doesn't return correct value to me
I can do that but honestly it's 10 times harder than things were in the old Viewer. The tools have a nice CanActivateForDocument property and since you can Globally take offline the commands like cmd.document.insertEmptyPages I don't understand why you wouldn't also be able to globally check the sta...
- Wed Apr 12, 2017 1:13 pm
- Forum: PDF-XChange Editor SDK
- Topic: Command Offline doesn't return correct value to me
- Replies: 8
- Views: 1970
Re: Command Offline doesn't return correct value to me
Could you please provide me with the code to get the IUIX_CmdItem for say the "cmd.document.insertEmptyPages"? I've tried and for the life of me I can't find an easy way. I tried iterating down through the Menubar but honestly it's ridiculous how hard this seams to be. Some of the calls re...
- Wed Apr 12, 2017 12:16 am
- Forum: PDF-XChange Editor SDK
- Topic: Command Offline doesn't return correct value to me
- Replies: 8
- Views: 1970
Command Offline doesn't return correct value to me
If you open a PDF that has restricted rights so you can't edit it most of the document commands in the UI are grayed out. Yet when I check the Offline status of the command it it still returns False which doesn't make since since it's not allowed due to the restricted rights. What am I missing in de...
- Tue Apr 11, 2017 1:13 pm
- Forum: PDF-XChange Editor SDK
- Topic: Sample Program VB6 demonstrating PXV_Control_onEvent Declaration
- Replies: 41
- Views: 13424
Re: Sample Program VB6 demonstrating PXV_Control_onEvent Declaration
It had to do with the comments styles changing events and would throw an error (Error=13 Type mismatch) when I was calling my wrapper function that had it defined as an Object. Most of the other events it worked fine with. ID#=2327 Str= e.commentStylesChanged It looks like it's defined as a VBDataOb...
- Tue Apr 11, 2017 2:32 am
- Forum: PDF-XChange Editor SDK
- Topic: Sample Program VB6 demonstrating PXV_Control_onEvent Declaration
- Replies: 41
- Views: 13424
Re: Sample Program VB6 demonstrating PXV_Control_onEvent Declaration
I just ran into a case where the pFrom as Object doesn't work so you want to define it as a Variant if you define your own wrapper for the routine.
Private Sub Editor_OnEvent(ByVal nEventID As Long, ByVal pEvent As PDFXEditCtl.IEvent, ByVal pFrom As Variant)
Private Sub Editor_OnEvent(ByVal nEventID As Long, ByVal pEvent As PDFXEditCtl.IEvent, ByVal pFrom As Variant)
- Mon Apr 10, 2017 10:34 pm
- Forum: PDF-XChange Editor SDK
- Topic: Disable Bookmark options
- Replies: 7
- Views: 1894
Re: Disable Bookmark options
Also to open as Read-Only here's the post on it. https://forum.pdf-xchange.com/viewtopic.php?f=66&t=24163&p=109072&hilit=read+only#p109072 Just do it before you open the file and the various menus in the Editor will then be grayed out. The VB6 code I had for it. Dim lFlags as Long Dim ca...
- Mon Apr 10, 2017 10:14 pm
- Forum: PDF-XChange Editor SDK
- Topic: Disable Bookmark options
- Replies: 7
- Views: 1894
Re: Disable Bookmark options
Here's some VB6 code you can modify to dump all of the String ID's out. Then just copy to a text file and you can usually search and find what you need for the string because they are case sensitive in the various calls. Private Sub ListAllStrIDs() On Error Resume Next Dim i As Long Dim sString As S...
- Wed Mar 29, 2017 11:49 pm
- Forum: PDF-XChange Editor SDK
- Topic: Sample Program VB6 demonstrating PXV_Control_onEvent Declaration
- Replies: 41
- Views: 13424
Re: Sample Program VB6 demonstrating PXV_Control_onEvent Declaration
Great. I always run compiled and not through the IDE. The only pain is having to redefine it when you reopen the project. Hopefully they can get that resolved in future builds for those of use still using VB6 so we don't have to redefine it each time. Also here's a very messy project I've been testi...
- Wed Mar 29, 2017 4:52 pm
- Forum: PDF-XChange Editor SDK
- Topic: Sample Program VB6 demonstrating PXV_Control_onEvent Declaration
- Replies: 41
- Views: 13424
Re: Sample Program VB6 demonstrating PXV_Control_onEvent Declaration
I mentioned that to someone there a while back. It's defined wrong for VB6 and you should be able to look at how they defined the OnEvent in the Viewer code since it worked properly with VB6, C#, C++, and others before I think. Private Sub PDFEditor_OnEvent(ByVal nEventID As Long, ByVal pEvent As PD...
- Wed Mar 29, 2017 3:09 pm
- Forum: PDF-XChange Editor SDK
- Topic: Sample Program VB6 demonstrating PXV_Control_onEvent Declaration
- Replies: 41
- Views: 13424
Re: Sample Program VB6 demonstrating PXV_Control_onEvent Declaration
The Editor_OnEvent isn't too bad in VB6. I'll try to clean up my VB6 sample today or tomorrow and post it up but here's the basis like watching for the ActiveTool to change as well as a sample of how to hide the CutomizeUI when the Preferences Dialog is shown. Private Sub Editor_OnEvent(ByVal nEvent...
- Wed Mar 29, 2017 1:45 pm
- Forum: PDF-XChange Editor SDK
- Topic: Quick VB6 Sample and String Finder
- Replies: 8
- Views: 2572
Re: Quick VB6 Sample and String Finder
I don't think I've really had to use callbacks yet. I've been off this for a bit so I'll try to jump back on it and take a look. If you don't have to do anything with the callback you might be able to just pass Nothing to it or define a VB Class Module and set it to that. In the test project I have ...
- Sat Mar 25, 2017 11:46 am
- Forum: PDF-XChange Editor SDK
- Topic: Quick VB6 Sample and String Finder
- Replies: 8
- Views: 2572
Re: Quick VB6 Sample and String Finder
Also it might have to be the newer .xces type of file. Try renaming it as .xces and loading that into the Editor first and resaving it. But I seam to remember a couple functions where I had to define the parameters first instead of calling them inline like you were doing.
- Sat Mar 25, 2017 11:43 am
- Forum: PDF-XChange Editor SDK
- Topic: Quick VB6 Sample and String Finder
- Replies: 8
- Views: 2572
Re: Quick VB6 Sample and String Finder
Try defining it as a PDFXEditCtl.IString and leave off the optional parameter. Here's what I'm using to load it from the Registry. Dim oString As PDFXEditCtl.IString Set oString = PDFEditor.Inst.CreateString("HKCU\" & g_sRegistryTrackerCtrlSettings) Call PDFEditor.Inst.LoadUserSettings...
- Fri Feb 17, 2017 5:53 pm
- Forum: PDF-XChange Editor SDK
- Topic: Background Color of Bookmarks Pane SOLVED
- Replies: 20
- Views: 6056
Re: Background Color of Bookmarks Pane SOLVED
Thanks!!! I will check it out this weekend.
- Thu Feb 16, 2017 3:28 pm
- Forum: PDF-XChange Editor SDK
- Topic: A way to disable certain categories in Preferences menu?
- Replies: 13
- Views: 3535
Re: A way to disable certain categories in Preferences menu?
Also if you don't want to deal with the callback and know the string ID of the page you can simplify it to. private void pdfCtl_OnEvent(object sender, AxPDFXEdit._IPXV_ControlEvents_OnEventEvent e) { /// //... /// if (e.nEventID == nIDS[(int)IDS.e_beginPropDialog]) { //Getting property sheets from t...
- Tue Feb 14, 2017 12:49 pm
- Forum: PDF-XChange Editor SDK
- Topic: Background Color of Bookmarks Pane SOLVED
- Replies: 20
- Views: 6056
Re: Background Color of Bookmarks Pane SOLVED
Thanks. Can we please get this an extremely high priority to fix and release a patch. The old viewer worked the way I am suggesting in that the Bookmarks Pane was always white for this reason and without it the rest of the UI settings are honestly pretty much useless since bookmarks are one of the m...
- Mon Feb 13, 2017 9:43 pm
- Forum: PDF-XChange Editor SDK
- Topic: Background Color of Bookmarks Pane SOLVED
- Replies: 20
- Views: 6056
Background Color of Bookmarks Pane SOLVED
Is there any way through the SDK or the Resources.dat to control the background color of the Bookmarks pane separate from the main panes color? Since bookmarks can have a color property and you display that if you try to use a dark colored theme the black bookmarks are unreadable with a dark backgro...
- Wed Feb 01, 2017 1:51 pm
- Forum: PDF-XChange Editor SDK
- Topic: How can we programmatically display the stamps pull down
- Replies: 3
- Views: 1035
Re: How can we programmatically display the stamps pull down
Yes. I would like to be able to open it even if the toolbar is not shown.
I would have thought the Pull Down button would fire a command but I tried most of the stamp commands I could find and didn't find out what was causing the drop down to open.
I would have thought the Pull Down button would fire a command but I tried most of the stamp commands I could find and didn't find out what was causing the drop down to open.
- Tue Jan 31, 2017 4:23 pm
- Forum: PDF-XChange Editor SDK
- Topic: How can we programmatically display the stamps pull down
- Replies: 3
- Views: 1035
How can we programmatically display the stamps pull down
Is there a way to display the stamp pulldown dialog instead of the stamps palatte programatically? I'm talking about the one that is displayed from the Stamps menu or the down arrow from the stamp icon in the toolbar? I've attached the screen capture of the one I'm looking to display. Also when one ...
- Tue Jan 31, 2017 12:36 pm
- Forum: PDF-XChange Editor SDK
- Topic: Remove standard stamp
- Replies: 13
- Views: 3815
Re: Remove standard stamp
Thanks. It would be greatly appreciated if you would allow the users and programmers to make the decisions. I'm pretty sure what the specification means is that the viewer must have it's own built in stamps to display those predefined ones if the stamp graphical information is not included in the AP...
- Tue Jan 31, 2017 3:50 am
- Forum: PDF-XChange Editor SDK
- Topic: Remove standard stamp
- Replies: 13
- Views: 3815
Re: Remove standard stamp
I would also vote that one should be able to delete or hide the Standard Stamps. Since the specification says they should support the stamps but not that you have to support the standard stamps you should give us a programmers and users the choice like you did in the Viewer. On my Acrobat DC they do...
- Sun Jan 29, 2017 3:40 pm
- Forum: PDF-XChange Editor SDK
- Topic: Find Previous and Next Text without Find Window showing
- Replies: 33
- Views: 7948
Re: Find Previous and Next Text without Find Window showing
For everyone there seams to be a similar post here where they have somewhat of a solution using the search pane. https://forum.pdf-xchange.com/viewtopic.php?f=66&t=27790 My question is will the upcoming release have an easy way to do this without having a dialog show like we could in the old Vie...
- Tue Jan 03, 2017 6:18 pm
- Forum: PDF-XChange Editor SDK
- Topic: Find Previous and Next Text without Find Window showing
- Replies: 33
- Views: 7948
Re: Find Previous and Next Text without Find Window showing
Thanks. In the Editor I did figure out how to programmatically issue the find next and find previous commands once you have set the text to search for in the Find Toolbar. cmd.document.find.gotoNext cmd.document.find.gotoPrev In the old Viewer it was really easy. You could pass the text you were loo...
- Fri Dec 30, 2016 12:15 am
- Forum: PDF-XChange Editor SDK
- Topic: customize Editor UI theme
- Replies: 17
- Views: 3448
Re: customize Editor UI theme
Thanks I will check this out. I see a LoadThemes call. Can that be used with the xml or dat file to change themes at runtime?
- Thu Dec 29, 2016 1:26 pm
- Forum: PDF-XChange Editor SDK
- Topic: Find Previous and Next Text without Find Window showing
- Replies: 33
- Views: 7948
- Thu Dec 29, 2016 12:23 pm
- Forum: PDF-XChange Editor SDK
- Topic: customize Editor UI theme
- Replies: 17
- Views: 3448
Re: customize Editor UI theme
Thanks. That would be awesome.
- Wed Dec 28, 2016 1:04 pm
- Forum: PDF-XChange Editor SDK
- Topic: customize Editor UI theme
- Replies: 17
- Views: 3448
Re: customize Editor UI theme
It does appear that you are fully controlling the theme and colors of the interface. I tested setting the theme in Windows 7 to the High Contrast and the frames and such are the same. It looks like you are just basing them off a percentage of the dialog background color. As you can see in the backgr...
- Wed Dec 28, 2016 1:11 am
- Forum: PDF-XChange Editor SDK
- Topic: customize Editor UI theme
- Replies: 17
- Views: 3448
Re: customize Editor UI theme
Can the LoadTheme function be used to load office style themes then? I've honestly never come across a frame like the ones used in the editor which is why I figured they were something you guys created and controlled the colors
- Tue Dec 27, 2016 5:07 pm
- Forum: PDF-XChange Editor SDK
- Topic: customize Editor UI theme
- Replies: 17
- Views: 3448
Re: customize Editor UI theme
Yes that would be the one. I probably should have tried going through s bunch of Colors.bg.# settings to see if one would work
- Tue Dec 27, 2016 11:03 am
- Forum: PDF-XChange Editor SDK
- Topic: customize Editor UI theme
- Replies: 17
- Views: 3448
Re: customize Editor UI theme
Fonts.default.Name = Adobe Arabic Fonts.default.Size = 11 Fonts.menu.Name = AcmeFont Fonts.menu.Size = 12 Theme Colors.base.Value = RGB(0,0,0.545) Colors.window.Value= RGB(0,0.333,0) Colors.text.Value = RGB(1,0.408,0.125) Colors.selection. Value = RGB(0.22,0.557,0.557) Colors.hot.Value = RGB(0,0.251...
- Mon Dec 26, 2016 4:27 pm
- Forum: PDF-XChange Editor SDK
- Topic: customize Editor UI theme
- Replies: 17
- Views: 3448
Re: customize Editor UI theme
I attached a zip file with it in now.
- Mon Dec 26, 2016 3:23 pm
- Forum: PDF-XChange Editor SDK
- Topic: customize Editor UI theme
- Replies: 17
- Views: 3448
Re: customize Editor UI theme
What kind of theme files do you support? We're tying to do a darker color theme and the dialog boxes the frames do not get dark enough to have a good contrast with the text by changing the Custom UI settings. Is there any way to control the frame colors and such in the default theme? Of if we use th...
- Fri Dec 23, 2016 12:21 pm
- Forum: PDF-XChange Editor SDK
- Topic: How to get and set dt_Array value from CoAUX_Cab
- Replies: 3
- Views: 1085
Re: How to get and set dt_Array value from CoAUX_Cab
Thanks. That helped and a new day helped also. It was partially stupid user error yesterday in that I forgot my sample wasn't saving the current annotation states. in VB6 it looks like the PDFXEdit.ICabNode translates to PDFXEditCtl.CoAUX_Cab So if anyone else needs in Visual Basic 6 V6 here is the ...
- Thu Dec 22, 2016 7:14 pm
- Forum: PDF-XChange Editor SDK
- Topic: How to get and set dt_Array value from CoAUX_Cab
- Replies: 3
- Views: 1085
How to get and set dt_Array value from CoAUX_Cab
Specifically we were looking at trying to get the dash pattern from the current style for a new annotation object. I've been able to figure everything else out but stuck on how to get and set the dash pattern which is stored as an array. Dim oCab As CoAUX_Cab So oCab.Type returns that it's a dt_Arra...
- Wed Dec 21, 2016 5:15 pm
- Forum: PDF-XChange Editor SDK
- Topic: Available values for colors
- Replies: 5
- Views: 1466
Re: Available values for colors
Are you confirming then that we should only get RGB, RGBD, or "-" for the return values then? And we wouldn't have to worry about CMYK or RGBA values for the Stroke and Fill colors of the annotation tools? If so then yes
- Wed Dec 21, 2016 4:09 pm
- Forum: PDF-XChange Editor SDK
- Topic: Available values for colors
- Replies: 5
- Views: 1466
Re: Available values for colors
I've modified a sample I found on the forum to ues the Cab for the tool style Dim lToolID As Long Dim oCab As CoAUX_Cab Dim sStrokeColor As string Dim sFillColor As string lToolID = PDFEditor.Inst.Str2ID("tool.annot.line") Set oCab = PDFEditor.Inst.CommentStylesManager.GetCurrentStyle(lToo...
- Wed Dec 21, 2016 3:52 pm
- Forum: PDF-XChange Editor SDK
- Topic: Is there any documentation on different annotation settings?
- Replies: 3
- Views: 1152
Re: Is there any documentation on different annotation setti
Thanks Yes I did it the hard way by enumerating the Cab Values and then changing some of the properties I wasn't sure about to get most of it. I'll add it to the VB6 sample project I'm working on and post an update later today. I was hoping there was an easy object oriented way to do it for the curr...
- Wed Dec 21, 2016 2:08 pm
- Forum: PDF-XChange Editor SDK
- Topic: Available values for colors
- Replies: 5
- Views: 1466
Available values for colors
Are there any other values that I would have to worry about the annotation properties or CustomUI returning? Like maybe a long value or RGBA value? Of might it return "none" or "0" instead of "-" for no fill? So far it looks like they might return RGB(1.0,0.5,0.0) = Dec...
- Wed Dec 21, 2016 2:00 pm
- Forum: PDF-XChange Editor SDK
- Topic: Is there any documentation on different annotation settings?
- Replies: 3
- Views: 1152
Is there any documentation on different annotation settings?
Is there any documentation explaining the various values for the style settings for annotations that I'm missing? Inspecting the line tool annotation current style I get the following results and I think I've figured most of them out. tool.annot.line A=1 dt_Double - Opacity in decimal 0.0 to 1.0 B= ...
- Tue Dec 20, 2016 4:09 pm
- Forum: PDF-XChange Editor SDK
- Topic: Find Previous and Next Text without Find Window showing
- Replies: 33
- Views: 7948
Re: Find Previous and Next Text without Find Window showing
Yes. There's 2 things we are looking to do.
1.) As you said find text and highlight it using the highlight annotation.
2.) Create our own Find Text toolbar that does the same as your Find Next and Find Previous in the Editor but without the UI dialog box that shows up for the find command.
1.) As you said find text and highlight it using the highlight annotation.
2.) Create our own Find Text toolbar that does the same as your Find Next and Find Previous in the Editor but without the UI dialog box that shows up for the find command.
- Tue Dec 20, 2016 3:24 am
- Forum: PDF-XChange Editor SDK
- Topic: Find Previous and Next Text without Find Window showing
- Replies: 33
- Views: 7948
Find Previous and Next Text without Find Window showing
Again I'm trying to update code from the old viewer to the editor and can't figure out how to find text in the active document. I see your toolbar firing events like e.docFindParamsChanged but I don't see where we can define the FindParams or the text to search for in the first place I can go forwar...
- Tue Dec 20, 2016 12:42 am
- Forum: PDF-XChange Editor SDK
- Topic: ShowNotes
- Replies: 1
- Views: 713
ShowNotes
How to do we show or hide all annotations of a certain type? The old viewer had methods like ShowDrawings or ShowNotes but all I see is the show and hide commands for all comments. md.comments.showAll md.comments.hideAll I figures out how to find all the comments of the type I want but I can't seam ...
- Mon Dec 19, 2016 5:24 pm
- Forum: PDF-XChange Editor SDK
- Topic: Is there any easy way to tell if a command can be activated?
- Replies: 1
- Views: 783
Is there any easy way to tell if a command can be activated?
I'm trying to find an easy way to determine if you can perform a command on a document before doing it. I didn't see an easy way to find a command in the menubar to see if it's disabled or not because it seams like you would have to drill down all the menus to find the right command. For tools I fou...
- Mon Dec 19, 2016 11:47 am
- Forum: PDF-XChange Editor SDK
- Topic: Determining when Bookmarks Pane is shown or closed
- Replies: 4
- Views: 1176
Re: Determining when Bookmarks Pane is shown or closed
Thanks. I should have been clearer in that I'm looking for an event to watch when they might be shown, hidden, or closed?
- Sat Dec 17, 2016 1:14 pm
- Forum: PDF-XChange Editor SDK
- Topic: Determining when Bookmarks Pane is shown or closed
- Replies: 4
- Views: 1176
Re: Determining when Bookmarks Pane is shown or closed
I guess it's not a bug in the Editor it was just a bit confusing to me to have two different type of check marks and for it to be checked even when the windows is closed out. But if you could still let me know how programmatically we can tell if the various panes are visible, hidden, or turned off t...
- Fri Dec 16, 2016 7:40 pm
- Forum: PDF-XChange Editor SDK
- Topic: Determining when Bookmarks Pane is shown or closed
- Replies: 4
- Views: 1176
Determining when Bookmarks Pane is shown or closed
Is there any easy way to determine if the various panes have been displayed or closed? If the enable all events and turn on the Bookmarks Pane through the View->Bookmarks I see the following events being fired. e.pagesView.beginLayoutChanging e.pagesView.beginLayoutChanging e.pagesView.beginLayoutCh...
- Fri Dec 16, 2016 5:27 pm
- Forum: PDF-XChange Editor SDK
- Topic: Switching from Viewer SDK to Editor SDK
- Replies: 5
- Views: 1485
Re: Switching from Viewer SDK to Editor SDK
Also here's the sample I've been working on. It's in VB6 but it has some routines to list the commands, tools, properties and such with a "Find Text in List" function to help find the various strings you might need to use for various calls. https://forum.pdf-xchange.com/viewtopic.php?f=66&...
- Fri Dec 16, 2016 5:24 pm
- Forum: PDF-XChange Editor SDK
- Topic: Quick VB6 Sample and String Finder
- Replies: 8
- Views: 2572
Quick VB6 Sample and String Finder
I've been working on upgrading some legacy VB6 code from the old Viewer to the Editor so I created a basic sample that others might find helpful. I also compiled up the VB sample in this for other to use because it has routines to list the various strings for commands, commandbars, menus, tools, and...