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.meeks@novell.com <><, Pseudo Engineer, itinerant idiot
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.