Is it possible to show document contents (including rich text formatting) in standard android EditText widget? I didn’t find any way to extract string with formatting (probably SpannableString).
Thanks.
Hi,
Thanks for your inquiry. I think, you can simply get HTML string representation of document using document.toString(SaveFormat.HTML) method and then pass it to editor. Saving to RTF format (in a byte stream) is also possible using Document.Save() method. You can then pass this RTF stream to any RTF editor for display. I hope, this helps.
Best regards,