Documents.Flow.FormatProviders.Pdf.PdfFormatProvider

9 posts, 0 answers
  1. Brian
    Brian avatar
    24 posts
    Member since:
    Apr 2008

    Posted 03 Sep 2015 Link to this post

    Hi,

    I am using the PdfFormatProvider to create pdf files from RadFlowDocument, however the result is not equal to the original layout.

    Lines disappear and the table cell padding is wrong.

    Please find attached:

    Image1: The original file displayed in the RichTextEditor

    Image2: The pdf file displayed in the PDF Viewer

    Using a standard pdf printer form word renders the word file OK.

     

     

  2. Petya
    Admin
    Petya avatar
    975 posts

    Posted 04 Sep 2015 Link to this post

    Hi Brian,

    Could you please confirm whether you're using RadFlowDocument and the WordsProcessing library? You mentioned the RichTextEditor control which also allows export to PDF format, but its model is based on the RadDocument class, so I'm not sure what exactly your setup is.

    Regards,
    Petya
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. Brian
    Brian avatar
    24 posts
    Member since:
    Apr 2008

    Posted 04 Sep 2015 in reply to Petya Link to this post

    Hi Petya,

    Yes, all processing is done by RadFlowDocument and the WordsProcessing library including the creation of the pdf.

    The RichTextEditor is only used for display.

    /Brian 

     

     

  4. Tanya
    Admin
    Tanya avatar
    405 posts

    Posted 09 Sep 2015 Link to this post

    Hello Brian,

    We are not aware of a similar issue in the RadWordsProcessing library. I tried to reproduce it, but couldn't and I am not able to tell what may cause it. It would be great if you could open a support ticket and share a sample document to reproduce the behavior on our end and investigate it further. 

    Regards,
    Tanya
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  5. Frankfrut RSC IM
    Frankfrut RSC IM avatar
    1 posts
    Member since:
    Oct 2012

    Posted 21 Jul Link to this post

    Brian,

    I have encountered this same problem.  

    Cell padding was lost when using the tableproperty.tablecellpadding:

    tableStyle.TableProperties.TableCellPadding.LocalValue = new Padding(10);

    If I directly added it to the table cell property, then it was maintained when exporting to PDF.

    tableStyle.TableCellProperties.Padding.LocalValue = new Padding(10);

    I am using Telerik ASP.NET version 2016.2.421.45 so this still seems to be a problem.

    Cheers,

  6. Mihail
    Admin
    Mihail avatar
    192 posts

    Posted 26 Jul Link to this post

    Hello,

    I can confirm that the table cell spacing and table cell padding are lost during PDF export. I have logged this as bug report into our feedback portal. Here is the link if you would like to subscribe for status changes: Table cell padding and table cell spacing are lost during PDF export.

    Please excuse us for the inconvenience.

    Regards,
    Mihail
    Telerik by Progress
    Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
  7. Mihail
    Admin
    Mihail avatar
    192 posts

    Posted 27 Jul Link to this post

    Hello,

    I am writing just to let you know that the table cell spacing and table cell padding have never been exported to PDF format. This means that the export of those two properties will be considered as a feature request. I have updated the feedback item to reflect the change.

    Regards,
    Mihail
    Telerik by Progress
    Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
  8. Daniel
    Daniel avatar
    8 posts
    Member since:
    Jun 2012

    Posted 28 Jul Link to this post

    I can confirm having the same issue. Hope it'll get fixed soon.
  9. Tanya
    Admin
    Tanya avatar
    405 posts

    Posted 02 Aug Link to this post

    Hello Daniel,

    I am afraid that the feature request is currently not scheduled for implementation and I am unable to say when it might be available. The best I could suggest you is to submit your vote for this functionality and subscribe to the related public item in order to receive updates about status changes on it.

    Regards,
    Tanya
    Telerik by Progress
    Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
Back to Top