Lines Matching refs:set
70 set = true;
75 set = true;
87 ((flags & SP_STYLE_FLAG_IFSET) && this->set) ||
88 ((flags & SP_STYLE_FLAG_IFDIFF) && this->set
89 && (!my_base->set || this != my_base )))
105 if( (inherits && !set) || inherit ) value = p->value;
115 if( (!set || inherit) && p->set && !(p->inherit) ) {
116 set = p->set;
145 set = true;
150 set = true;
163 ((flags & SP_STYLE_FLAG_IFSET) && this->set) ||
164 ((flags & SP_STYLE_FLAG_IFDIFF) && this->set
165 && (!my_base->set || this != my_base )))
181 if( (inherits && !set) || inherit ) value = p->value;
191 if( (!set || inherit) && p->set && !(p->inherit) ) {
192 set = p->set;
200 if( !set || (!inherit && value == SP_SCALE24_MAX) ) {
206 set = (inherit || value < SP_SCALE24_MAX);
233 set = true;
304 set = true;
315 ((flags & SP_STYLE_FLAG_IFSET) && this->set) ||
316 ((flags & SP_STYLE_FLAG_IFDIFF) && this->set
317 && (!my_base->set || this != my_base )))
367 if( (inherits && !set) || inherit ) {
393 if( (!set || inherit) && p->set && !(p->inherit) ) {
394 set = p->set;
456 set = true;
472 ((flags & SP_STYLE_FLAG_IFSET) && this->set) ||
473 ((flags & SP_STYLE_FLAG_IFDIFF) && this->set
474 && (!my_base->set || this != my_base )))
488 if( (inherits && !set) || inherit ) {
501 if( (!set || inherit) && p->set && !(p->inherit) ) {
530 set = true;
535 set = true;
559 ((flags & SP_STYLE_FLAG_IFSET) && this->set) ||
560 ((flags & SP_STYLE_FLAG_IFDIFF) && this->set
561 && (!my_base->set || this != my_base )))
578 if( inherits && (!set || inherit) ) {
615 if( p->set && !p->inherit ) {
616 if( !set || inherit ) {
617 set = p->set;
640 set = false;
651 g_assert(set);
677 set = true;
683 set = true;
698 ((flags & SP_STYLE_FLAG_IFSET) && this->set) ||
699 ((flags & SP_STYLE_FLAG_IFDIFF) && this->set
700 && (!my_base->set || this != my_base )))
732 set = true;
737 set = true;
741 set = true;
748 set = true;
769 ((flags & SP_STYLE_FLAG_IFSET) && this->set) ||
770 ((flags & SP_STYLE_FLAG_IFDIFF) && this->set
771 && (!my_base->set || this != my_base )))
809 set = true;
814 set = true;
821 set = true;
870 ((flags & SP_STYLE_FLAG_IFSET) && this->set) ||
871 ((flags & SP_STYLE_FLAG_IFDIFF) && this->set
872 && (!my_base->set || this != my_base )))
914 set = true;
918 set = true;
941 ((flags & SP_STYLE_FLAG_IFSET) && this->set) ||
942 ((flags & SP_STYLE_FLAG_IFDIFF) && this->set
943 && (!my_base->set || this != my_base )))
977 if( inherits && (!set || inherit) ) {
990 if( (!set || inherit) && p->set && !(p->inherit) ) {
991 set = p->set;
1024 set = false;
1028 set = true;
1031 set = true;
1042 set = true;
1052 ((flags & SP_STYLE_FLAG_IFSET) && this->set) ||
1053 ((flags & SP_STYLE_FLAG_IFDIFF) && this->set
1054 && (!my_base->set || this != my_base )))
1093 if( (inherits && !set) || inherit) { // FIXME verify for 'color'
1109 if( (!set || inherit) && p->set && !(p->inherit) ) {
1110 set = p->set;
1144 // 'style' is set in SPStyle::SPStyle or in the legacy SPIPaint::read( gchar, style, document )
1184 set = true;
1198 set = true;
1224 set = true;
1237 set = true;
1240 set = true;
1243 set = true;
1249 set = true;
1281 ((flags & SP_STYLE_FLAG_IFSET) && this->set) ||
1282 ((flags & SP_STYLE_FLAG_IFDIFF) && this->set
1283 && (!my_base->set || this != my_base )))
1371 value.color.set( false );
1393 if(!set || inherit) { // Always inherits
1433 if( (!set || inherit) && p->set && !(p->inherit) ) {
1434 this->cascade( parent ); // Must call before setting 'set'
1435 set = p->set;
1486 set = false;
1490 set = true;
1493 set = true;
1553 ((flags & SP_STYLE_FLAG_IFSET) && this->set) ||
1554 ((flags & SP_STYLE_FLAG_IFDIFF) && this->set
1555 && (!my_base->set || this != my_base )))
1595 if(!set || inherit) { // Always inherits
1612 if( (!set || inherit) && p->set && !(p->inherit) ) {
1613 this->cascade( parent ); // Must call be setting 'set'
1614 set = p->set;
1654 set = true;
1657 set = true;
1667 set = true;
1702 ((flags & SP_STYLE_FLAG_IFSET) && this->set) ||
1703 ((flags & SP_STYLE_FLAG_IFDIFF) && this->set))
1750 if( (!set || inherit) && p->href && p->href->getObject() ) { // is the getObject() needed?
1751 set = p->set;
1800 set = true;
1838 ((flags & SP_STYLE_FLAG_IFSET) && this->set) ||
1839 ((flags & SP_STYLE_FLAG_IFDIFF) && this->set
1840 && (!my_base->set || this != my_base )))
1866 if( !set || inherit ) values = p->values; // Always inherits
1876 if( (!set || inherit) && p->set && !(p->inherit) ) {
1877 set = p->set;
1910 set = true;
1916 set = true;
1927 length.set = false;
1929 if( length.set ) {
1930 set = true;
1955 ((flags & SP_STYLE_FLAG_IFSET) && this->set) ||
1956 ((flags & SP_STYLE_FLAG_IFDIFF) && this->set
1957 && (!my_base->set || this != my_base )))
1987 if( !set || inherit ) { // Always inherits
2069 if( p->set && !(p->inherit) ) {
2071 if( (!set || inherit) ) {
2073 set = p->set;
2080 // Absolute size, computed value already set
2083 // Absolute size, computed value already set
2089 set = true;
2118 } // Parent set and not inherit
2157 set = true;
2182 if( test_style.set ) {
2190 if( test_variant.set ) {
2198 if( test_weight.set ) {
2206 if( test_stretch.set ) {
2214 if( test_size.set ) {
2230 // Everything in shorthand is set per CSS rules, this works since
2232 style->font_style.set = true;
2233 style->font_variant.set = true;
2234 style->font_weight.set = true;
2235 style->font_stretch.set = true;
2236 style->font_size.set = true;
2237 style->line_height.set = true;
2238 style->font_family.set = true;
2239 // style->font_size_adjust.set = true;
2240 // style->font_kerning.set = true;
2241 // style->font_language_override.set = true;;
2252 // ((flags & SP_STYLE_FLAG_IFSET) && this->set) ||
2253 // ((flags & SP_STYLE_FLAG_IFDIFF) && this->set
2254 // && (!my_base->set || this != my_base )))
2289 set = true;
2295 set = true;
2307 set = length.set;
2326 ((flags & SP_STYLE_FLAG_IFSET) && this->set) ||
2327 ((flags & SP_STYLE_FLAG_IFDIFF) && this->set
2328 && (!my_base->set || !this->isZero() )))
2360 if( !set || inherit ) {
2406 if( (!set || inherit) && p->set && !(p->inherit) ) {
2407 set = p->set;
2454 set = true;
2457 set = true;
2473 // This method ignores inlineid keys and extra delimiters, so " ,,, blink hello" will set
2498 set = true;
2506 set = false;
2516 ((flags & SP_STYLE_FLAG_IFSET) && this->set) ||
2517 ((flags & SP_STYLE_FLAG_IFDIFF) && this->set
2518 && (!my_base->set || this != my_base )))
2541 if( inherits && (!set || inherit) ) {
2556 if( (!set || inherit) && p->set && !(p->inherit) ) {
2557 set = p->set;
2591 set = false;
2601 set = true;
2613 // this method ignores inlineid keys and extra delimiters, so " ,,, style hello" will set style and ignore hello
2630 set = true;
2638 set = false;
2648 ((flags & SP_STYLE_FLAG_IFSET) && this->set) ||
2649 ((flags & SP_STYLE_FLAG_IFDIFF) && this->set
2650 && (!my_base->set || this != my_base )))
2679 if( inherits && (!set || inherit) ) {
2695 if( (!set || inherit) && p->set && !(p->inherit) ) {
2696 set = p->set;
2741 if( test_line.set ) {
2747 if( test_style.set ) {
2753 // one is used ???? then why break on set?
2759 test_color.set = false;
2771 if( test_color.set ) {
2777 test_color.set = false;
2784 // If we read a style or color then we have CSS3 which require any non-set values to be
2785 // set to their default values.
2787 style->text_decoration_line.set = true;
2788 style->text_decoration_style.set = true;
2789 style->text_decoration_color.set = true;
2792 // If we set text_decoration_line, then update style_td (for CSS2 text-decoration)
2793 if( style->text_decoration_line.set == true ) {
2804 ((flags & SP_STYLE_FLAG_IFSET) && style->text_decoration_line.set) ||
2805 ((flags & SP_STYLE_FLAG_IFDIFF) && style->text_decoration_line.set
2806 && (!my_base->style->text_decoration_line.set ||
2870 * opacity's effect is cumulative; we set the new value to the combined effect. The
2878 * and child was set to inherit. The merged child should
2883 * - parent was previously unset (so opacity 1.0), and child was set to a number.
2886 * - parent was inherit and child was unset. Merged child should be set to inherit.
2890 * child's value should be set to the product of the two, i.e. the square of the
2897 * - parent was inherit and child was set to a numerical value. If the child's value
2899 * If the child's value was 0, then the merged child should also be set to 0.
2901 * case above: have the merged child set to the product of the two opacities and not
2903 * - parent was set to a value, and child was unset. The merged child should have
2905 * - parent was set to a value, and child was inherit. The merged child should
2906 * be set to the product, i.e. the square of the parent's value.
2907 * - parent & child are each set to a value. The merged child should be set to the