1 #ifndef BRIDGE_TEXT_HPP
2 #define BRIDGE_TEXT_HPP
4 #include "BridgeBase.hpp"
6 class BridgeText : public virtual BridgeBase
9 BridgeText() = default;
11 void RegisterInterfaces();
13 Dali::Accessibility::Text* FindSelf() const;
16 DBus::ValueOrError< std::string > GetText( int startOffset, int endOffset );
17 DBus::ValueOrError< int32_t > GetCharacterCount();
18 DBus::ValueOrError< int32_t > GetCaretOffset();
19 DBus::ValueOrError< bool > SetCaretOffset( int32_t offset );
20 DBus::ValueOrError< std::string, int, int > GetTextAtOffset( int32_t offset, uint32_t boundary );
21 DBus::ValueOrError< int, int > GetSelection( int32_t selectionNum );
22 DBus::ValueOrError< bool > RemoveSelection( int32_t selectionNum );
23 DBus::ValueOrError< bool > SetSelection( int32_t selectionNum, int32_t startOffset, int32_t endOffset );