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:
CSSStyleDeclaration
,NodeStyleDeclaration
,Serializable
,Cloneable
,CSS2Properties
Compat-aware CSS inline style declaration.
- See Also:
-
Constructor Summary
ModifierConstructorDescriptionprotected
protected
CompatInlineStyle
(CompatInlineStyle copiedObject) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
addOverrideProperty
(String propertyName, StyleValue cssValue, String priority) protected void
appendLonghandMinifiedCssText
(StringBuilder sb, String ptyname, StyleValue cssVal, boolean important) protected void
appendShorthandMinifiedCssText
(StringBuilder sb, String shorthandName, io.sf.carte.doc.style.css.om.ShorthandValue shval) protected void
compatLonghand
(String propertyName, StyleValue value, boolean priorityImportant, boolean isOverride) protected void
setLonghandProperty
(String propertyName, LexicalUnit value, boolean important) protected void
shorthandError
(String propertyName, LexicalUnit value, boolean important, LinkedList<String> shadowedShorthands, DOMException e) protected void
writeLonghandCssText
(SimpleWriter wri, StyleFormattingContext context, String ptyname, StyleValue ptyvalue, boolean important) protected void
writeShorthandCssText
(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, setOwnerNode
Methods 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, setLexicalProperty, 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, writeCssText
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.sf.carte.doc.style.css.CSSStyleDeclaration
getCssText, getLength, getMinifiedCssText, getParentRule, getPropertyCSSValue, getPropertyPriority, getPropertyValue, item, removeProperty, setCssText, setProperty, writeCssText
-
Constructor Details
-
CompatInlineStyle
protected CompatInlineStyle() -
CompatInlineStyle
-
-
Method Details
-
setLonghandProperty
protected void setLonghandProperty(String propertyName, LexicalUnit value, boolean important) throws DOMException - Overrides:
setLonghandProperty
in classBaseCSSStyleDeclaration
- Throws:
DOMException
-
addOverrideProperty
- Overrides:
addOverrideProperty
in classBaseCSSStyleDeclaration
-
compatLonghand
protected void compatLonghand(String propertyName, StyleValue value, boolean priorityImportant, boolean isOverride) - Overrides:
compatLonghand
in classBaseCSSStyleDeclaration
-
shorthandError
protected void shorthandError(String propertyName, LexicalUnit value, boolean important, LinkedList<String> shadowedShorthands, DOMException e) - Overrides:
shorthandError
in classBaseCSSStyleDeclaration
-
appendShorthandMinifiedCssText
protected void appendShorthandMinifiedCssText(StringBuilder sb, String shorthandName, io.sf.carte.doc.style.css.om.ShorthandValue shval) - Overrides:
appendShorthandMinifiedCssText
in classBaseCSSStyleDeclaration
-
appendLonghandMinifiedCssText
protected void appendLonghandMinifiedCssText(StringBuilder sb, String ptyname, StyleValue cssVal, boolean important) - Overrides:
appendLonghandMinifiedCssText
in classBaseCSSStyleDeclaration
-
writeShorthandCssText
protected void writeShorthandCssText(SimpleWriter wri, StyleFormattingContext context, String shorthandName, io.sf.carte.doc.style.css.om.ShorthandValue shval) throws IOException - Overrides:
writeShorthandCssText
in classInlineStyle
- Throws:
IOException
-
writeLonghandCssText
protected void writeLonghandCssText(SimpleWriter wri, StyleFormattingContext context, String ptyname, StyleValue ptyvalue, boolean important) throws IOException - Overrides:
writeLonghandCssText
in classInlineStyle
- Throws:
IOException
-