java.lang.Object
io.sf.carte.doc.style.css.om.AbstractCSSStyleDeclaration
io.sf.carte.doc.style.css.om.BaseCSSStyleDeclaration
io.sf.carte.doc.style.css.om.InlineStyle
io.sf.carte.doc.style.css.om.CompatInlineStyle
- All Implemented Interfaces:
ExtendedCSSStyleDeclaration,NodeStyleDeclaration,Cloneable,CSS2Properties,CSSStyleDeclaration
Compat-aware CSS inline style declaration.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedCompatInlineStyle(CompatInlineStyle copiedObject) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanaddOverrideProperty(String propertyName, StyleValue cssValue, String priority) protected voidappendLonghandMinifiedCssText(StringBuilder sb, String ptyname, StyleValue cssVal, boolean important) protected voidappendShorthandMinifiedCssText(StringBuilder sb, String shorthandName, io.sf.carte.doc.style.css.om.ShorthandValue shval) protected voidcompatLonghand(String propertyName, StyleValue value, boolean priorityImportant, boolean isOverride) protected voidsetLonghandProperty(String propertyName, LexicalUnit value, String priority) protected voidshorthandError(String propertyName, LexicalUnit value, boolean important, LinkedList<String> shadowedShorthands, DOMException e) protected voidwriteLonghandCssText(SimpleWriter wri, StyleFormattingContext context, String ptyname, StyleValue ptyvalue, boolean important) protected voidwriteShorthandCssText(SimpleWriter wri, StyleFormattingContext context, String shorthandName, io.sf.carte.doc.style.css.om.ShorthandValue shval) Methods inherited from class io.sf.carte.doc.style.css.om.InlineStyle
clone, getOwnerNode, getStyleDeclarationErrorHandler, hasOverrideStyle, setOwnerNodeMethods inherited from class io.sf.carte.doc.style.css.om.BaseCSSStyleDeclaration
addProperty, addStyle, computeBoundProperty, diff, equals, getAzimuth, getBackground, getBackgroundAttachment, getBackgroundColor, getBackgroundImage, getBackgroundPosition, getBackgroundRepeat, getBorder, getBorderBottom, getBorderBottomColor, getBorderBottomStyle, getBorderBottomWidth, getBorderCollapse, getBorderColor, getBorderLeft, getBorderLeftColor, getBorderLeftStyle, getBorderLeftWidth, getBorderRight, getBorderRightColor, getBorderRightStyle, getBorderRightWidth, getBorderSpacing, getBorderStyle, getBorderTop, getBorderTopColor, getBorderTopStyle, getBorderTopWidth, getBorderWidth, getBottom, getCaptionSide, getClear, getClip, getColor, getContent, getCounterIncrement, getCounterReset, getCSSColor, getCssFloat, getCssText, getCSSValue, getCue, getCueAfter, getCueBefore, getCurrentColor, getCursor, getDeclaredCSSValue, getDirection, getDisplay, getElevation, getEmptyCells, getFont, getFontFamily, getFontSize, getFontSizeAdjust, getFontStretch, getFontStyle, getFontVariant, getFontWeight, getHeight, getLeft, getLength, getLetterSpacing, getLineHeight, getListStyle, getListStyleImage, getListStylePosition, getListStyleType, getMargin, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getMarkerOffset, getMarks, getMaxHeight, getMaxWidth, getMinHeight, getMinifiedCssText, getMinWidth, getOrphans, getOutline, getOutlineColor, getOutlineStyle, getOutlineWidth, getOverflow, getPadding, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getPage, getPageBreakAfter, getPageBreakBefore, getPageBreakInside, getParentRule, getPause, getPauseAfter, getPauseBefore, getPitch, getPitchRange, getPlayDuring, getPosition, getPropertyCSSValue, getPropertyPriority, getPropertyValue, getQuotes, getRichness, getRight, getSize, getSpeak, getSpeakHeader, getSpeakNumeral, getSpeakPunctuation, getSpeechRate, getStress, getStyleDatabase, getStyleSheetFactory, getTableLayout, getTextAlign, getTextDecoration, getTextIndent, getTextShadow, getTextTransform, getTop, getUnicodeBidi, getValueFactory, getVerticalAlign, getVisibility, getVoiceFamily, getVolume, getWhiteSpace, getWidows, getWidth, getWordSpacing, getZIndex, hashCode, isEmpty, item, prioritySplit, removeProperty, setAzimuth, setBackground, setBackgroundAttachment, setBackgroundColor, setBackgroundImage, setBackgroundPosition, setBackgroundRepeat, setBorder, setBorderBottom, setBorderBottomColor, setBorderBottomStyle, setBorderBottomWidth, setBorderCollapse, setBorderColor, setBorderLeft, setBorderLeftColor, setBorderLeftStyle, setBorderLeftWidth, setBorderRight, setBorderRightColor, setBorderRightStyle, setBorderRightWidth, setBorderSpacing, setBorderStyle, setBorderTop, setBorderTopColor, setBorderTopStyle, setBorderTopWidth, setBorderWidth, setBottom, setCaptionSide, setClear, setClip, setColor, setContent, setCounterIncrement, setCounterReset, setCssFloat, setCssText, setCue, setCueAfter, setCueBefore, setCursor, setDirection, setDisplay, setElevation, setEmptyCells, setFont, setFontFamily, setFontSize, setFontSizeAdjust, setFontStretch, setFontStyle, setFontVariant, setFontWeight, setHeight, setLeft, setLetterSpacing, setLineHeight, setListStyle, setListStyleImage, setListStylePosition, setListStyleType, setMargin, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setMarkerOffset, setMarks, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setOrphans, setOutline, setOutlineColor, setOutlineStyle, setOutlineWidth, setOverflow, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPage, setPageBreakAfter, setPageBreakBefore, setPageBreakInside, setPause, setPauseAfter, setPauseBefore, setPitch, setPitchRange, setPlayDuring, setPosition, setProperty, setProperty, setPropertyCSSValue, setQuotes, setRichness, setRight, setSize, setSpeak, setSpeakHeader, setSpeakNumeral, setSpeakPunctuation, setSpeechRate, setStress, setTableLayout, setTextAlign, setTextDecoration, setTextIndent, setTextShadow, setTextTransform, setTop, setUnicodeBidi, setVerticalAlign, setVisibility, setVoiceFamily, setVolume, setWhiteSpace, setWidows, setWidth, setWordSpacing, setZIndex, testColor, toString, writeCssTextMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.w3c.dom.css.CSSStyleDeclaration
getCssText, getLength, getPropertyPriority, item, removeProperty, setCssText, setPropertyMethods inherited from interface io.sf.carte.doc.style.css.ExtendedCSSStyleDeclaration
getMinifiedCssText, getParentRule, getPropertyCSSValue, getPropertyValue, writeCssText
-
Constructor Details
-
CompatInlineStyle
protected CompatInlineStyle() -
CompatInlineStyle
-
-
Method Details
-
setLonghandProperty
protected void setLonghandProperty(String propertyName, LexicalUnit value, String priority) throws DOMException - Overrides:
setLonghandPropertyin classBaseCSSStyleDeclaration- Throws:
DOMException
-
addOverrideProperty
- Overrides:
addOverridePropertyin classBaseCSSStyleDeclaration
-
compatLonghand
protected void compatLonghand(String propertyName, StyleValue value, boolean priorityImportant, boolean isOverride) - Overrides:
compatLonghandin classBaseCSSStyleDeclaration
-
shorthandError
protected void shorthandError(String propertyName, LexicalUnit value, boolean important, LinkedList<String> shadowedShorthands, DOMException e) - Overrides:
shorthandErrorin classBaseCSSStyleDeclaration
-
appendShorthandMinifiedCssText
protected void appendShorthandMinifiedCssText(StringBuilder sb, String shorthandName, io.sf.carte.doc.style.css.om.ShorthandValue shval) - Overrides:
appendShorthandMinifiedCssTextin classBaseCSSStyleDeclaration
-
appendLonghandMinifiedCssText
protected void appendLonghandMinifiedCssText(StringBuilder sb, String ptyname, StyleValue cssVal, boolean important) - Overrides:
appendLonghandMinifiedCssTextin classBaseCSSStyleDeclaration
-
writeShorthandCssText
protected void writeShorthandCssText(SimpleWriter wri, StyleFormattingContext context, String shorthandName, io.sf.carte.doc.style.css.om.ShorthandValue shval) throws IOException - Overrides:
writeShorthandCssTextin classInlineStyle- Throws:
IOException
-
writeLonghandCssText
protected void writeLonghandCssText(SimpleWriter wri, StyleFormattingContext context, String ptyname, StyleValue ptyvalue, boolean important) throws IOException - Overrides:
writeLonghandCssTextin classInlineStyle- Throws:
IOException
-