![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qtextodfwriter_p.h>
Public Member Functions | |
| QTextOdfWriter (const QTextDocument &document, QIODevice *device) | |
| bool | writeAll () |
| void | setCreateArchive (bool on) |
| bool | createArchive () const |
| void | writeBlock (QXmlStreamWriter &writer, const QTextBlock &block) |
| void | writeFormats (QXmlStreamWriter &writer, const QSet< int > &formatIds) const |
| void | writeBlockFormat (QXmlStreamWriter &writer, const QTextBlockFormat &formatformat, int formatIndex) const |
| void | writeCharacterFormat (QXmlStreamWriter &writer, const QTextCharFormat &formatformat, int formatIndex) const |
| void | writeListFormat (QXmlStreamWriter &writer, const QTextListFormat &formatformat, int formatIndex) const |
| void | writeFrameFormat (QXmlStreamWriter &writer, const QTextFrameFormat &formatformat, int formatIndex) const |
| void | writeTableFormat (QXmlStreamWriter &writer, const QTextTableFormat &formatformat, int formatIndex) const |
| void | writeTableCellFormat (QXmlStreamWriter &writer, const QTextTableCellFormat &formatformat, int formatIndex, const QList< QTextFormat > &styles) const |
| void | writeFrame (QXmlStreamWriter &writer, const QTextFrame *frame) |
| void | writeInlineCharacter (QXmlStreamWriter &writer, const QTextFragment &fragment) const |
Public Attributes | |
| const QString | officeNS |
| const QString | textNS |
| const QString | styleNS |
| const QString | foNS |
| const QString | tableNS |
| const QString | drawNS |
| const QString | xlinkNS |
| const QString | svgNS |
| const int | defaultImageResolution = 11811 |
Protected Member Functions | |
| void | tableCellStyleElement (QXmlStreamWriter &writer, int formatIndex, const QTextTableCellFormat &formatformat, bool hasBorder) const |
Static Protected Member Functions | |
| static QTextTableCellFormat | mergeFormats (const QTextTableCellFormat &cell, const QTextTableFormat &tabletable) |
Definition at line 44 of file qtextodfwriter_p.h.
| QTextOdfWriter::QTextOdfWriter | ( | const QTextDocument & | document, |
| QIODevice * | device ) |
Definition at line 1063 of file qtextodfwriter.cpp.
|
inline |
Definition at line 50 of file qtextodfwriter_p.h.
|
staticprotected |
Definition at line 926 of file qtextodfwriter.cpp.
|
inline |
Definition at line 49 of file qtextodfwriter_p.h.
|
protected |
Definition at line 988 of file qtextodfwriter.cpp.
| bool QTextOdfWriter::writeAll | ( | ) |
Definition at line 1079 of file qtextodfwriter.cpp.
| void QTextOdfWriter::writeBlock | ( | QXmlStreamWriter & | writer, |
| const QTextBlock & | block ) |
Definition at line 252 of file qtextodfwriter.cpp.
| void QTextOdfWriter::writeBlockFormat | ( | QXmlStreamWriter & | writer, |
| const QTextBlockFormat & | format, | ||
| int | formatIndex ) const |
Definition at line 516 of file qtextodfwriter.cpp.
| void QTextOdfWriter::writeCharacterFormat | ( | QXmlStreamWriter & | writer, |
| const QTextCharFormat & | format, | ||
| int | formatIndex ) const |
Definition at line 634 of file qtextodfwriter.cpp.
| void QTextOdfWriter::writeFormats | ( | QXmlStreamWriter & | writer, |
| const QSet< int > & | formatIds ) const |
Definition at line 485 of file qtextodfwriter.cpp.
| void QTextOdfWriter::writeFrame | ( | QXmlStreamWriter & | writer, |
| const QTextFrame * | frame ) |
Definition at line 181 of file qtextodfwriter.cpp.
| void QTextOdfWriter::writeFrameFormat | ( | QXmlStreamWriter & | writer, |
| const QTextFrameFormat & | format, | ||
| int | formatIndex ) const |
Definition at line 837 of file qtextodfwriter.cpp.
| void QTextOdfWriter::writeInlineCharacter | ( | QXmlStreamWriter & | writer, |
| const QTextFragment & | fragment ) const |
Definition at line 400 of file qtextodfwriter.cpp.
| void QTextOdfWriter::writeListFormat | ( | QXmlStreamWriter & | writer, |
| const QTextListFormat & | format, | ||
| int | formatIndex ) const |
Definition at line 800 of file qtextodfwriter.cpp.
| void QTextOdfWriter::writeTableCellFormat | ( | QXmlStreamWriter & | writer, |
| const QTextTableCellFormat & | format, | ||
| int | formatIndex, | ||
| const QList< QTextFormat > & | styles ) const |
Definition at line 964 of file qtextodfwriter.cpp.
| void QTextOdfWriter::writeTableFormat | ( | QXmlStreamWriter & | writer, |
| const QTextTableFormat & | format, | ||
| int | formatIndex ) const |
! HARD-CODING variableWidth Constraints to 100% / nr constraints
Definition at line 865 of file qtextodfwriter.cpp.
| const int QTextOdfWriter::defaultImageResolution = 11811 |
Definition at line 65 of file qtextodfwriter_p.h.
| const QString QTextOdfWriter::drawNS |
Definition at line 64 of file qtextodfwriter_p.h.
| const QString QTextOdfWriter::foNS |
Definition at line 64 of file qtextodfwriter_p.h.
| const QString QTextOdfWriter::officeNS |
Definition at line 64 of file qtextodfwriter_p.h.
| const QString QTextOdfWriter::styleNS |
Definition at line 64 of file qtextodfwriter_p.h.
| const QString QTextOdfWriter::svgNS |
Definition at line 64 of file qtextodfwriter_p.h.
| const QString QTextOdfWriter::tableNS |
Definition at line 64 of file qtextodfwriter_p.h.
| const QString QTextOdfWriter::textNS |
Definition at line 64 of file qtextodfwriter_p.h.
| const QString QTextOdfWriter::xlinkNS |
Definition at line 64 of file qtextodfwriter_p.h.