Theme colors

Lassi Nieminen lassniem at gmail.com
Tue Mar 26 08:02:33 GMT 2013


Hola,

On Wed, Mar 20, 2013 at 10:23 AM, Jaroslaw Staniek <staniek at kde.org> wrote:

> On 20 March 2013 09:12, Lassi Nieminen <lassniem at gmail.com> wrote:
> > This would be excellent.
> >
> > The filters have so many ugly solutions trying to work around this issue
> > currently.
>
> Ah, could you share your thoughts on the topic and any ugly cases?
>
>
The most annoying behavior which comes to my mind, is the possibility to
define certain themed styles
which can be used all over the places.
These can be line filling, text, background, gradient etc styles. Naturally
these are defined using
theme colors. Since theme color interpretation depends in case of pptx from
slide/slideMaster and how
that particular slide/master wants to define the theme color, we must either
a) read the theme file once per each file
b) read the themes to some internal structure and try to generate them as
needed with some parameter
value

Currently we have chosen b), but since it requires work for each possible
themed style variation,
the support is actually simplified and not perfect atm. IF there was
support for theme colors, support
for this would be much simpler and the filter output better. The problem of
course is, if we want the filters
to continue supporting also odf 1.2 format. Though I guess parallel support
wouldn't be too much of a work.

In conclusion:, I'm all in for this for odf, I assume the format for styles
would be something like
....fo:color.... fo:theme-color ...

-Lassi

>
> > On Tue, Mar 19, 2013 at 10:28 PM, Jaroslaw Staniek <staniek at kde.org>
> wrote:
> >>
> >> Forwarding an excerpt from the thread with my conclusion for the near
> >> future:
> >>
> >> ---------- Forwarded message ----------
> >> From: Mirek M. <mazelm at gmail.com>
> >> Date: 14 March 2013 00:25
> >>
> >> Sorry for the late response -- I promise I will have the Engineering
> >> Steering Committee's answer for you tomorrow.
> >>
> >> ---------- Forwarded message ----------
> >> From: Michael Meeks <michael.meeks at suse.com>
> >> Date: Fri, Mar 15, 2013 at 10:30 AM
> >> Subject: Re: Themes
> >> To: "Mirek M." <mazelm at gmail.com>
> >> Cc: kendy <kendy at novell.com>, Thorsten Behrens <tbehrens at novell.com>
> >>
> >> Hi Mirek,
> >>
> >> On Thu, 2013-03-14 at 20:33 +0100, Mirek M. wrote:
> >> > I wasn't able to attend today's ESC call and the minutes were quite
> >> > vague, so I'd like to clear a few things up. For context, I'm quoting
> >> > the relevant part of Jaroslaw Staniek's message:
> >>
> >>         Yep - so - my hope would be that around June we will have 3x
> >> interns
> >> inside SUSE one of whom may be interested in working on this - indeed we
> >> could sketch that out.
> >>
> >> >         The code for Themes has not landed in
> >> >         Calligra only because of not-the-highest-priority but since
> >> >         then I
> >> >         heard encouraging comments and no disagreement so we shall
> >> >         finally
> >> >         have them. If this fits LibreOffice plans we can co-develop
> >> >         the
> >> >         design/specifications so we'll be compatible (e.g. we can
> >> >         share theme
> >>
> >> [..]
> >> there is no problem in collaborating around file-formats and the
> >> specification thereof etc.
> >> Clearly a major focus of what we do needs to be round-trip
> >> interoperability - so we can load/save these to MS formats with no data
> >> loss.
> >>
> >> >         files and properly embed them in documents/templates, staying
> >> >         backward-compatible with not-theme-aware software). In
> >> >         addition to
> >> >         defining some extensions to ODF, the specs would be in large
> >> >         part
> >> >         related to behaviour of the applications. I also hope some
> >> >         relevant functional/unit tests could be shared.
> >>
> >>         Sounds reasonable.
> >>
> >> >         As a first step I propose a common wiki page (is there neutral
> >> >         one or would you accept Calligra Wiki?)
> >>
> >>         I don't actually care where the spec. is developed / discussed.
> >>
> >> > Are we interested in working together on a spec?
> >> > What kind of UI/design work would this require up front?
> >>
> >>         As for the UI design - then, yes - it would be great to a) get
> the
> >> results of the Calligra thoughts already - hopefully they've done a good
> >> compatibility analysis; and b) to get a UI design to see this integrated
> >> into LibreOffice nicely.
> >>
> >>         So - yes, it's certainly worth putting some effort into this -
> >> Kendy -
> >> do you think we could persuade one intern to work on this ?
> >>
> >>         Thoughts ?
> >>
> >>
> >> ---------- Forwarded message ----------
> >> From: Jaroslaw Staniek <staniek at kde.org>
> >> Date: 16 March 2013 09:54
> >> Subject: Re: Theme colors
> >> To: "Mirek M." <mazelm at gmail.com>
> >>
> >> Thanks for the update. Yes, round-trip with MSOOXML is one
> >> requirement, though backward compatibility with ODF 1.2 or older (and
> >> thus, DOC) is important too, and can be achieved by by copying theme
> >> items into actual styles.
> >>
> >> As for the schedule, there's nothing precise because the feature while
> >> important ... it's absence does not stop users from actually being
> >> productive.
> >>
> >> --
> >> regards / pozdrawiam, Jaroslaw Staniek
> >>  Kexi & Calligra & KDE | http://calligra.org/kexi | http://kde.org
> >>  Qt Certified Specialist | http://qt-project.org
> >>  http://www.linkedin.com/in/jstaniek
> >> _______________________________________________
> >> calligra-devel mailing list
> >> calligra-devel at kde.org
> >> https://mail.kde.org/mailman/listinfo/calligra-devel
> >
> >
> >
> > _______________________________________________
> > calligra-devel mailing list
> > calligra-devel at kde.org
> > https://mail.kde.org/mailman/listinfo/calligra-devel
> >
>
>
>
> --
> regards / pozdrawiam, Jaroslaw Staniek
>  Kexi & Calligra & KDE | http://calligra.org/kexi | http://kde.org
>  Qt Certified Specialist | http://qt-project.org
>  http://www.linkedin.com/in/jstaniek
> _______________________________________________
> calligra-devel mailing list
> calligra-devel at kde.org
> https://mail.kde.org/mailman/listinfo/calligra-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20130326/7cb19f84/attachment.htm>


More information about the calligra-devel mailing list