https://bugs.documentfoundation.org/show_bug.cgi?id=151881

--- Comment #3 from Miklos Vajna <[email protected]> ---
> From point of ODF I wonder about the loext:name attribute. Can there be more 
> than one loext:theme element?

OOXML themes can have a name, it sounds like a good idea to preserve this. We
may have a UI later that selects a theme by name + preview in the future, see
bug 151900 and bug 151902.

The idea is to have one theme per master page in Impress, which would match the
presentationML markup (so import/export is simple).

> And, why is the theme definition in the master-page?

The Writer can will be simpler, just one theme per document (it's what
wordprocessingML has). But Impress needs a theme per master page to have a 1:1
mapping from/to presentationML.

You can see this in action if you create 2 master pages in powerpoint, with
different themes. Once you change the master page of a slide, the shapes on the
slide are automatically updated to the new theme. The goal would be to have the
same in Impress at the end.

Also, themes work in parallel to styles. A style has a set of formatting then
direct formatting can refer to it and optionally override parts of it. A color
from a theme is just a name, but otherwise still direct formatting. I can say
that I want fill color to be "accent 1", and I can say this both from direct
formatting and from a style. At least that's how I understand OOXML's theme
concept, which looks mostly reasonable (and probably a good idea to model our
theme support after that).

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to