#ifndef PYTHONQTWRAPPER_QTEXTBLOCKFORMAT_H #define PYTHONQTWRAPPER_QTEXTBLOCKFORMAT_H #include #include #include #include #include #include #include #include #include class PythonQtWrapper_QTextBlockFormat : public QObject { Q_OBJECT public: public slots: QTextBlockFormat* new_QTextBlockFormat(); void delete_QTextBlockFormat(QTextBlockFormat* obj) { delete obj; } Qt::Alignment alignment(QTextBlockFormat* theWrappedObject) const; qreal bottomMargin(QTextBlockFormat* theWrappedObject) const; int indent(QTextBlockFormat* theWrappedObject) const; bool isValid(QTextBlockFormat* theWrappedObject) const; qreal leftMargin(QTextBlockFormat* theWrappedObject) const; bool nonBreakableLines(QTextBlockFormat* theWrappedObject) const; QTextFormat::PageBreakFlags pageBreakPolicy(QTextBlockFormat* theWrappedObject) const; qreal rightMargin(QTextBlockFormat* theWrappedObject) const; void setAlignment(QTextBlockFormat* theWrappedObject, Qt::Alignment alignment); void setBottomMargin(QTextBlockFormat* theWrappedObject, qreal margin); void setIndent(QTextBlockFormat* theWrappedObject, int indent); void setLeftMargin(QTextBlockFormat* theWrappedObject, qreal margin); void setNonBreakableLines(QTextBlockFormat* theWrappedObject, bool b); void setPageBreakPolicy(QTextBlockFormat* theWrappedObject, QTextFormat::PageBreakFlags flags); void setRightMargin(QTextBlockFormat* theWrappedObject, qreal margin); void setTabPositions(QTextBlockFormat* theWrappedObject, const QList& tabs); void setTextIndent(QTextBlockFormat* theWrappedObject, qreal margin); void setTopMargin(QTextBlockFormat* theWrappedObject, qreal margin); QList tabPositions(QTextBlockFormat* theWrappedObject) const; qreal textIndent(QTextBlockFormat* theWrappedObject) const; qreal topMargin(QTextBlockFormat* theWrappedObject) const; }; #endif // PYTHONQTWRAPPER_QTEXTBLOCKFORMAT_H