On Fri, 2017-03-03 at 08:25 +0000, Peter Remec wrote:
> I'm generating a .docx file using Apache POI. This file contains a lot of SQL 
> code and is quite unreadable so I was thinking about coloring that code. Any 
> idea how to achieve that? 
> 
> I understand that POI doesn't have some highlighter to complete this task. 
> I'm just looking for some idea of how to highlight it during file generation 
> with POI.


Peter,

for a similar task I use the combination of 
http://www.dpriver.com/pp/sqlformat.htm (for beautifying the SQL) and
RSyntaxTextArea (for Highlighting and RTF). Works like a charm, but you will 
need a Internet Connection.

Cheers
Andreas

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to