14 Commits
Author SHA1 Message Date
Philip Peitsch bb56bc684c Convert odf.OdfUtils into a static singleton 2014-09-12 10:33:27 +10:00
Satvik Kumar a714866c52 Removed getParagraphElement from OdtDocument
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.
2014-08-13 23:15:50 +10:00
Aditya Bhatt c165702542 Add a const gui.CommonConstraints, which lists
the common constraints that come with and are
respected by WebODF.

Use these constraints in all previous occurrences.
2014-06-06 15:11:32 +02:00
Aditya Bhatt a30858b8c3 Rename SessionContextCache to SessionContext.
Stops caching cursor range.
2014-06-06 15:11:32 +02:00
Aditya Bhatt b02e11f1cc Make image insertion respect review mode constraints. 2014-06-06 15:11:31 +02: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
Philip Peitsch a3ae00a974 Provide better fallback mechanisms for Formatting.getContentSize
getContentSize will now always return a valid page size, falling back
to it's own hardcoded format if no valid one is found for the document
2014-03-27 22:57:45 +11:00
Philip Peitsch 82d1d7cd85 Cope with non-cm image dimensions
Style-related operations are slowly being moved towards px as the
default unit to improve consistency. Standardising getContentSize to
work in px rather than cm provides better re-use of CSSUnits as well.
2014-03-27 22:57:44 +11:00
Philip Peitsch 00758f0366 Clarified ImageController function name 2014-03-27 11:47:05 +11:00
Philip Peitsch 4a586fe805 Make page layout lookup code more robust when handling invalid docs
This prevents a null exception being thrown if the requested paragraph
has no details about the associated page style. As a second fallback,
if no style called "Standard" exists, this will fall back to the first
available master-page defined in the ODT.
2014-03-27 11:47:05 +11:00
Jos van den Oever e632ed2ae6 Make a large number of controllers 100% typed. 2014-02-08 13:37:50 +01:00
Jos van den Oever ed7270442f Remove loadClass calls from class files. The load system reads the dependencies from the manifest.json files now. 2014-02-07 15:38:09 +01:00
Friedrich W. H. Kossebau d2671e2a00 @returns -> @return 2014-01-31 15:33:43 +01:00
Aditya Bhatt 1c65c0eeec Rename ImageManager to ImageController 2014-01-15 13:37:47 +05:30