9 Commits
Author SHA1 Message Date
Friedrich W. H. Kossebau 2ae93c5ef8 Remove hardcoded dep of OdtDocument code on op UpdateMetadata
Following initial design there should be multiple different operation sets
possible, all working on the same document classes.
So relying on a certain optype and its spec in the code of ops.OdtDocument
is conflicting with that.
2015-01-17 18:16:20 +01:00
Friedrich W. H. Kossebau 1e2a4a8323 Normalize license headers of the webodf.js source files
* 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
2014-06-02 12:19:05 +02:00
Friedrich W. H. Kossebau 91d5eabcd6 Remove dead code from ops.OpUpdateMetadata 2014-05-27 15:03:53 +02:00
Friedrich W. H. Kossebau b0cca024c4 Init removedPropertiesArray to null, is understood by OdfContainer.setMetadata 2014-05-27 15:02:48 +02:00
Jos van den Oever ddcb6009eb Add a number of more precise types and remove unneeded casts. 2014-02-10 15:59:37 +01:00
Jos van den Oever 25fa630f0d Make some operation classes 100% typed. 2014-02-08 10:38:04 +01:00
Jos van den Oever 8a171bb30f Make gui.TrivialUndoManager and gui.UndoStateRules 100% typed. 2014-02-05 15:28:06 +01:00
Friedrich W. H. Kossebau db54df0a8b Create <office:meta> only on demand (and merge MetadataManager into OdfContainer) 2013-12-05 18:25:20 +01:00
Aditya Bhatt 9a12663336 Add a new odf.MetadataManager to lib/odf.
This handles setting and getting of various metadata
 fields, by providing methods setMetadata and getMetadata
 which take and return flat mappings between strings.

 This has been limited to work with only a few
 blessed metadata fields for now.

 ops.OpUpdateMetadata can be issued by either the server
 or a client once a gui for editing things like title
 is implemented.
2013-11-25 14:37:47 +01:00