+Length View::GetNumberOfUnderlineRuns() const
+{
+ if(mImpl->mVisualModel)
+ {
+ return mImpl->mVisualModel->GetNumberOfUnderlineRuns();
+ }
+
+ return 0u;
+}
+
+void View::GetUnderlineRuns(GlyphRun* underlineRuns,
+ UnderlineRunIndex index,
+ Length numberOfRuns) const
+{
+ if(mImpl->mVisualModel)
+ {
+ mImpl->mVisualModel->GetUnderlineRuns(underlineRuns,
+ index,
+ numberOfRuns);
+ }
+}
+
+const Vector4& View::GetOutlineColor() const
+{
+ if(mImpl->mVisualModel)
+ {
+ return mImpl->mVisualModel->GetOutlineColor();
+ }
+ return Vector4::ZERO;
+}
+
+uint16_t View::GetOutlineWidth() const
+{
+ if(mImpl->mVisualModel)
+ {
+ return mImpl->mVisualModel->GetOutlineWidth();
+ }
+ return 0u;
+}
+
+DevelText::EllipsisPosition::Type View::GetEllipsisPosition() const
+{
+ DevelText::EllipsisPosition::Type ellipsisPosition = DevelText::EllipsisPosition::END;
+ if(mImpl->mVisualModel)
+ {
+ const VisualModel& model = *mImpl->mVisualModel;
+ ellipsisPosition = model.GetEllipsisPosition();
+ }
+
+ return ellipsisPosition;
+}
+
+bool View::IsTextElideEnabled() const
+{
+ bool isTextElideEnabled = false;
+
+ if(mImpl->mVisualModel)
+ {
+ const VisualModel& model = *mImpl->mVisualModel;
+ isTextElideEnabled = model.IsTextElideEnabled();
+ }
+
+ return isTextElideEnabled;
+}
+
+GlyphIndex View::GetStartIndexOfElidedGlyphs() const
+{
+ GlyphIndex startIndexOfElidedGlyphs = 0u;
+
+ if(mImpl->mVisualModel)
+ {
+ const VisualModel& model = *mImpl->mVisualModel;
+ startIndexOfElidedGlyphs = model.GetStartIndexOfElidedGlyphs();
+ }
+
+ return startIndexOfElidedGlyphs;
+}
+
+GlyphIndex View::GetEndIndexOfElidedGlyphs() const
+{
+ GlyphIndex endIndexOfElidedGlyphs = 0u;
+
+ if(mImpl->mVisualModel)
+ {
+ const VisualModel& model = *mImpl->mVisualModel;
+ endIndexOfElidedGlyphs = model.GetEndIndexOfElidedGlyphs();
+ }
+
+ return endIndexOfElidedGlyphs;
+}
+
+GlyphIndex View::GetFirstMiddleIndexOfElidedGlyphs() const
+{
+ GlyphIndex firstMiddleIndexOfElidedGlyphs = 0u;
+
+ if(mImpl->mVisualModel)
+ {
+ const VisualModel& model = *mImpl->mVisualModel;
+ firstMiddleIndexOfElidedGlyphs = model.GetFirstMiddleIndexOfElidedGlyphs();
+ }
+
+ return firstMiddleIndexOfElidedGlyphs;
+}
+
+GlyphIndex View::GetSecondMiddleIndexOfElidedGlyphs() const
+{
+ GlyphIndex secondMiddleIndexOfElidedGlyphs = 0u;
+
+ if(mImpl->mVisualModel)
+ {
+ const VisualModel& model = *mImpl->mVisualModel;
+ secondMiddleIndexOfElidedGlyphs = model.GetSecondMiddleIndexOfElidedGlyphs();
+ }
+
+ return secondMiddleIndexOfElidedGlyphs;
+}