U_CAPI le_int32 U_EXPORT2 pl_countLineRuns(const pl_line *line) { ParagraphLayout::Line *ll = (ParagraphLayout::Line *) line; if (ll == NULL) { return 0; } return ll->countRuns(); }
int CountRuns() const { return l->countRuns(); }
ICULine(ParagraphLayout::Line *l) : l(l) { for (int i = 0; i < l->countRuns(); i++) { *this->Append() = new ICUVisualRun(l->getVisualRun(i)); } }