Jos van den Oever
9f35da24d9
Upgrade to latest Closure Compiler
...
A few annotation errors were uncovered and fixed.
2016-07-24 22:04:45 +02:00
Munduzbek Subanov
23e92c2c2d
Simple map for text-shadow style.
2015-11-25 18:42:27 +06:00
Aditya Bhatt
f94a3212ca
Add fo:text-transform support.
2015-09-16 16:45:16 +02:00
Aditya Bhatt
50fb2e7a55
Add fo:letter-spacing support
2015-09-16 16:43:41 +02:00
Aditya Bhatt
2ab523a51d
Add direct CSS mapping from fo:font-variant
2015-09-16 10:30:42 +02:00
Jos van den Oever
47fa509517
If there is no <office:settings/> element, save an empty <office:document-settings/> element.
2015-09-10 19:30:50 +02:00
Jos van den Oever
7d306548a5
Use STORE as default method.
...
This is important because the file "mimetype" should *never* be compressed.
2015-09-02 09:49:16 +02:00
Jos van den Oever
3d016853b3
Report the modification date of the zip entries.
2015-09-02 09:49:16 +02:00
Aditya Bhatt
2c682bb73b
Update other references to be aware of getMemberIds
...
working for all members, and not just cursors
Adds a new OdtDocument.hasMember method
2015-07-17 13:44:40 +02:00
Aditya Bhatt
526f4c079a
Make OdtDocument.getMemberIds return ALL memberIds
...
and not just those of cursors.
2015-07-17 13:44:40 +02:00
Aditya Bhatt
5d5102b27d
Merge pull request #910 from adityab/peitschie-zip-compress
...
Replace existing zip implementation with jszip v2.4.0
2015-07-17 13:43:16 +02:00
Philip Peitsch
435501c966
Replace existing zip implementation with jszip v2.4.0
...
jszip has a much cleaner API than the existing RawDeflate version. In
addition, jszip supports creation of a compressed output stream.
As it's non-trivial to make jszip behave with closure compiler, a second
concat-only step has been added during compilation to include 3rd party
dependencies.
Fixes #21 .
2015-07-15 20:38:04 +10:00
Aditya Bhatt
9537e6d042
Let inserted image dimensions be in centimeters
...
LibreOffice does not recognize px dimensions for image frames,
despite the spec allowing it. To play safe, always convert the
dimensions into centimeters before inserting the image.
This patch comes with a new ImageControllerTests.js.
2015-07-14 11:35:48 +02:00
Aditya Bhatt
a7eb577fb8
Fix broken click-to-collapse-selection ability in Blink
...
This is achieved by not iterating over DOM objects using Object.keys
because Chrome >=43 move them onto the prototype chain.
The iteration in DomUtils.cloneEvent is now done over the event's
class prototype.
2015-07-10 11:14:54 +02:00
Friedrich W. H. Kossebau
68cc8025f6
Allow to control verifyCache behaviour of existing ops.StepsCache instances
2015-06-07 13:16:34 +02:00
Friedrich W. H. Kossebau
913f5b115c
Remove AddMemberAddMember OT again
2015-06-07 13:16:33 +02:00
Philip Peitsch
97bc84d27f
Enable StepsCache verification
2015-06-01 18:00:12 +02:00
Philip Peitsch
52529379e1
Add incorrect implementation for OT of AddMember ops
2015-06-01 18:00:12 +02:00
Philip Peitsch
e6cb30164f
Add TODO around TrivialUndoManager bug
2015-06-01 18:00:11 +02:00
Jos van den Oever
dd2bc67012
Use new options of closure compiler.
...
Each option now has its own line to make a change in settings more visible.
2015-06-01 08:53:42 +02:00
Jos van den Oever
b8ad5b3889
Upgrade to Closure Compiler 20150505.
...
We are now using our own copy of the externs to deal with differences
of opinion on best typing of types.
2015-06-01 08:53:35 +02:00
Friedrich W. H. Kossebau
0a13b44fd3
Add transformAddAnnotationRemoveAnnotation
2015-05-06 18:39:15 +02:00
Friedrich W. H. Kossebau
19a3ffce2d
Add transformRemoveAnnotationRemoveAnnotation
2015-05-06 18:39:15 +02:00
Friedrich W. H. Kossebau
2875939211
Add transformAddAnnotationAddAnnotation
2015-05-06 18:39:15 +02:00
Friedrich W. H. Kossebau
50b0213b3c
Add transformRemoveAnnotationRemoveText
2015-04-21 16:58:50 +02:00
Friedrich W. H. Kossebau
ad38426eb4
Add transformRemoveAnnotationSetParagraphStyle
2015-04-21 16:58:50 +02:00
Friedrich W. H. Kossebau
10a3553a9d
Add transformRemoveAnnotationSplitParagraph
2015-04-21 16:58:50 +02:00
Friedrich W. H. Kossebau
a00e838764
Add transformMoveCursorRemoveAnnotation
2015-04-21 16:58:50 +02:00
Friedrich W. H. Kossebau
f3f495b832
Add transformMergeParagraphRemoveAnnotation
2015-04-21 16:58:50 +02:00
Friedrich W. H. Kossebau
1b9fdca1bf
Add transformInsertTextRemoveAnnotation
2015-04-21 16:58:50 +02:00
Friedrich W. H. Kossebau
419eb54788
Add transformApplyDirectStylingRemoveAnnotation
2015-04-21 16:58:49 +02:00
Friedrich W. H. Kossebau
a23d98a53f
Add transformAddAnnotationRemoveText
2015-04-21 16:58:49 +02:00
Friedrich W. H. Kossebau
f4b49d8993
add transformAddAnnotationMergeParagraph
2015-04-21 16:58:49 +02:00
Friedrich W. H. Kossebau
7d5bdf27dd
fixup transformAddAnnotationInsertText
2015-04-21 16:58:49 +02:00
Friedrich W. H. Kossebau
63c19e91a0
Add transformAddAnnotationApplyDirectStyling
2015-04-21 16:58:49 +02:00
Friedrich W. H. Kossebau
f156d9e27a
Add transformAddAnnotationSetParagraphStyle
2015-04-21 16:58:49 +02:00
Friedrich W. H. Kossebau
bf89109feb
Add transformAddAnnotationSplitParagraph
2015-04-21 16:58:49 +02:00
Friedrich W. H. Kossebau
f9f24a6fcc
Add transformAddAnnotationMoveCursor
2015-04-21 16:58:49 +02:00
Friedrich W. H. Kossebau
db51dfdfe8
Add transformAddAnnotationInsertText
2015-04-21 16:58:49 +02:00
Friedrich W. H. Kossebau
69ac4062de
Add noop transformations against AddAnnotation & RemoveAnnotation
2015-04-21 16:58:49 +02:00
Friedrich W. H. Kossebau
be0969b526
Make odf.Formatting's buildStyleChain() not ignore root containers
2015-04-02 11:49:03 +02:00
Friedrich W. H. Kossebau
72ffb2e070
Inline modifyAnnotations in OdfCanvas for simpler code
2015-03-31 15:57:20 +02:00
Friedrich W. H. Kossebau
55e856e67a
Ending OpRemoveAnnotation, rerender existing annotations, not refresh all
2015-03-31 15:57:20 +02:00
Friedrich W. H. Kossebau
31598d3e63
Workaround AnnotationViewManager not fixing cursor pos after highlighting
2015-03-31 15:57:20 +02:00
Friedrich W. H. Kossebau
f632956f80
In OpRemoveAnnotation just drop markup for the one annotation removed
2015-03-31 15:57:20 +02:00
Friedrich W. H. Kossebau
3947a38385
Support adding annotations to AnnotationViewManager in batches
2015-03-31 15:57:20 +02:00
Friedrich W. H. Kossebau
1d24d462c8
In OpAddAnnotation support annotated ranges with 0 length
...
Before 0 length was assumed to be an annotation without a range
2015-03-26 13:42:23 +01:00
Friedrich W. H. Kossebau
45726eb701
Fix OpMergeParagraph to not remove empty text:p of annotations' text
2015-03-25 11:11:29 +01:00
Friedrich W. H. Kossebau
b340d2b9af
Extend core.DomUtils.removeUnwantedNodes with optional parameter shouldSkip
2015-03-23 13:28:07 +01:00
Friedrich W. H. Kossebau
963eabf0af
Move UnitTester code into test dirs, no longer compile into webodf.js
2015-03-14 01:37:32 +01:00