pub fn do_navigate_command(command: String) -> Result<String>Expand description
Given a navigation command, the current node is moved accordingly.
This is a higher level interface than do_navigate_keypress for applications that want to interpret the keys themselves.
The valid commands are:
- Standard move commands:
MovePrevious,MoveNext,MoveStart,MoveEnd,MoveLineStart,MoveLineEnd - Movement in a table or elementary math:
MoveCellPrevious,MoveCellNext,MoveCellUp,MoveCellDown,MoveColumnStart,MoveColumnEnd - Moving into children or out to parents:
ZoomIn,ZoomOut,ZoomOutAll,ZoomInAll - Undo the last movement command:
MoveLastLocation - Read commands (standard speech):
ReadPrevious,ReadNext,ReadCurrent,ReadCellCurrent,ReadStart,ReadEnd,ReadLineStart,ReadLineEnd - Describe commands (overview):
DescribePrevious,DescribeNext,DescribeCurrent - Location information:
WhereAmI,WhereAmIAll - Change navigation modes (circle up/down):
ToggleZoomLockUp,ToggleZoomLockDown - Speak the current navigation mode
ToggleSpeakMode
There are 10 place markers that can be set/read/described or moved to.
- Setting:
SetPlacemarker0,SetPlacemarker1,SetPlacemarker2,SetPlacemarker3,SetPlacemarker4,SetPlacemarker5,SetPlacemarker6,SetPlacemarker7,SetPlacemarker8,SetPlacemarker9 - Reading:
Read0,Read1,Read2,Read3,Read4,Read5,Read6,Read7,Read8,Read9 - Describing:
Describe0,Describe1,Describe2,Describe3,Describe4,Describe5,Describe6,Describe7,Describe8,Describe9 - Moving:
MoveTo0,MoveTo1,MoveTo2,MoveTo3,MoveTo4,MoveTo5,MoveTo6,MoveTo7,MoveTo8,MoveTo9
When done with Navigation, call with Exit