[QScintilla] QScintilla feature request HTML export

Detlev Offenbach detlev at die-offenbachs.de
Fri Sep 14 18:28:19 BST 2007


On Donnerstag, 13. September 2007, TS wrote:
> Detlev Offenbach wrote:
> > 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
>
> Hi Detlev,
>
> did you implement the HTML export on your own and is it written in
> Python or C++? I need a C++ implementation.
>
> Thomas
> _______________________________________________
> QScintilla mailing list
> QScintilla at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/qscintilla

It is written in Python. It is basically a port (with enhancements and fixes) 
of the C++ code found in Scite.

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


More information about the QScintilla mailing list