Sign In  Sign Up Live-Chat

reorganizing bookmarks

Last post 09-12-2008, 7:30 AM by flexuser. 17 replies.
Page 1 of 2 (18 items)   1 2 Next >
Sort Posts: Previous Next
  •  08-11-2008, 7:44 AM 139167 in reply to 139566

    Loosing bookmarks after concatenation

    Hi,

       i am evaluating your Aspose PDF Kit for .Net and found it very good...

    I am currently facing one issue related to this.

    "whenever i am concatenating my two pdf files and if one of my pdf have bookmarks, i am loosing them after concatenation?"

    Can you please provide me a solution to fix it.

    Thanks in advance

    prashant

     
  •  08-11-2008, 8:17 AM 139183 in reply to 139566

    Re: Loosing bookmarks after concatenation

    Hello Prashant,

    Thanks for considering Aspose.

    I have tested the issue but I am unable to reproduce the problem. If you could do us a favor, and share the resource files, so that we can test them at our end.


    Nayyer Shahbaz
    Support Developer
    Aspose Changsha Team
    About Us
    Contact Us
     
  •  08-12-2008, 3:33 AM 139325 in reply to 139566

    Re: Loosing bookmarks after concatenation

    Hi,

       Thanks for the reply....

    Below is the code that i am using:

    PdfFileEditor pdfEditor = null;

    pdfEditor = new PdfFileEditor();

    pdfEditor.Concatenate(

    sourceFolderPath + "\\" + fuInputFile1.FileName,

    sourceFolderPath + "\\" + fuInputFile2.FileName,

    destFolderPath + "\\" +

    fuInputFile1.FileName + "_" + fuInputFile2.FileName + "_"

    + "_" + PDFDemoConstants.PDFMergers.APSOSE_PDF_KIT + ".pdf");

    }

    Now my second input file has two bookmarks (for H1,H2 section).

    My merged PDF shows these two bookmarks but it not working.

    Do i need to do something at code level?

    i will try to send you sample files.Till then if you find a sol please revert back

    Thanks in advance

    Prashant

     
  •  08-12-2008, 8:02 AM 139349 in reply to 139566

    Re: Loosing bookmarks after concatenation

    Hello Prashant,

    I have tested the issue using your code snippet. I have used a two pdf files, where the second Pdf have bookmarks. Once the files are concatenated, the bookmarks in the resultant pdf are working fine.

    Please share your pd files, so that we can test the issue using those files.


    Nayyer Shahbaz
    Support Developer
    Aspose Changsha Team
    About Us
    Contact Us
     
  •  08-13-2008, 2:22 AM 139469 in reply to 139566

    Re: Loosing bookmarks after concatenation

    Attachment: Present (inaccessible)

    Hi,

       I am attaching two PDF files:

    1)FirstFile_ExpertPDF :It contains two bookmarks

    2)SecondFile_ExpertPDF:Normal pdf without bookmark

    Now when i am merging them using the below code, the merged pdf contains the two bookmarks but they are not working.

    pdfEditor = new PdfFileEditor();

    pdfEditor.Concatenate(FirstFile_ExpertPDF,

    SecondFile_ExpertPDF,

    destFolderPath + "\\" +

    fuInputFile1.FileName + "_" + fuInputFile2.FileName + "_"

    + "_" + PDFDemoConstants.PDFMergers.APSOSE_PDF_KIT + ".pdf");

    Waiting for  a reply.

    Thanks in advance

     
  •  08-13-2008, 5:40 AM 139509 in reply to 139566

    Re: Loosing bookmarks after concatenation

    Attachment: Present (inaccessible)

    Hi,

    I have tested the issue, and I am able to reproduce the same problem using your sample Pdf files. But, when I tested the scenario using one of my pdf file that contains Bookmarks, the resultant Pdf is showing bookmarks & they are working fine. I think the issue is with you pdf file “FirstFile_ExpertPDF.pdf”.

    I have also tested the issue while using FirstFile_ExpertPDF.pdf, which contains Bookmarks along with my sample Pdf with bookmarks, and in resultant Pdf, Bookmarks associated with my sample file are working fine and issue persists for bookmarks in FirstFile_ExpertPDF.pdf.

    I have attached my sample Pdf and the resultant pdf, please take a review, and let us informed in case of any concerned issues.


    Nayyer Shahbaz
    Support Developer
    Aspose Changsha Team
    About Us
    Contact Us
     
  •  08-13-2008, 7:13 AM 139519 in reply to 139566

    Re: Loosing bookmarks after concatenation

    Hi,

    Thanks for all your help so far.

    Yaa with the files you have send , the bookmarks are working fine.

    But here are the other scenarios we have tested and it failed :

    1. We have added bookmarks in our PDF file using Aspose pdf kit using the code

    PdfContentEditor editor = new PdfContentEditor();

    editor.BindPdf(strInputPath);

    BookMark bm1 = new BookMark();

    bm1.PageNumber = 1;

    bm1.Title = "firstchild";

    BookMark bm2 = new BookMark();

    bm2.PageNumber = 2;

    bm2.Title = "secondchild";

    BookMark bm = new BookMark();

    bm.Action = "GoTo";

    bm.PageNumber = 1;

    bm.Title = "parent";

    BookMarks bms = new BookMarks();

    bms.Add(bm1);

    bms.Add(bm2);

    bm.ChildItem = bms;

    editor.CreateBookmarks(bm);

    editor.Save(strOutPut + "testCreateBookmarksOut.pdf");

    Now the bookmarks are added successfully but when i am merging it with another normal PDF file without bookmark, the bookmarks are not working.

    2. I have taken a sample PDF file already containing Bookmarks(downloaded from internet ) and when i am merging it with another normal PDF file without bookmark, the bookmarks are not working.

    Any help would be highly  appreciated

    Prashant

     
  •  08-13-2008, 7:32 AM 139520

    reorganizing bookmarks

    Hi,

       I am evaluating Aspose Pdf kit for PDF merger capability and found it very good.

    I have got one requirement in our project: "How to reorganize existing bookmark in each individual documents to be merged".

    Any help would be highly appreciated.

    Prashant

     
  •  08-13-2008, 10:41 AM 139566 in reply to 139520

    Re: reorganizing bookmarks

    Hi,

    Thank you for considering product.

    Our kit support to reorganize existing bookmarks when  several individual documents are merged into one document, that is to say, after merging, the new bookmarks are corresponding to the merged document. You can make a test for some documents include bookmarks, if any questions, please don't hesitate to inform me.

     


    Allen Wen
    Developer
    Aspose Changsha Team

    About Us
    Contact Us
     
  •  08-14-2008, 8:12 PM 139845 in reply to 139566

    Re: Loosing bookmarks after concatenation

    Hi Prashant,

    We are working on this issue. We will reply to you soon when we make progress.


    Tommy Wang
    Lead Developer
    Aspose Changsha Team
    About Us
    Contact Us
     
  •  08-19-2008, 9:50 AM 140435 in reply to 139845

    Re: Loosing bookmarks after concatenation

    Hi,

    I just want to know if you people have made any progress on this issue. As it is a major requirement in our appliaction, it would be great if you could provide us a solution.

    Thanks for all your support so far..

    Prashant

     
  •  08-19-2008, 11:23 AM 140447 in reply to 140435

    Re: Loosing bookmarks after concatenation

    Hi,

    We apologize for your inconvenience. I have tested the pdf document and I’m able to reproduce the same problem. I have logged it in our issue tracking system as PDFKITNET-5780. We will investigate this issue in detail and will keep you updated on the status of a correction. When any progress is attained, I will inform you.


    Allen Wen
    Developer
    Aspose Changsha Team

    About Us
    Contact Us
     
  •  09-02-2008, 1:12 AM 141973 in reply to 140447

    Re: Loosing bookmarks after concatenation

    Hi,

              Just want to know if there is any progress.

    Thanks for your coperation.

    Prashant

     

     
  •  09-02-2008, 2:14 AM 141977 in reply to 141973

    Re: Loosing bookmarks after concatenation

    Hi,

    The issue PdfKitNet- 5780 has been resovled in the new release, please download it from here.

    Thanks,


    Felix Liu
    Developer
    Aspose Changsha Team
    About Us
    Contact Us
     
  •  09-03-2008, 4:52 AM 142177 in reply to 141977

    Re: Loosing bookmarks after concatenation

    Hi,

       Thanks for the quick reply.

    I have downloaded the new version and tested the issue but it still exists. :(

    Do i need to do something from the code?

    Prashant

     
Page 1 of 2 (18 items)   1 2 Next >
View as RSS news feed in XML