[PATCH] WIP: Convert scalc delete contents dialog to .ui

Albert Thuswaldner albert.thuswaldner at gmail.com
Mon Apr 8 08:52:48 PDT 2013


Hi Caolán,
Thanks for your excellent tutorial on WidgetLayout conversion:

https://wiki.documentfoundation.org/Development/WidgetLayout#HOWTO:_Step_by_step_dialog_conversion

With the help of this I almost completed the conversion of the Delete
Contents dialog in Calc (see patch #1)

What I didn't manage to do was to completely kill the resource id
 RID_SCDLG_DELCONT due to these two rows:

http://opengrok.libreoffice.org/xref/core/sc/source/ui/attrdlg/scdlgfact.cxx#882
http://opengrok.libreoffice.org/xref/core/sc/source/ui/view/cellsh1.cxx

How to handle these things are not covered in your tutorial, at least I
could not find that...

I am also scratching my head over the hid key in the help file, not sure I
got that right ( see patch #2

Some help on this would be great.

Thanks in advance
/Albert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130408/82186427/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-WIP-Convert-scalc-delete-contents-dialog-to-.ui.patch
Type: application/octet-stream
Size: 13660 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130408/82186427/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Modified-help-text-for-scalc-Delete-Contents-Dialog-.patch
Type: application/octet-stream
Size: 8533 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130408/82186427/attachment-0003.obj>


More information about the LibreOffice mailing list