[QScintilla] QScintilla feature request HTML export

Detlev Offenbach detlev at die-offenbachs.de
Tue Sep 11 18:31:15 BST 2007


On Dienstag, 11. September 2007, TS wrote:
> Hello Phil,
>
> currently QScintilla supports export of the syntax highlighted code as
> PDF but not as HTML.
>
> For PDF I call:
> QsciPrinter printer(QPrinter::HighResolution);
> printer.setOutputFormat(QPrinter::PdfFormat);
> printer.setOutputFileName(fileName);
> printer.printRange(texteditSourceCode);
>
> fileName is a QString and texteditSourceCode is of the type QsciScintilla.
>
> Is there any way to do the same for HTML?
>
> Regards,
>
>     Thomas
> _______________________________________________
> QScintilla mailing list
> QScintilla at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/qscintilla

The next snapshot of eric4 will have an HTML exporter, which includes the 
syntax highlighting and offers to keep the folding as well. The availability 
will be announced in the eric and PyQt mailing lists.

Detlev
-- 
Detlev Offenbach
detlev at die-offenbachs.de


More information about the QScintilla mailing list