Sign UpSign Up   Sign InSign In Welcome Guest,
Live Chat Live Chat

Blank PDF is generating with Linearized Property

Last post 08-18-2009, 9:12 AM by aspose.notifier. 5 replies.
Sort Posts: Previous Next
  •  06-17-2009, 9:26 PM 184362

    Blank PDF is generating with Linearized Property

    Hi,

    We are generating a PDF document from a word document and setting some of the security settings to the PDF document. After ASPOSE 4.0.0.0 release we added Linearized Property to PDF. Now it is returning a blank pdf document instead of PDF document from word document.

    Please see the below code:

    Pdf generatedPdf = new Pdf();
    generatedPdf.Linearized = true;
    generatedPdf.BindXML(xmlDoc, null);
    generatedPdf.IsImagesInXmlDeleteNeeded = true;
    generatedPdf.IsTruetypeFontMapCached = true;
    generatedPdf.TruetypeFontMapPath = Path.GetTempPath();
    generatedPdf.PageSetup.PageHeight = paperHeight;
    generatedPdf.PageSetup.PageWidth = paperWidth;

    //Adding privileges to PDF Document
    generatedPdf.Security = new Security();
    generatedPdf.Security.IsAnnotationsModifyingAllowed = false;
    generatedPdf.Security.IsContentsModifyingAllowed = false;
    generatedPdf.Security.IsCopyingAllowed = false;
    generatedPdf.Security.IsPrintingAllowed = true;
    generatedPdf.Security.IsFormFillingAllowed = false;

    generatedPdf.Save(destinationFilePath);

    If we comment the security privileages settings in the above code then it is working fine. Can you please look in to this issue? 

     
  •  06-18-2009, 1:31 AM 184369 in reply to 184362

    Re: Blank PDF is generating with Linearized Property

    Hello Balaji,

    I have tested the issue and I’m able to reproduce the same problem. I have logged it in our issue tracking system as PDFNET-9354. We will investigate this issue in detail and will keep you updated on the status of a correction.

     

    We apologize for your inconvenience.


    Nayyer Shahbaz
    Support Developer, Aspose Sialkot Team
    About Us
    Contact Us

    Keep in touch! We're on Twitter and Facebook
     
  •  06-27-2009, 8:20 PM 185721 in reply to 184369

    Re: Blank PDF is generating with Linearized Property

    Hi,

    Do you have any ETA on this issue?

    Thanks

     
  •  06-28-2009, 1:49 PM 185742 in reply to 185721

    Re: Blank PDF is generating with Linearized Property

    Hello Balaji,

    Our development team is working hard to get this issue resolved and I’ve contacted the team to share any ETA regarding the resolution of this problem (if possible). Please spare us little time as we would definitely get back to you as soon as we have made some significant progress over this issue.

    Your patience and understanding is greatly appreciated and we apologize for any inconvenience that you have been facing in this regard.


    Nayyer Shahbaz
    Support Developer, Aspose Sialkot Team
    About Us
    Contact Us

    Keep in touch! We're on Twitter and Facebook
     
  •  07-01-2009, 8:47 AM 186392 in reply to 185742

    Re: Blank PDF is generating with Linearized Property

    Attachment: Present (inaccessible)

    Hello Balaji,

            I am the developer of Aspose.Pdf responsible for this issue. It is resolved in the fixed version, please try the attachment. Sorry for invenience.

    BRs


    Emil Hu
    Product Developer
    Aspose Changsha Team
    About Us
    Contact Us
     
  •  08-18-2009, 9:12 AM 193744 in reply to 184362

    Re: Blank PDF is generating with Linearized Property

    The issues you have found earlier (filed as 9354) have been fixed in this update.


    This message was posted using Notification2Forum from Downloads module by aspose.notifier.
     
View as RSS news feed in XML