return mVisualModel->IsUnderlineEnabled();
}
+bool const Model::IsMarkupUnderlineSet() const
+{
+ return (mVisualModel->mUnderlineRuns.Count() > 0u);
+}
+
float Model::GetUnderlineHeight() const
{
return mVisualModel->GetUnderlineHeight();
return mVisualModel->IsMarkupProcessorEnabled();
}
+bool Model::IsSpannedTextPlaced() const
+{
+ return mLogicalModel->mSpannedTextPlaced;
+}
+
const GlyphInfo* Model::GetHyphens() const
{
return mVisualModel->mHyphen.glyph.Begin();
return mVisualModel->IsStrikethroughEnabled();
}
+bool const Model::IsMarkupStrikethroughSet() const
+{
+ return (mVisualModel->mStrikethroughRuns.Count() > 0u);
+}
+
float Model::GetStrikethroughHeight() const
{
return mVisualModel->GetStrikethroughHeight();
return mVisualModel->mGlyphsToCharacters;
}
+const Vector<FontRun>& Model::GetFontRuns() const
+{
+ return mLogicalModel->mFontRuns;
+}
+
+const Vector<FontDescriptionRun>& Model::GetFontDescriptionRuns() const
+{
+ return mLogicalModel->mFontDescriptionRuns;
+}
+
Model::Model()
: mLogicalModel(),
mVisualModel(),