* remove @license tag (to prevent Closure compiler keeping the comment)
* use copyright@kogmbh.com email address everywhere
* remove "additional permission", to be added only to released webodf.js
* separate license header by empty line from following content
Moved the code that parses ODF lists styles and creates rules for them
into a separate object. This is done as the second step in removing
duplicate/redundant code from OdfCanvas.js around some list style
handling.
Moved the creation of the style tree out of Styles2CSS. This is the first
step in refactoring out and fixing some duplicate list handling code in
OdfCanvas.js.
The code is much more readable now and some inefficiencies are resolved now.
E.g. in one place an array was iterated like it was an object.
The use of getElementByTagnameNS has been replaced by more efficient
getDirectChild.
Fixes the sometimes difference in what substitution font is used in the
font selector tool and what substitution font is used in the ODF document
display for fonts which are not installed on the system
According to OpenDocument v1.0
"The attribute draw:stroke specifies the style of the stroke on the current object."
"The attribute svg:stroke-width specifies the width of the stroke on the current object."
"The attribute svg:stroke-color specifies the color of the stroke on the current object. "
these dimensions from the page style.
A new API call has been added to know the type of document
(text/presentation/spreadsheet), and this is used to decide what sort of
CSS rule to generate for page layouts.
As a little temporary hack, for slideshows, the last page style where the
height is lesser than the width is used for layouting, because for the
vast majority of presentations this holds true. This will change once we
adequately implement support for master styles.
* Removing dead code and cleaning up unused variables
* Corrected extern definitions for createTreeWalker and createNodeIterator
* Clarified variable names and function header for mergeRecursive
* Made getInheritedStyleAttributes able to cope with a document that lacks default style definitions for various classes
(Theoretically all should have this, but it makes testing easier to write)
* Added missing module dependency to odf.Formatting