Home
last modified time | relevance | path

Searched refs:TextOverflow (Results 1 – 25 of 277) sorted by relevance

12345678910>>...12

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/
H A Dtext_input_base.h130 const TextOverflow OVERFLOW_ELLIPSIS = TextOverflow::ELLIPSIS;
131 const TextOverflow OVERFLOW_MARQUEE = TextOverflow::MARQUEE;
132 const TextOverflow OVERFLOW_DEFAULT = TextOverflow::DEFAULT;
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/measure/
H A Dcj_measure_ffi.cpp39 std::vector<TextOverflow> TEXTOVERFLOW = {
40 TextOverflow::NONE,
41 TextOverflow::CLIP,
42 TextOverflow::ELLIPSIS,
43 TextOverflow::MARQUEE
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dutils.h402 inline std::string ConvertWrapTextOverflowToString(TextOverflow textOverflow) in ConvertWrapTextOverflowToString()
405 { TextOverflow::NONE, "TextOverflow.None" }, in ConvertWrapTextOverflowToString()
406 { TextOverflow::CLIP, "TextOverflow.Clip" }, in ConvertWrapTextOverflowToString()
407 { TextOverflow::ELLIPSIS, "TextOverflow.Ellipsis" }, in ConvertWrapTextOverflowToString()
408 { TextOverflow::MARQUEE, "TextOverflow.Marquee" }, in ConvertWrapTextOverflowToString()
415 inline TextOverflow ConvertWrapStringToTextOverflow(const std::string& str) in ConvertWrapStringToTextOverflow()
417 static const std::unordered_map<std::string, TextOverflow> uMap { in ConvertWrapStringToTextOverflow()
418 { "TextOverflow.Clip", TextOverflow::CLIP }, in ConvertWrapStringToTextOverflow()
419 { "TextOverflow.Ellipsis", TextOverflow::ELLIPSIS }, in ConvertWrapStringToTextOverflow()
420 { "TextOverflow.None", TextOverflow::NONE }, in ConvertWrapStringToTextOverflow()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_text_ffi.cpp33 const std::vector<TextOverflow> TEXT_OVERFLOWS = { TextOverflow::CLIP, TextOverflow::ELLIPSIS, Text…
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/layout/
H A Dconstants.h258 enum class TextOverflow { enum
273 inline std::string ToString(const TextOverflow& textOverflow) in ToString()
275 static const LinearEnumMapNode<TextOverflow, std::string> table[] = { in ToString()
276 { TextOverflow::NONE, "NONE" }, in ToString()
277 { TextOverflow::CLIP, "CLIP" }, in ToString()
278 { TextOverflow::ELLIPSIS, "ELLIPSIS" }, in ToString()
279 { TextOverflow::MARQUEE, "MARQUEE" }, in ToString()
/ohos5.0/docs/zh-cn/third-party-cases/
H A DUse-the-Badge-component-to-display-the-number-of-unread-messages-in-a-chat.md54 .textOverflow({ overflow: TextOverflow.Clip })
60 .textOverflow({ overflow: TextOverflow.Ellipsis })
184 .textOverflow({ overflow: TextOverflow.Clip })
190 .textOverflow({ overflow: TextOverflow.Ellipsis })
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/tab_bar/
H A Dtab_bar_component.cpp104 activeTextStyle_.SetTextOverflow(TextOverflow::CLIP); in InitNavigationBarStyle()
109 inactiveTextStyle_.SetTextOverflow(TextOverflow::CLIP); in InitNavigationBarStyle()
123 activeTextStyle_.SetTextOverflow(TextOverflow::CLIP); in InitBottomTabStyle()
129 inactiveTextStyle_.SetTextOverflow(TextOverflow::CLIP); in InitBottomTabStyle()
H A Dtab_bar_item_component.cpp47 textStyle.SetTextOverflow(TextOverflow::CLIP); in TabBarItemComponent()
119 textStyle.SetTextOverflow(TextOverflow::ELLIPSIS); in BuildWithTextIcon()
134 textStyle.SetTextOverflow(TextOverflow::ELLIPSIS); in BuildWithTextIcon()
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/utils/
H A Dmeasure_util.h42 TextOverflow textOverlayFlow = TextOverflow::CLIP;
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-basic-components-text.md61 textOverflow(value: { overflow: TextOverflow })
67 当overflow设置为TextOverflow.None、TextOverflow.Clip、TextOverflow.Ellipsis时,需配合maxLines使用,单独设置不生效。设置Text…
83 …ue | {overflow:&nbsp;[TextOverflow](ts-appendix-enums.md#textoverflow)} | 是 | 文本超长时的显示方式。<br/>默…
473 当overflow设置为TextOverflow.MARQUEE时,设置selection属性不生效。
529 当overflow设置为TextOverflow.MARQUEE时,该功能不会生效。
1204 .textOverflow({ overflow: TextOverflow.Clip })
1210 .textOverflow({ overflow: TextOverflow.Ellipsis })
1217 .textOverflow({ overflow: TextOverflow.MARQUEE })
1223 .textOverflow({ overflow: TextOverflow.Ellipsis })
1282 .textOverflow({ overflow: TextOverflow.Ellipsis })
[all …]
H A Dts-basic-components-gauge.md293 .textOverflow({ overflow: TextOverflow.Ellipsis })
355 .textOverflow({ overflow: TextOverflow.Ellipsis })
406 .textOverflow({ overflow: TextOverflow.Ellipsis })
453 .textOverflow({ overflow: TextOverflow.Ellipsis })
509 .textOverflow({ overflow: TextOverflow.Ellipsis })
549 .textOverflow({ overflow: TextOverflow.Ellipsis })
596 .textOverflow({ overflow: TextOverflow.Ellipsis })
723 .textOverflow({ overflow: TextOverflow.Ellipsis })
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Darkts-common-components-text-display.md139 .textOverflow({ overflow: TextOverflow.None })
146 .textOverflow({ overflow: TextOverflow.Ellipsis })
153 .textOverflow({ overflow: TextOverflow.MARQUEE })
360 .textOverflow({ overflow: TextOverflow.Ellipsis })
382 .textOverflow({ overflow: TextOverflow.Ellipsis })
403 .textOverflow({ overflow: TextOverflow.Ellipsis })
424 .textOverflow({ overflow: TextOverflow.Ellipsis })
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/picker/
H A Dpicker_theme.h91 theme->titleStyle_.SetTextOverflow(TextOverflow::ELLIPSIS); in InitializeTitleTextStyles()
106 theme->selectedOptionStyle_.SetTextOverflow(TextOverflow::ELLIPSIS); in InitializeItemTextStyles()
116 theme->normalOptionStyle_.SetTextOverflow(TextOverflow::ELLIPSIS); in InitializeItemTextStyles()
126 theme->disappearOptionStyle_.SetTextOverflow(TextOverflow::ELLIPSIS); in InitializeItemTextStyles()
137 theme->focusOptionStyle_.SetTextOverflow(TextOverflow::ELLIPSIS); in InitializeItemTextStyles()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/button/
H A Dbutton_layout_property.h79 ACE_DEFINE_PROPERTY_ITEM_WITHOUT_GROUP(TextOverflow, Ace::TextOverflow, PROPERTY_UPDATE_NORMAL);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dtext_style.h209 TextOverflow textOverflow = TextOverflow::CLIP;
573 TextOverflow GetTextOverflow() const in GetTextOverflow()
577 void SetTextOverflow(TextOverflow textOverflow) in SetTextOverflow()
789 TextOverflow textOverflow_ { TextOverflow::CLIP };
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dbutton_modifier.cpp54 const std::vector<TextOverflow> TEXT_OVERFLOWS = { TextOverflow::NONE, TextOverflow::CLIP, TextOver…
55 TextOverflow::MARQUEE };
268 buttonParameters.textOverflow = TextOverflow::CLIP; in ButtonCompleteParameters()
351 buttonParameters.textOverflow = TextOverflow::ELLIPSIS; in SetButtonValueParameters()
/ohos5.0/docs/en/application-dev/ui/
H A Darkts-common-components-text-display.md139 .textOverflow({ overflow: TextOverflow.None })
146 .textOverflow({ overflow: TextOverflow.Ellipsis })
153 .textOverflow({ overflow: TextOverflow.MARQUEE })
363 .textOverflow({ overflow: TextOverflow.Ellipsis })
385 .textOverflow({ overflow: TextOverflow.Ellipsis })
406 .textOverflow({ overflow: TextOverflow.Ellipsis })
427 .textOverflow({ overflow: TextOverflow.Ellipsis })
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/entry/src/main/ets/Component/
H A DentryComponent.ets51 .textOverflow({ overflow : TextOverflow.Ellipsis })
58 .textOverflow({ overflow : TextOverflow.Ellipsis })
67 .textOverflow({ overflow : TextOverflow.Ellipsis })
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_testapp/entry/src/main/ets/Component/
H A DentryComponent.ets50 .textOverflow({ overflow : TextOverflow.Ellipsis })
57 .textOverflow({ overflow : TextOverflow.Ellipsis })
66 .textOverflow({ overflow : TextOverflow.Ellipsis })
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/capability/html/
H A Dspan_to_html.cpp494 std::string SpanToHtml::ToHtml(const std::optional<OHOS::Ace::TextOverflow>& object) in ToHtml()
500 static const LinearEnumMapNode<TextOverflow, std::string> table[] = { in ToHtml()
501 { TextOverflow::CLIP, "clip" }, in ToHtml()
502 { TextOverflow::ELLIPSIS, "ellipsis" }, in ToHtml()
503 { TextOverflow::MARQUEE, "marquee" }, in ToHtml()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_button.cpp60 const std::vector<TextOverflow> TEXT_OVERFLOWS = { TextOverflow::NONE, TextOverflow::CLIP, TextOver…
61 TextOverflow::MARQUEE };
270 buttonParameters.textOverflow = TextOverflow::CLIP; in CompleteParameters()
283 buttonParameters.textOverflow = TextOverflow::ELLIPSIS; in SetLableStyle()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/menu_item_group/
H A Dmenu_item_group_view.cpp96 layoutProps->UpdateTextOverflow(TextOverflow::ELLIPSIS); in SetHeader()
136 layoutProps->UpdateTextOverflow(TextOverflow::ELLIPSIS); in SetFooter()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text/
H A Dtext_base.h129 const Ace::TextOverflow TEXT_OVERFLOW_VALUE = Ace::TextOverflow::CLIP;
190 std::optional<Ace::TextOverflow> textOverflowValue = std::nullopt;
/ohos5.0/foundation/arkui/advanced_ui_component/source/SubHeader/
H A DSubHeader.ets139 .textOverflow({ overflow: TextOverflow.Ellipsis })
155 .textOverflow({ overflow: TextOverflow.Ellipsis })
169 .textOverflow({ overflow: TextOverflow.Ellipsis })
184 .textOverflow({ overflow: TextOverflow.Ellipsis })
192 .textOverflow({ overflow: TextOverflow.Ellipsis })
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_model_ng.cpp269 void TextModelNG::SetTextOverflow(Ace::TextOverflow value) in SetTextOverflow()
271 ACE_UPDATE_LAYOUT_PROPERTY(TextLayoutProperty, TextOverflow, value); in SetTextOverflow()
279 void TextModelNG::SetTextOverflow(FrameNode* frameNode, Ace::TextOverflow value) in SetTextOverflow()
281 ACE_UPDATE_NODE_LAYOUT_PROPERTY(TextLayoutProperty, TextOverflow, value, frameNode); in SetTextOverflow()
751 TextOverflow TextModelNG::GetTextOverflow(FrameNode* frameNode) in GetTextOverflow()
753 CHECK_NULL_RETURN(frameNode, TextOverflow::CLIP); in GetTextOverflow()
755 CHECK_NULL_RETURN(layoutProperty, TextOverflow::CLIP); in GetTextOverflow()
757 CHECK_NULL_RETURN(textLineStyle, TextOverflow::CLIP); in GetTextOverflow()
758 return textLineStyle->GetTextOverflow().value_or(TextOverflow::CLIP); in GetTextOverflow()

12345678910>>...12