Hi Cor, Thx for the idea. I thought of this solution. Unfortunately, I must keep the document "as-is", because I need to keep the compatibility with another program using the same documents and running with M$ Word. So I can't even assign a name to the tables (that would've been perfect). Maybe someone has a solution. I also thought of something like scanning the document's tables and detect if the current table belong to the searched bookmark, but I don't know if it's possible.
----- Message d'origine ---- De : Cor Nouws <[EMAIL PROTECTED]> À : [email protected] Envoyé le : Vendredi, 25 Janvier 2008, 11h33mn 17s Objet : Re: [api-dev] Getting tables in Bookmark (OOBasic) Hi Boris, Boris Ratak wrote (25-1-2008 10:25) > I'm searching for a way to interact with a table located in a bookmark > in a Writer document (using an OOBasic macro). I know how to get the > bookmark, but I can't see a getTextTable (or something similar) method > in the bookmark ou anchor object. Does anyone know how to do it? It > would be really helpful to me. Did have a look, but gave me no idea either. What I do, when I must work with a special table, is making sure that the table has a certain name. Maybe that's an option for you as well? Regards, Cor -- "The Year of 3" -2008- "Het jaar van 3" Cor Nouws Arnhem - Netherlands - nl.OpenOffice.org - marketing contact --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _____________________________________________________________________________ Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail http://mail.yahoo.fr
