This app works on firefox os and android. It will replace the android
app in programs/android.
The user interface has been rewritten and much simpler than the previous
one.
If there are only floating elements, the Dojo toolbar shrinks to 0 height.
To prevent this for left-aligned elements, do not set them as
float:left. (Also reorder generation to keep current tool ordering)
And for elements floating to the right, clear any floating for the toolbar element
with "clear:both" on the pseudo :after element.
As per design discussed in issue #816. Extracting this into a separate
view makes it optional for consumers to use (or potentially further
customize).
Fixes#816.
These hooks are all intended to override file loading within odf.Zip.
As of c2b4592, odf.Zip now uses runtime.readFile, these hooks all need
to be updated as well.
Various versions of Internet Explorer seems to neglect the leading slash
under some conditions (not when watching it with the dev tools of
course!). This was confirmed in IE10 + IE11
Fixes#809.
A common use-case for UI components is to only update the UI state just
before the next frame is rendered, irrespective of how many times a
signal is fired within a given batch of operations.
The event subscriptions object allows these to be easily created and
tracked, and also makes it easier to ensure all subscriptions are cleaned
up at the end.
Removed getStyleElement, getParagraphStyleElement and
getParagraphStyleAttributes from OdtDocument as these functions simply
redirect to their implementations in odf.Formatting.
This function only redirected to the OdfUtils version and many callers
already had an existing instance of OdfUtils to use. Any callers who did
not have an instance of OdfUtils now create one to continue using the
function.
The rounding direction constants in OdtStepsTranslator overlap with the
existing enum in core.StepsDirection. It makes sense to use that enum here
to specify rounding behaviour in converting DOM points to steps so the
constants have been removed and the enum has been substituted for all
usages.
This removes the option to provide a rounding predicate to decide whether
to round up or down from the convertDomPointToCursorStep method. It is replaced
with an enum that specifies whether to round up or down. The predicate was
removed as all callers supplied the same function to indicate they wanted
round up behaviour and this predicate was being duplicated.
The rounding parameter is optional and defaults to rounding down to the
previous step which is the same as before this commit.