Search found 3489 matches

by Ivan - Tracker Software
Wed Jul 27, 2022 4:25 pm
Forum: PDF-XChange Editor SDK
Topic: op.OpenDoc + AuthCallback + OpenDocFrom for certificate "digital id" secured PDFs SOLVED
Replies: 5
Views: 67

Re: op.OpenDoc + AuthCallback + OpenDocFrom for certificate "digital id" secured PDFs SOLVED

@Ivan: one question though: the nFlags is always 0, never includes DocOpenFlag_NeedOwnerPerms. Never mind if opening Standard secured document using user and/or owner password or certificate secured. The op.openDoc has no way of specifying DocOpenFlag params (if that would set it). Yes, nFlags in m...
by Ivan - Tracker Software
Tue Jul 26, 2022 10:45 pm
Forum: PDF-XChange Editor SDK
Topic: op.OpenDoc + AuthCallback + OpenDocFrom for certificate "digital id" secured PDFs SOLVED
Replies: 5
Views: 67

Re: op.OpenDoc + AuthCallback + OpenDocFrom for certificate "digital id" secured PDFs SOLVED

Here is a code that should help: HRESULT AuthDoc(IPXC_Document* pDoc, ULONG nFlags) { CComPtr<IPXC_SecurityHandler> pHandler; pDoc->GetSecurityHandler(VARIANT_FALSE, &pHandler); PXC_RequestOper oper = Perm_OperOpen; if ((nFlags & DocOpenFlag_NeedOwnerPerms) != 0) { oper = Perm_OperSecure; } ...
by Ivan - Tracker Software
Tue Jul 26, 2022 10:22 pm
Forum: PDF-XChange Editor SDK
Topic: Tracking changes using overlays SOLVED
Replies: 7
Views: 145

Re: Tracking changes using overlays SOLVED

I was guessing that you guys are using some kind of hashtable or dictionary to group the different objects so that users can display or not display. We calculate the visibility state of OCGs and OCMDs and during rendering page content items, comments, etc. are rendered only if the associated OCG/OC...
by Ivan - Tracker Software
Thu Jul 21, 2022 4:10 pm
Forum: PDF-XChange Editor SDK
Topic: Tracking changes using overlays SOLVED
Replies: 7
Views: 145

Re: Tracking changes using overlays SOLVED

Unfortunately, methods for the creation and manipulation of IPXC_OCG and IPXC_OCMD are not exposed at the moment. As you know, "layers" in PDF are not the same as layers in CAD or image editors. And it is hard to implement the same manipulations with them. Particularly, you cannot save or ...
by Ivan - Tracker Software
Tue Jul 19, 2022 11:31 pm
Forum: PDF-XChange Editor SDK
Topic: Tracking changes using overlays SOLVED
Replies: 7
Views: 145

Re: Tracking changes using overlays SOLVED

Looks like the concept you decided to implement is a little bit outside of what PDF can provide. And what the SDK can provide as well.

PDF does not have any overlays (I would encourage you to read the PDF spec first). At all.
by Ivan - Tracker Software
Mon Jul 11, 2022 11:04 pm
Forum: PDF-XChange Editor
Topic: PDFs taking a very long time to load
Replies: 8
Views: 246

Re: PDFs taking a very long time to load

Please ask affected users to backup and remove files History.dat and HistoryThumbs.dat located in the folder
"%appdata%\Tracker Software\PDFXEditor\3.0\".
by Ivan - Tracker Software
Mon Jun 13, 2022 7:14 pm
Forum: PDF-XChange Drivers API SDK
Topic: C# Task Scheduler App in background fails to convert excel file to PDF
Replies: 1
Views: 303

Re: C# Task Scheduler App in background fails to convert excel file to PDF

Can try to print to any other printer in such conditions? As I remember, office applications always required an interactive session to work.
by Ivan - Tracker Software
Fri Jun 10, 2022 6:43 pm
Forum: PDF-XChange Editor
Topic: Windows Explorer - Year (Metadata?) Defined Where? SOLVED
Replies: 9
Views: 354

Re: Windows Explorer - Year (Metadata?) Defined Where? SOLVED

Honestly, I'm not sure what you are looking for.
In PDF the creation date (not just a year!) might be stored in two places:
1) document's Info dictionary
2) in document's metadata (xmp:CreateDate)
by Ivan - Tracker Software
Thu Jun 09, 2022 6:19 pm
Forum: PDF-XChange Editor
Topic: Language tag
Replies: 5
Views: 266

Re: Language tag

Hi Jensen, I'm not sure how XMP is connected with the /Root/Lang property of the PDF document? When the Editor sets the document's language, it stores it in the document's catalog dictionary (/Root) under the key 'Lang', as described in the PDF Specification. And the document's Metadata (XMP) has no...
by Ivan - Tracker Software
Wed May 11, 2022 4:33 pm
Forum: PDF-XChange Editor
Topic: Wrong bold text
Replies: 19
Views: 326

Re: Wrong bold text

Every (or almost every) piece of text in this document is duplicated. The first time it is rendered with just a border of width 0 and a second time with a fill. image.png image1.png Width 0 by PDF specification means that the border should be rendered 1 pixel wide no matter of zoom level. That's wha...
by Ivan - Tracker Software
Wed May 11, 2022 4:01 pm
Forum: PDF-XChange Editor SDK
Topic: NEWB Question-Region Selection
Replies: 16
Views: 440

Re: NEWB Question-Region Selection

Yes, we will. We are working on adding this kind of sample to our github repository.
by Ivan - Tracker Software
Mon May 09, 2022 11:45 pm
Forum: PDF-XChange Editor
Topic: Creating a pdf via word plugin results in purple-colored links
Replies: 6
Views: 158

Re: Creating a pdf via word plugin results in purple-colored links

These links have purple color while they are visiting. And they got such status because we do process links during document conversion.
We will add an option to reset visiting status for links during conversion.
by Ivan - Tracker Software
Fri May 06, 2022 11:43 pm
Forum: PDF-XChange Editor
Topic: Bug? Merge Page Order Reverse
Replies: 22
Views: 392

Re: Bug? Merge Page Order Reverse

Looks like there is an issue with handling "Reverse Order" in the Merge Pages operation. We will fix the issue in the next build
by Ivan - Tracker Software
Fri May 06, 2022 10:33 pm
Forum: PDF-XChange Editor
Topic: Sometimes printing error
Replies: 7
Views: 222

Re: Sometimes printing error

What do you do when the problem encounters? Just try to print again, or do you have to restart Word?
by Ivan - Tracker Software
Tue May 03, 2022 10:48 pm
Forum: PDF-XChange Editor SDK
Topic: NEWB Question-Region Selection
Replies: 16
Views: 440

Re: NEWB Question-Region Selection

Can you please describe your task in a bit more detail? You say "How to select a region...". How do you expect this selection should happen? By your user on a rendered page? Programmatically? We can try to help or direct you in the right direction, but we need to understand what exactly yo...
by Ivan - Tracker Software
Tue May 03, 2022 8:54 pm
Forum: PDF-XChange Editor SDK
Topic: NEWB Question-Region Selection
Replies: 16
Views: 440

Re: NEWB Question-Region Selection

Based on your description, one of the DrawXXX functions should help.
by Ivan - Tracker Software
Wed Mar 30, 2022 4:06 pm
Forum: PDF-XChange Editor SDK
Topic: Enumerating fonts (to see if embedded) - speed issue SOLVED
Replies: 6
Views: 402

Re: Enumerating fonts (to see if embedded) - speed issue SOLVED

Not exactly. This method does not go through page content. Instead, it checks the /Resources dictionary recursively, and not only for pages as fonts may be used in many places.
by Ivan - Tracker Software
Tue Mar 29, 2022 6:41 pm
Forum: PDF-XChange Editor SDK
Topic: Enumerating fonts (to see if embedded) - speed issue SOLVED
Replies: 6
Views: 402

Re: Enumerating fonts (to see if embedded) - speed issue SOLVED

The only other possible way to find all fonts in the document is to go through all objects (using IPXS_Document::GetObjectByNum) and if the object is a dictionary, check its Type field. For fonts, it should be "Font". Then, you can get IPXC_Document::GetFont to get IPXC_Font from this IPXS...
by Ivan - Tracker Software
Thu Mar 17, 2022 5:56 pm
Forum: PDF-XChange Editor
Topic: Stamp: display of the AD displayName
Replies: 6
Views: 213

Re: Stamp: display of the AD displayName

displayName is not available via identity.
But there are firstName and lastName.
by Ivan - Tracker Software
Wed Feb 16, 2022 4:52 pm
Forum: PDF-XChange Editor
Topic: Corrupted document - is it? SOLVED
Replies: 3
Views: 252

Re: Corrupted document - is it? SOLVED

The Editor does not report about issues in page content, instead, we are trying to recover as much as we can.
But, in this case, content is trying to show XObject which is absent in page Resources.
by Ivan - Tracker Software
Thu Feb 10, 2022 3:53 am
Forum: PDF-XChange Editor SDK
Topic: Confirmation needed for op.document.exportCommentsAndFields SOLVED
Replies: 3
Views: 342

Re: Confirmation needed for op.document.exportCommentsAndFields SOLVED

Yes, only Markup annotation will be exported in this case to the XFDF file.
by Ivan - Tracker Software
Mon Feb 07, 2022 5:55 pm
Forum: PDF-XChange Editor SDK
Topic: Dynamic Stamp Refresh Issue
Replies: 11
Views: 656

Re: Dynamic Stamp Refresh Issue

Dynamic stamps may not be 'refreshed' when it is shown in the stamps list, but the calculation is called when you choose a stamp, and the second time calculation is called when you actually place the stamp.
by Ivan - Tracker Software
Thu Feb 03, 2022 6:50 pm
Forum: PDF-XChange Editor SDK
Topic: Dynamic Stamp Refresh Issue
Replies: 11
Views: 656

Re: Dynamic Stamp Refresh Issue

The identity setting is the same as the rest of the other settings need to be saved by your application.
To do that, you have to call IPXV_Inst::SaveUserSettings before your application exit.
For sure, at the start, you have to load these settings via IPXV_Inst::LoadUserSettings.
by Ivan - Tracker Software
Wed Jan 05, 2022 7:03 pm
Forum: PDF-XChange Editor SDK
Topic: C# code to fill a PDF form
Replies: 58
Views: 7103

Re: C# code to fill a PDF form

For radio buttons and check boxes you have to use CheckWidget method instead of SetValueText.

For checkboxes, the first parameter should be 0. For the radio buttons - the index of the radio button on the group.
by Ivan - Tracker Software
Wed Jan 05, 2022 6:57 pm
Forum: PDF-XChange Editor SDK
Topic: 'Invalid index in array.' with CoreDoc.GetNamedDestination (PDF 1.1 having /Dests entry in the Catalog) SOLVED
Replies: 5
Views: 476

Re: 'Invalid index in array.' with CoreDoc.GetNamedDestination (PDF 1.1 having /Dests entry in the Catalog) SOLVED

I cannot reproduce the issue with your document. Here is my code (no failure checks to make it simple): HRESULT hr = S_OK; do { hr = InitializeSDK(); CComPtr<IPXC_Document> pDoc; const wchar_t* path = LR"(e:\temp\dest_test_generated.pdf)"; hr = g_Inst->OpenDocumentFromFile((LPWSTR)path, nu...
by Ivan - Tracker Software
Thu Dec 30, 2021 8:50 pm
Forum: PDF-XChange Editor SDK
Topic: IPXS_Document Get First Indirect Object + where (at what byte) is that object SOLVED
Replies: 5
Views: 485

Re: IPXS_Document Get First Indirect Object + where (at what byte) is that object SOLVED

GetNextIndirect goes through all xref tables and all through all records in them.

What we can do, is to add a method to the IPXS_Document which will return Linearization dictionary or null if absent.
We already have it, but it is not exposed in the SDK.
by Ivan - Tracker Software
Thu Dec 30, 2021 1:34 am
Forum: PDF-XChange Editor SDK
Topic: IPXS_Document Get First Indirect Object + where (at what byte) is that object SOLVED
Replies: 5
Views: 485

Re: IPXS_Document Get First Indirect Object + where (at what byte) is that object SOLVED

GetNextIndirect takes a pointer to ULONG_T value, not value itself. So, the correct use of this method would be: ULONG_T enumPos = 0; IPXS_PDFVariant obj = IPXS_Document.GetNextIndirect(&enumPos); In regards position (offset) of the object in the document stream - unfortunately, as I see such a ...
by Ivan - Tracker Software
Fri Dec 24, 2021 7:13 pm
Forum: PDF-XChange Core API SDK
Topic: IPXCPrinter->Paper.Margin?
Replies: 5
Views: 609

Re: IPXCPrinter->Paper.Margin?

Can you please send me a piece of code when you configure the printer? And, the code where you print, if you do not print with an external app (like Word, etc.) - you need to use GetDeviceCaps(PHYSICALOFFSETX) and GetDeviceCaps(PHYSICALOFFSETY) to take margins into account. You can use ivan@tracker-...
by Ivan - Tracker Software
Thu Dec 23, 2021 9:10 pm
Forum: PDF-XChange Core API SDK
Topic: IPXCPrinter->Paper.Margin?
Replies: 5
Views: 609

Re: IPXCPrinter->Paper.Margin?

Margins always were set to 0 by default. I wonder how you get 5 mm. It looks like nearly all of the settings available in the Preferences dialog are available via the IPXCPrinter properties, except margin. LeftPos and TopPos are similar, but don't seem to affect the right and bottom edge. The LeftPo...
by Ivan - Tracker Software
Thu Dec 16, 2021 12:54 am
Forum: PDF-XChange Viewer (End Users)
Topic: PDF AutoCad problem
Replies: 2
Views: 387

Re: PDF AutoCad problem

Both screenshots in your post are identical.

Can you please provide any PDF document which is not rendered properly?
by Ivan - Tracker Software
Mon Dec 13, 2021 6:41 pm
Forum: PDF-XChange Editor SDK
Topic: ARM Processors
Replies: 3
Views: 321

Re: ARM Processors

If your app is built for x86, you have to use *.x86.dll's from the SDK package, and it should work without any issues on Windows for ARM64.
The End User's Editor used to work in such a way until we release the native arm64 version.
by Ivan - Tracker Software
Thu Dec 09, 2021 9:53 pm
Forum: PDF-XChange Editor SDK
Topic: ARM Processors
Replies: 3
Views: 321

Re: ARM Processors

You have to provide ARM64 bit version of your app or X86. X64 will work only on insider's builds of Windows 11 arm64.

ARM64 version of your app should use our *.arm64.dll files
by Ivan - Tracker Software
Thu Dec 09, 2021 2:31 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Cyryllic text not searchable with some fonts in generated PDF
Replies: 3
Views: 538

Re: Cyryllic text not searchable with some fonts in generated PDF

I'm afraid that the problem is with the font, not with the library. For some reason, this font maps two ranges of codes into Cyrillic characters as shown below: image.png And, a non-Unicode range was used when the text was rendered. For example, when you copy text from your PDF file and paste it int...
by Ivan - Tracker Software
Tue Nov 30, 2021 8:47 pm
Forum: PDF-XChange Core API SDK
Topic: Paper.SheetSizeIndex doesn't work?
Replies: 11
Views: 734

Re: Paper.SheetSizeIndex doesn't work?

I found the problem - it fails when there are no "Paper.StdSheetWidth" and "Paper.StdSheetHeight" are not specified. I fix the issue, but it will be available in the next build. As a workaround, you can specify printer->Option[L"Paper.SheetSizeIndex"] = -2; // Custom pr...
by Ivan - Tracker Software
Tue Nov 30, 2021 8:36 pm
Forum: PDF-XChange Core API SDK
Topic: Paper.SheetSizeIndex doesn't work?
Replies: 11
Views: 734

Re: Paper.SheetSizeIndex doesn't work?

Looks like I can reproduce the issue on my side. Checking right now what may cause it
by Ivan - Tracker Software
Mon Nov 29, 2021 11:48 pm
Forum: PDF-XChange Core API SDK
Topic: Paper.SheetSizeIndex doesn't work?
Replies: 11
Views: 734

Re: Paper.SheetSizeIndex doesn't work?

Thanks for the file, but I see no custom settings there.

Can you please send me a piece of code where you set printer options and start the printing process?

Please use ivan@tracker-software.com email.
by Ivan - Tracker Software
Mon Nov 29, 2021 8:30 pm
Forum: PDF-XChange Core API SDK
Topic: Paper.SheetSizeIndex doesn't work?
Replies: 11
Views: 734

Re: Paper.SheetSizeIndex doesn't work?

Hm, that's strange it does not work. I will double-check that.
Also, are there any other known changes to the interpretation of options that haven't been reflected in the documentation?
No, as I'm aware of.
by Ivan - Tracker Software
Mon Nov 29, 2021 4:45 pm
Forum: PDF-XChange Core API SDK
Topic: Paper.SheetSizeIndex doesn't work?
Replies: 11
Views: 734

Re: Paper.SheetSizeIndex doesn't work?

In V9 possible values for Paper.SheetSizeIndex and Paper.Size was unified - standard paper index is used instead of paper index.

I.e., to set Letter as a Sheet, you will have to use 1 instead of 0.
by Ivan - Tracker Software
Thu Nov 25, 2021 1:12 am
Forum: PDF-XChange Editor
Topic: freeze when saving a pdf (v. 9.2 build 359) SOLVED
Replies: 5
Views: 431

Re: freeze when saving a pdf (v. 9.2 build 359) SOLVED

In older builds, we had simplified signature validation that could not detect incorrect modifications after (or between) signing a document. We had to fix that issue to conform to the specification, but, unfortunately, that slows down the validation process, especially in the case of having so many ...
by Ivan - Tracker Software
Wed Nov 24, 2021 7:59 pm
Forum: PDF-XChange Editor SDK
Topic: Setting Form Field formatting to None
Replies: 1
Views: 303

Re: Setting Form Field formatting to None

Date (or any other type of formatting) is not described by form field flags. Instead, Format/Keystroke actions are used. You will have to remove these actions. Something like this pField->put_Actions(Trigger_Format, nullptr); pField->put_Actions(Trigger_Keystroke, nullptr); pField->put_Actions(Trigg...
by Ivan - Tracker Software
Wed Nov 24, 2021 6:06 pm
Forum: PDF-XChange Editor
Topic: freeze when saving a pdf (v. 9.2 build 359) SOLVED
Replies: 5
Views: 431

Re: freeze when saving a pdf (v. 9.2 build 359) SOLVED

The problem is with the accessive amount of digital signatures in the document. When a document is saved, all existing signatures are re-validated. And it takes time when there are many signatures.
by Ivan - Tracker Software
Tue Nov 23, 2021 1:50 am
Forum: PDF-XChange Viewer (End Users)
Topic: Microsoft Store
Replies: 14
Views: 1253

Re: Microsoft Store

The Editor is submitted to the Microsoft Store and should be available there shortly.
by Ivan - Tracker Software
Fri Nov 19, 2021 11:35 pm
Forum: PDF-XChange Editor
Topic: File blocked by explorer.exe
Replies: 18
Views: 2259

Re: File blocked by explorer.exe

From what we see, I can say the following. When previewing a local file, Explorer provides us (or any other IPreviewHandler implementation) a copy of the file data (we do not work with files directly, Explorer provides us the file data as IStream) and the file is not blocked. That's true for files o...
by Ivan - Tracker Software
Wed Nov 17, 2021 7:32 pm
Forum: PDF-XChange Editor
Topic: Warning: problem with internal hyperlinks when merging pages
Replies: 5
Views: 352

Re: Warning: disastrous problem with internal hyperlinks since version 9.2

Yes, most likely merge pages operation is the reason, as the rest of code related to links/destination was not changed recently and there should not be any issues.

We are investigating where the problem might be.