Home
last modified time | relevance | path

Searched refs:wContent (Results 1 - 5 of 5) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/span/
H A Dmutable_span_string.cpp139 auto wContent = StringUtils::ToWstring((*it)->content); in HandleSpanOperation() local
151 (*it)->content = StringUtils::ToString(wOther + GetWideStringSubstr(wContent, length)); in HandleSpanOperation()
165 (*it)->content = StringUtils::ToString(wContent.substr(0, start - spanItemStart)); in HandleSpanOperation()
167 newSpan->content = StringUtils::ToString(wContent.substr(end - spanItemStart, spanItemEnd - end)); in HandleSpanOperation()
175 (*it)->content = StringUtils::ToString(wContent.substr(0, start - spanItemStart)); in HandleSpanOperation()
178 (*it)->content = StringUtils::ToString(GetWideStringSubstr(wContent, 0, start - spanItemStart) + wOther + in HandleSpanOperation()
179 GetWideStringSubstr(wContent, end - spanItemStart)); in HandleSpanOperation()
183 (*it)->content = StringUtils::ToString(GetWideStringSubstr(wContent, end - spanItemStart)); in HandleSpanOperation()
355 auto wContent = StringUtils::ToWstring(span->content); in InsertString() local
357 span->content = StringUtils::ToString(GetWideStringSubstr(wContent, in InsertString()
514 auto wContent = GetWideString(); InsertSpanString() local
[all...]
H A Dspan_string.cpp166 auto wContent = StringUtils::ToWstring((*it)->content); in ApplyToSpans() local
170 (*it)->content = StringUtils::ToString(wContent.substr(0, intersection->first - oldStart)); in ApplyToSpans()
174 wContent.substr(intersection->first - oldStart, intersection->second - intersection->first)); in ApplyToSpans()
179 newSpan2->content = StringUtils::ToString(wContent.substr(intersection->second - oldStart)); in ApplyToSpans()
186 (*it)->content = StringUtils::ToString(wContent.substr(0, intersection->second - oldStart)); in ApplyToSpans()
190 newSpan->content = StringUtils::ToString(wContent.substr(intersection->second - oldStart)); in ApplyToSpans()
196 (*it)->content = StringUtils::ToString(wContent.substr(0, intersection->first - oldStart)); in ApplyToSpans()
199 newSpan->content = StringUtils::ToString(wContent.substr(intersection->first - oldStart)); in ApplyToSpans()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_layout_algorithm.cpp72 auto wContent = StringUtils::ToWstring(spanItem->content); in ConstructParagraphSpanGroup() local
73 if (wContent.back() == L'\n') { in ConstructParagraphSpanGroup()
704 auto wContent = StringUtils::ToWstring(content); in UpdateSensitiveContent() local
706 wContent.begin(), wContent.end(), in UpdateSensitiveContent()
710 content = StringUtils::ToString(wContent); in UpdateSensitiveContent()
/foundation/arkui/ace_engine/adapter/ohos/capability/html/
H A Dspan_to_html.cpp553 auto wContent = StringUtils::ToWstring(content); in ToHtml() local
554 if (wContent.back() == L'\n') { in ToHtml()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_pattern.cpp1301 auto wContent = StringUtils::ToWstring(spanItem->content);
1302 auto spanStart = spanItem->position - wContent.length();
1303 for (size_t i = 0; i < wContent.length(); i++) {
1304 if (wContent[i] == '\n') {
5151 std::wstring wContent = StringUtils::ToWstring(content);
5152 return !wContent.empty() && wContent.back() == L'\n';
9591 auto wContent = StringUtils::ToWstring(content); in GetReplacedSpanFission() local
9593 auto index = wContent.find(lineSeparator); in GetReplacedSpanFission()
9595 auto textAfter = wContent in GetReplacedSpanFission()
[all...]

Completed in 16 milliseconds