Date: prev next · Thread: first prev next last
2017 Archives by date, by thread · List index


Hi everyone!

I decided with my mentor to change scope of my project to importing
SmartArts.
At the beginning I spent a lot of time studying existing code and format
specification. Unfortunately there is not much materials and OOXML
documentation is very formal and hard to read.

There is already a good starting point. Current code builds tree of 'atoms'
that represent nodes in layout document. Next 'visitors' traverse the tree
executing specific actions (such as creating shape or laying out shape's
children). It's called visitor pattern.

Beside that I fixed one issue that prevented laying out shapes and now they
are displayed in fixed positions.
Currently I'm working on layout algorithm that applies suitable size and
position to each shape basing on diagram dimensions and constraints.

Regards,
Grzegorz Araminowicz

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.