Inter-document links break in a bulleted list

Hello,

I’m having two issues with inter-document links breaking… For both issues look at Page 6 of the attached files.

First, the link is broken if the link is part of a bulleted list. Please see the attached Pdf, Word, and xml file. Everything looks to be formed correctly in the intermediary xml file, with links pointing to the correct place. All links outside of a bulleted list work just fine.

Second, if I open the same Pdf generated in the first issue with the PdfPageEditor, make modifications to the pages (a crude implementation of Mirror Margins by manually repositioning the page) and then save, all inter-document links break.

I am using Aspose.Words 6.4.0.0, Aspose.Pdf 4.0.0.2, and Aspose.Pdf.Kit 3.2.0.0.

Thanks!

Hello John,

Sorry for replying you late.

I've tested both the scenarios and I am able to notice the same problems. Links are becoming broken in both the scenarios. The issues have been reported to the respective teams and they are looking into the details of these problems, and will keep you updated with the status of correction.

We apologize for your inconvenience.

Hello,

I found a related issue relating to web links. If you take a look at page 3 of the pdf file, you will notice that there is a link that is not operational ("uP link"). From taking a look at the xml file, it looks like the #$NBS before the link is breaking it. Please see the attachments.

Thanks!

Hi,

We are sorry for the inconvenience.

We can reproduce this problem and we have logged it as PDFKIT-9308 in our tracking system. We will try our best to solve this problem ASAP. Any progress will be updated in this forums.

Hello,

Is there any progress with this issue? or can we get a timeframe for a fix? We have a release in two weeks and need to get this in and tested before release.

Thanks!

Hello,

We can provide a fix in this weekend.

Hello,

What is the status of this fix? We have what we hope to be our final build tomorrow and need this fix ASAP.

Thanks!

Hi,

The issue PDFKITNET-9308 has been resolved, please download the attached .dll file(version 3.4.4.4) and try it before we publishing a new release.

Thanks,

Hello,

It looks like this fix does not address the issue with links in a bulletted list. It looks like when a bulleted list is inserted, it adds a non-breaking space before the actual start of the list text. As was mentioned in the post with the wi.zip attachment, this causes the link not to function. Please let me know if you addressed this issue or not.

Thanks.

Hello,

This fix addresses the issue that the links are invalid when using PdfPageEditor. I have checked your pdf documents in wi.zip and found that "uP" was invalid in original document. Now i want to know if this bug is appeared when the pdf documents are generated from xml file, or you can tell me what operations are used when the bug is appeared.

Hello,

The bug appears when the pdf is generated from the xml file. In the word file, the link works fine. In the xml file, right before the uP link, you will notice that there is a segment with a non-breaking space. If I remove that non-breaking space, the link works fine. This is can also be seen in the third page of the pdf contents in the course.zip. There is a bulleted list with a link in one of them. In the xml file, you will see this:

o
#$NBS
Web Link

Notice that before the web link, there is a #$NBS. This causes the link not to work.


Thanks.

Hi,

I am the developer of Aspose.Pdf responsible for this issue. It has been resovled on our side, and we will provide the fix for you soon. Thanks for your patience.

BRs

Hi,

We have fixed this issue mentioned above on our side, please try this fixed version in attachment. Thanks for your patience.

BRs

Hi,

It seems that the fix that you provided for the interlinks (i.e. 3.4.4.4.rar) fixed the problem with links but completely broke our mirror margin implementation. In order to get mirror margins to work in pdf, we use the Aspose.Pdf.Kit.PdfPageEditor’s MovePosition function.

Thanks

Hi,

I see. Could you please offer the source file and .pdf file cause the mirror margin issue? So that we can investigate it and resolve the problem soon. Thanks

BRs

Hi,

I have attached a copy of the sample pdf as well as some source code for implementing mirror margins in pdf.

Thanks.

Hi,

I have tested the file you offered, and found the reason lies on the lack of attributes "PageMarginInner" and "PageMarginOutter" in rendered .xml file.

As a matter of fact, the mirror margin function has been supported on our side, while current Aspose.Words has not supported this function yet. As a workaround, you may add both attributes in generated .xml file manually like:

We will cooperate with Aspose.Words group for this issue soon. Thanks.

BRs

Hello,

I implemented a solution using the PageMarginInner/Outter attributes and it correctly mirrors the margins, but now there is another problem. The footer seems to be rendered twice in the output, once correctly where it should be located and again in the wrong location. Please take a look at the attached xml and pdf to see the problem. Could you take a look and let me know wha the problem is?

Thanks!

Hi,

It is a know issue and has been resolved in our next release. We will fix it soon and provide the fixed version to you. Sorry for inconvenience.

BRs

Hi,

We have fixed this problem, please try the fixed version in attachment. Sorry for inconvenience.

BRs