Class Index | File Index

Classes


Class odf.StylePile


Defined in: StyleCache.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
odf.StylePile(styleParseUtils, masterPageCache)
Collection of all the styles in the document for one style family.
Method Summary
Method Attributes Method Name and Description
 
 
 
<inner>  
getStyle(styleName)
<inner>  
parseStyle(element, visitedStyles)
 
Class Detail
odf.StylePile(styleParseUtils, masterPageCache)
Collection of all the styles in the document for one style family. There are separate style piles for family 'text', 'paragraph', 'graphic' etc.
Parameters:
{!odf.StyleParseUtils} styleParseUtils
{!odf.MasterPageCache} masterPageCache
Method Detail
{undefined} addAutomaticStyle(style)
Parameters:
{!Element} style
Returns:
{undefined}

{undefined} addCommonStyle(style)
Parameters:
{!Element} style
Returns:
{undefined}

{!odf.StylePileEntry|undefined} getDefaultStyle()
Returns:
{!odf.StylePileEntry|undefined}

<inner> {!odf.StylePileEntry|undefined} getStyle(styleName)
Parameters:
{!string} styleName
Returns:
{!odf.StylePileEntry|undefined}

<inner> {!odf.StylePileEntry} parseStyle(element, visitedStyles)
Parameters:
{!Element} element
{!Array.} visitedStyles
track visited styles to avoid loops
Returns:
{!odf.StylePileEntry}

{undefined} setDefaultStyle(style)
Parameters:
{!Element} style
Returns:
{undefined}

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Aug 06 2015 04:10:41 GMT+0200 (MESZ)