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
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
Agenda
Project goals
Mobile platforms
Chosen software platform and its limitations
Prototype tools and tests
Document handling techniques
Conclusions
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
Mobile devices
Wide range of handheld devices
Mobile phones
Smartphones
Personal Digital Assistants
Different hardware and software capabilities
Different office software supported
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
Smartphones
For business use
Physical keyboard
Large screen
Stronger processors
Stronger batteries
Software for displaying office documents
Personal Digital Assistants
For business and entertainment
Physical and/or virtual keyboard
Large screen
Powerful processor
Strong battery
Office suite with limited features
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
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
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
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
Large documents
Splitting up documents
Document server running on a desktop or server machine splits up documents
Using different windows embedded in each other
Separating layers
Layering documents
ODF has 4 layersContent
Style
Meta
Configuration
Mobile ODF has 3 layersPure content
Style
Structure
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
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
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
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
Fragmenting documents
Transformed document layers are split into fragments
Fragments are edited on mobile site
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
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
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