Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_richeditor.h115 … const JSRef<JSObject>& styleObject, TextStyle& style, struct UpdateSpanStyle& updateSpanStyle);
117 struct UpdateSpanStyle& updateSpanStyle, bool isSupportPercent = true);
119 struct UpdateSpanStyle& updateSpanStyle);
147 struct UpdateSpanStyle typingStyle_;
149 static JSRef<JSObject> CreateTypingStyleResult(const struct UpdateSpanStyle& typingStyle);
151 … const JSRef<JSObject>& styleObject, TextStyle& style, struct UpdateSpanStyle& updateSpanStyle);
153 … const JSRef<JSObject>& styleObject, TextStyle& style, struct UpdateSpanStyle& updateSpanStyle);
189 … const JSRef<JSObject>& styleObject, TextStyle& style, struct UpdateSpanStyle& updateSpanStyle);
191 void UpdateSpanStyle(const JSCallbackInfo& info);
216 struct UpdateSpanStyle updateSpanStyle_;
H A Djs_richeditor.cpp1405 const JSRef<JSObject>& styleObject, TextStyle& style, struct UpdateSpanStyle& updateSpanStyle) in ParseJsSymbolSpanStyle()
1960 …JSRichEditorController>::CustomMethod("updateSpanStyle", &JSRichEditorController::UpdateSpanStyle); in JSBind()
2105 void JSRichEditorController::UpdateSpanStyle(const JSCallbackInfo& info) in UpdateSpanStyle() function in OHOS::Ace::Framework::JSRichEditorController
2141 richEditorController->UpdateSpanStyle(start, end, textStyle, imageStyle); in UpdateSpanStyle()
2281 const JSRef<JSObject>& styleObject, TextStyle& style, struct UpdateSpanStyle& updateSpanStyle) in ParseJsTextStyle()
2330 TextStyle& style, struct UpdateSpanStyle& updateSpanStyle, bool isSupportPercent) in ParseJsLineHeightLetterSpacingTextStyle()
2376 TextStyle& style, struct UpdateSpanStyle& updateSpanStyle) in ParseJsFontFeatureTextStyle()
2394 const JSRef<JSObject>& styleObject, TextStyle& style, struct UpdateSpanStyle& updateSpanStyle) in ParseTextDecoration()
2426 const JSRef<JSObject>& styleObject, TextStyle& style, struct UpdateSpanStyle& updateSpanStyle) in ParseTextShadow()
2447 auto style = CreateTypingStyleResult(typingStyle.value_or(UpdateSpanStyle())); in GetTypingStyle()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_controller.h34 …void UpdateSpanStyle(int32_t start, int32_t end, TextStyle textStyle, ImageSpanAttribute imageStyl…
35 void SetUpdateSpanStyle(struct UpdateSpanStyle updateSpanStyle) override;
45 struct UpdateSpanStyle updateSpanStyle_;
H A Drich_editor_base_controller.h33 …void SetTypingStyle(std::optional<struct UpdateSpanStyle> typingStyle, std::optional<TextStyle> te…
34 std::optional<struct UpdateSpanStyle> GetTypingStyle() override;
H A Drich_editor_controller.cpp50 void RichEditorController::UpdateSpanStyle( in UpdateSpanStyle() function in OHOS::Ace::NG::RichEditorController
67 richEditorPattern->UpdateSpanStyle(start, end, textStyle, imageStyle); in UpdateSpanStyle()
71 void RichEditorController::SetUpdateSpanStyle(struct UpdateSpanStyle updateSpanStyle) in SetUpdateSpanStyle()
H A Drich_editor_base_controller.cpp50 void RichEditorBaseController::SetTypingStyle(std::optional<struct UpdateSpanStyle> typingStyle, in SetTypingStyle()
58 std::optional<struct UpdateSpanStyle> RichEditorBaseController::GetTypingStyle() in GetTypingStyle()
H A Drich_editor_pattern.h359 …const std::string& insertValue, const struct UpdateSpanStyle& updateSpanStyle, const TextStyle& te…
361 const struct UpdateSpanStyle& updateSpanStyle, const TextStyle& textStyle, int32_t length);
363 const struct UpdateSpanStyle& updateSpanStyle, const TextStyle& textStyle, int32_t length);
515 void SetUpdateSpanStyle(struct UpdateSpanStyle updateSpanStyle);
516 struct UpdateSpanStyle GetUpdateSpanStyle();
520 …void SetTypingStyle(std::optional<struct UpdateSpanStyle> typingStyle, std::optional<TextStyle> te…
521 std::optional<struct UpdateSpanStyle> GetTypingStyle();
1061 RefPtr<SpanNode>& spanNode, struct UpdateSpanStyle& updateSpanStyle, TextStyle& textStyle);
1063 …void UpdateTextStyle(RefPtr<SpanNode>& spanNode, struct UpdateSpanStyle updateSpanStyle, TextStyle…
1377 struct UpdateSpanStyle updateSpanStyle_;
[all …]
H A Drich_editor_model.h68 struct UpdateSpanStyle { struct
290 virtual void SetTypingStyle(std::optional<struct UpdateSpanStyle> typingStyle,
292 virtual std::optional<struct UpdateSpanStyle> GetTypingStyle() = 0;
311 virtual void UpdateSpanStyle(
313 virtual void SetUpdateSpanStyle(struct UpdateSpanStyle updateSpanStyle) = 0;
H A Drich_editor_pattern.cpp344 const struct UpdateSpanStyle& updateSpanStyle, const TextStyle& textStyle, int32_t length) in CreateFontSpanByTextStyle()
366 const struct UpdateSpanStyle& updateSpanStyle, const TextStyle& textStyle, int32_t length) in CreateDecorationSpanByTextStyle()
1879 void RichEditorPattern::SetUpdateSpanStyle(struct UpdateSpanStyle updateSpanStyle) in SetUpdateSpanStyle()
1886 void RichEditorPattern::SetTypingStyle(std::optional<struct UpdateSpanStyle> typingStyle, in SetTypingStyle()
1899 UpdateSpanStyle RichEditorPattern::GetUpdateSpanStyle() in GetUpdateSpanStyle()
1904 std::optional<struct UpdateSpanStyle> RichEditorPattern::GetTypingStyle() in GetTypingStyle()
1918 RefPtr<SpanNode>& spanNode, struct UpdateSpanStyle updateSpanStyle, TextStyle textStyle) in UpdateTextStyle()
1981 RefPtr<SpanNode>& spanNode, struct UpdateSpanStyle updateSpanStyle, TextStyle textStyle) in UpdateSymbolStyle()
2075 void RichEditorPattern::UpdateSpanStyle( in UpdateSpanStyle() function in OHOS::Ace::NG::RichEditorPattern
2220 UpdateSpanStyle(newStart, newEnd, textStyle, imageStyle); in MixTextEmojiUpdateStyle()
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/
H A Drich_editor_base_testone_ng.cpp107 struct UpdateSpanStyle updateSpanStyle;
111 richEditorController->UpdateSpanStyle(2, 8, textStyle, imageStyle);
340 struct UpdateSpanStyle updateSpanStyle;
349 richEditorController->UpdateSpanStyle(0, -1, textStyle, imageStyle);
358 richEditorController->UpdateSpanStyle(0, 20, textStyle2, imageStyle);
365 richEditorController->UpdateSpanStyle(10, 0, textStyle, imageStyle);
372 richEditorController->UpdateSpanStyle(0, 0, textStyle2, imageStyle);
379 richEditorController->UpdateSpanStyle(20, 30, textStyle2, imageStyle);
936 UpdateSpanStyle typingStyle;
H A Drich_editor_base_test_ng.cpp833 struct UpdateSpanStyle updateSpanStyle;
843 richEditorController->UpdateSpanStyle(5, 10, textStyle, imageStyle);
882 struct UpdateSpanStyle updateSpanStyle;
892 richEditorController->UpdateSpanStyle(5, 10, textStyle, imageStyle);
1292 struct UpdateSpanStyle updateSpanStyle;
1308 richEditorController->UpdateSpanStyle(0, 2, style, imageStyle);
H A Drich_editor_pattern_testone_ng.cpp549 UpdateSpanStyle updateSpanStyle;
611 UpdateSpanStyle updateSpanStyle;
872 UpdateSpanStyle updateSpanStyle;
924 UpdateSpanStyle updateSpanStyle;
H A Drich_editor_edit_testone_ng.cpp799 struct UpdateSpanStyle updateSpanStyle;
832 struct UpdateSpanStyle updateSpanStyle;
869 UpdateSpanStyle typingStyle;
948 UpdateSpanStyle typingStyle;
H A Drich_editor_click_test_ng.cpp526 struct UpdateSpanStyle updateSpanStyle;
548 richEditorController->UpdateSpanStyle(0, 2, style, imageStyle);
889 struct UpdateSpanStyle updateSpanStyle;
H A Drich_editor_content_modifier_test_ng.cpp137 UpdateSpanStyle typingStyle; in SetTypingStyle()
H A Drich_editor_styled_string_test_ng.cpp133 UpdateSpanStyle typingStyle; in SetTypingStyle()
993 UpdateSpanStyle updateSpanStyle;
H A Drich_editor_test_ng.cpp1404 struct UpdateSpanStyle updateSpanStyle;
1414 richEditorController->UpdateSpanStyle(5, 10, textStyle, imageStyle);
3698 struct UpdateSpanStyle updateSpanStyle;
3714 richEditorController->UpdateSpanStyle(0, 2, style, imageStyle);
3934 struct UpdateSpanStyle updateSpanStyle;
3939 richEditorController->UpdateSpanStyle(2, 8, textStyle, imageStyle);
4682 struct UpdateSpanStyle updateSpanStyle;
4715 struct UpdateSpanStyle updateSpanStyle;
4837 UpdateSpanStyle typingStyle;
4876 UpdateSpanStyle typingStyle;
H A Drich_editor_pattern_test_ng.cpp353 struct UpdateSpanStyle typingStyle;
375 UpdateSpanStyle updateSpanStyle;
1363 struct UpdateSpanStyle typingStyle;
H A Drich_editor_pattern_testfour_ng.cpp1040 struct UpdateSpanStyle typingStyle;
H A Drich_editor_edit_test_ng.cpp838 struct UpdateSpanStyle typingStyle;
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_richeditor_controller_ffi.h259 struct UpdateSpanStyle updateSpanStyle_;
H A Dcj_richeditor_controller_ffi.cpp378 richEditorController->UpdateSpanStyle(start, end, textStyle, imageStyle); in UpdateSpanStyleText()
398 richEditorController->UpdateSpanStyle(start, end, textStyle, imageStyle); in UpdateSpanStyleImage()