Commit Graph
13 Commits
Author SHA1 Message Date
Friedrich W. H. Kossebau c2a795e668 Update link to repo: now https://github.com/kogmbh/WebODF/ 2013-10-23 18:20:30 +02:00
Friedrich W. H. Kossebau 508570dab8 Add copy of the AGPL3 to sources (+ add to created zip files) 2013-10-21 17:55:16 +02:00
Friedrich W. H. Kossebau 06c5307598 Unbreak build due to jslint complaining about "Insecure '.'" 2013-10-18 13:44:15 +02:00
Friedrich W. H. Kossebau 0d4437a855 Only strip first and last char from annotation creator name if indeed quotes were found 2013-10-18 12:31:01 +02:00
Aditya Bhatt 0d40dffae8 Add a method getSizer() to OdfCanvas and use it in
AnnotationViewManager.
No longer using element.firstChild and getElementById to retrieve it,
just make it a variable inside OdfCanvas
2013-08-29 16:45:35 +02:00
Aditya Bhatt 2c90904588 Hide annotations pane when no annotations are there;
even if annotations are enabled.
2013-08-29 16:25:23 +02:00
Aditya Bhatt d17e0a1c02 * Add a cicrular button to the annotation note in AnnotationViewManager
to delete the annotation
* Add click-handling for such buttons in SessionController
* Add OdfCanvas.forgetAnnotations() to untrack annotations
* Add OpRemoveAnnotation that takes a position within the
 annotation, and deletes that annotation. It also takes the
 walkable length of the annotation node for OT purposes.
 Any cursors inside are moved to the left of the annotation.
2013-08-14 13:49:33 +02:00
Aditya Bhatt ecd64cea98 Take the zoom level into account when rendering annotations 2013-08-09 14:48:23 +02:00
Friedrich W. H. Kossebau 4322b22858 Rename everything with "[Uu]ser|[Ppeople]" to "[Mm]ember"
consolidates the terms used a little
2013-08-07 18:03:19 +02:00
Aditya Bhatt df4f68ac9b Make annotation authors render properly in Firefox:
The the CSS `content: ` property for pseudo elements is
'none' for gecko unlike '' in webkit, so add an extra check for that.
2013-08-06 05:08:07 +02:00
Aditya Bhatt 825a44affc * OpAddAnnotation that lets you create annotations. This only creates an
annotation-end node if the length of the selection > 0.
* Adds a button to the editor to add an annotation at the given cursor position
or selection
* A bad hack in AnnotationViewManager: The dc:creator of
a created annotation is initially empty because the operation has no
way to access the user model even if it knows the memberid. The
SessionView has a new rule for editinfo:memberid attributes that sets
the CSS content: attribute to the user name. AnnotationViewManager,
for now, will read this CSS property and set the text of dc:creator to
that; at least till we have a better way to access the usermodel in
the future
* Rerenders annotations when an annotation is added for tracking (like upon creation)
* SessionView gets a way to concretely specify the CSS pseudo-class for a rule (:before, :after, etc)
* enableAnnotations only allows handles annotations if the allow value
changes
* Add translation strings for annotate
2013-08-05 19:16:32 +02:00
Aditya Bhatt b8b5e9a68d * Dox for modifyAnnotations
* Cache only the annotation node name instead of the node
2013-08-01 18:58:34 +02:00
Aditya Bhatt 281b9675d2 * Rename AnnotationManger to AnnotaitonViewManager,
* label constants, improve jsdoc
* Remove unused call this.forgetAnnotation
* set the annotation.end as null if no end was found
2013-08-01 17:16:30 +02:00