[Libreoffice] [GSoC 2012][svg export filter] Weekly Report #1

Marco Cecchetti mrcekets at gmail.com
Sat May 26 04:09:09 PDT 2012


Hi everybody,
it follows my weekly report:

Report #1
---------
In order to enable future support for slide transitions has been
needed to modify the part of the presentation engine handling
the slides navigation feature. A new structure for slide and
master page elements has been designed.

In order to simplify and speed up testing the new slide and master
page structures are created in JavaScript by transforming the
current exported elements. In case the new design will lead to
a good implementation these structures will be created directly in
C++ (except for the master page view group and its sub-elements
that are generated on-the-fly).

A MasterPageView class has been implemented in order to create
a master page view element and its sub-elements; it is also
responsible for updating the content of the included text fields.
A sub-element (both <use> or a clone) is created only if the
related exported visibility property, parsed by the MetaSlide
instance the master page view object belongs to, is set to true.
This strategy simplify visibility handling.

Modified Thumbnail class implementation, now the thumbnail element
structure in the index page is simplified. Modification to the
index mode implementation has been needed in order to get the index
mode working with the new slide and master page structure, moreover
Firefox performance in index mode has been improved.

Tested the new implementation on the following browsers:

- Firefox 3.6, 4, 10, latest, aurora;
- IE 9, 10;
- Chrome 10, latest;
- Opera 11.50, 11.62, Next;
- Safari 5.1.5
- Fennec, Opera Mobile.

The last two through emulators. All work correctly.

Add a lot of comments to the source code. Added documentation
comments to classes and methods.
-------------------------------------------------------------------

You can read more details on my project log book:
https://docs.google.com/document/d/1GSLPSIWRGSDTSi69dT9Te8tRyTJcAekxT7scoCoGO2M/edit?pli=1#heading=h.zd4f29g9qeoc

You can download a sample presentation here:
https://docs.google.com/open?id=0BwS_9-CU4098UFhHSm1BYWE3Q0k
In order to download the zip file click on the Download item
under the File menu.

Indeed all new features are under the hood, for something more
exciting to watch you have to wait until the first slide
transitions will be available.

You can look at the source code in the feature branch:
feature/svg-export.

Cheers,
-- Marco


-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


More information about the LibreOffice mailing list