Older blog entries for caolan (starting at number 226)

18 Jun 2014 (updated 18 Jun 2014 at 16:15 UTC) »

dialog conversion status, 99 to go

 Converting LibreOffice dialogs to .ui format, 99 conversions remaining

We've now converted all but 99 of LibreOffice’s classic fixed widget size and position .src format elements to the GtkBuilder .ui format. This is due to the much appreciated efforts of Palenik Mihály and Szymon Kłos, two of our GSOC2014 students, who are tackling the last bunch of hard to find or hard to convert ones.

Current conversion stats are:
741 .ui files currently exist
There are 46 unconverted dialogs
There are 53 unconverted tabpages
An estimated additional 99 .ui are required
We are 88% of the way through.

Syndicated 2014-06-18 15:17:00 (Updated 2014-06-18 15:29:38) from Caolán McNamara

selected and unselected slides with mouse over

It will be possible in LibreOffice Impress 4.3 to distinguish between selected and unselected slides when the mouse over highlight activates.

I mean, in previous versions, slide 2 here is drawn the same, when the mouse is over it in the slide pane, regardless of whether it is selected or unselected

 While in 4.3 the two modes are drawn respectively as

There's also a little subtle gradient added in for good measure.

Syndicated 2014-05-12 13:57:00 (Updated 2014-05-12 13:57:27) from Caolán McNamara

fit slide to window statusbar icon

LibreOffice 4.3 Impress now has a "Fit slide to window" icon in the statusbar alongside the zoom slider.

Additionally when you change zoom the slide now automatically centers itself. Hopefully the addition of the one-click to fit slide to window and the automatic centering on zoom-change will successfully address some of the complaining I've heard about the suffering that scrolling a slide causes.

Syndicated 2014-05-08 13:47:00 (Updated 2014-05-08 13:47:12) from Caolán McNamara

format all comments

As part of our series of trying to solve in-house needs LibreOffice 4.3 will have a "format all comments" feature to change the character properties of all comments in a document.

Syndicated 2014-04-23 11:12:00 (Updated 2014-04-23 11:12:25) from Caolán McNamara

Printing comments in margins

Because a fellow RedHat employee requested it on Friday, LibreOffice Writer 4.3 will be able to print comments in the margin effectively as they appear on screen, which should take care of the old fdo#36815 feature request. There is now an additional "place comments in margin" option in the print dialog (and writer print options). On screen the comments are placed outside the real page area, so to actually get them onto the paper when printing, the contents of the page needs to be scaled down by approximately 75% of its original size to make space to fit the comments in.

Here's the additional comment place option in the print dialog

Here's some sample pdf output

Syndicated 2014-04-16 10:16:00 (Updated 2014-04-16 10:16:17) from Caolán McNamara

700 conversion target reached

Pushed through the 700 widget conversion barrier this week. The FindDialogs wiki page has helped quite a bit. There remains quite a few blanks in there though, so help still needed to identify the route to launch those unknown dialogs and tabpages via the UI.

Of the newly identified ones I'm a little amused by RID_OFAPAGE_SMARTTAG_OPTIONS which (we think) can only be seen when a smart tags extension is installed. Is there a known working extension out there that enables this to be shown when installed ?

Trivia titbit: we have converted eight different passwords dialogs. And there remains one unconverted one whose route to being launched is currently unknown

Current conversion stats are:
706 .ui files currently exist
There are 67 unconverted dialogs
There are 68 unconverted tabpages
An estimated additional 135 .ui are required
We are 83% of the way through.

Syndicated 2014-03-28 20:54:00 (Updated 2014-03-28 20:54:44) from Caolán McNamara


I'm finding it a fairly slow process to find the last 175 dialogs/tabpages in the LibreOffice UI. I have the full list of identifiers, and it's generally not a difficult process to find how to activate any individual dialog from the UI but in the aggregate it takes time and breaks the development flow if I have to stop/start to find the next one to convert.

So, you can help :-) This FindDialogs wiki page contains the list of identifiers and some hints as to how to find them in the source and in the help documentation. That's generally sufficient to determine what dialog they describe and how to launch it.

Filling out those remaining blank "how to activate" entries will speed up the conversion process.

Syndicated 2014-03-05 13:32:00 (Updated 2014-03-05 13:32:33) from Caolán McNamara

dialog conversion status, 190 to go

  Converting LibreOffice dialogs to .ui format, 190- conversions remaining

We've now converted 77% of LibreOffice’s classic fixed widget size and position .src format elements to the GtkBuilder .ui format.

Using the guesstimate tool ./bin/count-todo-dialogs the current status is:

666 .ui files currently exist
There are 96 unconverted dialogs
There are 93 unconverted tabpages
An estimated additional 189 .ui are required
We are 77% of the way through.

What makes this mini-milestone interesting to me is that there are less that 200 to go now, and there are less than 100 of each of the two categories of elements remaining.

The latest of this latest bunch of conversions is the conversion of the pivot table dialog which has the side effect that the pivot table dialog now fits into a 768 pixel tall netbook screen when in expanded mode.

Syndicated 2014-02-13 16:13:00 (Updated 2014-02-13 16:13:14) from Caolán McNamara


My FOSDEM2014 LibreOffice .ui format a11y notes for developers presentation is available now. Basic notes on the importance of setting mnemonics and how to migrate pre-existing accessibility relations out of explicit c++ code and into GtkBuilder a11y markup.

Syndicated 2014-02-05 11:09:00 (Updated 2014-02-05 11:09:09) from Caolán McNamara

Long Writer Paragraphs

Now that the huge work of removing and replacing UniString is complete and LibreOffice 4.2 has branched off. Now is a good time to remove the 16bit limits in Writer that continued to limit its paragraph length to 65535 chars. So I pushed today to master (4.3) the final set of changes to remove that limitation. Above is a screenshot showing the result. A writer document with a single paragraph containing > 100,000 characters.

This improves compatibility with MSWord which had no 64k limit on its paragraph length, which forced the importer to split over-long paragraphs into two or more. And this also addresses the long outstanding feature request to support long paragraphs in writer in order to support the custom in some locales (Brazil, others?) where there is apparently a requirement to record minutes of certain classes of meetings in a single paragraph.

Syndicated 2014-01-15 13:36:00 (Updated 2014-01-15 13:36:06) from Caolán McNamara

217 older entries...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!