Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/span/
H A Dmutable_span_string.cpp39 void MutableSpanString::SplitSpansByNewLine() in SplitSpansByNewLine()
72 void MutableSpanString::RemoveSpecialSpans(int32_t start, int32_t length) in RemoveSpecialSpans()
127 void MutableSpanString::ApplyReplaceStringToSpans( in ApplyReplaceStringToSpans()
198 void MutableSpanString::ApplyReplaceStringToSpanBase( in ApplyReplaceStringToSpanBase()
310 bool MutableSpanString::InsertUseFrontStyle(int32_t start) in InsertUseFrontStyle()
382 void MutableSpanString::RemoveString(int32_t start, int32_t length) in RemoveString()
390 void MutableSpanString::RemoveSpecialpanText() in RemoveSpecialpanText()
403 void MutableSpanString::ClearAllSpans() in ClearAllSpans()
412 void MutableSpanString::KeepSpansOrder() in KeepSpansOrder()
576 void MutableSpanString::InsertStringAroundSpecialNode( in InsertStringAroundSpecialNode()
[all …]
H A Dmutable_span_string.h29 class ACE_EXPORT MutableSpanString : public SpanString {
30 DECLARE_ACE_TYPE(MutableSpanString, SpanString);
33 explicit MutableSpanString(const std::string& text) : SpanString(text) {} in MutableSpanString() function
34 explicit MutableSpanString(const ImageSpanOptions& options) : SpanString(options) {} in MutableSpanString() function
35 explicit MutableSpanString(RefPtr<CustomSpan>& span) : SpanString(span) {} in MutableSpanString() function
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/
H A Drich_editor_content_modifier_test_ng.cpp52 RefPtr<MutableSpanString> CreateTextStyledString(const std::string& content);
53 RefPtr<MutableSpanString> CreateImageStyledString();
54 RefPtr<MutableSpanString> CreateCustomSpanStyledString();
88 RefPtr<MutableSpanString> RichEditorContentModifierTestNg::CreateTextStyledString(const std::string… in CreateTextStyledString()
90 auto styledString = AceType::MakeRefPtr<MutableSpanString>(content); in CreateTextStyledString()
103 RefPtr<MutableSpanString> RichEditorContentModifierTestNg::CreateImageStyledString() in CreateImageStyledString()
116 return AceType::MakeRefPtr<MutableSpanString>(imageOption); in CreateImageStyledString()
119 RefPtr<MutableSpanString> RichEditorContentModifierTestNg::CreateCustomSpanStyledString() in CreateCustomSpanStyledString()
122 return AceType::MakeRefPtr<MutableSpanString>(customSpan); in CreateCustomSpanStyledString()
H A Drich_editor_styled_string_test_ng.cpp48 RefPtr<MutableSpanString> CreateTextStyledString(const std::string& content);
49 RefPtr<MutableSpanString> CreateImageStyledString();
50 RefPtr<MutableSpanString> CreateCustomSpanStyledString();
86 auto styledString = AceType::MakeRefPtr<MutableSpanString>(content); in CreateTextStyledString()
99 RefPtr<MutableSpanString> RichEditorStyledStringTestNg::CreateImageStyledString() in CreateImageStyledString()
112 return AceType::MakeRefPtr<MutableSpanString>(imageOption); in CreateImageStyledString()
115 RefPtr<MutableSpanString> RichEditorStyledStringTestNg::CreateCustomSpanStyledString() in CreateCustomSpanStyledString()
118 return AceType::MakeRefPtr<MutableSpanString>(customSpan); in CreateCustomSpanStyledString()
997 richEditorPattern->styledString_ = AceType::MakeRefPtr<MutableSpanString>(content);
1028 richEditorPattern->styledString_ = AceType::MakeRefPtr<MutableSpanString>("abc");
[all …]
H A Drich_editor_pattern_testone_ng.cpp244 richEditorPattern->styledString_ = AceType::MakeRefPtr<MutableSpanString>("abc");
553 richEditorPattern->styledString_ = AceType::MakeRefPtr<MutableSpanString>(content);
631 richEditorPattern->styledString_ = AceType::MakeRefPtr<MutableSpanString>("abc");
658 richEditorPattern->styledString_ = AceType::MakeRefPtr<MutableSpanString>(content);
711 richEditorPattern->styledString_ = AceType::MakeRefPtr<MutableSpanString>("abc");
715 richEditorPattern->styledString_ = AceType::MakeRefPtr<MutableSpanString>("abc");
H A Drich_editor_pattern_testtwo_ng.cpp875 …richEditorPattern->styledString_ = AccessibilityManager::MakeRefPtr<MutableSpanString>("test123456…
902 …richEditorPattern->styledString_ = AccessibilityManager::MakeRefPtr<MutableSpanString>("test123456…
931 …richEditorPattern->styledString_ = AccessibilityManager::MakeRefPtr<MutableSpanString>("test123456…
969 …richEditorPattern->styledString_ = AccessibilityManager::MakeRefPtr<MutableSpanString>("test123456…
1009 …richEditorPattern->styledString_ = AccessibilityManager::MakeRefPtr<MutableSpanString>("test123456…
H A Drich_editor_pattern_test_ng.cpp861 richEditorPattern->styledString_ = AceType::MakeRefPtr<MutableSpanString>(content);
896 richEditorPattern->styledString_ = AceType::MakeRefPtr<MutableSpanString>(content);
H A Drich_editor_pattern_testfour_ng.cpp1010 richEditorPattern->styledString_ = AceType::MakeRefPtr<MutableSpanString>("abc");
H A Drich_editor_test_ng.cpp6478 auto mutableStr = AceType::MakeRefPtr<MutableSpanString>(imageOption);
6517 auto mutableStr = AceType::MakeRefPtr<MutableSpanString>(imageOption);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/text/
H A Dhtml_utils.h25 class MutableSpanString; variable
30 static RefPtr<MutableSpanString> FromHtml(const std::string& str);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text/
H A Dspan_string_test_ng.cpp188 auto spanString3 = AceType::MakeRefPtr<MutableSpanString>("0123456789");
342 auto spanString = AceType::MakeRefPtr<MutableSpanString>(customSpan);
377 auto mutableStr = AceType::MakeRefPtr<MutableSpanString>(imageOption);
384 auto spanString = AceType::MakeRefPtr<MutableSpanString>(customSpan);
400 auto a = AceType::MakeRefPtr<MutableSpanString>("0123456789");
442 auto a = AceType::MakeRefPtr<MutableSpanString>("0123456789");
463 auto b = MutableSpanString("零一二三四五六七八九");
629 auto spanString1 = AceType::MakeRefPtr<MutableSpanString>("01234");
678 auto spanString1 = AceType::MakeRefPtr<MutableSpanString>("0123");
688 auto spanString2 = AceType::MakeRefPtr<MutableSpanString>("abc");
[all …]
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/capability/html/
H A Dhtml_to_span.h53 …RefPtr<MutableSpanString> ToSpanString(const std::string& html, const bool isNeedLoadPixelMap = tr…
176 void AddImageSpans(const SpanInfo& info, RefPtr<MutableSpanString> mutableSpan);
177 void AddSpans(const SpanInfo& info, RefPtr<MutableSpanString> span);
180 …RefPtr<MutableSpanString> GenerateSpans(const std::string& allContent, const std::vector<SpanInfo>…
H A Dhtml_to_span.cpp1077 void HtmlToSpan::AddSpans(const SpanInfo& info, RefPtr<MutableSpanString> mutableSpan) in AddSpans()
1091 void HtmlToSpan::AddImageSpans(const SpanInfo& info, RefPtr<MutableSpanString> mutableSpan) in AddImageSpans()
1098 auto span = AceType::MakeRefPtr<MutableSpanString>(*style); in AddImageSpans()
1103 RefPtr<MutableSpanString> HtmlToSpan::GenerateSpans( in GenerateSpans()
1106 auto mutableSpan = AceType::MakeRefPtr<MutableSpanString>(allContent); in GenerateSpans()
1107 RefPtr<MutableSpanString> span; in GenerateSpans()
1121 RefPtr<MutableSpanString> HtmlToSpan::ToSpanString(const std::string& html, const bool isNeedLoadPi… in ToSpanString()
1147 RefPtr<MutableSpanString> HtmlUtils::FromHtml(const std::string& html) in FromHtml()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/style_string/
H A Djs_span_string.h128 WeakPtr<MutableSpanString>& GetMutableController();
129 void SetMutableController(const RefPtr<MutableSpanString>& mutableSpanString);
138 WeakPtr<MutableSpanString> mutableSpanString_;
H A Djs_span_string.cpp882 RefPtr<MutableSpanString> spanString; in Constructor()
884 spanString = AceType::MakeRefPtr<MutableSpanString>(data); in Constructor()
888 spanString = AceType::MakeRefPtr<MutableSpanString>(data); in Constructor()
903 spanString = AceType::MakeRefPtr<MutableSpanString>(attachment); in Constructor()
906 spanString = AceType::MakeRefPtr<MutableSpanString>(customSpan); in Constructor()
1263 WeakPtr<MutableSpanString>& JSMutableSpanString::GetMutableController() in GetMutableController()
1268 void JSMutableSpanString::SetMutableController(const RefPtr<MutableSpanString>& mutableSpanString) in SetMutableController()
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/entrance/html/
H A Dhtml_to_span.cpp23 RefPtr<MutableSpanString> HtmlUtils::FromHtml(const std::string& str) in FromHtml()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_styled_string_controller.cpp34 auto mutableSpanString = AceType::MakeRefPtr<MutableSpanString>(""); in GetStyledString()
H A Drich_editor_pattern.h348 RefPtr<MutableSpanString> GetStyledString() const in GetStyledString()
H A Drich_editor_pattern.cpp149 styledString_ = MakeRefPtr<MutableSpanString>(""); in RichEditorPattern()
463 auto replaceMentString = AceType::MakeRefPtr<MutableSpanString>(""); in BeforeStyledStringChange()
11030 auto spanString = MakeRefPtr<MutableSpanString>(customSpan); in OnBackPressed()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/adapter/ohos/capability/
H A Dhtml_convert_test.cpp138 auto mutableStr = AceType::MakeRefPtr<MutableSpanString>(imageOption);
213 auto imageSpan = AceType::MakeRefPtr<MutableSpanString>(imageOption);
214 auto mutableStr2 = AceType::MakeRefPtr<MutableSpanString>("123456");
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_pattern.h816 RefPtr<MutableSpanString> styledString_ = MakeRefPtr<MutableSpanString>("");
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_richeditor.cpp2670 …auto mutableSpanString = AceType::DynamicCast<MutableSpanString>(styledStringController->GetStyled… in GetStyledString()