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 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…