My blog is dead, long live my blog!
Just a short note - I have moved my blog to holesovsky.blogspot.com, including the old entries. This site can rest in peace now, I have already asked the admins to update the planet subscription.
Recent documents in LibreOffice
This is again one of those little improvements that make LibreOffice much more usable, and that I so much love hacking on. I implemented a dropdown for the Open toolbar button that brings an easy access to the Recent Documents, and sent that the UX mailing list for feedback. I got some really useful hints. Even better - I gave Samuel code pointers to play with this a bit, and he came up with a beautiful patch that implements his ideas. And here is the result:
Samuel - thank you for this! :-) For anybody who would like to bring this functionality to the Start Center too (the screen you see when you start LibreOffice), here is an Easy Hack that will result in reusing the code for the Start Center too; and also will delete lots of duplicate code.
LibreOffice 4.0: Use Firefox Personas in your favorite office suite
Personas are easy-to-use themes that let you personalize the look of your Firefox says the Personas page. In fact, it is a great collection of many nice pictures you can apply in your Firefox with one click.
Olivier had the great idea to reuse them in LibreOffice too. I provided him with few code pointers to implement the feature, but then I decided this is actually so fun project that I wanted to do it myself (sorry, Olivier!) - and started that at the Munich HackFest. Long story short, here is the result:
Unfortunately we cannot choose Personas in LibreOffice with just one click as in Firefox, but it is as easy as it can be - just download LibreOffice 4.0 RC1 (or later) when available, choose Tools -> Options... -> Personalization -> Select Persona, and the rest is trivial, the dialog will lead you through the necessary steps. Enjoy!
LibreOffice HackFest in Munich: Apply Style Combobox
The first day of the LibreOffice HackFest in Munich is nearly over, and I am happy to say that I've already achieved what I wanted to hack on:
This is how the "Apply Style" combo box looks like from now on - in LibreOffice 4.0, we will show previews of the styles directly in there, helping the users to choose the right style conveniently.
I can imagine some follow-up work, like being able to edit the style directly from the menu entry, instead of having to choose "More...", and editing from there; if you are interested to hack on this, I'll be glad to show you where :-) - just mail me.
LibreOffice Tutorial Videos
A user just asked on IRC how to print a serie of descriptions of photos, when he has a list in a spreadsheet. I answered that Mail Merge is what he is searching for - but he did not know what Mail Merge was. I found a very helpful video showing the mail merge in LibreOffice, so I want to share it with you :-)
[There is also a shortcut to Mail Merge when you understand the concept, try Tools -> Mail Merge Wizard..., of course.]
Recently I was able to spend a bit of time on the UI hacking again; and this time it was the "Rulers" in Writer. Thanks to Mirek M. (BTW, have you seen his Call for GSoC projects designs, and Call for Templates blog entries?) who provided me with a helpful mockup, I was able able to implement the new look quickly and effectively, mostly by removing code :-)
I hope I will be able to do more such changes before the 3.6 feature freeze; I'll keep you informed. And if anybody of you is interested in UI-related hacking, just mail me or ping me on the IRC (kendy on irc.freenode.net), and I'll provide you with code pointers to other interesting areas :-)
LibreOffice v češtině
LibreOffice 3.4 má uživatelské rozhraní kompletně přeložené do češtiny, nápovědu z 90%. 3.5, příští verze, je na tom trochu hůře - uživatelské rozhraní 97%, nápověda 89%. Pokud chcete tato čísla zlepšit, není nic jednoduššího - zaregistrujte se na LibreOffice Pootle serveru, pošlete mi své uživatelské jméno na kendy @ suse cz a já vám zařídím potřebná oprávnění.
LibreOffice 3.5 toho má hodně co nabídnout, byla by škoda nemít všechno přeloženo!
On Friday, I was able to spend a bit of time on UI hacking which I love. Those small and tiny pieces that when combined, do a big difference - do you remember my GSoC task proposal in this area? ;-) Unfortunately, no student has picked that; but let's see if somebody else gets interested.
This time it was the toolbar's menus. So far those menus were too prominently visible on the toolbar, while not that much used. Additionally, you can get the same functionality as a context menu - when you right-click on the toolbar. Together with our UX guys, we agreed that the best will be to remove them, and show the ">>" marks only when there are hidden toolbar items. You can see the changes on a "Before/After" screenshot:
And how does it look like when there are hidden items:
This will be available in LibreOffice 3.5. There is a small follow-up Easy Hack, see EasyHack: Make the toolbar menu easier. I'll be happy to provide you with details if you want to try this one - just drop me a mail.
LibreOffice build on Windows with ccache for MSVC
I have just revived my 4 years old hack that adds MSVC support to ccache. The use case is a bit limited - you have to use it from inside cygwin; but that is exactly what LibreOffice needs :-) So I have updated LibreOffice's configure.in to be able to handle it well - so far in the libreoffice-3-4 branch, but it will get to master the next time we merge the branch there.
How to use it? Download the ccache.exe binary, put it to eg. your ~/bin (or somewhere else in your PATH), setup the CC and CXX environment variables, and compile as you are used to (./autogen.sh, make, ...), like:
CC="ccache C:/PROGRA~1/MICROS~1.0/VC/bin/cl.exe" CXX="ccache C:/PROGRA~1/MICROS~1.0/VC/bin/cl.exe" ./autogen.sh make
And yes, it would be great to do the ccache support as simple as a --enable-ccache configure option - but I did not find time to fine tune it on the other platforms, so I'll go for that only when I find there is a demand for that - drop me a mail ;-)
If you want to have a look at the ccache's statistics, run ccache -s. I've done no measurement how much time it saves overall - if are able to do any, please mail me your results too.
LibreOffice: Zapojte se!
[This blog entry is in Czech, a summary of my talk I had at the openSUSE 11.4 Release Party in Prague.]
Toto je asi první zápis, který píšu česky. A pokud není první, tak ten předchozí jsem musel napsat tak dávno, že si to už ani nepamatuji. Chci se s vámi totiž podělit o své (česky psané) slidy z openSUSE 11.4 Release Party, která byla minulý pátek v hackerspace Brmlab. Bylo nás tam hodně, přitom však tak akorát, abychom se neudusili; však si prohlédněte fotky v Pavlově blogu.
Mluvil jsem o tom, jak se zapojit do LibreOffice (pdf) jako přispěvatel. A šance je jak pro programátory, tak pro překladatele, nebo autory dokumentace, či webových stránek. Nejdůležitější je najít si, co vás baví, a začít. Programátorských úkolů je spousta, vybere si každý. A pokud se jedná o překlady, pošlete mi mail, povím více.
Abych nezapomněl, pro studenty je šance vydělat si přes léto pěkných pár peněz v rámci Google Summer of Code pro LibreOffice. Tak neváhejte, máte ještě týden na to, abyste se zaregistrovali! :-)