Hi there, On Tue, 2011-03-01 at 10:05 +0100, Zongbo Zhang wrote: > Could anyone here please tell me: > 1. where I can find the source code for tooltips of 'deletion' and > 'insertion'?
Oh - you want to look at change-tracking; see sw/inc/redline.hxx and related classes - it is called 'red-lining' in the code (and many other places). For tooltips - all these (English) strings will be in .src files - so just grep through all the .src files: $ find -name '*.src'| xargs grep -Hn 'string from the user interface' or near Windows equivalent. > 2. when an odt file was saved, where are those 'deletion' or 'insertion ' > info saved? are they saved in a xml file? if so, where can I find > the xml file? I suggest you edit a file, do some changes, save them as flat odt: ie. just using .fodt in the (linux at least) file selector should do that for you. Then seeing what changed. ie. save; re-load / do a change, re-save, and diff the former to the latter document. > Really short of skill/experience for searching these kind of things. The ODF saving code is in the xmloff/ module AFAIR :-) Please do help fill out the source description page in the wiki with more details as/when you discover them :-) HTH, Michael. -- michael.me...@novell.com <><, Pseudo Engineer, itinerant idiot _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice