(paragraphStyles, characterStyles, tableStyles, numberingStyles)
| 2036 | exports.defaultStyles = new Styles({}, {}); |
| 2037 | |
| 2038 | function Styles(paragraphStyles, characterStyles, tableStyles, numberingStyles) { |
| 2039 | return { |
| 2040 | findParagraphStyleById: function(styleId) { |
| 2041 | return paragraphStyles[styleId]; |
| 2042 | }, |
| 2043 | findCharacterStyleById: function(styleId) { |
| 2044 | return characterStyles[styleId]; |
| 2045 | }, |
| 2046 | findTableStyleById: function(styleId) { |
| 2047 | return tableStyles[styleId]; |
| 2048 | }, |
| 2049 | findNumberingStyleById: function(styleId) { |
| 2050 | return numberingStyles[styleId]; |
| 2051 | } |
| 2052 | }; |
| 2053 | } |
| 2054 | |
| 2055 | Styles.EMPTY = new Styles({}, {}, {}, {}); |
| 2056 |
nothing calls this directly
no outgoing calls
no test coverage detected