Re: [api-dev] Re: paragraph enumeration causes mysterious cursor movement....
On 9/24/07, Juergen Schmidt <[EMAIL PROTECTED]> wrote: > ashok _ wrote: > > Hello Zbigniew: > > > > On 9/20/07, Zbigniew Banach wrote: > >> ashok _ napisał(a): > >> an enumeration of paragraphs, and for each paragraph you can enumerate > >> portions, whose strings you can then concatenate to get the full string > >> of the range. See Noelson Duarte's 19.09 reply to my own question for a > >> code sample. > > That sounds like a reasonable alternative... thanks, I ll give it a try. > > but only a workaround, you should definitely submit an issue for this > problem. > have done so. http://www.openoffice.org/issues/show_bug.cgi?id=81697 > Juergen >
Re: [api-dev] Re: paragraph enumeration causes mysterious cursor movement....
ashok _ wrote: Hello Zbigniew: On 9/20/07, Zbigniew Banach wrote: ashok _ napisał(a): Well, I don't know if that's what you need, but I've just recently found out you can enumerate the content of the text range. This will give you an enumeration of paragraphs, and for each paragraph you can enumerate portions, whose strings you can then concatenate to get the full string of the range. See Noelson Duarte's 19.09 reply to my own question for a code sample. That sounds like a reasonable alternative... thanks, I ll give it a try. but only a workaround, you should definitely submit an issue for this problem. Juergen ashok - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [api-dev] Re: paragraph enumeration causes mysterious cursor movement....
Hello Zbigniew: On 9/20/07, Zbigniew Banach wrote: > ashok _ napisał(a): > Well, I don't know if that's what you need, but I've just recently found > out you can enumerate the content of the text range. This will give you > an enumeration of paragraphs, and for each paragraph you can enumerate > portions, whose strings you can then concatenate to get the full string > of the range. See Noelson Duarte's 19.09 reply to my own question for a > code sample. > That sounds like a reasonable alternative... thanks, I ll give it a try. ashok
[api-dev] Re: paragraph enumeration causes mysterious cursor movement....
ashok _ napisał(a): > > Okay,I will do that... is there any other alternative than using > getString() to get the text content for the range ? (I guess not... > :-( ... ) Well, I don't know if that's what you need, but I've just recently found out you can enumerate the content of the text range. This will give you an enumeration of paragraphs, and for each paragraph you can enumerate portions, whose strings you can then concatenate to get the full string of the range. See Noelson Duarte's 19.09 reply to my own question for a code sample. HTH, Zbigniew Banach - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]