How can I start a RTF editor from scratch(using Java) -


i know may sound silly of experienced guys out there it’s important me , group @ school, need create software allows user create new rtf document scratch (like editor can center, change font size, style, save, insert picture), needs able read docx document images , format included , save rtf document.

what have done far being able open .docx document, extract text without format , put rtf document out. in other words using docx4j library have been able transform .docx document text .rtf, no pictures included, no formatting, plain text surrounded [ ].

we have made progress today can’t figure out next steps, considering delivery date in 72 hours, thought it’d idea ask more experienced people us. please leave answers or request info project, we’ll glad learn guys 

to convert .docx .rtf use library https://code.google.com/p/jodconverter/. heavy lifting you.


anyway, editor itself. if had fast could, use javafx make interface. there control called "rich text editor" (http://docs.oracle.com/javafx/2/ui_controls/editor.htm) can put application.

the trick here can extract html of editor using gethtmltext(), , can html rtf using... yes, library. suspect jodconverter can too, if not, can @ question: convert html rtf in java?.

this should give better idea of how project. there java libraries handle conversion between html , rtf, can use html editor (provided javafx). , of course, .docx can converted html too. let libraries dirty work :).


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -