 Počekaj. OK. I'm Tomas Schweinger z Kulabra. Zdaj sem predstavljeni o dokumente. To je nekaj, da sem tukaj počkala. Prvno, kaj je dokumente? If you want to create more diverse documents, you can use the teams and the teams have influence on the colors and fonts and there's also effects, which are mostly for shapes. And yes, let's say, you can quickly change the document design or just changing the teams and this is very nice. So, more exactly, what are included inside the document teams. So, we have team colors, then team fonts, which are usually, you can define, what is a heading font and what is just a body font. And there are also inside the teams you can define fonts for exactly the language you want. So, if a team wants a language specifically for Japanese or any other Slovenian or English, you can specify that exact font there. So, as I said, there is also a team format stream and this is like applicable for shapes. You can specify various line properties and field properties around it and what is the background in which there are some effects, like a shadow or blur. And they kind of remind me of what we have, like drawing styles or shape styles. And I think that this is mainly because Microsoft Office doesn't have something like this and they just use the teams for that. But I think we have to sooner or later also support this. So, a little bit more about the colors exactly because the support that I implemented are mostly just the colors. So, when you are defining a team, you have dark colors, you have two choices of them and this is a light color, two choices. And then you have accent colors, six of them. And you have a hyperlink color and a followed hyperlink color. It's really exactly how, if this is very useful, but Microsoft Office defines them, so we have to do it also. So, one neat feature about this, maybe I can expand here, is like we have dark colors, and white light colors. I think that in Microsoft Office you can have, for example, a dark color, which is a text color and a light color, which is usually the background color. But if you are changing to, for example, that you want the dark mode, so background will be dark and text will be light color. So, in this case, it will automatically switch between them. And if you have a team, this is nice to define because currently we are, the only thing that this can be done automatically is mostly if you are specifying the color as automatic. And then, depending on the background, it will change the text color, which is quite problematic. So, additional to the colors, they are like color transformations and on top of that. So, you can have like a tint or shade color, and change the luminance, the saturation and many, many more transformations that are defined for the colors. And usually, when you are specifying a color, you select, for example, an accent one color and then you say, in addition, what is the color transformation? And I think, in writer, all of these transformations are supported, but not so in Excel and in Impress, which only supports tinting and shading or luminance modulation and luminance offset. More about it maybe later. So, about support inside Libre offices. There was like, what is the work done before this? There was like 2015, I was a Libre office conference in Denmark. I gave a presentation. I was excited about the teams, even at that time. And I created a mockup for which wasn't really supporting the teams, but what it did is changed the colors only. And then I presented this at the conference. It was quite excited, but then nothing happened for this was eight years ago and until now. Then there was, Mikloš needed to implement, had a task to implement team colors, at least the basic support inside Impress, but when he started it he didn't have a lot of time, so it was quite just to have something. So he did a little bit of groundwork and this was it. One speciality is like in Impress because there is a team per master slide, which is then inside Libre office a master page. This is a problem currently because we don't... Master page is a little bit more specific than just a master slide, which has a lot of these designs. I mean how it is called in Microsoft office, like schemes for each slide itself, and this is not so good if we are doing it just per master page, but okay, we did something about it and it was working. The first thing that I had to do was the groundwork. Of course we had like OXML import and export for the teams, but what we had before is we just put every property inside the grab bag and just transported it from import to the export so that we preserved the team, that we preserved the colors and when we are saving and loading the documents, but this is not the great idea we want to use the teams and change them and add them and this was not yet done. So I had to remove all this grab bag stuff and probably implement the teams reading and writing inside and storing everything inside the document model and this is quite some work. I mean, the whole team support is quite some work and is still not finished. So some of the execs is actually just similar, but we just have to map them inside what we have in document model. Yes, and the team export, this is just the team itself had to be written from scratch and just what it was in grab bag this had to be just removed. So what I added next is like this is the document model for the team, each team the collection. Yes, this is holding inside the document model like a collection of teams which needed so we can choose a new team or a team for your document and change it. It should be user extendable currently it's not we have just hardcoded a couple of teams but in the future I think we can add this. The next was refactoring of the unit so we can imagine every color property needs to be changed because you don't have just color you have to store additional information for the teams and every color team color property had to added a new color team property which is now complex color property why complex color it's because we wanted to add not just teams but everything that is supported by OOXML OOXML has more than just team but you can also as I said before these color transformations not only applicable for a team you can apply them for normal colors as well and yeah they are like this you can use different representations for the colors so this is like RGB or HSL color space which is also supported inside complex color yeah so the next then is we have to extend it so in first one was we did I did as support inside brighter there is in brighter we are storing this inside just quite SDR model we say which team is currently used and if there is no team imported when you create a document it will create a default team by the when it's created so then I change it so that text colors and fill colors can be mapped to a team this also includes underline and overline colors this is like the lines and you can also change the page background color and then the border colors are also supported previously there was also already implemented inside support from Impress which changed the shapes so this is also just reusing that and changing it so it works as expected and then of course every style that is defined it can define for example a color and this also needs to be supported next was then teams in calc similar like in brighter we are storing the team inside SDR model which is one team per shit document no shit the whole document and here we can change the text color for the cell cell background color and sparkline color sparkline defines hate different colors if I'm not mistaken so all the sparkline colors can be have support for team colors and then of course cell styles can also be also supported where inside cell styles you can change like this cell text color and background color so this is how it looks for sparklines you can three different teams and you can change them just by changing the team color so lastly because there was a lot of things changed during the implementation we also had to change it inside impress so as I said inside impress the big changes that we don't have one team per one team per whole document but it's defined on the master slide and yes as I said I already explained previously there is an issue when you have master slide ah one master slide has multiple layouts and this is different how we implement currently master pages inside LibreOffice where you only have master pages and each layout is then mapped to master pages so this is annoying because for the user it expect he will change the team and the whole presentation will change but if you have specified inside master pages he will have to go each master page and change the team there so currently I then recently changed this so that all master pages will be for now will change the team not just one master page and later when we have proper support for these master slide layouts we can change this so inside impress what the support is left of course text color again and background color and then of course what is missing lately is the drawing styles these were not supported and I had to add it and this now changing the teams inside impress looks something like this when you have three different teams automatically change the color so I want to talk a little bit what happens when we change the color we have this team color changer class for each inside impress inside writer and inside calc which just goes and changes so the whole model and changes looks for colors and changes the colors depending on how the definition of the team color or complex color has inside and then of course it automatically applies the transformations and then stores the color back inside the property there are some issues here because for every this change you have to also think about undo redo which can be quite interesting and it also needs to remember which team has changed and you have to add this into undo redo stack and support this VY as I said 8 years ago I was already experimenting with the teams at that time I created a sidebar that has design sidebar that has teams now I changed this that it properly supports the teams inside the sidebar in addition I added the dialogue and inside this dialogue you can change the team from one to another so this team dialogue is like here if you see here you can see that there is two times LibreOffice team this is something that can be improved the reason for this is that first in the first place there is always the team that is already inside the document currently and then because we have the inside this presets also name LibreOffice team they are written twice so all the others are just what are the preset teams inside LibreOffice and yeah in this you can also add and you can add a new team which will then be added to inside this dialogue but as long if you are using inside the document and it's fine but if not I think it will be lost currently when you are going out of LibreOffice so one big thing that also needed change is that the color picker so everywhere we have a color picker now we have a choice for this team colors inside the drop down and you will get something like this it will check what is the current team and it creates the color variations so on the top row there is just the team colors and at the bottom there are the same team colors but with transformations added the same like inside Microsoft Office so that this should be the same here inside Microsoft Office ok, the tool so as I said there is not every color property supported yet and there is quite a lot that is still missing in the time I had I couldn't change everything so we will go and add one by one until we have everything supported so next is also support for inside gradients so currently we only support solid colors but inside gradients we have multiple colors and with the multi color multi stop color gradients we need to store like this team colors for every stop color stop and this is something that we need to do in the future what is also omitted is like a chart support for team colors I didn't do anything there so this is currently unsupported completely unsupported but I think that chart where this would be very useful exactly in such charts so let's hope that we can also edit here and then what was also omitted is completely the team fonts and format scheme we support importing and exporting OXML so this at least this is supported but everything else we have to implement it so this is all I had so thank you