
# nodes
NODE_TEXTS = 'texts'
NODE_TEXT = 'text'

# text node action attribute
NODE_TEXT_ATT_ACTION_VAL_REPLACE = 'replace'
NODE_TEXT_ATT_ACTION_VAL_ABOVE = 'above_line'
NODE_TEXT_ATT_ACTION_VAL_BELOW = 'below_line'
NODE_TEXT_ATT_ACTION_VAL_DELETE_RANGE = 'delete_range'
NODE_TEXT_ATT_ACTION_VAL_REPLACE_IN_RANGE = 'set_in_range'
NODE_TEXT_ATT_ACTION_VAL_REPLACE_LINE = 'replace_line'
NODE_TEXT_ATT_ACTION_VAL_DELETE_LINE = 'delete_line'

# new_text already present attribute
NODE_TEXT_ATT_IF_ALREADY_PRESENT = 'if_already_present'
NODE_TEXT_ATT_IF_ALREADY_PRESENT_VAL_CANCEL = 'cancel'
NODE_FROM_TEXT = 'from_text'
NODE_TEXT_ATT_INCLUDE_BOUNDARIES = 'include_boundaries'
NODE_TO_TEXT = 'to_text'
