Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
452 views
in Technique[技术] by (71.8m points)

decode - How to convert RTF text to OOXML format?

I have created a project in that I need OOXML format for adding values to display and I receive RTF format from API.

Sample RTF:

{ tf1ansiansicpg1252deff0 ouicompat{fonttbl{f0fnilfcharset0 Microsoft Sans Serif;}{f1fswissfprq2fcharset0 Microsoft Sans Serif;}{f2fnilfcharset2 Symbol;}} {colortbl ; ed0green0lue255; ed5green99lue193;} {generator Riched20 10.0.17763}viewkind4uc1 pardf0fs17lang1033 uses the parenthetical citation style, with most versions following format:par par pard{pntextf2'B7ab}{pnpnlvlbltpnf2pnindent0{pntxtb'B7}}... (Smith, 2005).par {pntextf2'B7ab}Smith (2005) stated ...par pardpar The Harvard system can vary, so please check your institution's style guide to confirm. par par pardwidctlpar {f1fs16{field{*fldinst{HYPERLINK "https://mysitehere"}}{fldrslt{ulcf1cf2ullang2057 Click here}}}}f1fs16 for more information.f0fs17par }

I also try to convert it into HTML and Word format but I am unable to do that. If anyone has an idea about this please help me out.

question from:https://stackoverflow.com/questions/65931813/how-to-convert-rtf-text-to-ooxml-format

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...