Commit Graph
28 Commits
Author SHA1 Message Date
Tobias Hintze 375457d233 update license and copyright headers 2012-10-21 20:46:20 +02:00
Tobias Hintze 758333d210 update "@source:" references to gitorious.org/webodf
(as in master: de1a79c36f)
2012-10-21 12:18:15 +02:00
Jos van den Oever 9cac11cf01 Fix warnings reported by Firefox. 2012-08-25 00:42:10 +02:00
Jos van den Oever 30bd086382 Use the attribute svg:font-family for setting the css value for the font family instead of style:name. 2012-08-22 22:25:25 +02:00
Jos van den Oever 58aa1fdcd3 Verify that the DOM node is an Element be for calling getAttributeNS. 2012-08-08 17:59:36 +02:00
Aditya Bhatt 785e8174bf Remove TODO and console.log statement 2012-08-03 22:03:06 +05:30
Aditya Bhatt 52e7c408cb Added a font-face declaration resolver method, makeFontFaceDeclsMap, that creates a hash table that maps names to font-family. Updated Style2CSS.style2css() to pass on the fontFaceDecls node to the mapper. 2012-08-03 21:56:43 +05:30
Jos van den Oever 8416ca1220 Improve bullet lists.
Patch by Stuart Dickson

"
Here's the latest patch for the bullets functionality.

This includes the testdoc subfolder and there are two documents for testing the nested docs, one in LO and the other in Calligra.

The LO authored doc runs fine in Chrome, but on Firefox, the continued numbering has issues. It resets with each list, I believe the id-based selector may not be getting applied correclty, I'll add some additional decoration to the bullet block to confirm whether this is the case.

The Calligra document does not render correctly, which I was lookoing at before hitting build environment issues, which have taken my time the last couple of days (although look to be at an end now).

The things I wasn't too sure/happy with were:

    Having to copy code from Style2CSS into OdfCanvas (would prefer to have exposed the function and reused.
    I needed to get hold of the document in order to read the already added styles - and used window.document there (this works with jslint, but I'm not convinced it is the right approach)
"
2012-07-11 18:50:36 +02:00
Jos van den Oever 6e0d235263 Merge style properties. 2012-04-27 14:09:38 +02:00
Tobias Hintze bdef5cca4a add stuarts table-work. 2012-04-27 12:39:11 +02:00
Jos van den Oever 94797632bd Add support for table and column width.
And a few other properties.
2012-04-27 09:46:01 +02:00
Jos van den Oever 65089c44dc Fix warning in Firefox 6. 2011-09-30 16:00:30 +02:00
Jos van den Oever cd4f75c624 Use "use strict" to have more sanity checks. 2011-09-30 12:23:09 +02:00
Jos van den Oever 1a82610f9f Update to a new JSLint
and fix all the new errors it finds.
2011-09-29 13:57:04 +02:00
Jos van den Oever 2c4835fd8e Better positioning of frames that are anchored to paragraphs. 2011-09-29 11:29:51 +02:00
Jos van den Oever a97612ce83 Upgrade to new version of JSLint.
And update code to meet better checks.
2011-07-13 10:21:31 +02:00
Jos van den Oever 13c077b970 Add licenses and copyright statements to all javascript files. 2011-06-06 12:30:35 +02:00
Jos van den Oever a9416f5b65 Use advanced optimizations (experimental!). 2011-06-03 21:40:42 +02:00
Jos van den Oever 0626e0c38f Fix small bug: node may be an element and not have getAttributeNS 2011-04-22 09:23:36 +02:00
Jos van den Oever 8a8c70a1cb Compile fixes for new stricter Closure Compiler version. 2011-04-20 11:55:41 +02:00
Jos van den Oever 54d5758f62 Add initial support for list styles. 2011-04-19 21:46:03 +02:00
Jos van den Oever 4fc84e45f8 Add class for determining to which style key group a style reference belongs. This will be used for splitting up the element automatic-styles over styles.xml and content.xml. 2011-03-20 13:35:48 +01:00
Jos van den Oever 1e7aeebe23 Some work on splitting office:automatic-styles when saving. 2011-03-16 23:17:51 +01:00
Jos van den Oever 8e2ffea15f Share namespace definitions. 2011-02-23 23:59:18 +01:00
Jos van den Oever fad1e3cfac Fix type in presentation namespace.
also fix some whitespace and add better type checking.
2011-02-23 22:46:26 +01:00
Jos van den Oever 22c6c9c32d Fix parsing when no styles or automatic-styles element is present. 2011-01-31 18:03:10 +01:00
Jos van den Oever fbfbc56162 Fix for Android browser which does not have a good XPath implementation. We replace the code with a simple traversal. 2011-01-30 22:28:31 +01:00
Jos van den Oever c02fa13bf9 Finish porting of WebODF canvas and demo to new runtime. 2010-11-10 00:27:07 +01:00