class QgsComposerHtml: QgsComposerMultiFrame { %TypeHeaderCode #include "qgscomposerhtml.h" %End public: QgsComposerHtml( QgsComposition* c, bool createUndoCommands ); QgsComposerHtml(); ~QgsComposerHtml(); void setUrl( const QUrl& url ); const QUrl& url() const; QSizeF totalSize() const; void render( QPainter* p, const QRectF& renderExtent ); bool writeXML( QDomElement& elem, QDomDocument & doc, bool ignoreFrames = false ) const; bool readXML( const QDomElement& itemElem, const QDomDocument& doc, bool ignoreFrames = false ); void addFrame( QgsComposerFrame* frame, bool recalcFrameSizes = true ); /**Returns whether html item is using smart breaks. Smart breaks prevent * the html frame contents from breaking mid-way though a line of text. * @returns true if html item is using smart breaks * @see setUseSmartBreaks */ bool useSmartBreaks() const; /**Sets whether the html item should use smart breaks. Smart breaks prevent * the html frame contents from breaking mid-way though a line of text. * @param useSmartBreaks set to true to prevent content from breaking * mid-way through a line of text * @see useSmartBreaks */ void setUseSmartBreaks( bool useSmartBreaks ); };