Lines Matching defs:start_item

754     SPObject *start_item = 0, *end_item = 0;
758 start_item = SP_OBJECT(rawptr);
761 if (start_item == 0) {
764 if (is_line_break_object(start_item)) {
765 move_to_end_of_paragraph(&start_item, &start_text_iter);
774 SPObject *common_ancestor = get_common_ancestor(item, start_item, end_item);
780 if (start_item == end_item) {
782 if (SP_IS_STRING(start_item)) { // always true (if it_start != it_end anyway)
784 if (SP_IS_TREF(start_item->parent)) {
787 erase_from_spstring(SP_STRING(start_item), start_text_iter, end_text_iter);
792 SPObject *sub_item = start_item;
793 // walk the tree from start_item to end_item, deleting as we go
811 if (sub_item == start_item)
1424 which are between \a start_item and \a end_item, creating spans as necessary.
1425 If \a start_item or \a end_item are NULL then the style is applied to all
1428 static void recursively_apply_style(SPObject *common_ancestor, SPCSSAttr const *css, SPObject *start_item, Glib::ustring::iterator start_text_iter, SPObject *end_item, Glib::ustring::iterator end_text_iter, char const *span_object_name)
1430 bool passed_start = start_item == NULL ? true : false;
1434 if (start_item == child) {
1456 if (child == start_item || child == end_item) {
1458 if (start_item == end_item && start_text_iter != string_item->string.begin()) {
1515 if (child->isAncestorOf(start_item)) {
1516 recursively_apply_style(child, css, start_item, start_text_iter, end_item, end_text_iter, span_object_name);
1518 break; // only happens when start_item == end_item (I think)
1972 SPObject *start_item = 0, *end_item = 0;
1976 start_item = SP_OBJECT(rawptr);
1979 if (start_item == 0) {
1982 if (is_line_break_object(start_item)) {
1983 start_item = start_item->getNext();
1997 if (!sp_tref_fully_contained(start_item, start_text_iter, end_item, end_text_iter)) {
2010 SPObject *common_ancestor = get_common_ancestor(text, start_item, end_item);
2025 start_item = ascend_while_first(start_item, start_text_iter, common_ancestor);
2027 recursively_apply_style(common_ancestor, css_set, start_item, start_text_iter, end_item, end_text_iter, span_name_for_text_object(text));