locked
Convert RTF to OOXML RRS feed

  • Question

  • We have an Oracle database with BLOB holding RTF data. We need to convert this RTF data to OOXML, how can I do that?

    We are taking the text from the database and loading it into a Word 2013 content control. The content control can not interpret the data as is (RTF), but if we load OOXML data to the content control it displays with all the formatting.

    We need a way to convert our existing data from RTF to OOXML.

    • Edited by Barr_Pearl Friday, October 16, 2015 2:46 PM
    Friday, October 16, 2015 2:43 PM

Answers

  • Hi,

    As far as I know, Microsoft Office suit has no build-in tools to convert RTF to OOXML. We might need to use some third party tools or write the code by yourself.

    If you need more help about coding, you can ask the question to MSDN forum:

    https://social.msdn.microsoft.com/Forums/en-US/home?category=officedev

    Regards,

    George Zhao
    TechNet Community Support


    Please mark the reply as an answer if you find it is helpful.

    If you have feedback for TechNet Support, contact tnmff@microsoft.com.
    • Proposed as answer by George123345 Wednesday, October 28, 2015 7:27 AM
    • Marked as answer by George123345 Friday, October 30, 2015 5:38 AM
    Monday, October 19, 2015 2:50 AM
  • If you save the RTF data as an RTF file, Word should be able to open that and you can then copy from the opened RTF file into the content control.

    Cheers
    Paul Edstein
    [MS MVP - Word]

    • Proposed as answer by George123345 Wednesday, October 28, 2015 7:27 AM
    • Marked as answer by George123345 Friday, October 30, 2015 5:38 AM
    Monday, October 19, 2015 6:58 AM

All replies

  • Hi,

    As far as I know, Microsoft Office suit has no build-in tools to convert RTF to OOXML. We might need to use some third party tools or write the code by yourself.

    If you need more help about coding, you can ask the question to MSDN forum:

    https://social.msdn.microsoft.com/Forums/en-US/home?category=officedev

    Regards,

    George Zhao
    TechNet Community Support


    Please mark the reply as an answer if you find it is helpful.

    If you have feedback for TechNet Support, contact tnmff@microsoft.com.
    • Proposed as answer by George123345 Wednesday, October 28, 2015 7:27 AM
    • Marked as answer by George123345 Friday, October 30, 2015 5:38 AM
    Monday, October 19, 2015 2:50 AM
  • If you save the RTF data as an RTF file, Word should be able to open that and you can then copy from the opened RTF file into the content control.

    Cheers
    Paul Edstein
    [MS MVP - Word]

    • Proposed as answer by George123345 Wednesday, October 28, 2015 7:27 AM
    • Marked as answer by George123345 Friday, October 30, 2015 5:38 AM
    Monday, October 19, 2015 6:58 AM