redlines for pyuno

Miklos Vajna vmiklos at suse.cz
Wed Aug 7 09:37:37 PDT 2013


Hi,

On Wed, Aug 07, 2013 at 09:27:30AM -0500, James Michael DuPont <jmdpplks at gmail.com> wrote:
> 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?

If you iterate through the paragraphs and (inside paragraphs) text
portions, then all you have to remember is if you are inside a redline
or not. So you don't have to match ranges or keep a list of redlines
manually.

What are you trying to do what is not possible with this approach?

Miklos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130807/3ab136e7/attachment.pgp>


More information about the LibreOffice mailing list