Thanks for writing back, from what I have seen, I can only get a list of redlines back , but have no easy way to find out what redline matches a given point text unless I search through them and match the ranges. Please tell me if I missed something? thanks mike
On Wed, Aug 7, 2013 at 7:43 AM, Miklos Vajna <vmik...@suse.cz> wrote: > Hi, > > On Fri, Aug 02, 2013 at 08:37:05AM -0500, James Michael DuPont < > jmdpp...@gmail.com> wrote: > > I am doing some scripting for pyuno, and have been studying the internal > > C++ code for redlines, > > it seems that the code that is applying redlines to text in the document > is > > not exposed. It would be great to have this accessible for scripting, > now I > > need to figure out what redlines apply to what text and that makes the > > script quite complex. Is that the only way to currently do it via uno, is > > there anything planned or any reason not to expose a more comfortable > > interface? > > Let's say you have a document: one paragraph with 3 words and the second > is deleted. The UNO API then gives you 5 text portions: text, redline, > text, redline, text. The redline portions have all the properties you > need (author, type of the redline, e.g. delete, and so on). > > What exactly would you need beyond that? > > Miklos > > _______________________________________________ > LibreOffice mailing list > LibreOffice@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/libreoffice > >
_______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice