Import and Export to DOCX by using the Telerik Document Processing library

Thread is closed for posting
8 posts, 0 answers
  1. 63F75A2C-1F16-4AED-AFE8-B1BBD57646AD
    63F75A2C-1F16-4AED-AFE8-B1BBD57646AD avatar
    1572 posts
    Member since:
    Oct 2004

    Posted 16 Jun 2014 Link to this post

    Requirements

    Telerik Product and Version

    Q2 2014

    Supported Browsers and Platforms

    All browsers supported by the Telerik UI for ASP.NET AJAX

    Components/Widgets used (JS frameworks, etc.)

    .NET4+


    PROJECT DESCRIPTION 
    This code library demonstrates an approach to implement a custom export/import functionality to .docx files using the Telerik Document Processing libraries. 

    Since Q2 2014 version the installation of the Telerik UI for ASP.NET AJAX bundle comes with the Telerik.Windows.Documents assemblies. More details about how to get them, their purpose and additional documentation links are available in the Included Assemblies article.

    The needed libraries are:

    • Telerik.Windows.Documents.Core.dll
    • Telerik.Windows.Documents.Flow.dll
    • Telerik.Windows.Zip.dll

    After adding references to these assemblies you should implement custom classes responsible for the import and export functionality. Note that the class for exporting the HTML to .docx should inherit the RadEditorExportTemplate class.

    Further details about the classes and methods used in the samples are available in these help articles:

  2. E7895AC6-D093-4C73-B1EF-9FD3A2F4F497
    E7895AC6-D093-4C73-B1EF-9FD3A2F4F497 avatar
    10 posts
    Member since:
    Dec 2013

    Posted 23 Jul 2014 in reply to 63F75A2C-1F16-4AED-AFE8-B1BBD57646AD Link to this post

    Hi,
             How to Import and Export to PDF by using the Telerik Document Processing library..
  3. 6A1BF0D5-6FFD-433C-915E-06894F47CB2D
    6A1BF0D5-6FFD-433C-915E-06894F47CB2D avatar
    1959 posts
    Member since:
    Apr 2022

    Posted 23 Jul 2014 Link to this post

    Hi,

    Currently using the WPF Document Processing libraries to export RadEditor content to PDF is not possible.

    This is an ongoing task and when such functionality is possible, proper materials with corresponding information on how to achieve it will be posted.

    Regards,
    Ianko
    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
     
  4. F9D76D75-D632-401E-A03A-7A3F9C1FBB38
    F9D76D75-D632-401E-A03A-7A3F9C1FBB38 avatar
    8 posts
    Member since:
    Jul 2016

    Posted 16 Aug 2016 Link to this post

    How can I import a DocX created with Telerik into a RadEditor passing by the HtmlDocumentProvider without loosing the format of the document (Justification, bold, etc.)?
  5. A1CE16C4-4C2E-464E-BF18-532525D276CA
    A1CE16C4-4C2E-464E-BF18-532525D276CA avatar
    5948 posts
    Member since:
    Apr 2022

    Posted 18 Aug 2016 Link to this post

    Hello Luis,

    RadEditor, ultimately, takes an XHTML string for its content. If you have a docx file that you need to put in RadEditor, you have a few options:

    Regards,

    Marin Bratanov
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  6. F9D76D75-D632-401E-A03A-7A3F9C1FBB38
    F9D76D75-D632-401E-A03A-7A3F9C1FBB38 avatar
    8 posts
    Member since:
    Jul 2016

    Posted 18 Aug 2016 Link to this post

    That is correct, I have tried the stream and the bytes array and in both cases I lost the format, the docx is created vía telerik documents, using a document.editor, and even transforming it to htlm the format is lost, I have created a new one docx using paragraphs and sections in place of document.editor and the format is not lost
  7. A1CE16C4-4C2E-464E-BF18-532525D276CA
    A1CE16C4-4C2E-464E-BF18-532525D276CA avatar
    5948 posts
    Member since:
    Apr 2022

    Posted 19 Aug 2016 Link to this post

    Hi Luis,

    I advise that you open a support ticket for the RadWordsProcessing for ASP.NET AJAX product and give us an example what you are doing so we can see what's going on.

    Regards,

    Marin Bratanov
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  8. B2A6471D-B39A-4B01-934D-4174F0865A37
    B2A6471D-B39A-4B01-934D-4174F0865A37 avatar
    1 posts
    Member since:
    Mar 2018

    Posted 12 Mar 2018 Link to this post

    i want to need to use Import And export Group in RadRichtextbox for WPF .... i have also use the import group in my app and doing work fine but issue is lost the formatting ......    Give me a solution....  If You have........ 
Back to Top

This Code Library is part of the product documentation and subject to the respective product license agreement.