surensp...@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: pgpNaMWzTRA8t.pgp
Description: PGP signature

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to