/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_richeditor.h | 115 … 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 D | js_richeditor.cpp | 1405 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 D | rich_editor_controller.h | 34 …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 D | rich_editor_base_controller.h | 33 …void SetTypingStyle(std::optional<struct UpdateSpanStyle> typingStyle, std::optional<TextStyle> te… 34 std::optional<struct UpdateSpanStyle> GetTypingStyle() override;
|
H A D | rich_editor_controller.cpp | 50 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 D | rich_editor_base_controller.cpp | 50 void RichEditorBaseController::SetTypingStyle(std::optional<struct UpdateSpanStyle> typingStyle, in SetTypingStyle() 58 std::optional<struct UpdateSpanStyle> RichEditorBaseController::GetTypingStyle() in GetTypingStyle()
|
H A D | rich_editor_pattern.h | 359 …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 D | rich_editor_model.h | 68 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 D | rich_editor_pattern.cpp | 344 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 D | rich_editor_base_testone_ng.cpp | 107 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 D | rich_editor_base_test_ng.cpp | 833 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 D | rich_editor_pattern_testone_ng.cpp | 549 UpdateSpanStyle updateSpanStyle; 611 UpdateSpanStyle updateSpanStyle; 872 UpdateSpanStyle updateSpanStyle; 924 UpdateSpanStyle updateSpanStyle;
|
H A D | rich_editor_edit_testone_ng.cpp | 799 struct UpdateSpanStyle updateSpanStyle; 832 struct UpdateSpanStyle updateSpanStyle; 869 UpdateSpanStyle typingStyle; 948 UpdateSpanStyle typingStyle;
|
H A D | rich_editor_click_test_ng.cpp | 526 struct UpdateSpanStyle updateSpanStyle; 548 richEditorController->UpdateSpanStyle(0, 2, style, imageStyle); 889 struct UpdateSpanStyle updateSpanStyle;
|
H A D | rich_editor_content_modifier_test_ng.cpp | 137 UpdateSpanStyle typingStyle; in SetTypingStyle()
|
H A D | rich_editor_styled_string_test_ng.cpp | 133 UpdateSpanStyle typingStyle; in SetTypingStyle() 993 UpdateSpanStyle updateSpanStyle;
|
H A D | rich_editor_test_ng.cpp | 1404 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 D | rich_editor_pattern_test_ng.cpp | 353 struct UpdateSpanStyle typingStyle; 375 UpdateSpanStyle updateSpanStyle; 1363 struct UpdateSpanStyle typingStyle;
|
H A D | rich_editor_pattern_testfour_ng.cpp | 1040 struct UpdateSpanStyle typingStyle;
|
H A D | rich_editor_edit_test_ng.cpp | 838 struct UpdateSpanStyle typingStyle;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_richeditor_controller_ffi.h | 259 struct UpdateSpanStyle updateSpanStyle_;
|
H A D | cj_richeditor_controller_ffi.cpp | 378 richEditorController->UpdateSpanStyle(start, end, textStyle, imageStyle); in UpdateSpanStyleText() 398 richEditorController->UpdateSpanStyle(start, end, textStyle, imageStyle); in UpdateSpanStyleImage()
|