Hi IM createing a pdf using aspose.word, I get bookmarks as wanted. But on a later point in the work I do a merge, i.e. replace the first page from another pdf document, using aspose.pdf.kit after this the bookmarks are gone, links in the TOC are working as they sould but the pdf bookmarks are lost
Hi Daniel,
Can you please share the PDF files you're having problem with? Also, the code snippets you're using will be helpful. We'll investigate the issue at our end and will let you know about the cause of the problem.
We're sorry for the inconvenience.
Regards,
Hi
Hi Daniel,
I have reproduced the issue at my end and logged as PDFKITNET-9422 in our issue tracking system. Our development team will be looking into the issue and you'll be updated via this forum as the issue is resolved.
If you have any further questions, please do let us know.
Regards,
Dear Aspose team,
We are building a solution for a biotech company which are looking towards submitting applications to the FDA in the near future. Therefore we would appreciate your support asap, or we would have to find another product or solution. At least a note whether this issue can be solved at all, and if so, preferably also a time estimation for when.
This is a critical case for us, and it we would like to have Aspose as part of this as well as for possible future projects with regulatory requirements, since we have found that Aspose matches all requirements until this point.
Best regards.
The Consignit team
Hi,
We are working on this issue and the ETA is about one week.
Thanks,
hi,
Hi,
We have fixed a bug of missing bookmarks in concatenating(merging) PDF files, and the fix will be included in our next release in this week.
But, after further investigating your requirement, we find that it is not easy to keep proper bookmarks after splitting and/or inserting, considering possible combinations of inputs (pdfs with or without bookmarks). And we need more time than my previous estimate, to ultimately resolve the issue. Your patience will be highly appreciated.
Thanks,
The issues you have found earlier (filed as 9422) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by aspose.notifier.
Hi
I have now tried to implement the new release.
But there seems to be a problem, with the function
pdfFileEditor.SplitToEnd(Stream, int, Stream);
this function will close the outputstream, making it hard to use the output file.
Have there been any changes that affect my code?
/cab-dad
Hi Daniel,
We're looking into the matter. Please spare us some time before we figure out the cause of this issue.
Sorry for the inconvenience.
Regards,
Hi Daniel,
I have found the same problem at my end and logged it as PDFKITNET-9582 in our bug tracking system. Our team will be looking into the matter and you'll be updated via this forum.
We're sorry for the inconvenience.
Regards,
Hi,
Any progress on this issue?
Hi Daniel,
I’m sorry to inform you that this issue is not yet resolved. Our team will be working on the issue; however, I’m afraid I can’t share the ETA for the resolution of this issue at the moment. You’ll be updated as some response is received from our development team.
We’re sorry for the inconvenience, and appreciate your patience.
Regards,
Hi
Hi Daniel,
We’ll provide you a hotfix for this issue at the end of this month (August). You’ll be updated via this forum.
If you find any other issues or have some more questions, please do let us know.
Regards,
Hi
How do I access the hotfix?
/Daniel
The issues you have found earlier (filed as 9582) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by aspose.notifier.
Hi
Installed the hotifx and the bookmarks are still there after a mege, but... there seams to be a problem with the layout see attachments. some squares are added on each bookmark.
/Daniel
Hi Daniel,
I have tested the issue at my end but couldn’t notice the problem. I have tested with Aspose.Pdf.Kit 3.6.0.0. Can you please make sure that you’re using the latest version? Also, try using the following code; I have used this snippet at my end:
int[] pages = new int[] { 1 };
int location = 0;
PdfFileEditor pdfEditor = new PdfFileEditor();
FileStream firstpageStream = new FileStream(“singlepage.pdf”,FileMode.Open, FileAccess.Read);
FileStream contentStream = new FileStream(“input.pdf”,FileMode.Open, FileAccess.Read);
MemoryStream tempStream = new MemoryStream();
MemoryStream outStream = new MemoryStream();
//create merged PDF document
pdfEditor.SplitToEnd(contentStream, 2, tempStream);
pdfEditor.Insert(tempStream, location, firstpageStream, pages, outStream);
FileStream output = new FileStream(“output.pdf”, FileMode.Create, FileAccess.Write);
outStream.Seek(0, SeekOrigin.Begin);
byte[] data = new byte[outStream.Length];
outStream.Read(data, 0, data.Length);
output.Write(data, 0, data.Length);
firstpageStream.Close();
contentStream.Close();
tempStream.Close();
output.Close();
If problem persists then please share a sample project which can reproduce the problem. Also, any other details would be helpful i.e. OS/Culture etc.
We're sorry for the inconvenience.
Regards,