introducing odf to mobile platforms

21
Imre Barna, Péter Bauer, Kinga Bernád, Zsolt Hernáth, Zoltán Horváth, Balázs Kőszegi, Gergely Kovács, Tamás Kozsik, Zsolt Lengyel, Róbert Roth, Sándor Sike , Gábor Takács Eötvös Loránd University Introducing ODF to Mobile Platforms

Upload: alexandro-colorado

Post on 29-Jan-2018

1.536 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Introducing ODF to mobile platforms

Imre Barna, Péter Bauer, Kinga Bernád, Zsolt Hernáth, Zoltán Horváth, Balázs

Kőszegi, Gergely Kovács, Tamás Kozsik, Zsolt Lengyel, Róbert Roth, Sándor Sike,

Gábor Takács

Eötvös Loránd University

Introducing ODF to Mobile Platforms

Page 2: Introducing ODF to mobile platforms

Agenda

Project goals

Mobile platforms

Chosen software platform and its limitations

Prototype tools and tests

Document handling techniques

Conclusions

Page 3: Introducing ODF to mobile platforms

Project goals

Creating an office software running on mobile devices, supporting ODF

Adaptive to mobile features

Controlled by document schemata

Transfer documents between desktop and mobile device

Page 4: Introducing ODF to mobile platforms

Mobile devices

Wide range of handheld devices

Mobile phones

Smartphones

Personal Digital Assistants

Different hardware and software capabilities

Different office software supported

Page 5: Introducing ODF to mobile platforms

Mobile phones

For everyday use, focusing on phone calls and text messages

Different mobile operating systems

Limited input interface

Small screen

Small batteries

Slow processors

Page 6: Introducing ODF to mobile platforms

Smartphones

For business use

Physical keyboard

Large screen

Stronger processors

Stronger batteries

Software for displaying office documents

Page 7: Introducing ODF to mobile platforms

Personal Digital Assistants

For business and entertainment

Physical and/or virtual keyboard

Large screen

Powerful processor

Strong battery

Office suite with limited features

Page 8: Introducing ODF to mobile platforms

Software platform

Common platform for all devices

Java ME

Mobile Information Device Profile 2.0

Connected Limited Device Configuration 1.1

Limited display capabilities

3 font faces

3 font sizes

Page 9: Introducing ODF to mobile platforms

Prototype tools

Prototype text editor

Understands basic ODF features

Paragraphs, font styles, basic lay-out algorithm

Prototype spreadsheet editor

Cell styles and formats, ranges

Performance testing

To identify critical features

Feature tests

Page 10: Introducing ODF to mobile platforms

Test methodology

Created documents with different sizes and features

From 1-paragraph notes

To 50 pages articles

Created scripts focusing on special features and stress testing

Individually tested text manipulation

Style editing and applying

Combined tests

Page 11: Introducing ODF to mobile platforms

Considerations

We cannot handle too long documents

Creating the layout for a 10-page document lasts minutes

Editing spreadsheets with more than 100*100 cells leads to OutOfMemory

The critical operation is creating the layout and rendering the document

Separate style and editing scripts are faster than combined tests

Page 12: Introducing ODF to mobile platforms

Large documents

Splitting up documents

Document server running on a desktop or server machine splits up documents

Using different windows embedded in each other

Page 13: Introducing ODF to mobile platforms

Separating layers

Layering documents

ODF has 4 layersContent

Style

Meta

Configuration

Mobile ODF has 3 layersPure content

Style

Structure

Page 14: Introducing ODF to mobile platforms

Adaptivity

Some features are turned off dinamically

Different ODF schema derivatives are needed for different feature sets

Document reduced dynamically to conform the selected schema derivative with markers

Page 15: Introducing ODF to mobile platforms

Features supporting adaptivity

Small performance test suite runs on the mobile

Checks physical parametersscreen size

memory

Measures the speed of some critical operationscreating visual layout

text processing

file operations

Page 16: Introducing ODF to mobile platforms

Selecting the appropriate schema

Based on the device's capabilities and user requirements the set of features is selected

Result is sent to server site where a schema derivative is selected

Schema derivations are generated in advance with a schema transformation tool

Derivations are consistent transformed ODF schema versions

Page 17: Introducing ODF to mobile platforms

Transforming documents

Documents must be transformed to conform the selected schema

Sub-trees may need to be detached from the document tree

Typed markers are used in place of detached sub-trees

Marker types enables consistent handling of documents

Visualization of placeholders of removed elements

Page 18: Introducing ODF to mobile platforms

Fragmenting documents

Transformed document layers are split into fragments

Fragments are edited on mobile site

Page 19: Introducing ODF to mobile platforms

Integration of documents

Edited fragments are integrated into a document conforming the selected schema derivative

Removed sub-trees are restored from marker database

Integrated document is transformed back to desktop ODF format

Page 20: Introducing ODF to mobile platforms

Defining schema derivatives

Schema derivative is generated for each predefined feature set

Feature sets are based on evaluated use cases

Schemata are derived from ODF schema

Schema transformation is automated

Expressed in Schema Transformation Descriptive Language

STDL is the RELAX NG embedding of the context-sensitive aML macro language

Page 21: Introducing ODF to mobile platforms

Conclusion

Prototype office software created and tested on a wide range of mobile devices

Solutions found for the main problems:

Splitting documents with embedded sliding windows

Splitting schema into layers

Using adaptive schema and feature set

Schema derivatives are defined supporting different feature sets