LibreOffice Module starmath (master) 1
Classes | Macros | Typedefs | Enumerations
cursor.hxx File Reference
#include "caret.hxx"
#include <list>
Include dependency graph for cursor.hxx:

Go to the source code of this file.

Classes

class  SmCursor
 Formula cursor. More...
 
class  SmNodeListParser
 Minimalistic recursive decent SmNodeList parser. More...
 

Macros

#define HORIZONTICAL_DISTANCE_FACTOR   10
 Factor to multiple the squared horizontal distance with Used for Up and Down movement. More...
 

Typedefs

typedef std::list< SmNode * > SmNodeList
 A list of nodes. More...
 
typedef std::list< std::unique_ptr< SmNode > > SmClipboard
 

Enumerations

enum  SmMovementDirection {
  MoveUp ,
  MoveDown ,
  MoveLeft ,
  MoveRight
}
 Enum of direction for movement. More...
 
enum  SmFormulaElement {
  BlankElement ,
  FactorialElement ,
  PlusElement ,
  MinusElement ,
  CDotElement ,
  EqualElement ,
  LessThanElement ,
  GreaterThanElement ,
  PercentElement
}
 Enum of elements that can inserted into a formula. More...
 
enum class  SmBracketType {
  Round ,
  Square ,
  Curly
}
 Bracket types that can be inserted. More...
 

Macro Definition Documentation

◆ HORIZONTICAL_DISTANCE_FACTOR

#define HORIZONTICAL_DISTANCE_FACTOR   10

Factor to multiple the squared horizontal distance with Used for Up and Down movement.

Definition at line 19 of file cursor.hxx.

Typedef Documentation

◆ SmClipboard

typedef std::list<std::unique_ptr<SmNode> > SmClipboard

Definition at line 58 of file cursor.hxx.

◆ SmNodeList

typedef std::list<SmNode*> SmNodeList

A list of nodes.

Definition at line 56 of file cursor.hxx.

Enumeration Type Documentation

◆ SmBracketType

enum class SmBracketType
strong

Bracket types that can be inserted.

Enumerator
Round 

Round brackets, left command "(".

Square 

Square brackets, left command "[".

Curly 

Curly brackets, left command "lbrace".

Definition at line 45 of file cursor.hxx.

◆ SmFormulaElement

Enum of elements that can inserted into a formula.

Enumerator
BlankElement 
FactorialElement 
PlusElement 
MinusElement 
CDotElement 
EqualElement 
LessThanElement 
GreaterThanElement 
PercentElement 

Definition at line 31 of file cursor.hxx.

◆ SmMovementDirection

Enum of direction for movement.

Enumerator
MoveUp 
MoveDown 
MoveLeft 
MoveRight 

Definition at line 22 of file cursor.hxx.