[Qt-interest] QTextDocument/QTextCursor: process formatted text including newlines(!) ?

noname freekee1 at gmx.de
Sun Jun 28 14:15:54 CEST 2009


hi,
i have some troubles processing a QTextDocument (to bring the contents 
to another format).
i need to get the formatted text, so i'm using QTextCursor, which is 
working fine, except that all the newlines ('\n')
are gone (they are converted to QChar::ParagraphSeparator afaik).
so, is there a way to get the formatted content (including frames, 
tables, lists, etc.) of a QTextDocument _with newlines_?

thanks in advance!
sincerely,
julian



More information about the Qt-interest-old mailing list