Home
last modified time | relevance | path

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

/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/adapter/skia_txt/
H A Dconvert_test.cpp123 PlaceholderSpan placeholderSpan; variable
124 placeholderSpan.alignment = PlaceholderVerticalAlignment::OFFSET_AT_BASELINE;
125 SPText::PlaceholderRun placeholderRun = AdapterTxt::Convert(placeholderSpan);
H A Dtypography_create_test.cpp63 const OHOS::Rosen::PlaceholderSpan placeholderSpan = {0.0, 0.0, variable
65 typographyCreate->AppendPlaceholder(placeholderSpan);
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/paragraph_builder_napi/
H A Djs_paragraph_builder.cpp222 PlaceholderSpan placeholderSpan; in OnAddPlaceholder() local
223 bool res = GetPlaceholderSpanFromJS(env, argv[0], placeholderSpan); in OnAddPlaceholder()
227 typographyCreate_->AppendPlaceholder(placeholderSpan); in OnAddPlaceholder()
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/utils/
H A Dnapi_common.cpp389 bool GetPlaceholderSpanFromJS(napi_env env, napi_value argValue, PlaceholderSpan& placeholderSpan) in GetPlaceholderSpanFromJS() argument
398 placeholderSpan.width = width; in GetPlaceholderSpanFromJS()
406 placeholderSpan.height = height; in GetPlaceholderSpanFromJS()
414 placeholderSpan.alignment = PlaceholderVerticalAlignment(align); in GetPlaceholderSpanFromJS()
422 placeholderSpan.baseline = TextBaseline(baseline); in GetPlaceholderSpanFromJS()
430 placeholderSpan.baselineOffset = baselineOffset; in GetPlaceholderSpanFromJS()
H A Dnapi_common.h506 bool GetPlaceholderSpanFromJS(napi_env env, napi_value argValue, PlaceholderSpan& placeholderSpan);
/ohos5.0/docs/zh-cn/application-dev/graphics/
H A Dtext-js-guidelines.md15 | addPlaceholder(placeholderSpan: PlaceholderSpan): void | 用于在构建文本段落时插入占位符。 |
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_richeditor.h185 void ParseOptions(const JSCallbackInfo& args, SpanOptionBase& placeholderSpan);
H A Djs_richeditor.cpp1922 …d JSRichEditorController::ParseOptions(const JSCallbackInfo& args, SpanOptionBase& placeholderSpan) in ParseOptions() argument
1936 placeholderSpan.offset = placeholderOffset; in ParseOptions()
/ohos5.0/docs/en/application-dev/graphics/
H A Dtext-js-guidelines.md15 | addPlaceholder(placeholderSpan: PlaceholderSpan): void | Inserts a placeholder into the paragraph…
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkgraphics2d/
H A Djs-apis-graphics-text.md1451 addPlaceholder(placeholderSpan: PlaceholderSpan): void
1461 | placeholderSpan | [PlaceholderSpan](#placeholderspan) | 是 | 定义了占位符的尺寸、对齐方式、基线类型以及基线偏移量。 |
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_pattern.cpp2313 auto placeholderSpan = DynamicCast<PlaceholderSpanItem>(span); in GetSubComponentInfosForSpans() local
2314 if ((placeholderSpan != nullptr) && (placeholderSpan->placeholderSpanNodeId >=0)) { in GetSubComponentInfosForSpans()
2954 auto placeholderSpan = placeholderSpanNode->GetSpanItem(); in AddChildSpanItem() local
2955 placeholderSpan->placeholderSpanNodeId = placeholderSpanNode->GetId(); in AddChildSpanItem()
2956 spans_.emplace_back(placeholderSpan); in AddChildSpanItem()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/ndk/
H A Ddrawing_text_typography_test.cpp831 OH_Drawing_PlaceholderSpan placeholderSpan = {20, 40, variable
833 OH_Drawing_TypographyHandlerAddPlaceholder(handler, &placeholderSpan);
/ohos5.0/docs/en/application-dev/reference/apis-arkgraphics2d/
H A Djs-apis-graphics-text.md1454 addPlaceholder(placeholderSpan: PlaceholderSpan): void
1464 | placeholderSpan | [PlaceholderSpan](#placeholderspan) | Yes | Placeholder span, which describes …