Home | History | Annotate | Download | only in editing

Lines Matching refs:EditingStyle

38 #include "EditingStyle.h"
121 ApplyStyleCommand::ApplyStyleCommand(Document* document, const EditingStyle* style, EditAction editingAction, EPropertyLevel propertyLevel)
135 ApplyStyleCommand::ApplyStyleCommand(Document* document, const EditingStyle* style, const Position& start, const Position& end, EditAction editingAction, EPropertyLevel propertyLevel)
151 , m_style(EditingStyle::create())
163 ApplyStyleCommand::ApplyStyleCommand(Document* document, const EditingStyle* style, IsInlineElementToRemoveFunction isInlineElementToRemoveFunction, EditAction editingAction)
210 RefPtr<EditingStyle> blockStyle = m_style->extractAndRemoveBlockProperties();
232 void ApplyStyleCommand::applyBlockStyle(EditingStyle *style)
296 void ApplyStyleCommand::applyRelativeFontStyleChange(EditingStyle* style)
459 && EditingStyle::create(highestAncestorWithUnicodeBidi, EditingStyle::AllProperties)->textDirection(highestAncestorDirection)
528 void ApplyStyleCommand::applyInlineStyle(EditingStyle* style)
581 RefPtr<EditingStyle> styleWithoutEmbedding;
582 RefPtr<EditingStyle> embeddingStyle;
630 RefPtr<EditingStyle> styleToApply = style;
659 void ApplyStyleCommand::fixRangeAndApplyInlineStyle(EditingStyle* style, const Position& start, const Position& end)
705 void ApplyStyleCommand::applyInlineStyleToNodeRange(EditingStyle* style, Node* node, Node* pastEndNode)
766 bool ApplyStyleCommand::removeStyleFromRunBeforeApplyingStyle(EditingStyle* style, RefPtr<Node>& runStart, RefPtr<Node>& runEnd)
806 bool ApplyStyleCommand::removeInlineStyleFromElement(EditingStyle* style, PassRefPtr<HTMLElement> element, InlineStyleRemovalMode mode, EditingStyle* extractedStyle)
861 bool ApplyStyleCommand::removeImplicitlyStyledElement(EditingStyle* style, HTMLElement* element, InlineStyleRemovalMode mode, EditingStyle* extractedStyle)
870 if (style->conflictsWithImplicitStyleOfElement(element, extractedStyle, mode == RemoveAlways ? EditingStyle::ExtractMatchingStyle : EditingStyle::DoNotExtractMatchingStyle)) {
877 if (!style->extractConflictingImplicitStyleOfAttributes(element, extractedStyle ? EditingStyle::PreserveWritingDirection : EditingStyle::DoNotPreserveWritingDirection,
878 extractedStyle, attributes, mode == RemoveAlways ? EditingStyle::ExtractMatchingStyle : EditingStyle::DoNotExtractMatchingStyle))
890 bool ApplyStyleCommand::removeCSSStyle(EditingStyle* style, HTMLElement* element, InlineStyleRemovalMode mode, EditingStyle* extractedStyle)
918 HTMLElement* ApplyStyleCommand::highestAncestorWithConflictingInlineStyle(EditingStyle* style, Node* node)
938 void ApplyStyleCommand::applyInlineStyleToPushDown(Node* node, EditingStyle* style)
945 RefPtr<EditingStyle> newInlineStyle = style;
967 void ApplyStyleCommand::pushDownInlineStyleAroundNode(EditingStyle* style, Node* targetNode)
989 RefPtr<EditingStyle> styleToPushDown = EditingStyle::create();
1025 void ApplyStyleCommand::removeInlineStyle(EditingStyle* style, const Position &start, const Position &end)
1061 RefPtr<EditingStyle> styleToPushDown;
1064 styleToPushDown = EditingStyle::create();
1177 bool ApplyStyleCommand::shouldSplitTextElement(Element* element, EditingStyle* style)
1360 void ApplyStyleCommand::addInlineStyleIfNeeded(EditingStyle* style, PassRefPtr<Node> passedStart, PassRefPtr<Node> passedEnd, EAddStyledElement addStyledElement)