Class Index | File Index

Classes


Class odf.Style2CSS


Defined in: Style2CSS.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
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>  
<inner>  
getDirectChild(node, ns, name)
<inner>  
<inner>  
<inner>  
<inner>  
<inner>  
<inner>  
getSelectors(family, name, node)
<inner>  
getStyleMap(doc, stylesnode)
<inner>  
<inner>  
<inner>  
 
style2css(stylesheet, styles, autostyles)
Class Detail
odf.Style2CSS()
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}

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Sep 30 2011 22:56:22 GMT+0200 (CEST)