On Thu, Aug 08, 2013 at 05:15:56PM -0400, Andrew Douglas Pitonyak
wrote:
> I think that you use the text object that contains a text cursor and
> then you use the methods compareRegionStarts and compareRegionEnds
Ah yes, indeed.
Thanks for the pointer!
Miklos
signature.asc
Description: Digit
A quick peek into at least one of my macro documents and I see that is
what I did in my testing (when ever I did that).
On 08/08/2013 02:02 PM, James Michael DuPont wrote:
It turns out that I missed out on this
http://wiki.openoffice.org/wiki/Documentation/DevGuide/Text/Iterating_over_Text you
It turns out that I missed out on this
http://wiki.openoffice.org/wiki/Documentation/DevGuide/Text/Iterating_over_Text
you
can iterate over the text to get the redlines, which is exactly what I was
looking for.
Thanks,
mike
On Thu, Aug 8, 2013 at 11:21 AM, James Michael DuPont wrote:
> Thanks An
Thanks Andrew,
that is basically what I had to do, there are cases where you can skip over
looking at all redlines because of the order but that is the algorithm I
needed to do. Otherwise an idea would be apply a temporary marking to the
text or a style that would externalize the redline and then u
On Thu, Aug 08, 2013 at 01:00:28AM -0400, Andrew Douglas Pitonyak
wrote:
> If I had to determine if the cursor was currently in a redline
> section, my first guess at a solution would probably be to go
> looking for redlines in the text object containing the view cursor
> and then check the start
I remember looking at redlines way back in the dark recesses of time, so
I loaded up AndrewMacro.odt
The best I saw there was the ability to enumerate text sections to find
"Redline" text portion sections.
If I had to determine if the cursor was currently in a redline section,
my first guess
OK, thank you for your support. I will look into this when I have time.
Thanks,
mike
On Wed, Aug 7, 2013 at 2:23 PM, Miklos Vajna wrote:
> On Wed, Aug 07, 2013 at 12:33:35PM -0500, James Michael DuPont <
> jmdpp...@gmail.com> wrote:
> > I am feeling stupid here, so please excuse my ignorance, b
On Wed, Aug 07, 2013 at 12:33:35PM -0500, James Michael DuPont
wrote:
> I am feeling stupid here, so please excuse my ignorance, but I did not find
> any api to tell me if the current cursor is in a redline, can you please
> point me in the right direction? I just found an api to give me the list
I am feeling stupid here, so please excuse my ignorance, but I did not find
any api to tell me if the current cursor is in a redline, can you please
point me in the right direction? I just found an api to give me the list of
redlines and have been checking the cursor to see if it is in one of them.
Hi,
On Wed, Aug 07, 2013 at 09:27:30AM -0500, James Michael DuPont
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
>
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, Mi
Hi,
On Fri, Aug 02, 2013 at 08:37:05AM -0500, James Michael DuPont
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 th
12 matches
Mail list logo