Boris Ratak wrote:
> 
> Hi,
> 
> I'm using OOBasic to access bookmarks in Writer and Word documents. It's
> pretty easy to write down some text in them, but is it possible to access
> a table located in a bookmark? I know this is possible in VBA, but I've
> tried to do it in OOBasic, without success. 
> Here's what I try : 
> myBk = oDoc.Bookmarks.getByName("someBookmark")
> myTable = myBk.Anchor.TextTables(1)
> OR 
> myTable = myBk.TextTables(1)
> 
> 
> I know I could access the Table directly by giving it a name, but as I
> handle Word documents, the name of the table is lost.
> 
> Any idea someone?
> 
> Thx
> 
> B.
> 
> 

I cannot help with the specific question, regrettably.  Do you have the Xray
tool?  I believe it would help you to find the answer to your question. 
There may be some help in Andrew Pitonyak's document and you could also try
searching the Macros & API section of the English forum.  There is also a
French forum.  This thread contains links to those and other sources:
http://www.oooforum.org/forum/viewtopic.phtml?t=50952
-- 
View this message in context: 
http://www.nabble.com/Bookmarks-in-OOBasic-tf3485429.html#a9745588
Sent from the openoffice - users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to