Search found 35 matches

by AnKeilha
Wed Sep 18, 2019 12:58 pm
Forum: PDF-XChange Editor
Topic: Newline breaks XFDF-import
Replies: 15
Views: 1432

Re: Newline breaks XFDF-import

Hello Daniel,
in your test, did you try the XFDF file that is attached to this bug (see above or here...
XFDFs.zip
(1.41 KiB) Downloaded 5 times
)?

Please, do not confuse it with the other bug that had to do with new lines in the rich-text content.

Regards,
Andreas
by AnKeilha
Fri Sep 13, 2019 1:21 pm
Forum: PDF-XChange Editor
Topic: Newline breaks XFDF-import
Replies: 15
Views: 1432

Re: Newline breaks XFDF-import

Hello Stefan, I know that https://forum.tracker-software.com/viewtopic.php?f=62&t=32795&p=134552#p134551 is marked as resolved. I marked it myself. :? On the other hand, a few minutes ago, I tested this bug (i.e. "Newline breaks XFDF-import") with V8 build 333 and the problem still persists. I was n...
by AnKeilha
Fri Sep 13, 2019 11:25 am
Forum: PDF-XChange Editor
Topic: Newline breaks XFDF-import
Replies: 15
Views: 1432

Re: Newline breaks XFDF-import

But T# 4804 was fixed with build 332 according to your release notes: https://www.tracker-software.com/produc ... #8.0.332.0
by AnKeilha
Fri Sep 13, 2019 9:13 am
Forum: PDF-XChange Editor
Topic: Newline breaks XFDF-import
Replies: 15
Views: 1432

Re: Newline breaks XFDF-import

So, my main questions from above are:

Sould this bug be fixed with V8 build 332 from your point of view?

Or are you still working on a fix (RT#4804)?
by AnKeilha
Fri Sep 13, 2019 5:59 am
Forum: PDF-XChange Editor
Topic: Newline breaks XFDF-import
Replies: 15
Views: 1432

Re: Newline breaks XFDF-import

According to https://www.tracker-software.com/produc ... #8.0.332.0 the Issue T# 4804 has been fixed. Does this bug/tracking number really refer to this bug? I tested it today with V8 build 332 and it still seems to be broken. On the other hand, a different issue having to do with new lines and rich...
by AnKeilha
Thu Sep 12, 2019 12:46 pm
Forum: PDF-XChange Editor
Topic: Newline in richtext annotations are removed after reimporting SOLVED
Replies: 6
Views: 501

Re: Newline in richtext annotations are removed after reimporting SOLVED

According to https://www.tracker-software.com/produc ... #8.0.332.0 the Issue T# 4804 has been fixed. I tested it myself today and it seems to work.
by AnKeilha
Wed Sep 04, 2019 4:01 pm
Forum: PDF-XChange Editor
Topic: Opening a PDF from an URL does not work with parameters
Replies: 3
Views: 124

Re: Opening a PDF from an URL does not work with parameters

Hello Will, thanks for the quick response. Firstly, here's is what I am doing to reproduce this on my end (nothing fancy): 1. Open PDF-XChange Editor V8 (build 332) 2. Click on "File" -> "Open From" -> "URL..." 3. Enter the following URL in the pop-up dialog "Open a web link": https://www.w3.org/WAI...
by AnKeilha
Mon Sep 02, 2019 10:18 am
Forum: PDF-XChange Editor
Topic: Opening a PDF from an URL does not work with parameters
Replies: 3
Views: 124

Opening a PDF from an URL does not work with parameters

Hello, I am using PDF-XChange Editor V8 (build 332). When I use "File" -> "Open From" -> "URL..." with https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf everything works as expected. But when I use a URL with parameters e.g. https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resou...
by AnKeilha
Wed Jul 10, 2019 6:51 am
Forum: PDF-XChange Editor SDK
Topic: accumulation of handles
Replies: 14
Views: 384

Re: accumulation of handles

Hello again,
just as reminder/caveat: We are using Ctrl instead of Inst because we have to control two separate OLE-embedded PDFXChange-Editors within the same process.

Regards,
Andreas
by AnKeilha
Tue Jul 09, 2019 7:12 am
Forum: PDF-XChange Editor SDK
Topic: accumulation of handles
Replies: 14
Views: 384

Re: accumulation of handles

Well, is there any API call that would release the operating system's resources (close() does not work)? As mentioned above using ctrl.Doc() is something we have to do for various reasons.
by AnKeilha
Tue Jul 02, 2019 6:14 am
Forum: PDF-XChange Editor
Topic: Newline in richtext annotations are removed after reimporting SOLVED
Replies: 6
Views: 501

Re: Newline in richtext annotations are removed after reimporting SOLVED

Hello Daniel, there is an additional caveat of this workaround if you are trying to be downwards compatible to the old PdfViewer/PdfViewer SDK: The PdfViewer does not interpret the br-tags as newlines. For this you need to use " ". In our case this means that we have to substitute the br-tags by...
by AnKeilha
Mon Jul 01, 2019 9:38 am
Forum: PDF-XChange Editor SDK
Topic: accumulation of handles
Replies: 14
Views: 384

Re: accumulation of handles

BTW: The above testing was done using PDFXChange Editor SDK 8.0, build 331.0
by AnKeilha
Fri Jun 28, 2019 3:31 pm
Forum: PDF-XChange Editor SDK
Topic: accumulation of handles
Replies: 14
Views: 384

Re: accumulation of handles

Hello Alex, we've created a simple program that uses SWTs OleFrame to embed the PDFXChangeEditor. We are using JDK 1.8.0_161 to run it: GDILeakTester.zip To actually be able to run it, you would also need some generated classes which are part of our project and are therefore confidential. I hope tha...
by AnKeilha
Thu Jun 27, 2019 4:45 pm
Forum: PDF-XChange Editor
Topic: Newline in richtext annotations are removed after reimporting SOLVED
Replies: 6
Views: 501

Re: Newline in richtext annotations are removed after reimporting SOLVED

As this functionality is quite important to us, I did some more digging: 1. The original exported.xfdf (with " " in it) seems to work fine when I import it into the "good", old Adobe Reader 11. 2. When I use line breaks in Adobe Reader 11, they use " " for the XFDF-export, which is essential...
by AnKeilha
Thu Jun 27, 2019 12:42 pm
Forum: PDF-XChange Editor SDK
Topic: accumulation of handles
Replies: 14
Views: 384

Re: accumulation of handles

Another maybe important information is that the number of GDI objects keeps rising, when displaying new PDFs. When we have one embedded PDFXChangeEditor and open a new document via the said method (API function OpenDocFromPath()), at least one new GDI object seems to be created. We used the nice too...
by AnKeilha
Thu Jun 27, 2019 10:37 am
Forum: PDF-XChange Editor
Topic: Newline in richtext annotations are removed after reimporting SOLVED
Replies: 6
Views: 501

Newline in richtext annotations are removed after reimporting SOLVED

Hello, I am using version 8.0, build 331.0 of the standalone PDFXChange-Editor (the same problem also occurs, when I use the SDK): When using the typewriter-tool, textbox-tool, callout-tool or the sticky-note-tool and newline are used in the text content like so Screenshot-Annotations-correct.png ev...
by AnKeilha
Wed Jun 26, 2019 3:09 pm
Forum: PDF-XChange Editor SDK
Topic: accumulation of handles
Replies: 14
Views: 384

Re: accumulation of handles

Hi Alex, the Java Garbage Collector can only collect what is not referenced by another Object. That doesn't change when GC is called automatically by the JVM or it is triggered via the Java code using a System.gc()-call. We close the IPXV_Document by using Close(). It doesn't matter, which PXV_DocCl...
by AnKeilha
Wed Jun 05, 2019 7:54 am
Forum: PDF-XChange Editor
Topic: Newline breaks XFDF-import
Replies: 15
Views: 1432

Re: Newline breaks XFDF-import

Hello Paul,
I repeated the same test as above using version 8.0 build 331.0 and - unfortunately - got the same result:
Test-Using-V8.0-build-331.0.png
Test result using V8.0 build 331.0
Regards,
AnKeilha
by AnKeilha
Fri May 31, 2019 6:41 am
Forum: PDF-XChange Editor SDK
Topic: Setting Default Zoom to "Fit Page" SOLVED
Replies: 1
Views: 110

Setting Default Zoom to "Fit Page" SOLVED

Hello,
we are using PagesView.DefaultZoom to set the default zoom as a percentage or 0 for "Fit width". We are still struggling to set "Fit page" as the default zoom.

Is there any way to set "Fit page" as the default zoom :?:

Regards,
AnKeilha
by AnKeilha
Fri May 31, 2019 6:35 am
Forum: PDF-XChange Editor SDK
Topic: Zoomfaktor for OpenDocFromPath
Replies: 16
Views: 456

Re: Zoomfaktor for OpenDocFromPath

Hello Alex, so far nothing we tried had any effect whatsoever. We are still working on it though and will give you some feedback on Monday. Meanwhile I will put the thing about DefaultZoom in a different post as this would be interesting for us in any case (see https://forum.tracker-software.com/vie...
by AnKeilha
Wed May 29, 2019 12:34 pm
Forum: PDF-XChange Editor SDK
Topic: Zoomfaktor for OpenDocFromPath
Replies: 16
Views: 456

Re: Zoomfaktor for OpenDocFromPath

Hello, we have a good workaround for this. Directly before we open the pdf we can use PagesView.DefaultZoom to set the default zoom as a percentage or 0 for "Fit width". This way we do not really need to use opendocparams. We are still struggling to set "Fit page" as the default zoom. Is there any w...
by AnKeilha
Mon May 27, 2019 10:21 am
Forum: PDF-XChange Editor
Topic: Newline breaks XFDF-import
Replies: 15
Views: 1432

Re: Newline breaks XFDF-import

Hello, FYI: we have implemented a workaround for this. In short, before we import any XFDF data, we always use the following formatting step: new XMLOutputter(org.jdom.output.Format.getCompactFormat()).outputString(annotsElement); (see http://www.jdom.org/docs/apidocs.1.1/org/jdom/output/Format.html...
by AnKeilha
Thu May 23, 2019 8:49 am
Forum: PDF-XChange Editor
Topic: Newline breaks XFDF-import
Replies: 15
Views: 1432

Re: Newline breaks XFDF-import

Hello,
any news on this issue? As this problem would occur very frequently with our users, we need to decide if we have to implement a workaround.

Regards,
AnKeilha
by AnKeilha
Wed May 22, 2019 12:34 pm
Forum: PDF-XChange Editor SDK
Topic: Render only one document
Replies: 12
Views: 3714

Re: Render only one document

Hello Sasha, thanks for your reply. We have been evaluating setting "Synchronous Page Rendering" to "Yes", but it does not seem to make too much of a difference (if at all). Please find attached our current preferences for rendering (Preferences-Rendering.jpg) and also a typical use case as a PDF (s...
by AnKeilha
Fri May 17, 2019 2:17 pm
Forum: PDF-XChange Editor SDK
Topic: Render only one document
Replies: 12
Views: 3714

Re: Render only one document

Hello Alex, I assure you that there are significant benefits to our approach, which have been verified in ten years of production. Our users look at a lot of drawings in one day (thousands, sometimes even tens of thousands). The size of the PDFs we are talking about here is DIN A2 (or larger). We al...
by AnKeilha
Thu May 16, 2019 6:37 pm
Forum: PDF-XChange Editor SDK
Topic: Render only one document
Replies: 12
Views: 3714

Re: Render only one document

Hello again,
I hope I did not scare you with my last post, but that is the requirement me and AteBe are trying to fulfill.

Best regards,
AnKeilha
by AnKeilha
Wed May 15, 2019 2:27 pm
Forum: PDF-XChange Editor SDK
Topic: Render only one document
Replies: 12
Views: 3714

Re: Render only one document

Hello, we have two viewing-modes. The user can switch between them: 1. Original viewing mode: The PDFs are delivered as is and displayed using PdfXChange Editor including smoothing. 2. Prescaled viewing mode: The PDFs are converted (on the server-side) in pure-image PDFs with exactly the correct res...
by AnKeilha
Wed May 15, 2019 8:44 am
Forum: PDF-XChange Editor
Topic: Newline breaks XFDF-import
Replies: 15
Views: 1432

Newline breaks XFDF-import

I am using PDF-XChange Editor Version 7.0 (Build 328.2). It does not make a difference whether I try the following in the standalone editor or the SDK. When I use the file working.xfdf (see zip file attached) I see the expected yellow rectangle with "text" in it (see screenshot-working.png). When I ...
by AnKeilha
Tue May 14, 2019 9:15 am
Forum: PDF-XChange Editor SDK
Topic: Render only one document
Replies: 12
Views: 3714

Re: Render only one document

If the instance of an Editor is being launched in the separate process then there won't be any problems whatsoever. When you are launching it from the same process then their IPXV_Inst is the same, thus the settings for it also are the same for both of the documents. There is a separate post for th...
by AnKeilha
Tue Apr 02, 2019 7:07 am
Forum: PDF-XChange Editor SDK
Topic: Changing of the fillcolor for the highlight tool SOLVED
Replies: 2
Views: 604

Re: Changing of the fillcolor for the highlight tool SOLVED

Using the old Viewer SDK this could be done like so: int curStyleID = getProperty("Tools.Highlight.Style").getInt(); String curStylePath = "Commenting.Highlight.Styles[#" + curStyleID + "]."; setProperty(curStylePath + "Opacity", 1.0); setProperty(curStylePath + "BlendMode", "Normal", 0); setPropert...
by AnKeilha
Tue Feb 26, 2019 2:40 pm
Forum: PDF-XChange Editor SDK
Topic: Migration of settings file from PdfXChange-Viewer to PdfXChange-Editor SOLVED
Replies: 1
Views: 617

Migration of settings file from PdfXChange-Viewer to PdfXChange-Editor SOLVED

Hello, we are in the process of migrating from PdfXChange-Viewer to PdfXChange-Editor. With PdfXChange-Viewer we used invoke(getId("LoadSettings"), new Variant[] { new Variant("settings.ini") }); invoke(getId("SaveSettings"), new Variant[] { new Variant("settings.ini") }); to read and save settings ...
by AnKeilha
Thu May 24, 2018 8:28 am
Forum: PDF-XChange Core API SDK
Topic: viewState needed SOLVED
Replies: 3
Views: 1355

Re: viewState needed SOLVED

Thank you for your response. We are using the information from viewState to do the following: Given the position of a mouse click, find the exact PDF coordinates the user clicked on (e.g.: (842.0, 595.0) for the very top right corner of a DIN A4 page). Calculating this using the viewState worked pre...
by AnKeilha
Fri Apr 27, 2018 11:51 am
Forum: PDF-XChange Core API SDK
Topic: viewState needed SOLVED
Replies: 3
Views: 1355

viewState needed SOLVED

Hello again, we are using the (old/discontinued) PDFXChange viewer in our system and are currently in the process of migrating to the new PDF-XChange Editor. Using the old API, we could execute the following JavaScript to find out information on document position, including pageViewZoom, pageViewX/Y...
by AnKeilha
Fri Apr 27, 2018 11:35 am
Forum: PDF-XChange Editor
Topic: innerDocWindowRect needed SOLVED
Replies: 1
Views: 282

innerDocWindowRect needed SOLVED

Hello everyone, we are still using the (old/discontinued) PDFXChange viewer in our system and are currently in the process of migrating to the new PDF-XChange Editor. Using the old API, we could execute the following JavaScript to find out the area available to display documents: var result = " ";fo...