Home | History | Annotate | Download | only in editing

Lines Matching full:propertyid

112 static bool executeApplyStyle(Frame* frame, EditorCommandSource source, EditAction action, int propertyID, const String& propertyValue)
115 style->setProperty(propertyID, propertyValue);
119 static bool executeApplyStyle(Frame* frame, EditorCommandSource source, EditAction action, int propertyID, int propertyValue)
122 style->setProperty(propertyID, propertyValue);
129 static bool executeToggleStyleInList(Frame* frame, EditorCommandSource source, EditAction action, int propertyID, CSSValue* value)
134 RefPtr<CSSValue> selectedCSSValue = selectionStyle->getPropertyCSSValue(propertyID);
154 newMutableStyle->setProperty(propertyID, newStyle,ec);
158 static bool executeToggleStyle(Frame* frame, EditorCommandSource source, EditAction action, int propertyID, const char* offValue, const char* onValue)
161 style->setProperty(propertyID, onValue); // We need to add this style to pass it to selectionStartHasStyle / selectionHasStyle
173 style->setProperty(propertyID, styleIsPresent ? offValue : onValue);
177 static bool executeApplyParagraphStyle(Frame* frame, EditorCommandSource source, EditAction action, int propertyID, const String& propertyValue)
180 style->setProperty(propertyID, propertyValue);
230 static TriState stateStyle(Frame* frame, int propertyID, const char* desiredValue)
233 style->setProperty(propertyID, desiredValue);
237 static String valueStyle(Frame* frame, int propertyID)
239 return frame->selectionStartStylePropertyValue(propertyID);