/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/ |
H A D | paragraph_manager.h | 38 struct TextBox { struct 41 TextBox() = default; argument 42 TextBox(RectF rect, TextDirection direction) : direction_(direction), rect_(rect) {} in TextBox() argument 92 std::vector<TextBox> GetRectsForRange(int32_t start, int32_t end,
|
H A D | paragraph_manager.cpp | 287 std::vector<ParagraphManager::TextBox> ParagraphManager::GetRectsForRange( in GetRectsForRange() 290 std::vector<TextBox> resultTextBoxes; in GetRectsForRange() 308 resultTextBoxes.emplace_back(TextBox(tempRects[i], tempTextDirections[i])); in GetRectsForRange()
|
H A D | rich_editor_pattern.h | 688 std::vector<ParagraphManager::TextBox> GetRectsForRange(int32_t start, int32_t end,
|
H A D | rich_editor_pattern.cpp | 8063 std::vector<ParagraphManager::TextBox> RichEditorPattern::GetRectsForRange( in OnBackPressed() 8069 std::vector<ParagraphManager::TextBox> textBoxes = in OnBackPressed() 8072 std::vector<ParagraphManager::TextBox> adjustedTextBoxes; in OnBackPressed() 8074 ParagraphManager::TextBox adjustedTextBox = textBox; in OnBackPressed()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/txt/ |
H A D | paragraph.h | 68 struct TextBox { struct 69 TextBox(SkRect r, TextDirection d) : rect(r), direction(d) {} in TextBox() function 165 virtual std::vector<TextBox> GetRectsForRange(size_t start, size_t end, 170 virtual std::vector<TextBox> GetRectsForPlaceholders() = 0;
|
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/rosen/ |
H A D | testing_typography_properties.h | 72 struct TextBox { struct 75 TextBox() = default; argument 76 TextBox(TestingRect rect, TextDirection direction) : direction_(direction), rect_(rect) {} in TextBox() function
|
H A D | testing_typography.h | 86 …virtual std::vector<TestingTypographyProperties::TextBox> GetRectsForRange(size_t /* start */, siz… in GetRectsForRange()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/impl/ |
H A D | paragraph_impl.cpp | 52 std::vector<TextBox> GetTxtTextBoxes(const std::vector<skt::TextBox>& skiaBoxes) in GetTxtTextBoxes() 54 std::vector<TextBox> boxes; in GetTxtTextBoxes() 55 for (const skt::TextBox& box : skiaBoxes) { in GetTxtTextBoxes() 233 std::vector<TextBox> ParagraphImpl::GetRectsForRange(size_t start, size_t end, in GetRectsForRange() 237 std::vector<skt::TextBox> boxes = in GetRectsForRange() 243 std::vector<TextBox> ParagraphImpl::GetRectsForPlaceholders() in GetRectsForPlaceholders()
|
H A D | paragraph_impl.h | 82 std::vector<TextBox> GetRectsForRange(size_t start, size_t end, 85 std::vector<TextBox> GetRectsForPlaceholders() override;
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-text-common.md | 97 …rRange(range: TextRange, widthStyle: RectWidthStyle, heightStyle: RectHeightStyle): Array\<TextBox> 117 | Array\<[TextBox](#textbox14)> | 矩形区域数组。| 677 ## TextBox<sup>14+</sup> 679 type TextBox = TextBox 689 | [TextBox](../../apis-arkgraphics2d/js-apis-graphics-text.md#textbox) | 文本矩形区域。 |
|
H A D | ts-basic-components-text.md | 1690 let rectsForRangeInfo: text.TextBox[] =
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | layout_info_interface.h | 49 virtual std::vector<ParagraphManager::TextBox> GetRectsForRange(int32_t start, int32_t end, in GetRectsForRange()
|
H A D | text_pattern.h | 652 std::vector<ParagraphManager::TextBox> GetRectsForRange(int32_t start, int32_t end,
|
H A D | text_pattern.cpp | 4107 std::vector<ParagraphManager::TextBox> TextPattern::GetRectsForRange( in GetRectsForRange() 4113 …std::vector<ParagraphManager::TextBox> textBoxes = pManager_->GetRectsForRange(start, end, heightS… in GetRectsForRange() 4116 std::vector<ParagraphManager::TextBox> adjustedTextBoxes; in GetRectsForRange() 4118 ParagraphManager::TextBox adjustedTextBox = textBox; in GetRectsForRange()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/skia_txt/ |
H A D | convert.h | 40 DEFINE_CONVERT_FUNC(SPText::TextBox, TextRect);
|
H A D | convert.cpp | 42 TextRect Convert(const SPText::TextBox& box) in Convert()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/ |
H A D | drawing_text_typography.cpp | 670 std::vector<TypographyProperties::TextBox>* originalVector = in OH_Drawing_TypographyGetRectsForRange() 671 new (std::nothrow) std::vector<TypographyProperties::TextBox>; in OH_Drawing_TypographyGetRectsForRange() 698 std::vector<TypographyProperties::TextBox>* originalVector = in OH_Drawing_TypographyGetRectsForPlaceholders() 699 new (std::nothrow) std::vector<TypographyProperties::TextBox>; in OH_Drawing_TypographyGetRectsForPlaceholders() 720 std::vector<TypographyProperties::TextBox>* textboxVector = in OH_Drawing_GetLeftFromTextBox() 743 std::vector<TypographyProperties::TextBox>* textboxVector = in OH_Drawing_GetRightFromTextBox() 766 std::vector<TypographyProperties::TextBox>* textboxVector = in OH_Drawing_GetTopFromTextBox() 789 std::vector<TypographyProperties::TextBox>* textboxVector = in OH_Drawing_GetBottomFromTextBox() 812 std::vector<TypographyProperties::TextBox>* textboxVector = in OH_Drawing_GetTextDirectionFromTextBox() 857 std::vector<TypographyProperties::TextBox>* textboxVector = in OH_Drawing_GetSizeOfTextBox() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/adapter/skia_txt/ |
H A D | convert_test.cpp | 75 const SPText::TextBox box(skRect, SPText::TextDirection::RTL);
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-text-common.md | 97 …rRange(range: TextRange, widthStyle: RectWidthStyle, heightStyle: RectHeightStyle): Array\<TextBox> 117 | Array\<[TextBox](#textbox14)> | Array holding the rectangles obtained.| 677 ## TextBox<sup>14+</sup> 679 type TextBox = TextBox 689 | [TextBox](../../apis-arkgraphics2d/js-apis-graphics-text.md#textbox) | Rectangle that holds the t…
|
H A D | ts-basic-components-text.md | 1690 let rectsForRangeInfo: text.TextBox[] =
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkgraphics2d/ |
H A D | js-apis-graphics-text.md | 873 …tsForRange(range: Range, widthStyle: RectWidthStyle, heightStyle: RectHeightStyle): Array\<TextBox> 891 | Array\<[TextBox](#textbox)> | 矩形区域数组。| 902 getRectsForPlaceholders(): Array\<TextBox> 912 | Array\<[TextBox](#textbox)> | 矩形区域数组。| 1190 ## TextBox section
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_layout_manager.cpp | 125 std::vector<NG::ParagraphManager::TextBox> textBoxes = in GetRectsForRange()
|
/ohos5.0/docs/en/application-dev/reference/apis-arkgraphics2d/ |
H A D | js-apis-graphics-text.md | 876 …tsForRange(range: Range, widthStyle: RectWidthStyle, heightStyle: RectHeightStyle): Array\<TextBox> 894 | Array\<[TextBox](#textbox)> | Array holding the rectangles obtained.| 905 getRectsForPlaceholders(): Array\<TextBox> 915 | Array\<[TextBox](#textbox)> | Array holding the rectangles obtained.| 1193 ## TextBox section
|