Commit Graph
16 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
Philip Peitsch 33ce56c37a Refactored StyleHelper text queries (isBold etc.) to use a applied styles object
This improves the performance by reducing the number of times getAppliedStyles
is called (once per update, rather than once per property to check), and
paves the way for the direct cursor styling to be taken into account.
2013-10-15 23:09:59 +11:00
Friedrich W. H. Kossebau 1164be7ee4 Remove some unneeded listing of Node & NodeFilter in jslint globals 2013-10-08 16:00:12 +02:00
Friedrich W. H. Kossebau d2f612b353 move more namespace strings to odf.Namespaces, more const typing of local copies 2013-09-22 19:21:17 +02:00
Philip Peitsch d1cdcfb2cb Add direct font family and size styling support to Editor
* tweak fontPicker wrapper to be a little easier to use within other
  widgets
* keep annotation button stays in same position
2013-09-09 09:16:04 +02:00
Friedrich W. H. Kossebau e136f97396 Also integrate system default style attributes when calculating the style attributes of the current text/paragraph 2013-09-06 23:39:08 +02:00
Friedrich W. H. Kossebau 496bb734c0 Fix useless repeated lookup of the same style in StyleHelper's hasParagraphPropertyValue() 2013-09-06 23:13:02 +02:00
Philip Peitsch 2b15d50727 Add support for direct paragraph styling
Supported commands include:
- Paragraph alignment (left, center, right, justify)
- Paragraph indentation/unindentation
2013-09-06 10:38:14 +10:00
Philip Peitsch 15a65b71ea Migrate tests for migrated StyleHelper => OdfUtils functions
* Added instructions on how to create new test classes, as this involves
a myriad of small file changes that can easily be missed overlooked :(
2013-08-05 16:33:05 +10:00
Aditya Bhatt 302cc7a283 *Add an annotationsPane and position annotations onto it by styling them
via CSS
*Refactoring: Move common functions from TextStyleApplicator to DomUtils
and OdfUtils.
*Allow application of 'gui' style (with an annotation: namespace) in
TextStyleApplicator and Formatting.
*More CSS for annotations.
*Make OdfCanvas handle annotations.

Add an annotation:connector element to the highlight span for a dotted
line
2013-08-01 16:14:58 +02:00
Jos van den Oever 967e5c0ba0 Update closure compiler and fix ensuing problems. 2013-07-24 17:56:39 +02:00
Lu Li c75f303cfb handle shortcuts for applying bold, italic & underline 2013-07-24 09:58:17 +02:00
Philip Peitsch 278955162c Refactored out common code for fetching nodes within a given range 2013-07-24 01:45:49 +02:00
Philip Peitsch 6fcbe0c71c Re-implemented OpRemoveText to make better use of iterators and filters
This rewrite fixed 3 failing operation tests related to whitespace
behaviours.

The current implementation supports
* List & list item removal
* Image & frame remove
* Text removal
* Paragraph merging

As part of this, improvements were made to how the cursor positioning
is fixed to attempt to always keep the cursor in the paragraph it starts
in to avoid line jumping near paragraph boundaries.
2013-07-24 01:45:48 +02:00
Lu Li 0eff2c6a0a Refactor odf.Formatting class
* move getTextNode from OdfUtils to StyleHelper
* move some of the unit tests under FormattingTests to StyleHelperTests
2013-07-22 16:47:42 +02:00