Search found 3489 matches
- 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: 71
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...
- 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: 71
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; } ...
- Tue Jul 26, 2022 10:22 pm
- Forum: PDF-XChange Editor SDK
- Topic: Tracking changes using overlays SOLVED
- Replies: 7
- Views: 148
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...
- Thu Jul 21, 2022 4:10 pm
- Forum: PDF-XChange Editor SDK
- Topic: Tracking changes using overlays SOLVED
- Replies: 7
- Views: 148
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 ...
- Tue Jul 19, 2022 11:31 pm
- Forum: PDF-XChange Editor SDK
- Topic: Tracking changes using overlays SOLVED
- Replies: 7
- Views: 148
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.
PDF does not have any overlays (I would encourage you to read the PDF spec first). At all.
- Mon Jul 11, 2022 11:04 pm
- Forum: PDF-XChange Editor
- Topic: PDFs taking a very long time to load
- Replies: 8
- Views: 248
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\".
"%appdata%\Tracker Software\PDFXEditor\3.0\".
- 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: 333
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.
- Fri Jun 10, 2022 6:43 pm
- Forum: PDF-XChange Editor
- Topic: Windows Explorer - Year (Metadata?) Defined Where? SOLVED
- Replies: 9
- Views: 358
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)
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)
- Thu Jun 09, 2022 6:19 pm
- Forum: PDF-XChange Editor
- Topic: Language tag
- Replies: 5
- Views: 271
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...
- 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...
- Wed May 11, 2022 4:01 pm
- Forum: PDF-XChange Editor SDK
- Topic: NEWB Question-Region Selection
- Replies: 16
- Views: 447
Re: NEWB Question-Region Selection
Yes, we will. We are working on adding this kind of sample to our github repository.
- 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.
We will add an option to reset visiting status for links during conversion.
- Fri May 06, 2022 11:43 pm
- Forum: PDF-XChange Editor
- Topic: Bug? Merge Page Order Reverse
- Replies: 22
- Views: 394
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
- 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?
- Tue May 03, 2022 10:48 pm
- Forum: PDF-XChange Editor SDK
- Topic: NEWB Question-Region Selection
- Replies: 16
- Views: 447
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...
- Tue May 03, 2022 8:54 pm
- Forum: PDF-XChange Editor SDK
- Topic: NEWB Question-Region Selection
- Replies: 16
- Views: 447
Re: NEWB Question-Region Selection
Based on your description, one of the DrawXXX functions should help.
- Mon May 02, 2022 7:55 pm
- Forum: PDF-XChange Editor
- Topic: Opening a PDF from an URL does not work with parameters
- Replies: 7
- Views: 957
Re: Opening a PDF from an URL does not work with parameters
Can you provide more info about your proxy?
- 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: 404
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.
- 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: 404
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...
- Mon Mar 21, 2022 6:40 pm
- Forum: PDF-XChange Editor
- Topic: Erste Seite einer PDF als JPG abspeichern mit Access 2019 oder vb.net 2017
- Replies: 1
- Views: 138
Re: Erste Seite einer PDF als JPG abspeichern mit Access 2019 oder vb.net 2017
You need to use one of our SDKs for this purpose. Easiest one for this will be Editor Simple SDK.
- Thu Mar 17, 2022 5:56 pm
- Forum: PDF-XChange Editor
- Topic: Stamp: display of the AD displayName
- Replies: 6
- Views: 214
Re: Stamp: display of the AD displayName
displayName is not available via identity.
But there are firstName and lastName.
But there are firstName and lastName.
- 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.
But, in this case, content is trying to show XObject which is absent in page Resources.
- 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.
- Wed Feb 09, 2022 6:19 pm
- Forum: PDF-XChange Editor SDK
- Topic: IStream FDF vs XFDF for op.document.importCommentsAndFields / "the parameter is incorrect" for FDF source SOLVED
- Replies: 5
- Views: 503
Re: IStream FDF vs XFDF for op.document.importCommentsAndFields / "the parameter is incorrect" for FDF source SOLVED
Can you send us sample FDF file that causes the problem?
- Mon Feb 07, 2022 5:55 pm
- Forum: PDF-XChange Editor SDK
- Topic: Dynamic Stamp Refresh Issue
- Replies: 11
- Views: 659
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.
- Thu Feb 03, 2022 6:50 pm
- Forum: PDF-XChange Editor SDK
- Topic: Dynamic Stamp Refresh Issue
- Replies: 11
- Views: 659
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.
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.
- Thu Jan 06, 2022 7:19 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
It is just leftovers from another sample
- Wed Jan 05, 2022 7:03 pm
- Forum: PDF-XChange Editor SDK
- Topic: C# code to fill a PDF form
- Replies: 58
- Views: 7120
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.
For checkboxes, the first parameter should be 0. For the radio buttons - the index of the radio button on the group.
- 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...
- 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.
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.
- 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 ...
- Fri Dec 24, 2021 7:13 pm
- Forum: PDF-XChange Core API SDK
- Topic: IPXCPrinter->Paper.Margin?
- Replies: 5
- Views: 611
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-...
- Thu Dec 23, 2021 9:10 pm
- Forum: PDF-XChange Core API SDK
- Topic: IPXCPrinter->Paper.Margin?
- Replies: 5
- Views: 611
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...
- Thu Dec 16, 2021 8:09 pm
- Forum: PDF-XChange Editor
- Topic: Set specific fields to Read-Only when signing Document does not work SOLVED
- Replies: 11
- Views: 711
Re: Set specific fields to Read-Only when signing Document does not work SOLVED
Fixed in the next build.
- Thu Dec 16, 2021 12:54 am
- Forum: PDF-XChange Viewer (End Users)
- Topic: PDF AutoCad problem
- Replies: 2
- Views: 392
Re: PDF AutoCad problem
Both screenshots in your post are identical.
Can you please provide any PDF document which is not rendered properly?
Can you please provide any PDF document which is not rendered properly?
- Mon Dec 13, 2021 6:41 pm
- Forum: PDF-XChange Editor SDK
- Topic: ARM Processors
- Replies: 3
- Views: 323
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.
The End User's Editor used to work in such a way until we release the native arm64 version.
- Thu Dec 09, 2021 9:53 pm
- Forum: PDF-XChange Editor SDK
- Topic: ARM Processors
- Replies: 3
- Views: 323
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
ARM64 version of your app should use our *.arm64.dll files
- 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...
- Tue Nov 30, 2021 8:47 pm
- Forum: PDF-XChange Core API SDK
- Topic: Paper.SheetSizeIndex doesn't work?
- Replies: 11
- Views: 738
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...
- Tue Nov 30, 2021 8:36 pm
- Forum: PDF-XChange Core API SDK
- Topic: Paper.SheetSizeIndex doesn't work?
- Replies: 11
- Views: 738
Re: Paper.SheetSizeIndex doesn't work?
Looks like I can reproduce the issue on my side. Checking right now what may cause it
- Mon Nov 29, 2021 11:48 pm
- Forum: PDF-XChange Core API SDK
- Topic: Paper.SheetSizeIndex doesn't work?
- Replies: 11
- Views: 738
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.
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.
- Mon Nov 29, 2021 8:30 pm
- Forum: PDF-XChange Core API SDK
- Topic: Paper.SheetSizeIndex doesn't work?
- Replies: 11
- Views: 738
Re: Paper.SheetSizeIndex doesn't work?
Hm, that's strange it does not work. I will double-check that.
No, as I'm aware of.Also, are there any other known changes to the interpretation of options that haven't been reflected in the documentation?
- Mon Nov 29, 2021 4:45 pm
- Forum: PDF-XChange Core API SDK
- Topic: Paper.SheetSizeIndex doesn't work?
- Replies: 11
- Views: 738
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.
I.e., to set Letter as a Sheet, you will have to use 1 instead of 0.
- 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: 432
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 ...
- Wed Nov 24, 2021 7:59 pm
- Forum: PDF-XChange Editor SDK
- Topic: Setting Form Field formatting to None
- Replies: 1
- Views: 306
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...
- 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: 432
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.
- Tue Nov 23, 2021 1:50 am
- Forum: PDF-XChange Viewer (End Users)
- Topic: Microsoft Store
- Replies: 14
- Views: 1271
Re: Microsoft Store
The Editor is submitted to the Microsoft Store and should be available there shortly.
- Fri Nov 19, 2021 11:35 pm
- Forum: PDF-XChange Editor
- Topic: File blocked by explorer.exe
- Replies: 18
- Views: 2261
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...
- 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.
We are investigating where the problem might be.
- Wed Nov 17, 2021 6:35 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
Can you please send us (please use support@tracker-software.com or ivan@tracker-software.com) any of the files with broken links?