Home
last modified time | relevance | path

Searched refs:jsonFont (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_pattern.cpp8987 auto jsonFont = JsonUtil::Create(true); in OnBackPressed() local
8988 jsonFont->Put("size", GetFontSizeInJson(layoutProperty->GetPlaceholderFontSize()).c_str()); in OnBackPressed()
8989jsonFont->Put("weight", GetFontWeightInJson(layoutProperty->GetPlaceholderFontWeight()).c_str()); in OnBackPressed()
8990jsonFont->Put("family", GetFontFamilyInJson(layoutProperty->GetPlaceholderFontFamily()).c_str()); in OnBackPressed()
8991jsonFont->Put("style", GetFontStyleInJson(layoutProperty->GetPlaceholderItalicFontStyle()).c_str()… in OnBackPressed()
8993 jsonStyle->Put("font", jsonFont->ToString().c_str()); in OnBackPressed()