Class odf.Style2CSS
Defined in: Style2CSS.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
| Method Attributes | Method Name and Description |
|---|---|
| <inner> |
addListStyleRule(sheet, name, node, itemrule)
|
| <inner> |
addListStyleRules(sheet, name, node)
|
| <inner> |
addRule(sheet, family, name, node)
|
| <inner> |
addRules(sheet, family, name, node)
|
| <inner> |
addStyleMapToStyleTree(stylesmap, stylestree)
|
| <inner> |
addStyleRule(sheet, family, name, node)
|
| <inner> |
addStyleToStyleTree(stylename, stylesmap, stylestree)
|
| <inner> |
applySimpleMapping(props, mapping)
|
| <inner> |
createSelector(family, name)
|
| <inner> |
findStyle(stylestree, name)
|
| <inner> |
getBulletRule(node)
|
| <inner> |
getDirectChild(node, ns, name)
|
| <inner> |
getFontDeclaration(name)
|
| <inner> |
getGraphicProperties(props)
|
| <inner> |
getImageRule(node)
|
| <inner> |
getNumberRule(node)
|
| <inner> |
getParagraphProperties(props)
|
| <inner> |
getSelectors(family, name, node)
|
| <inner> |
getStyleMap(doc, stylesnode)
|
| <inner> |
getTableCellProperties(props)
|
| <inner> |
getTextProperties(props)
|
| <inner> |
namespaceResolver(prefix)
|
|
style2css(stylesheet, styles, autostyles)
|
Method Detail
<inner>
{undefined}
addListStyleRule(sheet, name, node, itemrule)
- Parameters:
- {!StyleSheet} sheet
- {!string} name
- {!Element} node
- itemrule
- Returns:
- {undefined}
<inner>
{undefined}
addListStyleRules(sheet, name, node)
- Parameters:
- {!StyleSheet} sheet
- {!string} name
- {!Element} node
- Returns:
- {undefined}
<inner>
{undefined}
addRule(sheet, family, name, node)
- Parameters:
- {!StyleSheet} sheet
- {!string} family
- {!string} name
- {!Element} node
- Returns:
- {undefined}
<inner>
{undefined}
addRules(sheet, family, name, node)
- Parameters:
- {!StyleSheet} sheet
- {!string} family
- {!string} name
- {!Element} node
- Returns:
- {undefined}
<inner>
{undefined}
addStyleMapToStyleTree(stylesmap, stylestree)
- Parameters:
- {!Object} stylesmap
- {!Object} stylestree
- Returns:
- {undefined}
<inner>
{undefined}
addStyleRule(sheet, family, name, node)
- Parameters:
- {!StyleSheet} sheet
- {!string} family
- {!string} name
- {!Element} node
- Returns:
- {undefined}
<inner>
{undefined}
addStyleToStyleTree(stylename, stylesmap, stylestree)
- Parameters:
- {!string} stylename
- {!Object} stylesmap
- {!Object} stylestree
- Returns:
- {undefined}
<inner>
{!string}
applySimpleMapping(props, mapping)
- Parameters:
- {!Element} props
- {!Object} mapping
- Returns:
- {!string}
<inner>
{?string}
createSelector(family, name)
- Parameters:
- {!string} family
- {!string} name
- Returns:
- {?string}
<inner>
{?string}
findStyle(stylestree, name)
- Parameters:
- {?Object} stylestree
- {?string} name
- Returns:
- {?string}
<inner>
{!string}
getBulletRule(node)
- Parameters:
- {!Element} node
- Returns:
- {!string}
<inner>
{?Element}
getDirectChild(node, ns, name)
- Parameters:
- {?Element} node
- {!string} ns
- {!string} name
- Returns:
- {?Element}
<inner>
{!string}
getFontDeclaration(name)
- Parameters:
- {!string} name
- Returns:
- {!string}
<inner>
{!string}
getGraphicProperties(props)
- Parameters:
- {!Element} props
- Returns:
- {!string}
<inner>
{!string}
getImageRule(node)
- Parameters:
- {!Element} node
- Returns:
- {!string}
<inner>
{!string}
getNumberRule(node)
- Parameters:
- {!Element} node
- Returns:
- {!string}
<inner>
{!string}
getParagraphProperties(props)
- Parameters:
- {!Element} props
- Returns:
- {!string}
<inner>
{!Array}
getSelectors(family, name, node)
- Parameters:
- {!string} family
- {!string} name
- {!Element} node
- Returns:
- {!Array}
<inner>
{!Object}
getStyleMap(doc, stylesnode)
- Parameters:
- {!Document} doc
- {!Element} stylesnode
- Returns:
- {!Object}
<inner>
{!string}
getTableCellProperties(props)
- Parameters:
- {!Element} props
- Returns:
- {!string}
<inner>
{!string}
getTextProperties(props)
- Parameters:
- {!Element} props
- Returns:
- {!string}
<inner>
{string}
namespaceResolver(prefix)
- Parameters:
- {string} prefix
- Returns:
- {string}
{undefined}
style2css(stylesheet, styles, autostyles)
- Parameters:
- {!StyleSheet} stylesheet
- {!Element} styles
- {!Element} autostyles
- Returns:
- {undefined}