Hi, On Tue, Feb 23, 2016 at 11:03:55AM +0100, Stef Bon <stefbon@gmail.com> wrote:
Is there another way to create the diff of two office documents which is viewable using lokit?
There is Edit -> Track changes -> Compare document. First I would check if the result on the desktop is good enough for your purposes. If so, you can send that uno command from your "viewer" (it won't be a viewer anymore :-) ), then paintTile() will provide you with the compared view. You need to check if the relevant uno command works in a non-interactive way -- the convention at many places is that if you send a command without parameters, then it's interactive, but if you pass enough arguments, then it's not. Obviously for the LibreOfficeKit use-case you want the non-interactive case. If the uno command is currently unconditionally interactive, then patches are welcome to make it conditionally non-interactive (by adding new parameters to have enough information without an interaction). Regards, Miklos
Attachment:
signature.asc
Description: Digital signature