Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Hi,

On Fri, Aug 02, 2013 at 08:37:05AM -0500, James Michael DuPont <jmdpplks@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

Attachment: signature.asc
Description: Digital signature


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.