Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 25208 → Rev 25209

/branches/Version15x/Scribus/scribus/text/textshaper.cpp
42,7 → 42,7
}
}
 
QList<TextShaper::TextRun> TextShaper::itemizeBiDi() const
QList<TextShaper::TextRun> TextShaper::itemizeBiDi(int fromPos) const
{
QList<TextRun> textRuns;
UBiDi *obj = ubidi_open();
49,7 → 49,7
UErrorCode err = U_ZERO_ERROR;
 
UBiDiLevel parLevel = UBIDI_LTR;
ParagraphStyle style = m_story.paragraphStyle(m_firstChar);
ParagraphStyle style = m_story.paragraphStyle(fromPos);
if (style.direction() == ParagraphStyle::RTL)
parLevel = UBIDI_RTL;
 
274,7 → 274,7
 
buildText(fromPos, toPos, smallCaps);
 
QList<TextRun> bidiRuns = itemizeBiDi();
QList<TextRun> bidiRuns = itemizeBiDi(fromPos);
QList<TextRun> scriptRuns = itemizeScripts(bidiRuns);
QList<TextRun> textRuns = itemizeStyles(scriptRuns);
 
/branches/Version15x/Scribus/scribus/text/textshaper.h
55,7 → 55,7
 
void buildText(int fromPos, int toPos, QVector<int>& smallCaps);
 
QList<TextRun> itemizeBiDi() const;
QList<TextRun> itemizeBiDi(int fromPos) const;
QList<TextRun> itemizeScripts(const QList<TextRun> &runs) const;
QList<TextRun> itemizeStyles(const QList<TextRun> &runs) const;
QList<FeaturesRun> itemizeFeatures(const TextRun &run) const;