École centrale nantes & openoffice.org education project featuring: the eraser (implementation...

41
Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9 th July 2009 École Centrale Nantes & OpenOffice.org Education Project featuring: « The Eraser » « The Eraser »

Upload: morgan-magnin

Post on 17-May-2015

1.246 views

Category:

Technology


4 download

DESCRIPTION

Talk of Olivier Girardot (École Centrale de Nantes, Alumni 2009) and Eric Bachard (lead of the OpenOffice.org Education Project) at the Libre Software Meeting 2009 (http://2009.rmll.info/)During academical year 2008-09, a group of students from Centrale Nantes worked on the integration of annotation features in the slideshow module of OpenOffice.org. Two of them (Olivier Girardot and Frédéric Gélot) have become official OOo developers and interact with the other members of OOo team (like Thorsten Behrens). This talk synthesizes their work and their collaboration with the OOo Education project, that Eric Bachard presents in more details. More information on https://pedagogie.ec-nantes.fr/tablet-pc/ and http://blog.educoo.org/dotclear/

TRANSCRIPT

Page 1: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

École Centrale Nantes&

OpenOffice.orgEducation Project

featuring:

« The Eraser »« The Eraser »

Page 2: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

2Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

The project● OOo and the Education Project● Our project itself● How it works ?● The results of the project● The future for OOo● Conclusion

Page 3: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

OOo and Educoo ...

Page 4: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

The OpenOffice.org Project, is ...A Community Project, Itself organized in (a lot of) projects

Page 5: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Types of ProjectsThere are 3 project types in OpenOffice.org organization

● Accepted : code development (API, modules), Marketing, QA,...

● Incubator : new experimental projects: Education, Extensions

● Native lang : native lang communities

Page 6: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Role of the « Incubators » projects

● Experiment● Validate a new need● Innovate and make the OpenOffice.org Project

progress

Page 7: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Education Project is

an incubator andINTERNATIONALproject type

Page 8: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

The goals of the Education Project ?

This is a young project,Belonging to OpenOffice.orgwith the main goal tocreate a bridgebetween Educational World and OpenOffice.org

Page 9: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

' Who ' is the Education Project ?

Approximatively 100 members,Students, developers (mostly)From all countriesAll participate to OpenOffice.org

Page 10: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

The 3 main objectives of the Education Project :

● Create a network of teachers using OpenOffice.org

● Provide a space for exchanging pedagogical contents, under free file formats

● Teach, provide young (core-)developers to write code for OpenOffice.org

Page 11: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Back to the 3rd Objective : provide new developers

Idea :

Associate : theory (The teachers)The know how (professional developers)The actors (students, profs, and so on)Mentors (OpenOffice.org Project developers)The needs (features for OpenOffice.org)

Page 12: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Already started actions

● Online Courses « ClassRooms »● Projects with engineers schools students, and shools contributions

Page 13: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

ClassRooms

Online Courses ( IRC )

See:

http://wiki.services.openoffice.org/wiki/Education_Project/ClassRoom

Page 14: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Education Project Effort

● Mentored projects with active participation of the schools

http://wiki.services.openoffice.org/wiki/Education_Project/Effort

Page 15: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Schools who joined the project

Epitech/Epita (Paris, France)École Centrale Nantes (Nantes, FranceUTBM (Sévenans, France) Seneca College (Toronto Canada)

Page 16: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

ExamplesMozilla 1.7.5 → Seamonkey 1.1.14 migration (Pierre Pasteau / Epitech Paris ) QA in progress, will be integrated

Developers who contributed : Frank Schönheit (Sun MicroSystems), Eric Bachard (unaffiliated)

Page 17: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

ExamplesAude Quintana, Olivier Girardot (École Centrale Nantes): implementation of the eraser features, with Tablet PC and Impress. Code review in progress.

Developers who contributed : Thorsten Behrens (Novell)Managed by Morgan Magnin, for Ecole Centrale Nantes

Page 18: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

ExamplesFrédéric Gelot, Pierre-Jean Parot (École Centrale Nantes): annotations implementation with Tablet PC and Impress

Developers who contributed : Thorsten Behrens (Novell)

Managed by Morgan Magnin, for ECN

Page 19: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Other example : Seneca College, TorontoProfessor : Fardad Soleimanloo(4 projects started, expected for Summer 09)

All other proposed subjects :

http://wiki.services.openoffice.org/wiki/Education_Project/Effort

Page 20: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Scheduled Project: july to december 2009

Thomas Fontenay, Abdelkader Bellabes ( Epitech Paris ) : performance improvement of OOo4Kids on powerless machines (include backport to OpenOffice.org for the most interesting solutions), profiling, User Interface Improvement

Developers : Pierre Pasteau, Eric BachardManaged by Julien Ballet for Epitech Paris

Page 21: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

(partial) Conclusions The creation of reliable relations with engineers schools from everywhere works well (promising !)

This project only needs help .. We miss - developpers - sponsors - … mainly money in fact (founding travel, hardware)

Page 22: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

back to the feature ...

Page 23: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Tablet Pc and Centrale● The ECN was selected to take part into the

HP contest : Technology For Teaching● We chose to set up an OpenSource platform

(Linux/Ubuntu) on these computers and improve the way it worked

Improve how someone can annotate slides in OOo Impress during a slideshow

Page 24: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

2 projects in one :● « The Eraser » :

– To erase these annotations.● « The Saving Machine » :

– To save them and restore them.

Page 25: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Objectives and Specifications● Be able to completely erase screen

annotations;● Erase some parts manually at the following

sizes:– Little– Medium– Big

Page 26: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

OpenOffice.org● C++ core;● 8.36 Go of data once everything compiled ;● 9,000,000 lines code ;● Has it's own system of :

– extensions : UNO (Universal Network Object) : to be able to contribute in Java/Python...

Page 27: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

How things work

Page 28: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Implementation and Concept

● First part : Persistence and Full Erasing

Page 29: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Erasing Implementation● Erase, means :

– For one pixel, redraw it at its original color before the annotation;

– For a slide, redraw it entirely;● Problem :

– Erasing requires to have a copy of the original image before to proceed the modification;

Page 30: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Where is the bitmap ?

Page 31: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Implementation and Concept

● Second part : Partial deleting

Page 32: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Notion of Clipping● Allows to define the part of the bitmap

to be redrawn, means :– Partial erasing ;– Optimisation ;– Eraser size management;

● Add parameters to the User Interface for modifying the eraser size.

Page 33: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

The bug with transformation

Page 34: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Resolution

● With Thorsten Behrens's help, regarding the right coordinates transformation to perform

Page 35: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Manage conflicts between projects

● The Saving Machine aims to assume annotation persistence ...

● … while The Eraser has the objective of erasing annotations;

Means : conflicts to solve

Page 36: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Maintainability guaranteed● CWS creation (Child WorkSpace)● Strong collaboration, code review and

validation by Eric Bachard and Thorsten Behrens

● Follow-up of the OOo specification process

Page 37: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Possible Optimisations

● Draw the polygons in a separate layer ;

● Improve the interaction between storage and erasing ;

Page 38: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Conclusion● Collaboration with a big scaled FOSS

Project – Understanding of the existing code ;– Insertion in the community ;– Precise specifications writing ;– Real answer to a real demand;

Page 39: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Conclusion

● Perspectives :– Upstream integration in a future

release– Possible improvements ;– Communication about the project ;

Page 40: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Thanks !

Questions ?

Page 41: École Centrale Nantes & OpenOffice.org Education Project featuring: The Eraser (implementation of annotation features in OpenOffice.org)

Aude Quintana, Olivier Girardot & Eric Bachard Libre Software Meeting Nantes 9th July 2009

Auteurs : Olivier Girardot ([email protected]), Eric Bachard ([email protected]) www.educoo.org 2009

Document sous licence libre http://creativecommons.org/licenses/by-sa/3.0/deed.fr