Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


surenspost@gmail.com wrote:
1) Making it work in all OS/platforms:
[...]

Hi Suren,

wow, great progress! For the editing, one easy way out would be to
use the SystemShellExecute service, which will pick an app
registered for the file type at hand. You can e.g. find a usage
example in sfx2/source/dialog/about.cxx:298 

A smallish nit regarding the move of lcl_GetPreferedExtension to a
header - better rename it GetPreferedExtension, remove the static,
have the declaration in the header - but keep the code inside a cxx.

2) Undo/Redo Option:
Need to dig a bit more into how to add this functionality.

Have a look at e.g. sw/source/ui/shells/grfsh.cxx:238

3) Window repaint issue:
[...]

A rather blunt method is to call SwWrtShell::InvalidateWindows(),
that basically forces a repaint of the given rectangular area. Would
have to dig a bit for the Writer method du jour for this case, maybe
the code from grfsh.cxx above has the right call already, e.g.
UpdateFlyFrm() or somesuch.

Keep going, this starts to look *really* nice! :)

Cheers,

-- Thorsten

Attachment: pgp_5goxixvo5.pgp
Description: PGP signature


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.