#include <KoComplexText.h>
Types publics | |
enum | Shape { XIsolated, XFinal, XInitial, XMedial } |
Fonctions membres publiques statiques | |
static Shape | glyphVariant (const QString &str, int pos) |
static Shape | glyphVariantLogical (const QString &str, int pos) |
static QString | shapedString (const QString &str, int from=0, int len=-1, QPainter::LayoutDirection dir=QPainter::Auto, const QFontMetrics *fm=0) |
static QChar | shapedCharacter (const QString &str, int pos, const QFontMetrics *fm=0) |
static Q3PtrList< KoTextRun > * | bidiReorderLine (KoBidiControl *control, const QString &str, int start, int len, QChar::Direction basicDir=QChar::DirON) |
static QString | bidiReorderString (const QString &str, QChar::Direction basicDir=QChar::DirON) |
Définition à la ligne 94 du fichier KoComplexText.h.
enum KoComplexText::Shape |
Définition à la ligne 96 du fichier KoComplexText.h.
KoComplexText::Shape KoComplexText::glyphVariant | ( | const QString & | str, | |
int | pos | |||
) | [static] |
Définition à la ligne 157 du fichier KoComplexText.cpp.
Références KFormula::Center, nextVisualCharJoins(), prevVisualCharJoins(), KFormula::Right, XFinal, XInitial, XIsolated, et XMedial.
Voici le graphe d'appel pour cette fonction :
KoComplexText::Shape KoComplexText::glyphVariantLogical | ( | const QString & | str, | |
int | pos | |||
) | [static] |
Définition à la ligne 202 du fichier KoComplexText.cpp.
Références KFormula::Center, nextLogicalCharJoins(), prevLogicalCharJoins(), KFormula::Right, XFinal, XInitial, XIsolated, et XMedial.
Référencé par shapedCharacter(), et shapedString().
Voici le graphe d'appel pour cette fonction :
Voici le graphe d'appel pour cette fonction :
QString KoComplexText::shapedString | ( | const QString & | str, | |
int | from = 0 , |
|||
int | len = -1 , |
|||
QPainter::LayoutDirection | dir = QPainter::Auto , |
|||
const QFontMetrics * | fm = 0 | |||
) | [static] |
Définition à la ligne 557 du fichier KoComplexText.cpp.
Références arabicUnicodeLamAlefMapping, KoProperty::Auto, bidiReorderString(), getShape(), glyphVariantLogical(), nextChar(), gensymbolfontmap::pos, prevChar(), shapeBuffer, et shapeBufSize.
Voici le graphe d'appel pour cette fonction :
QChar KoComplexText::shapedCharacter | ( | const QString & | str, | |
int | pos, | |||
const QFontMetrics * | fm = 0 | |||
) | [static] |
Définition à la ligne 693 du fichier KoComplexText.cpp.
Références arabicUnicodeLamAlefMapping, getShape(), glyphVariantLogical(), nextChar(), et prevChar().
Voici le graphe d'appel pour cette fonction :
Q3PtrList< KoTextRun > * KoComplexText::bidiReorderLine | ( | KoBidiControl * | control, | |
const QString & | str, | |||
int | start, | |||
int | len, | |||
QChar::Direction | basicDir = QChar::DirON | |||
) | [static] |
Définition à la ligne 896 du fichier KoComplexText.cpp.
Références basicDirection(), KoBidiControl::context, KoBidiContext::dir, KoBidiStatus::eor, Py::int, KoBidiStatus::last, KoBidiStatus::lastStrong, KoTextRun::level, KoBidiContext::level, KoBidiContext::override, KoBidiContext::parent, KoBidiControl::setContext(), KoTextRun::start, KoBidiControl::status, et KoTextRun::stop.
Référencé par bidiReorderString().
Voici le graphe d'appel pour cette fonction :
Voici le graphe d'appel pour cette fonction :
QString KoComplexText::bidiReorderString | ( | const QString & | str, | |
QChar::Direction | basicDir = QChar::DirON | |||
) | [static] |
Définition à la ligne 1402 du fichier KoComplexText.cpp.
Références bidiReorderLine(), KoTextRun::level, KoTextRun::start, et KoTextRun::stop.
Référencé par shapedString().
Voici le graphe d'appel pour cette fonction :
Voici le graphe d'appel pour cette fonction :