Lines Matching refs:property
34 * This function checks whether an element -> CSS property pair
37 bool SPAttributeRelCSS::findIfValid(Glib::ustring property, Glib::ustring element)
54 if (property[0] == '-'
55 || property.substr(0,4) == "role"
56 || property.substr(0,4) == "aria"
57 || property.substr(0,5) == "xmlns"
58 || property.substr(0,8) == "inkscape:"
59 || property.substr(0,9) == "sodipodi:"
60 || property.substr(0,4) == "rdf:"
61 || property.substr(0,3) == "cc:"
62 || property.substr(0,4) == "ns1:" // JessyInk
63 || property.substr(0,4) == "osb:" // Open Swatch Book
64 || (SPAttributeRelCSS::instance->propertiesOfElements[temp].find(property)
68 //g_warning( "Invalid attribute: %s used on <%s>", property.c_str(), element.c_str() );
74 * This function checks whether an CSS property -> default value
77 bool SPAttributeRelCSS::findIfDefault(Glib::ustring property, Glib::ustring value)
86 if( instance->defaultValuesOfProps[property] == value) {
94 * Check if property can be inherited.
96 bool SPAttributeRelCSS::findIfInherit(Glib::ustring property)
105 return instance->inheritProps[property];
109 * Check if attribute is a property.
111 bool SPAttributeRelCSS::findIfProperty(Glib::ustring property)
120 return ( instance->defaultValuesOfProps.find( property )