Re: [api-dev] I can see the method/property which can not be found ...

2011-02-10 Thread Peter Eberlein

Hi Andreas,
Am 09.02.2011 14:55, schrieb Andreas Säger:

Hello API experts,

Initial problem: first post in
http://www.oooforum.org/forum/viewtopic.phtml?t=45971
Satisfactory solution as of Nov. 2006:
http://www.oooforum.org/forum/viewtopic.phtml?t=47340

Today's problem (versions 3.3 and 2.4.3): Empty Writer table.
I comment out the error handler:

' on error goto errExit


and get

"Method/property not found in line

cursor = cell.createTextCursor


I can put a stop mark in that line and inspect the cell. It offers
method "createTextCursor" and "getEnd" from that cursor.

However, the newly created Writer frame looks a little bit strange. The
component window is transparent.

It makes not difference when I comment out

doc.lockcontrollers



Just tested with 3.2 and m95 (3.4), no problems.

Regards

Peter

-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org



Re: [api-dev] I can see the method/property which can not be found ...

2011-02-09 Thread Bernard Marcelly

Hi Andreas,
I ran your code on OOo 3.3.0 / Windows XP.
I got a Writer table with the formatted cells. It works as expected.

Suggestion : re-install OOo after a good cleaning.

Regards
  Bernard


-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org



Re: [api-dev] I can see the method/property which can not be found ...

2011-02-09 Thread Noelson Duarte
Hi,

Time ago I had a problem with 0-based indexes for text tables.

--
Noelson


2011/2/9 Andreas Säger 

> Hello API experts,
>
> Initial problem: first post in
> http://www.oooforum.org/forum/viewtopic.phtml?t=45971
> Satisfactory solution as of Nov. 2006:
> http://www.oooforum.org/forum/viewtopic.phtml?t=47340
>
> Today's problem (versions 3.3 and 2.4.3): Empty Writer table.
> I comment out the error handler:
>
>> '   on error goto errExit
>>
>
> and get
>
> "Method/property not found in line
>
>> cursor = cell.createTextCursor
>>
>
> I can put a stop mark in that line and inspect the cell. It offers method
> "createTextCursor" and "getEnd" from that cursor.
>
> However, the newly created Writer frame looks a little bit strange. The
> component window is transparent.
>
> It makes not difference when I comment out
>
>> doc.lockcontrollers
>>
>
>
> Thanks in advance for any suggestions,
> Andreas
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
> For additional commands, e-mail: dev-h...@api.openoffice.org
>
>


[api-dev] I can see the method/property which can not be found ...

2011-02-09 Thread Andreas Säger

Hello API experts,

Initial problem: first post in 
http://www.oooforum.org/forum/viewtopic.phtml?t=45971
Satisfactory solution as of Nov. 2006: 
http://www.oooforum.org/forum/viewtopic.phtml?t=47340


Today's problem (versions 3.3 and 2.4.3): Empty Writer table.
I comment out the error handler:

'   on error goto errExit


and get

"Method/property not found in line

 cursor = cell.createTextCursor


I can put a stop mark in that line and inspect the cell. It offers 
method "createTextCursor" and "getEnd" from that cursor.


However, the newly created Writer frame looks a little bit strange. The 
component window is transparent.


It makes not difference when I comment out

doc.lockcontrollers



Thanks in advance for any suggestions,
Andreas


-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org